Quick verification/generation of FHIR messages
1、Background
When I first encountered FHIR, I encountered a problem with its message format. It was difficult for me to determine whether the message I created met the format, and it was also difficult to easily create an FHIR message from scratch.
So, through fhir server of IntereSystems’fhirserver API, I created this application for quickly generating/validating FHIR messages.
2、Usage process
1. Message verification
Access path localhost: 52773/csp/fhirmessageverification/FHIRMVINDEX.csp
.png)
opy the JSON message to the textarea in ①, click on the blank space with the mouse, and the verification result will be automatically generated at ②. Parameters that do not comply with the rules will be displayed in red, and moving the mouse above will display the specific error reason.
Message creation
Access path:
Localhost: 52773/csp/fhirmessageverification/FHIRMESSAGECREAETENDEX.csp
Usage process:
.png)
Select the type of resource you want to generate at location ① and click OK below to automatically generate the necessary nodes for that resource
Click the Add New Value button to add a node for this resource
.png)
After clicking OK, relevant values will be generated based on the node type, as shown in the following figure
.png)
If the node type is object or array, click ‘+’ to edit the relevant nodes
.png)
.png)
If a node type is selectable, such as:
.png)
Click on the node name of the node to replace it
.png)
The final message is as follows
.png)
Filling in blank parameters can ultimately achieve the following effects
.png)
Send the message to the FHIR server for testing
.png)