HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## : Segment DG1 to EpisodeOfCare Map - TTL Representation

Page standards status: Informative

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:ConceptMap ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "segment-dg1-to-episodeofcare"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap segment-dg1-to-episodeofcare</b></p><a name=\"segment-dg1-to-episodeofcare\"> </a><a name=\"hcsegment-dg1-to-episodeofcare\"> </a><p>Mapping from (not specified) to (not specified)</p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>DG1-3 (Diagnosis Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.code)</td><td/></tr><tr><td>DG1-4 (Diagnosis Description)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.code.text)</td><td>Doesn't warrant mapping</td></tr><tr><td>DG1-5 (Diagnosis Date/Time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.onsetDateTime)</td><td>Should confirm that these two concepts are equivalent. Condition.recordedDate is also available</td></tr><tr><td>DG1-6 (Diagnosis Type)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.role</td><td/></tr><tr><td>DG1-15 (Diagnosis Priority)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.rank</td><td>Could contribute to Condition.category or be a new extension</td></tr><tr><td>DG1-16 (Diagnosing Clinician)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.asserter(Practitioner)</td><td>While DG1-16 can repeat, we are not aware of instances where this is used.  Until such time, we will not yet establish an agreed to method to communicate the extra repeats in FHIR.</td></tr><tr><td>DG1-19 (Attestation Date/Time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.extension[1].url)</td><td/></tr><tr><td>DG1-19 (Attestation Date/Time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.extension[1].valueDateTime)</td><td>It is unclear whether to use recorded or asserted date.  What is your opinion?</td></tr><tr><td>DG1-19 (Attestation Date/Time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.recordedDate)</td><td>It is unclear whether to use recorded or asserted date.  What is your opinion?</td></tr><tr><td>DG1-20 (Diagnosis Identifier)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.identifier)</td><td>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.</td></tr><tr><td>DG1-21 (Diagnosis Action Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.verificationStatus.coding.code)</td><td>Other values (A and U) don't map to anything</td></tr><tr><td>DG1-21 (Diagnosis Action Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.verificationStatus.coding.system)</td><td/></tr><tr><td>DG1-22 (Parent Diagnosis)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.extension[2].url)</td><td/></tr><tr><td>DG1-22 (Parent Diagnosis)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>diagnosis.condition(Condition.extension[2].valueReference(Condition))</td><td>Extensions for occurredFollowing and related also exist</td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "derived-from"       ]     ] [
    fhir:url [ fhir:v "label"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Segment DG1 to EpisodeOfCare.fsh"       ]     ] [
    fhir:url [ fhir:v "url"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://docs.google.com/spreadsheets/d/1seZccIaX-x7-8vVxT1JiiG5Hm1dtWgYcI2RxiiKzh-o/edit#gid=0"^^xsd:anyURI       ]     ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"^^xsd:anyURI ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "oo"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "informative" ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings>         ]       ] )     ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-dg1-to-episodeofcare"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.0"] ; #
      fhir:name [ fhir:v "SegmentDG1ToEpisodeOfCare"] ; #
      fhir:title [ fhir:v "Segment DG1 to EpisodeOfCare Map"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:experimental [ fhir:v true] ; #
      fhir:date [ fhir:v "2025-08-25"^^xsd:date] ; #
      fhir:publisher [ fhir:v "HL7 International / Orders and Observations"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 Orders and Observations Workgroup" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/orders" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This ConceptMap represents a mapping from the HL7 V2 Segment DG1 to the FHIR EpisodeOfCare Resource."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "001" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved."] ; #
      fhir:group ( [
        ( fhir:element [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-3" ] ;
    fhir:display [ fhir:v "Diagnosis Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.code)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.code)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "ST"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-4" ] ;
    fhir:display [ fhir:v "Diagnosis Description" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.code.text)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.code.text)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "Doesn't warrant mapping" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "DTM"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-5" ] ;
    fhir:display [ fhir:v "Diagnosis Date/Time" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "dateTime"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.onsetDateTime)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.onsetDateTime)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "Should confirm that these two concepts are equivalent. Condition.recordedDate is also available" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-6" ] ;
    fhir:display [ fhir:v "Diagnosis Type" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70052-to-diagnosis-role"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.role" ] ;
    fhir:display [ fhir:v "diagnosis.role" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "NM"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-15" ] ;
    fhir:display [ fhir:v "Diagnosis Priority" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "positiveInt"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.rank" ] ;
    fhir:display [ fhir:v "diagnosis.rank" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "Could contribute to Condition.category or be a new extension" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "XCN"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-16" ] ;
    fhir:display [ fhir:v "Diagnosing Clinician" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Reference"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.asserter(Practitioner)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.asserter(Practitioner)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "While DG1-16 can repeat, we are not aware of instances where this is used.  Until such time, we will not yet establish an agreed to method to communicate the extra repeats in FHIR." ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "DTM"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-19" ] ;
    fhir:display [ fhir:v "Attestation Date/Time" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "uri"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"http://hl7.org/fhir/StructureDefinition/condition-assertedDate\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.extension[1].url)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.extension[1].url)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "DTM"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-19" ] ;
    fhir:display [ fhir:v "Attestation Date/Time" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "dateTime"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.extension[1].valueDateTime)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.extension[1].valueDateTime)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "It is unclear whether to use recorded or asserted date.  What is your opinion?" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "DTM"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-19" ] ;
    fhir:display [ fhir:v "Attestation Date/Time" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "dateTime"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.recordedDate)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.recordedDate)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "It is unclear whether to use recorded or asserted date.  What is your opinion?" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "EI"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-20" ] ;
    fhir:display [ fhir:v "Diagnosis Identifier" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "identifier"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.identifier)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.identifier)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "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." ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "ID"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-21" ] ;
    fhir:display [ fhir:v "Diagnosis Action Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "code"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"entered-in-error\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.verificationStatus.coding.code)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.verificationStatus.coding.code)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "Other values (A and U) don't map to anything" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "ID"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-21" ] ;
    fhir:display [ fhir:v "Diagnosis Action Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "uri"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"http://terminology.hl7.org/CodeSystem/condition-ver-status\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.verificationStatus.coding.system)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.verificationStatus.coding.system)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "EI"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-22" ] ;
    fhir:display [ fhir:v "Parent Diagnosis" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"http://hl7.org/fhir/StructureDefinition/condition-dueTo\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.extension[2].url)" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.extension[2].url)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "EI"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "DG1-22" ] ;
    fhir:display [ fhir:v "Parent Diagnosis" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Reference"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "diagnosis.condition(Condition.extension[2].valueReference(Condition))" ] ;
    fhir:display [ fhir:v "diagnosis.condition(Condition.extension[2].valueReference(Condition))" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "Extensions for occurredFollowing and related also exist" ]       ] )     ] )
      ] ) . #