HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Segment DG1 to EpisodeOfCare Map - JSON Representation

Raw json | Download

{
  "resourceType" : "ConceptMap",
  "id" : "segment-dg1-to-episodeofcare",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SegmentDG1toEpisodeOfCare (http://hl7.org/fhir/uv/v2mappings/segment-dg1-to-episodeofcare)</h2><p>Mapping from DG1 to <a href=\"http://hl7.org/fhir/R4/episodeofcare.html\">EpisodeOfCare</a></p><p>ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: <a href=\"http://hl7.org/Special/committees/orders/index.cfm\">http://hl7.org/Special/committ...</a>, Keith W. Boone: <a href=\"mailto:kboone@ainq.com\">kboone@ainq.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Segment DG1 to the FHIR EpisodeOfCare Resource.</p>\n</div><br/><table class=\"grid\"><tr><td colspan=\"5\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"2\"><b>Destination Concept Details</b></td></tr><tr><td colspan=\"2\"><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan=\"2\"><b>Code</b> from </td></tr><tr><td style=\"border-right-width: 0px\">DG1-3</td><td style=\"border-left-width: 0px\"></td><td>CWE[CodeableConcept]</td><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.code)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-4</td><td style=\"border-left-width: 0px\"></td><td/><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.code.text)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-5</td><td style=\"border-left-width: 0px\"></td><td/><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.onsetDateTime)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-6</td><td style=\"border-left-width: 0px\"></td><td>CWE[CodeableConcept]</td><td>Diagnosis Type</td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnose.role</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-15</td><td style=\"border-left-width: 0px\"></td><td/><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.rank</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-16</td><td style=\"border-left-width: 0px\"></td><td>XCN[Practitioner]</td><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.asserter(Practitioner)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-19</td><td style=\"border-left-width: 0px\"></td><td/><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.extension-assertedDate)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-19</td><td style=\"border-left-width: 0px\"></td><td/><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.recordedDate)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-20</td><td style=\"border-left-width: 0px\"></td><td>EI[Identifier]</td><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.identifier)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-21</td><td style=\"border-left-width: 0px\"></td><td/><td/><td>&quot;entered-in-error&quot;</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.verificationStatus.coding.code)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-21</td><td style=\"border-left-width: 0px\"></td><td/><td/><td>&quot;http://terminology.hl7.org/CodeSystem/condition-ver-status&quot;</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.verificationStatus.coding.system)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-22</td><td style=\"border-left-width: 0px\"></td><td/><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">diagnosis.condition(Condition.extension-condition-dueTo(Condition))</td><td style=\"border-left-width: 0px\"></td></tr></table></div>"
  },
  "extension" : [
    {
      "extension" : [
        {
          "url" : "type",
          "valueCode" : "derived-from"
        },
        {
          "url" : "label",
          "valueString" : "Segment DG1 to EpisodeOfCare.fsh"
        },
        {
          "url" : "url",
          "valueUri" : "https://docs.google.com/spreadsheets/d/1seZccIaX-x7-8vVxT1JiiG5Hm1dtWgYcI2RxiiKzh-o/edit#gid=0"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    }
  ],
  "url" : "http://hl7.org/fhir/uv/v2mappings/segment-dg1-to-episodeofcare",
  "version" : "0.1.0",
  "name" : "SegmentDG1toEpisodeOfCare",
  "status" : "active",
  "experimental" : true,
  "date" : "2020-08-12",
  "publisher" : "HL7 International",
  "contact" : [
    {
      "name" : "HL7 Orders and Observations Workgroup",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://hl7.org/Special/committees/orders/index.cfm"
        }
      ]
    },
    {
      "name" : "Keith W. Boone",
      "telecom" : [
        {
          "system" : "email",
          "value" : "kboone@ainq.com"
        }
      ]
    }
  ],
  "description" : "This ConceptMap represents a mapping from the HL7 V2 Segment DG1 to the FHIR EpisodeOfCare Resource.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "copyright" : "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.",
  "sourceUri" : "DG1",
  "targetUri" : "EpisodeOfCare",
  "group" : [
    {
      "element" : [
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "CWE"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-3",
          "display" : "Diagnosis Code",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "CodeableConcept"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.code)",
              "display" : "diagnosis.condition(Condition.code)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "CWE[CodeableConcept]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "ST"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-4",
          "display" : "Diagnosis Description",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.code.text)",
              "display" : "diagnosis.condition(Condition.code.text)",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "DTM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-5",
          "display" : "Diagnosis Date/Time",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "dateTime"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.onsetDateTime)",
              "display" : "diagnosis.condition(Condition.onsetDateTime)",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "CWE"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-6",
          "display" : "Diagnosis Type",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "CodeableConcept"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnose.role",
              "display" : "diagnose.role",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "CWE[CodeableConcept]"
                },
                {
                  "property" : "vocabulary-map",
                  "value" : "Diagnosis Type"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "NM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-15",
          "display" : "Diagnosis Priority",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "positiveInt"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.rank",
              "display" : "diagnosis.rank",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "XCN"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-16",
          "display" : "Diagnosing Clinician",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Practitioner)"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.asserter(Practitioner)",
              "display" : "diagnosis.condition(Condition.asserter(Practitioner)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "XCN[Practitioner]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "DTM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-19",
          "display" : "Attestation Date/Time",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "dateTime"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.extension-assertedDate)",
              "display" : "diagnosis.condition(Condition.extension-assertedDate)",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "DTM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-19",
          "display" : "Attestation Date/Time",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "dateTime"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.recordedDate)",
              "display" : "diagnosis.condition(Condition.recordedDate)",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "EI"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-20",
          "display" : "Diagnosis Identifier",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "identifier"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.identifier)",
              "display" : "diagnosis.condition(Condition.identifier)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "EI[Identifier]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "ID"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-21",
          "display" : "Diagnosis Action Code",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "code"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.verificationStatus.coding.code)",
              "display" : "diagnosis.condition(Condition.verificationStatus.coding.code)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"entered-in-error\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "ID"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-21",
          "display" : "Diagnosis Action Code",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "uri"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.verificationStatus.coding.system)",
              "display" : "diagnosis.condition(Condition.verificationStatus.coding.system)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"http://terminology.hl7.org/CodeSystem/condition-ver-status\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "EI"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "DG1-22",
          "display" : "Parent Diagnosis",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Condition)"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "diagnosis.condition(Condition.extension-condition-dueTo(Condition))",
              "display" : "diagnosis.condition(Condition.extension-condition-dueTo(Condition))",
              "equivalence" : "equivalent"
            }
          ]
        }
      ]
    }
  ]
}