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 Encounter Map - JSON Representation

Page standards status: Informative

Raw json | Download

    {
      "resourceType" : "ConceptMap",
      "id" : "segment-dg1-to-encounter",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap segment-dg1-to-encounter</b></p><a name=\"segment-dg1-to-encounter\"> </a><a name=\"hcsegment-dg1-to-encounter\"> </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/></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.use</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>Condition.recorder is also an option. Neither of these fields can repeat like DG1-16 can.</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[1].uri)</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[1].valueReference(Condition))</td><td>Extensions for occurredFollowing and related also exist</td></tr></table></div>"
      },
      "extension" : [
        {
          "extension" : [
            {
              "url" : "type",
              "valueCode" : "derived-from"
            },
            {
              "url" : "label",
              "valueString" : "Segment DG1 to Encounter.fsh"
            },
            {
              "url" : "url",
              "valueUri" : "https://docs.google.com/spreadsheets/d/1pmkhzcfab8cQk8mlALJtAiUmKJoOLhDu9NRkbBkei-4/edit#gid=0"
            }
          ],
          "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
          "valueCode" : "oo"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
          "valueCode" : "informative",
          "_valueCode" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
                "valueCanonical" : "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"
              }
            ]
          }
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-dg1-to-encounter",
      "version" : "1.0.0",
      "name" : "SegmentDG1ToEncounter",
      "title" : "Segment DG1 to Encounter Map",
      "status" : "active",
      "experimental" : true,
      "date" : "2025-08-25",
      "publisher" : "HL7 International / Orders and Observations",
      "contact" : [
        {
          "name" : "HL7 Orders and Observations Workgroup",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://www.hl7.org/Special/committees/orders"
            }
          ]
        }
      ],
      "description" : "This ConceptMap represents a mapping from the HL7 V2 Segment DG1 to the FHIR Encounter Resource.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
              "code" : "001"
            }
          ]
        }
      ],
      "copyright" : "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved.",
      "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"
                }
              ]
            },
            {
              "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",
                  "comment" : "Should confirm that these two concepts are equivalent. Condition.recordedDate is also available"
                }
              ]
            },
            {
              "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" : "mappedVia",
                          "valueUrl" : "ConceptMap/table-hl70052-to-diagnosis-role"
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "diagnosis.use",
                  "display" : "diagnosis.use",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "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",
                  "comment" : "Could contribute to Condition.category or be a new extension"
                }
              ]
            },
            {
              "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",
                  "comment" : "Condition.recorder is also an option. Neither of these fields can repeat like DG1-16 can."
                }
              ]
            },
            {
              "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" : "uri"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "\"http://hl7.org/fhir/StructureDefinition/condition-assertedDate\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "diagnosis.condition(Condition.extension[1].url)",
                  "display" : "diagnosis.condition(Condition.extension[1].url)",
                  "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" : 1
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "diagnosis.condition(Condition.extension[1].valueDateTime)",
                  "display" : "diagnosis.condition(Condition.extension[1].valueDateTime)",
                  "equivalence" : "equivalent",
                  "comment" : "It is unclear whether to use recorded or asserted date.  What is your opinion?"
                }
              ]
            },
            {
              "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",
                  "comment" : "It is unclear whether to use recorded or asserted date.  What is your opinion?"
                }
              ]
            },
            {
              "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",
                  "comment" : "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."
                }
              ]
            },
            {
              "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" : "assignment",
                          "valueString" : "\"entered-in-error\""
                        }
                      ],
                      "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",
                  "comment" : "Other values (A and U) don't map to anything"
                }
              ]
            },
            {
              "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" : "assignment",
                          "valueString" : "\"http://terminology.hl7.org/CodeSystem/condition-ver-status\""
                        }
                      ],
                      "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"
                }
              ]
            },
            {
              "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" : "uri"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "\"http://hl7.org/fhir/StructureDefinition/condition-dueTo\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "diagnosis.condition(Condition.extension[1].uri)",
                  "display" : "diagnosis.condition(Condition.extension[1].uri)",
                  "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-22",
              "display" : "Parent Diagnosis",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "Reference"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "diagnosis.condition(Condition.extension[1].valueReference(Condition))",
                  "display" : "diagnosis.condition(Condition.extension[1].valueReference(Condition))",
                  "equivalence" : "equivalent",
                  "comment" : "Extensions for occurredFollowing and related also exist"
                }
              ]
            }
          ]
        }
      ]
    }