<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASBundleAntecedentes" />
  <name value="UNICASBundleAntecedentes" />
  <title value="Bundle Antecedentes ÚNICAS" />
  <status value="draft" />
  <description value="Este profile define las restricciones del recurso Bundle para representar el mensaje de registro de antecedentes en el contexto del caso de uso de ÚNICAS." />
  <fhirVersion value="5.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Bundle" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle" />
  <derivation value="constraint" />
  <differential>
    <element id="Bundle.identifier">
      <path value="Bundle.identifier" />
      <short value="Identificador único" />
      <definition value="Persistent identifier for the bundle. A persistent identifier for the bundle that won't change as a bundle is copied from server to server." />
      <min value="1" />
    </element>
    <element id="Bundle.identifier.type">
      <path value="Bundle.identifier.type" />
      <short value="Tipo de informe/información ÚNICAS" />
      <definition value="Description of identifier. A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de informes para ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposInformesUNICAS" />
      </binding>
    </element>
    <element id="Bundle.identifier.type.coding.system">
      <path value="Bundle.identifier.type.coding.system" />
      <short value="URL del refset Documentos del CMDIC | URL del SNOMED CT. Extensión para España del SNS" />
      <definition value="Identity of the terminology system. The identification of the code system that defines the meaning of the symbol in the code." />
    </element>
    <element id="Bundle.identifier.type.coding.code">
      <path value="Bundle.identifier.type.coding.code" />
      <short value="Código del tipo de informe/información ÚNICAS" />
    </element>
    <element id="Bundle.identifier.type.coding.display">
      <path value="Bundle.identifier.type.coding.display" />
      <short value="Descripción del tipo de informe/información ÚNICAS" />
      <definition value="Representation defined by the system. A representation of the meaning of the code in the system, following the rules of the system." />
    </element>
    <element id="Bundle.identifier.system">
      <path value="Bundle.identifier.system" />
      <short value="Sistema de identificador" />
      <definition value="The namespace for the identifier value. Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique." />
      <min value="1" />
    </element>
    <element id="Bundle.identifier.value">
      <path value="Bundle.identifier.value" />
      <short value="Valor de identificador" />
      <definition value="The value that is unique. The portion of the identifier typically relevant to the user and which is unique within the context of the system." />
      <min value="1" />
    </element>
    <element id="Bundle.type">
      <path value="Bundle.type" />
      <patternCode value="transaction" />
    </element>
    <element id="Bundle.timestamp">
      <path value="Bundle.timestamp" />
      <short value="Fecha y hora de envío del mensaje en el Nodo Autonómico (Effective Time)" />
      <definition value="When the bundle was assembled. The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle." />
      <min value="1" />
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry" />
      <slicing>
        <discriminator>
          <type value="profile" />
          <path value="resource" />
        </discriminator>
        <discriminator>
          <type value="value" />
          <path value="resource.category.coding" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias">
      <path value="Bundle.entry" />
      <sliceName value="ConditionEnfermedadesPrevias" />
      <short value="Registro de enfermedades previas" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de enfermedad previa" />
      <min value="1" />
      <type>
        <code value="Condition" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASConditionEnfermedad" />
      </type>
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias.resource.category.coding">
      <path value="Bundle.entry.resource.category.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct/900000001000122104" />
        <code value="31231000122108" />
        <display value="enfermedades previas" />
      </patternCoding>
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias.resource.participant.actor.identifier.type">
      <path value="Bundle.entry.resource.participant.actor.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:ConditionEnfermedadesPrevias.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Condition?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para la enfermedad]" />
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales">
      <path value="Bundle.entry" />
      <sliceName value="ConditionAntecedentesNeonatales" />
      <short value="Registro de antecedentes neonatales" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de antecedente neonatal" />
      <min value="1" />
      <type>
        <code value="Condition" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASConditionEnfermedad" />
      </type>
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales.resource.category.coding">
      <path value="Bundle.entry.resource.category.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct/900000001000122104" />
        <code value="2541788014" />
        <display value="trastorno neonatal" />
      </patternCoding>
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales.resource.participant.actor.identifier.type">
      <path value="Bundle.entry.resource.participant.actor.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:ConditionAntecedentesNeonatales.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Condition?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para la enfermedad]" />
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal">
      <path value="Bundle.entry" />
      <sliceName value="ObservationAntropometriaNeonatal" />
      <short value="Registro de antropometría neonatal" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de antropometría neonatal" />
      <min value="1" />
      <type>
        <code value="Observation" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASObservationAntropometria" />
      </type>
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal.resource.category.coding">
      <path value="Bundle.entry.resource.category.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct/900000001000122104" />
        <code value="364585000" />
        <display value="característica observable del recién nacido" />
      </patternCoding>
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal.resource.performer.identifier.type">
      <path value="Bundle.entry.resource.performer.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:ObservationAntropometriaNeonatal.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Observation?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para el dato antropométrico]" />
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos">
      <path value="Bundle.entry" />
      <sliceName value="ObservationAntecedentesObstetricos" />
      <short value="Registro de antecedentes obstétricos" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de antecedente obstétrico" />
      <min value="1" />
      <type>
        <code value="Observation" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASObservationObstetrico" />
      </type>
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos.resource.category.coding">
      <path value="Bundle.entry.resource.category.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct/900000001000122104" />
        <code value="248983002" />
        <display value="antecedentes obstétricos" />
      </patternCoding>
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos.resource.performer.identifier.type">
      <path value="Bundle.entry.resource.performer.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:ObservationAntecedentesObstetricos.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Observation?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para el dato obstétrico]" />
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos">
      <path value="Bundle.entry" />
      <sliceName value="ProcedureAntecedentesQuirurgicos" />
      <short value="Registro de antecedentes quirúrgicos" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de antecedente quirúrgico" />
      <min value="1" />
      <type>
        <code value="Procedure" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASProcedure" />
      </type>
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos.resource.category.coding">
      <path value="Bundle.entry.resource.category.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct/900000001000122104" />
        <code value="21651000122102" />
        <display value="antecedentes quirúrgicos" />
      </patternCoding>
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos.resource.performer.actor.identifier.type">
      <path value="Bundle.entry.resource.performer.actor.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:ProcedureAntecedentesQuirurgicos.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Procedure?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para el procedimiento quirúrgico]" />
    </element>
    <element id="Bundle.entry:FamilyMemberHistoryAntecedentesFamiliares">
      <path value="Bundle.entry" />
      <sliceName value="FamilyMemberHistoryAntecedentesFamiliares" />
      <short value="Registro de antecedentes familiares" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:FamilyMemberHistoryAntecedentesFamiliares.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:FamilyMemberHistoryAntecedentesFamiliares.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de antecedente familiar" />
      <min value="1" />
      <type>
        <code value="FamilyMemberHistory" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASFamilyMemberHistory" />
      </type>
    </element>
    <element id="Bundle.entry:FamilyMemberHistoryAntecedentesFamiliares.resource.patient.identifier.type">
      <path value="Bundle.entry.resource.patient.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:FamilyMemberHistoryAntecedentesFamiliares.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:FamilyMemberHistoryAntecedentesFamiliares.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:FamilyMemberHistoryAntecedentesFamiliares.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/FamilyMemberHistory?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para el antecedente familiar" />
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos">
      <path value="Bundle.entry" />
      <sliceName value="ObservationDatosAntropometricos" />
      <short value="Registro de datos antropométricos" />
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de dato antropométrico" />
      <min value="1" />
      <type>
        <code value="Observation" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASObservationAntropometria" />
      </type>
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos.resource.category.coding">
      <path value="Bundle.entry.resource.category.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct/900000001000122104" />
        <code value="248326004" />
        <display value="medida corporals" />
      </patternCoding>
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos.resource.performer.identifier.type">
      <path value="Bundle.entry.resource.performer.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:ObservationDatosAntropometricos.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Observation?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para el dato antropométrico]" />
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos">
      <path value="Bundle.entry" />
      <sliceName value="ObservationHabitosToxicos" />
      <short value="Registro de hábitos tóxicos" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de hábito tóxico" />
      <min value="1" />
      <type>
        <code value="Observation" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASObservationHabitoToxico" />
      </type>
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos.resource.category.coding">
      <path value="Bundle.entry.resource.category.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct/900000001000122104" />
        <code value="31251000122103" />
        <display value="hábitos tóxicos" />
      </patternCoding>
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos.resource.performer.identifier.type">
      <path value="Bundle.entry.resource.performer.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:ObservationHabitosToxicos.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Observation?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para el hábito tóxico]" />
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables">
      <path value="Bundle.entry" />
      <sliceName value="ObservationHabitosNoSaludables" />
      <short value="Registro de hábitos no saludables" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de hábito no saludable" />
      <min value="1" />
      <type>
        <code value="Observation" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASObservationHabitoNoSaludable" />
      </type>
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables.resource.category.coding">
      <path value="Bundle.entry.resource.category.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct/900000001000122104" />
        <code value="365949003" />
        <display value="hallazgo relacionado con conductas vinculadas a la salud" />
      </patternCoding>
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables.resource.performer.identifier.type">
      <path value="Bundle.entry.resource.performer.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:ObservationHabitosNoSaludables.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Observation?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para el hábito no saludable]" />
    </element>
    <element id="Bundle.entry:MedicationFarmacosPrevios">
      <path value="Bundle.entry" />
      <sliceName value="MedicationFarmacosPrevios" />
      <short value="Registro de fármacos previos" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
    </element>
    <element id="Bundle.entry:MedicationFarmacosPrevios.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:MedicationFarmacosPrevios.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de fármaco previo" />
      <min value="1" />
      <type>
        <code value="Medication" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASMedication" />
      </type>
    </element>
    <element id="Bundle.entry:MedicationFarmacosPrevios.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:MedicationFarmacosPrevios.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:MedicationFarmacosPrevios.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/Medication?code=[URL del SNOMED CT. Extensión para España del SNS o urn:oid del ATC o DCSA]|[Código del fármaco]" />
    </element>
    <element id="Bundle.entry:StatementTratamientoFarmacoloPrevio">
      <path value="Bundle.entry" />
      <sliceName value="StatementTratamientoFarmacoloPrevio" />
      <short value="Registro de tratamientos farmacológicos previos" />
      <definition value="Entry in the bundle - will have a resource or information. An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." />
    </element>
    <element id="Bundle.entry:StatementTratamientoFarmacoloPrevio.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:StatementTratamientoFarmacoloPrevio.resource">
      <path value="Bundle.entry.resource" />
      <short value="Referencia al registro de tratamiento farmacológico previo" />
      <min value="1" />
      <type>
        <code value="MedicationStatement" />
        <profile value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASMedicationStatement" />
      </type>
    </element>
    <element id="Bundle.entry:StatementTratamientoFarmacoloPrevio.resource.subject.identifier.type">
      <path value="Bundle.entry.resource.subject.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:StatementTratamientoFarmacoloPrevio.resource.informationSource.identifier.type">
      <path value="Bundle.entry.resource.informationSource.identifier.type" />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Bundle.entry:StatementTratamientoFarmacoloPrevio.request">
      <path value="Bundle.entry.request" />
      <short value="Información de ejecución" />
      <definition value="Additional execution information (transaction/batch/history). Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry." />
      <min value="1" />
    </element>
    <element id="Bundle.entry:StatementTratamientoFarmacoloPrevio.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="Método de interacción" />
      <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred (GET | HEAD | POST | PUT | DELETE | PATCH)." />
    </element>
    <element id="Bundle.entry:StatementTratamientoFarmacoloPrevio.request.url">
      <path value="Bundle.entry.request.url" />
      <short value="URL de este entry, relativa a la raíz" />
      <definition value="Formato de actualización condicional: [base]/MedicationStatement?identifier=urn:regcess:[CódigoREGCESS]|[Id interno del sistema para el registro de tratamiento farmacológico previo]" />
    </element>
  </differential>
</StructureDefinition>