/
FHIRCLEAN Library
FHIRCLEAN Library
The FHIRCLEAN Library is an importable library which contains a function, FHIRCLEANjson, which is used to clean FHIR JSON templates that were generated by the FHIR Profiling Tool.
This function iterates through a parsed JSON object and removes any json.NULLs, empty strings (''), and empty tables. As shown in the workflow in FHIR Resource Creator , it allows you to create a FHIR Resource using the template generated from the FHIR Profiling Tool, map data to the parsed JSON template, and then remove any unpopulated fields before serializing and sending the FHIR resource downstream. An example is shown below of the populated template before and after cleaning:
Before Cleaning
After Cleaning
, multiple selections available,
Related content
FHIR Resource Creator
FHIR Resource Creator
More like this
FHIR Profiling Tool
FHIR Profiling Tool
More like this
Epic FHIR Adapter
Epic FHIR Adapter
More like this
CDA Creator
CDA Creator
Read with this
Salesforce Adapter
Salesforce Adapter
Read with this