Parse Resource Activity
Use the Parse Resource activity to parse a FHIR resource.
General
The General tab contains the following fields:
Field | Literal Value/Module Property/Process Property? | Description |
---|---|---|
Name | No | The name to be displayed as the label for the activity in the process. |
Server Version | No | The version of the FHIR standard.
The supported server versions are STU3, and R4. |
Input Type | No | Type of input.
Supported input types are
|
FHIR Resource | No | The FHIR resource to be parsed.
Depending on the server version you select, different FHIR resources are supported. For more information about the supported FHIR resources, see Supported Resource Types. |
Use Output Editor | No |
Select the Use Output Editor checkbox to insert input through the Output Editor tab. |
Description
The Description tab is used to provide a short description of the activity.
Output Editor
You can use the Output Editor tab to import an FHIR schema from external sources for the following BW FHIR activities.
If you want to generate XML schemas for the FHIR resource using the Schemagen utility, see Generating XML Schemas Using the Schemagen Utility.
-
ResourceOperations: Input Editor is on Input tab
-
SearchForResource: Both Input and Output Editor tabs are present
-
EncodeResource: Input Editor is on Input tab
-
ParseResource: Output Editor is provided on the Output tab
You need to provide the following schemas generated by the SchemaGen utility to use the Output Editor feature:
-
outputEditor : outputDecode<ResourceName>.xsd
Input
The Input tab is populated based on the selections made on the General tab.
For more information about the supported resource types, see the FHIR STU3, and FHIR R4 documentation.
Output
Output Item | Datatype | Description |
---|---|---|
EncodedFHIRResource | Each element in the EncodedFHIRResource has a different data type | The name of the FHIR resource that was encoded by this activity. |
Fault
The Fault tab lists errors that might occur when you use this activity.
Error Schema Element | Datatype | Description |
---|---|---|
msg | string | Error message description. |
msgCode | string | The error code.
It represents ActiveMatrix BusinessWorks Plug-in for HL7 with FHIR errors. For more information about error codes, see FHIR Error Codes. |
OperationOutcome | string | The issue description in case of failure of the activity in a process.
The following OperationOutcome properties can help you diagnose an error. Expand the issue property to view these properties.
|