HealthRecordCommunity
FHIR🌏 International🏛 HL7 InternationalEnriched

How to Create a FHIR Primitive Extension

FHIR Primitive Extension - Package Package FHIR.DTL.VR4.Model.* classes 3 -

HL7 International is developing and utilizing FHIR Object Model classes for Primitive Extensions, specifically for the FHIR DTL.VR4.Model.* package.

December 13, 2024HL7 International

Summary

This article provides a technical tutorial on implementing FHIR Primitive Extensions. It details three distinct approaches—using Dynamic Objects, specific class models, and the latest FHIR Object Model—with code examples for developers to apply in practice.

Details

This document is a detailed technical tutorial explaining how to implement FHIR Primitive Extensions within an InterSystems environment. Three different approaches are presented for implementing this extension: first, using 'Dynamic Objects,' which allows for flexible development structures; second, utilizing 'HS.FHIR.DTL.vR4.Model.* classes' for a standard procedure based on specific model classes; and third, employing the latest recommended approach using 'FHIR Object Model classes,' available since 2024.2. Concrete code examples are provided by running three methods within the `Test.Primitive.Demo` class (`CreateDynamicFHIR()`, `CreateFHIRClass()`, `CreateFHIRObjectModel()`). Running these demonstrates how to create FHIR resources using each method. These techniques serve as a valuable reference for developers and engineers, helping them select the optimal implementation pattern based on their system requirements. The document is provided as a technical implementation example in an InterSystems IRIS for Health environment, making it useful reference material for developers looking to deepen their understanding of FHIR standards application.

Technology Note

FHIR(Fast Healthcare Interoperability Resources)は医療データ交換の国際標準。このエントリの関連技術: FHIR

📰
Read Original Article
openexchange.intersystems.com
→

Original content copyright by respective publishers