<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://example.org/fhir/StructureDefinition/DiagnosticReport_IngresosUrgencias_apimin" />
  <name value="DiagnosticReport_IngresosUrgencias_apimin" />
  <status value="draft" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://example.org/fhir/StructureDefinition/Patient-Api-Minsal" />
      </type>
    </element>
    <element id="DiagnosticReport.context">
      <path value="DiagnosticReport.context" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://example.org/fhir/StructureDefinition/Encounter_apimin" />
      </type>
    </element>
    <element id="DiagnosticReport.codedDiagnosis.coding.code">
      <path value="DiagnosticReport.codedDiagnosis.coding.code" />
      <short value="Código del diagnóstico." />
      <definition value="Código del diagnóstico principal o de la hipotisis diagnostica." />
      <mapping>
        <identity value="api-minsal" />
        <map value="CodDiagnostico o CodDiagnosticoFinal" />
      </mapping>
    </element>
    <element id="DiagnosticReport.codedDiagnosis.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="DiagnosticReport.codedDiagnosis.coding.display" />
      <short value="Texto explicativo del diagnóstico." />
      <definition value="Nombre completo que hace referencia al código del diagnóstico." />
      <mapping>
        <identity value="api-minsal" />
        <map value="hipotesisDiagn o DiagFinal" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>