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

This page is part of the HL7 Version 2 to FHIR (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, 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 2023-12-19 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 MappingAssignmentVocabulary Mapping
(IS, ID, CE, CEN, CWE)
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.DateTime01
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.positiveInt01
16DG1-16Diagnosing ClinicianXCN0-1Encounter.diagnosis.condition(Encounter.Condition.asserter(Encounter.Practitioner)Reference(Encounter.Practitioner)01XCN[Practitioner]
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.dateTime11
19DG1-19Attestation Date/TimeDTM01Encounter.diagnosis.condition(Encounter.Condition.recordedDate)Encounter.dateTime01
20DG1-20Diagnosis IdentifierEI01Encounter.diagnosis.condition(Encounter.Condition.identifier)Encounter.identifier0-1EI[Identifier-Extension]
21DG1-21Diagnosis Action CodeID01Encounter.diagnosis.condition(Encounter.Condition.verificationStatus.coding.code)Encounter.code01"entered-in-error"
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]
23DG1-23DRG CCL Value CodeCWE01
24DG1-24DRG Grouping UsageID01
25DG1-25DRG Diagnosis Determination StatusCWE01
26DG1-26Present On Admission (POA) IndicatorCWE01

Mapping from DG1 to Encounter

ACTIVE (not intended for production usage). Published on 2023-12-19 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). 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.


Group 1Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from vocabularymapdatatypemapvalueCodes from
DG1-3Diagnosis CodeCWE[CodeableConcept]is equivalent todiagnosis.condition(Condition.code)diagnosis.condition(Condition.code)
DG1-4Diagnosis Descriptionis equivalent todiagnosis.condition(Condition.code.text)diagnosis.condition(Condition.code.text)
DG1-5Diagnosis Date/Timeis equivalent todiagnosis.condition(Condition.onsetDateTime)diagnosis.condition(Condition.onsetDateTime)
DG1-6Diagnosis TypeDiagnosisTypeCWE[CodeableConcept]is equivalent todiagnosis.usediagnosis.use
DG1-15Diagnosis Priorityis equivalent todiagnosis.rankdiagnosis.rank
DG1-16Diagnosing ClinicianXCN[Practitioner]is equivalent todiagnosis.condition(Condition.asserter(Practitioner)diagnosis.condition(Condition.asserter(Practitioner)
DG1-19Attestation Date/Time"http://hl7.org/fhir/StructureDefinition/condition-assertedDate"is equivalent todiagnosis.condition(Condition.extension[1].url)diagnosis.condition(Condition.extension[1].url)
DG1-19Attestation Date/Timeis equivalent todiagnosis.condition(Condition.extension[1].valueDateTime)diagnosis.condition(Condition.extension[1].valueDateTime)
DG1-19Attestation Date/Timeis equivalent todiagnosis.condition(Condition.recordedDate)diagnosis.condition(Condition.recordedDate)
DG1-20Diagnosis IdentifierEI[Identifier-Extension]is equivalent todiagnosis.condition(Condition.identifier)diagnosis.condition(Condition.identifier)
DG1-21Diagnosis Action Code"entered-in-error"is equivalent todiagnosis.condition(Condition.verificationStatus.coding.code)diagnosis.condition(Condition.verificationStatus.coding.code)
DG1-21Diagnosis Action Code"http://terminology.hl7.org/CodeSystem/condition-ver-status"is equivalent todiagnosis.condition(Condition.verificationStatus.coding.systemdiagnosis.condition(Condition.verificationStatus.coding.system
DG1-22Parent Diagnosis"http://hl7.org/fhir/StructureDefinition/condition-dueTo"is equivalent todiagnosis.condition(Condition.extension[1].uri)diagnosis.condition(Condition.extension[1].uri)
DG1-22Parent DiagnosisEI[Condition]is equivalent todiagnosis.condition(Condition.extension[1].valueReference(Condition))diagnosis.condition(Condition.extension[1].valueReference(Condition))

Notes: