This respository provides sample code that shows how you can customize the InterSystems IRIS for Health FHIR Repository. It was created along with a presentation delivered at InterSystems Global Summit 2023.
The use cases addressed with the code in this repo are:
- Input – pre-processing
- Resource IDs must be globally unique
- Identifiers for a resource must be unique
- Output – post-processing
- References must be enriched with a display value
- Resource.text must be populated
- Ordering (json) resource properties as defined in the specification (resourceType, id, meta, text, extension)
- Debugging using $$$FSLog()
- References
- Referential Integrity must be ensured for create, update and delete
- Logical references and conditional references must be transformed into a literal reference
These use cases are further explained in the accompanying presentation (to be added to this repo).
No docker has been provided as part of this repo. It is recommended that you connect to a local InterSystems IRIS instance and import / compile.
Create a new FHIR Server in this namespace with the following settings: -Core FHIR package: hl7.fhir.r4.core@4.0.1 -Additional packages: MyFhirServer-searchparameters@0.0.1 -Interactions strategy class: HS.Local.FHIRServer.Storage.Json.InteractionsStrategy
A Postman collection is available to test the customizations
The following InterSystems IRIS for Health Documentation is helpful as background information:
The FHIR specification
There are no known bugs at this point in time
Use or operation of this code is subject to acceptance of the license available in the code repository for this code.