Smile CDR v2024.08.PRE
On this page:
   49.77    HL7 v2.x Mapper - General 49.79    HL7 v2.x Mapper - OBR   

49.78.1HL7 v2.x Mapper - Medications

 

The HL7 v2.x Mapper - Medications configuration category includes the following configurable options:

  • Use Standalone Medications with Administered Code

  • Medication Component Mapping Mode

  • Use Standalone Medications with Give Code

49.78.2Property: Use Standalone Medications with Administered Code

 
Property Name Use Standalone Medications with Administered Code
Property Key
Property Type BOOLEAN
Description If enabled, Medication resources derived from RXA segments will be standalone resources; otherwise they will be contained resources. This should only be enabled if RXA-5 (Administered Code) uniquely identifies a given medication and all of its meaningful fields. Note that a standalone Medication will not be created if the Administered Code is missing, even if this setting is enabled.
Applies to Modules
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
Default Value false
Example Property
module.[MODULE_ID].config.hl7v2_fhir_mapper_medications.use_standalone_medications_with_administered_code = false

49.78.3Property: Medication Component Mapping Mode

 
Property Name Medication Component Mapping Mode
Property Key
Property Type ENUM
Values
  • STANDALONE_MEDICATION
  • CONTAINED_MEDICATION
  • CODEABLE_CONCEPT
Description Medication Components derived from RXC-2 segments can be mapped as Medication (contained or standalone) or as CodeableConcept. Medication components should only be mapped to Medication if RXC-2 (Component Code) uniquely identifies a given Medication and all of its meaningful fields.
Applies to Modules
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
Default Value CONTAINED_MEDICATION
Example Property
module.[MODULE_ID].config.hl7v2_fhir_mapper_medications.use_standalone_medications_with_component_code = CONTAINED_MEDICATION

49.78.4Property: Use Standalone Medications with Give Code

 
Property Name Use Standalone Medications with Give Code
Property Key
Property Type BOOLEAN
Description If enabled, Medication resources derived from RXE segments will be standalone resources; otherwise they will be contained resources. This should only be enabled if RXE-2 (Give Code) uniquely identifies a given Medication and all of its meaningful fields. Note that a standalone Medication will not be created if the Give Code is missing, even if this setting is enabled.
Applies to Modules
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
Default Value false
Example Property
module.[MODULE_ID].config.hl7v2_fhir_mapper_medications.use_standalone_medications_with_give_code = false
   49.77    HL7 v2.x Mapper - General 49.79    HL7 v2.x Mapper - OBR