HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

ConceptMap: Segment DG1 to Encounter Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/segment-dg1-to-encounter Version: 1.0.0-ballot
Active as of 2024-10-30 Computable Name: SegmentDG1ToEncounter

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Segment DG1 to the FHIR Encounter Resource.

This ConceptMap represents the mapping from the HL7 V2 DG1 Segment to the FHIR Encounter Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
1DG1-1Set IDSI11
2DG1-2Diagnosis Coding MethodID11
3DG1-3Diagnosis CodeCWE11Encounter.diagnosis.condition(Encounter.Condition.code)Encounter.CodeableConcept01CWE[CodeableConcept]
4DG1-4Diagnosis DescriptionST01Encounter.diagnosis.condition(Encounter.Condition.code.text)01
5DG1-5Diagnosis Date/TimeDTM01Encounter.diagnosis.condition(Encounter.Condition.onsetDateTime)Encounter.DateTime01Should confirm that these two concepts are equivalent. Condition.recordedDate is also available
6DG1-6Diagnosis TypeCWE11Encounter.diagnosis.useEncounter.CodeableConcept01CWE[CodeableConcept]DiagnosisType
7DG1-7Major Diagnostic CategoryCE01
8DG1-8Diagnostic Related GroupCE01
9DG1-9DRG Approval IndicatorID01
10DG1-10DRG Grouper Review CodeIS01
11DG1-11Outlier TypeCE01
12DG1-12Outlier DaysNM01
13DG1-13Outlier CostCP01
14DG1-14Grouper Version And TypeST01
15DG1-15Diagnosis PriorityNM01Encounter.diagnosis.rankEncounter.positiveInt01Could contribute to Condition.category or be a new extension
16DG1-16Diagnosing ClinicianXCN0-1Encounter.diagnosis.condition(Encounter.Condition.asserter(Encounter.Practitioner)Reference(Encounter.Practitioner)01XCN[Practitioner]Condition.recorder is also an option. Neither of these fields can repeat like DG1-16 can.
17DG1-17Diagnosis ClassificationCWE01
18DG1-18Confidential IndicatorID01
19DG1-19Attestation Date/TimeDTM01Encounter.diagnosis.condition(Encounter.Condition.extension.url)Encounter.uri11"http://hl7.org/fhir/StructureDefinition/condition-assertedDate"
19DG1-19Attestation Date/TimeDTM01Encounter.diagnosis.condition(Encounter.Condition.extension.valueDateTime)Encounter.dateTime11It is unclear whether to use recorded or asserted date. What is your opinion?
19DG1-19Attestation Date/TimeDTM01Encounter.diagnosis.condition(Encounter.Condition.recordedDate)Encounter.dateTime01It is unclear whether to use recorded or asserted date. What is your opinion?
20DG1-20Diagnosis IdentifierEI01Encounter.diagnosis.condition(Encounter.Condition.identifier)Encounter.identifier0-1EI[Identifier-Extension]We should confirm that this is truly a unique ID before it gets used as .id. It may need to be combined with a visit ID to make it fully unique.
21DG1-21Diagnosis Action CodeID01Encounter.diagnosis.condition(Encounter.Condition.verificationStatus.coding.code)Encounter.code01"entered-in-error"Other values (A and U) don't map to anything
21DG1-21Diagnosis Action CodeID01Encounter.diagnosis.condition(Encounter.Condition.verificationStatus.coding.systemEncounter.uri01"http://terminology.hl7.org/CodeSystem/condition-ver-status"
22DG1-22Parent DiagnosisEI01Encounter.diagnosis.condition(Encounter.Condition.extension.uri)Encounter.uri11"http://hl7.org/fhir/StructureDefinition/condition-dueTo"
22DG1-22Parent DiagnosisEI01Encounter.diagnosis.condition(Encounter.Condition.extension.valueReference(Encounter.Condition)Reference11EI[Condition]Extensions for occurredFollowing and related also exist
23DG1-23DRG CCL Value CodeCWE01
24DG1-24DRG Grouping UsageID01
25DG1-25DRG Diagnosis Determination StatusCWE01
26DG1-26Present On Admission (POA) IndicatorCWE01This could contribute to Condition.category, if that value set it extended to include multiple types of diagnoses

Generated Narrative: ConceptMap segment-dg1-to-encounter

Mapping from DG1 to Encounter


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget CodeComment
DG1-3 (Diagnosis Code)is equivalent todiagnosis.condition(Condition.code)
DG1-4 (Diagnosis Description)is equivalent todiagnosis.condition(Condition.code.text)
DG1-5 (Diagnosis Date/Time)is equivalent todiagnosis.condition(Condition.onsetDateTime)Should confirm that these two concepts are equivalent. Condition.recordedDate is also available
DG1-6 (Diagnosis Type)is equivalent todiagnosis.use
DG1-15 (Diagnosis Priority)is equivalent todiagnosis.rankCould contribute to Condition.category or be a new extension
DG1-16 (Diagnosing Clinician)is equivalent todiagnosis.condition(Condition.asserter(Practitioner)Condition.recorder is also an option. Neither of these fields can repeat like DG1-16 can.
DG1-19 (Attestation Date/Time)is equivalent todiagnosis.condition(Condition.extension[1].url)
DG1-19 (Attestation Date/Time)is equivalent todiagnosis.condition(Condition.extension[1].valueDateTime)It is unclear whether to use recorded or asserted date. What is your opinion?
DG1-19 (Attestation Date/Time)is equivalent todiagnosis.condition(Condition.recordedDate)It is unclear whether to use recorded or asserted date. What is your opinion?
DG1-20 (Diagnosis Identifier)is equivalent todiagnosis.condition(Condition.identifier)We should confirm that this is truly a unique ID before it gets used as .id. It may need to be combined with a visit ID to make it fully unique.
DG1-21 (Diagnosis Action Code)is equivalent todiagnosis.condition(Condition.verificationStatus.coding.code)Other values (A and U) don't map to anything
DG1-21 (Diagnosis Action Code)is equivalent todiagnosis.condition(Condition.verificationStatus.coding.system
DG1-22 (Parent Diagnosis)is equivalent todiagnosis.condition(Condition.extension[1].uri)
DG1-22 (Parent Diagnosis)is equivalent todiagnosis.condition(Condition.extension[1].valueReference(Condition))Extensions for occurredFollowing and related also exist

Notes: