<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="InstitucionModeloLogico" />
  <url value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/InstitucionModeloLogico" />
  <name value="InstitucionModeloLogico" />
  <title value="Modelo Lógico de Institución o Centro ÚNICAS" />
  <status value="draft" />
  <description value="Modelo lógico de Institución o Centro para red ÚNICAS" />
  <fhirVersion value="5.0.0" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/InstitucionModeloLogico" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base" />
  <derivation value="specialization" />
  <snapshot>
    <element id="InstitucionModeloLogico">
      <path value="InstitucionModeloLogico" />
      <short value="Modelo Lógico de Institución o Centro ÚNICAS" />
      <definition value="Modelo lógico de Institución o Centro para red ÚNICAS" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="InstitucionModeloLogico" />
        <min value="0" />
        <max value="*" />
      </base>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.CodigoREGCESS">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="InstitucionModeloLogico.CodigoREGCESS" />
      <short value="Código REGCESS del centro" />
      <definition value="Código REGCESS del centro" />
      <comment value="The rules of the identifier.type  determine if a check digit is part of the ID value or sent separately, such as through the checkDigit extension." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.CodigoREGCESS" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ident-1" />
        <severity value="warning" />
        <human value="Identifier with no value has limited utility.  If communicating that an identifier value has been suppressed or missing, the value element SHOULD be present with an extension indicating the missing semantic - e.g. data-absent-reason" />
        <expression value="value.exists()" />
        <source value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.CodigoCentroAutonomico">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="InstitucionModeloLogico.CodigoCentroAutonomico" />
      <short value="Código del centro autonómico" />
      <definition value="Código del centro autonómico" />
      <comment value="The rules of the identifier.type  determine if a check digit is part of the ID value or sent separately, such as through the checkDigit extension." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.CodigoCentroAutonomico" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ident-1" />
        <severity value="warning" />
        <human value="Identifier with no value has limited utility.  If communicating that an identifier value has been suppressed or missing, the value element SHOULD be present with an extension indicating the missing semantic - e.g. data-absent-reason" />
        <expression value="value.exists()" />
        <source value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.CodigoEntidadSanitariaAutonomica">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="InstitucionModeloLogico.CodigoEntidadSanitariaAutonomica" />
      <short value="Código de la entidad sanitaria autonómica" />
      <definition value="Código de la entidad sanitaria autonómica" />
      <comment value="The rules of the identifier.type  determine if a check digit is part of the ID value or sent separately, such as through the checkDigit extension." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.CodigoEntidadSanitariaAutonomica" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ident-1" />
        <severity value="warning" />
        <human value="Identifier with no value has limited utility.  If communicating that an identifier value has been suppressed or missing, the value element SHOULD be present with an extension indicating the missing semantic - e.g. data-absent-reason" />
        <expression value="value.exists()" />
        <source value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.CodigoUnidadSanitariaAutonomica">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="InstitucionModeloLogico.CodigoUnidadSanitariaAutonomica" />
      <short value="Código de la unidad sanitaria autonómica" />
      <definition value="Código de la unidad sanitaria autonómica" />
      <comment value="The rules of the identifier.type  determine if a check digit is part of the ID value or sent separately, such as through the checkDigit extension." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.CodigoUnidadSanitariaAutonomica" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ident-1" />
        <severity value="warning" />
        <human value="Identifier with no value has limited utility.  If communicating that an identifier value has been suppressed or missing, the value element SHOULD be present with an extension indicating the missing semantic - e.g. data-absent-reason" />
        <expression value="value.exists()" />
        <source value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.DenominacionCentro">
      <path value="InstitucionModeloLogico.DenominacionCentro" />
      <short value="Denominación del centro" />
      <definition value="Denominación del centro" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.DenominacionCentro" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.Telefono">
      <path value="InstitucionModeloLogico.Telefono" />
      <short value="Teléfono" />
      <definition value="Teléfono" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="InstitucionModeloLogico.Telefono" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.DireccionWeb">
      <path value="InstitucionModeloLogico.DireccionWeb" />
      <short value="Dirección web" />
      <definition value="Dirección web" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="InstitucionModeloLogico.DireccionWeb" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.CorreoElectronico">
      <path value="InstitucionModeloLogico.CorreoElectronico" />
      <short value="Correo electrónico" />
      <definition value="Correo electrónico" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="InstitucionModeloLogico.CorreoElectronico" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.DireccionCentro">
      <path value="InstitucionModeloLogico.DireccionCentro" />
      <short value="Tipo de vía, nombre de la vía, número de la vía, piso, letra" />
      <definition value="Tipo de vía, nombre de la vía, número de la vía, piso, letra" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="*" />
      <base>
        <path value="InstitucionModeloLogico.DireccionCentro" />
        <min value="1" />
        <max value="*" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.Ciudad">
      <path value="InstitucionModeloLogico.Ciudad" />
      <short value="Ciudad" />
      <definition value="Ciudad" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.Ciudad" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.Municipio">
      <path value="InstitucionModeloLogico.Municipio" />
      <short value="Municipio" />
      <definition value="Municipio" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.Municipio" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.Provincia">
      <path value="InstitucionModeloLogico.Provincia" />
      <short value="Provincia" />
      <definition value="Provincia" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.Provincia" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.ComunidadAutonoma">
      <path value="InstitucionModeloLogico.ComunidadAutonoma" />
      <short value="Comunidad Autónoma" />
      <definition value="Comunidad Autónoma" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.ComunidadAutonoma" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.CodigoPostal">
      <path value="InstitucionModeloLogico.CodigoPostal" />
      <short value="Código Postal" />
      <definition value="Código Postal" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.CodigoPostal" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.Pais">
      <path value="InstitucionModeloLogico.Pais" />
      <short value="País" />
      <definition value="País" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.Pais" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.IdentificadorNodoCCAA">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="InstitucionModeloLogico.IdentificadorNodoCCAA" />
      <short value="Identificador del Nodo Comunidad Autónoma" />
      <definition value="Identificador del Nodo Comunidad Autónoma" />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.IdentificadorNodoCCAA" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.ReferenciaSistemaInformacion">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="InstitucionModeloLogico.ReferenciaSistemaInformacion" />
      <short value="Referencia al sistema de información" />
      <definition value="Referencia al sistema de información" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="InstitucionModeloLogico.ReferenciaSistemaInformacion" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists()  implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-2" />
        <severity value="error" />
        <human value="At least one of reference, identifier and display SHALL be present (unless an extension is provided)." />
        <expression value="reference.exists() or identifier.exists() or display.exists() or extension.exists()" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.ServicioSalud">
      <path value="InstitucionModeloLogico.ServicioSalud" />
      <short value="Servicio de salud" />
      <definition value="Servicio de salud" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.ServicioSalud" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="InstitucionModeloLogico.URLEndpoint">
      <path value="InstitucionModeloLogico.URLEndpoint" />
      <short value="URL de endpoint (dato mínimo, en caso de informar sistema de información)" />
      <definition value="URL de endpoint (dato mínimo, en caso de informar sistema de información)" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="InstitucionModeloLogico.URLEndpoint" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="InstitucionModeloLogico">
      <path value="InstitucionModeloLogico" />
      <short value="Modelo Lógico de Institución o Centro ÚNICAS" />
      <definition value="Modelo lógico de Institución o Centro para red ÚNICAS" />
    </element>
    <element id="InstitucionModeloLogico.CodigoREGCESS">
      <path value="InstitucionModeloLogico.CodigoREGCESS" />
      <short value="Código REGCESS del centro" />
      <definition value="Código REGCESS del centro" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.CodigoCentroAutonomico">
      <path value="InstitucionModeloLogico.CodigoCentroAutonomico" />
      <short value="Código del centro autonómico" />
      <definition value="Código del centro autonómico" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.CodigoEntidadSanitariaAutonomica">
      <path value="InstitucionModeloLogico.CodigoEntidadSanitariaAutonomica" />
      <short value="Código de la entidad sanitaria autonómica" />
      <definition value="Código de la entidad sanitaria autonómica" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.CodigoUnidadSanitariaAutonomica">
      <path value="InstitucionModeloLogico.CodigoUnidadSanitariaAutonomica" />
      <short value="Código de la unidad sanitaria autonómica" />
      <definition value="Código de la unidad sanitaria autonómica" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.DenominacionCentro">
      <path value="InstitucionModeloLogico.DenominacionCentro" />
      <short value="Denominación del centro" />
      <definition value="Denominación del centro" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.Telefono">
      <path value="InstitucionModeloLogico.Telefono" />
      <short value="Teléfono" />
      <definition value="Teléfono" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.DireccionWeb">
      <path value="InstitucionModeloLogico.DireccionWeb" />
      <short value="Dirección web" />
      <definition value="Dirección web" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.CorreoElectronico">
      <path value="InstitucionModeloLogico.CorreoElectronico" />
      <short value="Correo electrónico" />
      <definition value="Correo electrónico" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.DireccionCentro">
      <path value="InstitucionModeloLogico.DireccionCentro" />
      <short value="Tipo de vía, nombre de la vía, número de la vía, piso, letra" />
      <definition value="Tipo de vía, nombre de la vía, número de la vía, piso, letra" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.Ciudad">
      <path value="InstitucionModeloLogico.Ciudad" />
      <short value="Ciudad" />
      <definition value="Ciudad" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.Municipio">
      <path value="InstitucionModeloLogico.Municipio" />
      <short value="Municipio" />
      <definition value="Municipio" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.Provincia">
      <path value="InstitucionModeloLogico.Provincia" />
      <short value="Provincia" />
      <definition value="Provincia" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.ComunidadAutonoma">
      <path value="InstitucionModeloLogico.ComunidadAutonoma" />
      <short value="Comunidad Autónoma" />
      <definition value="Comunidad Autónoma" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.CodigoPostal">
      <path value="InstitucionModeloLogico.CodigoPostal" />
      <short value="Código Postal" />
      <definition value="Código Postal" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.Pais">
      <path value="InstitucionModeloLogico.Pais" />
      <short value="País" />
      <definition value="País" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.IdentificadorNodoCCAA">
      <path value="InstitucionModeloLogico.IdentificadorNodoCCAA" />
      <short value="Identificador del Nodo Comunidad Autónoma" />
      <definition value="Identificador del Nodo Comunidad Autónoma" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.ReferenciaSistemaInformacion">
      <path value="InstitucionModeloLogico.ReferenciaSistemaInformacion" />
      <short value="Referencia al sistema de información" />
      <definition value="Referencia al sistema de información" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.ServicioSalud">
      <path value="InstitucionModeloLogico.ServicioSalud" />
      <short value="Servicio de salud" />
      <definition value="Servicio de salud" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="InstitucionModeloLogico.URLEndpoint">
      <path value="InstitucionModeloLogico.URLEndpoint" />
      <short value="URL de endpoint (dato mínimo, en caso de informar sistema de información)" />
      <definition value="URL de endpoint (dato mínimo, en caso de informar sistema de información)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>