On this page:
   25.40    HL7 v2.x to FHIR Mapper - Forced Namespace Mode 25.42    HL7 v2.x Mapper - Medications   

25.41HL7 v2.x Mapper - General

 

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

  • Inferred TimeZone When Not Present

  • Creation Mode - Practitioner

  • Create MessageHeader for Each Message

  • Patient Primary Identifier Search Parameter

  • Mapper Bean Types

25.41.1Property: Inferred TimeZone When Not Present

 
Property Name Inferred TimeZone When Not Present
Property Key
Property Type STRING
Description If enabled, the given timezone offset will be used when an HL7 v2.x timestamp (TS) datatype is received that does not contain a timezone offset. This is useful because many HL7 v2.x systems do not transmit an offset, assuming instead that all times they transmit are in their local timezone. Set this value to explicitly state which timezone to infer.

Values for this property should be a valid Java TimeZone identifier (e.g. America/Chicago or Australia/Canberra).

Default Value (no default)
Example Property
module.[MODULE_ID].config.infer_timezone_when_not_present = 

25.41.2Property: Creation Mode - Practitioner

 
Property Name Creation Mode - Practitioner
Property Key
Property Type ENUM
Values
  • CONDITIONAL_CREATE
  • CONDITIONAL_UPDATE
Description This setting controls the create/update mode for Practitioner resources that are generated when converting from HL7 v2.x. This setting can be used to specify that resources should always be updated using values from the v2.x message (conditional update) or should only be created if they do not already exist (conditional create).
Default Value CONDITIONAL_UPDATE
Example Property
module.[MODULE_ID].config.creation_mode.practitioner = CONDITIONAL_UPDATE

25.41.3Property: Create MessageHeader for Each Message

 
Property Name Create MessageHeader for Each Message
Property Key
Property Type BOOLEAN
Description If enabled, a MessageHeader resource will be created and stored in the repository for every HL7 v2.x message that is processed. See Creating MessageHeader for more information.
Default Value false
Example Property
module.[MODULE_ID].config.create_message_header = false

25.41.4Property: Patient Primary Identifier Search Parameter

 
Property Name Patient Primary Identifier Search Parameter
Property Key
Property Type STRING
Description If specified, Patient resources will be created using this search parameter to match the primary identifier. Typically the default value of identifier is good for this setting.
Default Value identifier
Example Property
module.[MODULE_ID].config.identifiers.patient.primary_identifier_search_param_name = identifier

25.41.5Property: Mapper Bean Types

 
Property Name Mapper Bean Types
Property Key
Property Type STRING
Description A comma-separated list of bean classes that will be used to map messages as they are processed by this endpoint. Classes listed here must implement the interface ca.cdr.api.pub.hl7v2.IHl7V2MessageMapper.
Default Value (no default)
Example Property
module.[MODULE_ID].config.mapper_bean_types = 
   25.40    HL7 v2.x to FHIR Mapper - Forced Namespace Mode 25.42    HL7 v2.x Mapper - Medications