ÚNICAS Rare Diseases HL7 FHIR Implementation Guide
0.0.1 - draft
ÚNICAS Rare Diseases HL7 FHIR Implementation Guide - Local Development build (v0.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASDocumentReference | Version: 0.0.1 | |||
Draft as of 2025-08-12 | Computable Name: UNICASDocumentReference |
Este profile define las restricciones del recurso DocumentReference para representar un documento clínico en el contexto del caso de uso de ÚNICAS.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
---|---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: docRef-1, docRef-2 | ||||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() ![]() |
Σ | 1..* | Identifier | Identificador único | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | uri | Sistema para identificar el origen Constraints: regcess-system Example General: urn:regcess:0123456789 | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Identificador interno del sistema para el documento Example General: 123456 | ||||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Tipo de informe/información ÚNICAS Binding: Value set de Tipos de informes para ÚNICAS (preferred): Value set de Tipos de informes para ÚNICAS | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient Paciente ÚNICAS) | Referencia al paciente | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS | ||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Tipos de documentos de identificación para persona ÚNICAS Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
| ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | OID registro de número de CIP-SNS Example General: urn:oid:2.16.724.4.40 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Número CIP-SNS Example General: BBBBBBBBQR648597 | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Nombre completo del paciente | ||||||
![]() ![]() ![]() |
C | 0..* | Reference(Encounter Interacción Clínica ÚNICAS) | Referencia a la interacción clínica | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Identificador del recurso FHIR | ||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Sistema para identificar el origen Example General: urn:regcess:0123456789 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Identificador interno del sistema para la interacción clínica Example General: 123456 | ||||||
![]() ![]() ![]() |
Σ | 1..1 | instant | Fecha de publicación del informe/información | ||||||
![]() ![]() ![]() |
1..1 | Reference(Organization Institución ÚNICAS) | Referencia a la institución | |||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Identificador de la institución. Cuando no tengamos recurso Organization, se debera informar el identificador de institución mediante código REGCESS | ||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | OID registro de número de REGCESS Example General: urn:oid:2.16.724.4.21.5.10 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Código REGCESS Example General: 0123456789 | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Nombre completo de la institución | ||||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | Título del informe/información ÚNICAS | ||||||
![]() ![]() ![]() |
Σ | 1..* | BackboneElement | Contenido del documento codificado en Base64, que puede incluir formatos como PDF o HL7 CDA | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Attachment | Where to access the document | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | Tipo de datos (application/pdf | multipart/x-hl7-cda-level-one) Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | base64Binary | Datos en base64 (Debe indicar un HL7 CDA o un PDF convertido a datos base64) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | url | URL del datos en formato Base64 (recurso Binary) Example General: http://www.acme.com/logo-small.png | ||||||
![]() |
Path | Conformance | ValueSet | URI |
DocumentReference.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.status | required | DocumentReferenceStatushttp://hl7.org/fhir/ValueSet/document-reference-status|5.0.0 From the FHIR Standard | |
DocumentReference.type | preferred | ValuesetTiposInformesUNICAShttps://unicas-fhir.sanidad.gob.es/ValueSet/TiposInformesUNICAS From this IG | |
DocumentReference.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.subject.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.subject.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.context.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.context.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.custodian.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.custodian.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.content.attachment.contentType | required | MimeTypes(a valid code from urn:ietf:bcp:13 )http://hl7.org/fhir/ValueSet/mimetypes|5.0.0 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | DocumentReference | A resource should have narrative for robust management : text.`div`.exists() | |
docRef-1 | warning | DocumentReference | facilityType SHALL only be present if context is not an encounter : facilityType.empty() or context.where(resolve() is Encounter).empty() | |
docRef-2 | warning | DocumentReference | practiceSetting SHALL only be present if context is not present : practiceSetting.empty() or context.where(resolve() is Encounter).empty() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
regcess-system | warning | DocumentReference.identifier.system | system debe comenzar por urn:regcess: seguido del identificador del sistema. : matches('^urn:regcess:[A-Za-z0-9]+$') |
This structure is derived from DocumentReference
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
---|---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
DocumentReference | |||||||||
![]() ![]() ![]() |
1..* | Identifier | Identificador único | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | Sistema para identificar el origen Constraints: regcess-system | ||||||
![]() ![]() ![]() ![]() |
1..1 | string | Identificador interno del sistema para el documento | |||||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de informe/información ÚNICAS Binding: Value set de Tipos de informes para ÚNICAS (preferred): Value set de Tipos de informes para ÚNICAS | |||||||
![]() ![]() ![]() ![]() |
||||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | URL del refset Documentos del CMDIC | URL del SNOMED CT. Extensión para España del SNS | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Código del tipo de informe/información ÚNICAS | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Descripción del tipo de informe/información ÚNICAS | |||||||
![]() ![]() ![]() |
1..1 | Reference(Patient Paciente ÚNICAS) | Referencia al paciente | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Tipo de recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
1..1 | Identifier | Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Tipos de documentos de identificación para persona ÚNICAS Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
| |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | URL del SNOMED CT. Extensión para España del SNS | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Código del identificador | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Decripción del identificador | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | OID registro de número de CIP-SNS | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Número CIP-SNS | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Nombre completo del paciente | |||||||
![]() ![]() ![]() |
0..* | Reference(Encounter Interacción Clínica ÚNICAS) | Referencia a la interacción clínica | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Referencia recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | Tipo de recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Identificador del recurso FHIR | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Sistema para identificar el origen | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Identificador interno del sistema para la interacción clínica | |||||||
![]() ![]() ![]() |
1..1 | instant | Fecha de publicación del informe/información | |||||||
![]() ![]() ![]() |
1..1 | Reference(Organization Institución ÚNICAS) | Referencia a la institución | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Referencia recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Tipo de recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
1..1 | Identifier | Identificador de la institución. Cuando no tengamos recurso Organization, se debera informar el identificador de institución mediante código REGCESS | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | OID registro de número de REGCESS | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Código REGCESS | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Nombre completo de la institución | |||||||
![]() ![]() ![]() |
1..1 | markdown | Título del informe/información ÚNICAS | |||||||
![]() ![]() ![]() |
1..* | BackboneElement | Contenido del documento codificado en Base64, que puede incluir formatos como PDF o HL7 CDA | |||||||
![]() ![]() ![]() ![]() |
||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Tipo de datos (application/pdf | multipart/x-hl7-cda-level-one) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | base64Binary | Datos en base64 (Debe indicar un HL7 CDA o un PDF convertido a datos base64) | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | url | URL del datos en formato Base64 (recurso Binary) | |||||||
![]() |
Path | Conformance | ValueSet | URI |
DocumentReference.type | preferred | ValuesetTiposInformesUNICAShttps://unicas-fhir.sanidad.gob.es/ValueSet/TiposInformesUNICAS From this IG | |
DocumentReference.subject.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
regcess-system | warning | DocumentReference.identifier.system | system debe comenzar por urn:regcess: seguido del identificador del sistema. : matches('^urn:regcess:[A-Za-z0-9]+$') |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
---|---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: docRef-1, docRef-2 | ||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() ![]() |
Σ | 1..* | Identifier | Identificador único | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | uri | Sistema para identificar el origen Constraints: regcess-system Example General: urn:regcess:0123456789 | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Identificador interno del sistema para el documento Example General: 123456 | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||
![]() ![]() ![]() |
Σ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference | ||||||
![]() ![]() ![]() |
0..* | Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription) | Procedure that caused this media to be created | |||||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||||
![]() ![]() ![]() |
Σ | 0..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown Binding: CompositionStatus (required): Status of the underlying document. | ||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Imaging modality used Binding: Modality (extensible): Type of acquired data in the instance. | ||||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Tipo de informe/información ÚNICAS Binding: Value set de Tipos de informes para ÚNICAS (preferred): Value set de Tipos de informes para ÚNICAS | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL del refset Documentos del CMDIC | URL del SNOMED CT. Extensión para España del SNS | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | code | Código del tipo de informe/información ÚNICAS | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Descripción del tipo de informe/información ÚNICAS | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Categorization of document Binding: ReferencedItemCategoryValueSet (example): High-level kind of document at a macro level. | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient Paciente ÚNICAS) | Referencia al paciente | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Tipos de documentos de identificación para persona ÚNICAS Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
| ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | URL del SNOMED CT. Extensión para España del SNS | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | Código del identificador | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Decripción del identificador | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | OID registro de número de CIP-SNS Example General: urn:oid:2.16.724.4.40 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Número CIP-SNS Example General: BBBBBBBBQR648597 | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Nombre completo del paciente | ||||||
![]() ![]() ![]() |
C | 0..* | Reference(Encounter Interacción Clínica ÚNICAS) | Referencia a la interacción clínica | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Identificador del recurso FHIR | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Sistema para identificar el origen Example General: urn:regcess:0123456789 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Identificador interno del sistema para la interacción clínica Example General: 123456 | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||||
![]() ![]() ![]() |
0..* | CodeableReference() | Main clinical acts documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | |||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableReference(BodyStructure) | Body part included Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts | ||||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time of service that is being documented | ||||||
![]() ![]() ![]() |
Σ | 1..1 | instant | Fecha de publicación del informe/información | ||||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document | ||||||
![]() ![]() ![]() |
0..* | BackboneElement | Attests to accuracy of the document | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | personal | professional | legal | official Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a document. | |||||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When the document was attested | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the document | |||||||
![]() ![]() ![]() |
1..1 | Reference(Organization Institución ÚNICAS) | Referencia a la institución | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Identificador de la institución. Cuando no tengamos recurso Organization, se debera informar el identificador de institución mediante código REGCESS | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | OID registro de número de REGCESS Example General: urn:oid:2.16.724.4.21.5.10 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Código REGCESS Example General: 0123456789 | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Nombre completo de la institución | ||||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Relationships to other documents | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The relationship type with another document Binding: DocumentRelationshipType (extensible): The type of relationship between the documents. | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | ||||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | Título del informe/información ÚNICAS | ||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Document security-tags Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | ||||||
![]() ![]() ![]() |
Σ | 1..* | BackboneElement | Contenido del documento codificado en Base64, que puede incluir formatos como PDF o HL7 CDA | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Attachment | Where to access the document | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | Tipo de datos (application/pdf | multipart/x-hl7-cda-level-one) Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Human language of the content (BCP-47) Binding: AllLanguages (required): IETF language tag for a human language.
Example General: en-AU | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | base64Binary | Datos en base64 (Debe indicar un HL7 CDA o un PDF convertido a datos base64) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | url | URL del datos en formato Base64 (recurso Binary) Example General: http://www.acme.com/logo-small.png | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | integer64 | Number of bytes of content (if url provided) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date attachment was first created | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Height of the image in pixels (photo/video) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Width of the image in pixels (photo/video) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Number of frames if > 1 (photo) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Length in seconds (audio / video) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Number of printed pages | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Content profile rules for the document | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Code|uri|canonical Binding: HL7 ValueSet of Format Codes for use with Document Sharing (preferred): Document Format Codes. | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
canonical(Any) | |||||||||
![]() |
Path | Conformance | ValueSet | URI |
DocumentReference.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
DocumentReference.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.status | required | DocumentReferenceStatushttp://hl7.org/fhir/ValueSet/document-reference-status|5.0.0 From the FHIR Standard | |
DocumentReference.docStatus | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|5.0.0 From the FHIR Standard | |
DocumentReference.modality | extensible | Modality (missing link)http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_33.html From this IG | |
DocumentReference.type | preferred | ValuesetTiposInformesUNICAShttps://unicas-fhir.sanidad.gob.es/ValueSet/TiposInformesUNICAS From this IG | |
DocumentReference.category | example | ReferencedItemCategoryValueSethttp://hl7.org/fhir/ValueSet/referenced-item-category From the FHIR Standard | |
DocumentReference.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.subject.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.subject.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.context.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.context.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.context.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.event | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | |
DocumentReference.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site From the FHIR Standard | |
DocumentReference.facilityType | example | FacilityTypeCodeValueSethttp://hl7.org/fhir/ValueSet/c80-facilitycodes From the FHIR Standard | |
DocumentReference.practiceSetting | example | PracticeSettingCodeValueSethttp://hl7.org/fhir/ValueSet/c80-practice-codes From the FHIR Standard | |
DocumentReference.attester.mode | preferred | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode From the FHIR Standard | |
DocumentReference.custodian.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.custodian.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.custodian.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.relatesTo.code | extensible | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type From the FHIR Standard | |
DocumentReference.securityLabel | example | SecurityLabelExampleshttp://hl7.org/fhir/ValueSet/security-label-examples From the FHIR Standard | |
DocumentReference.content.attachment.contentType | required | MimeTypes(a valid code from urn:ietf:bcp:13 )http://hl7.org/fhir/ValueSet/mimetypes|5.0.0 From the FHIR Standard | |
DocumentReference.content.attachment.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
DocumentReference.content.profile.value[x] | preferred | HL7FormatCodeshttp://terminology.hl7.org/ValueSet/v3-HL7FormatCodes |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | DocumentReference | A resource should have narrative for robust management : text.`div`.exists() | |
docRef-1 | warning | DocumentReference | facilityType SHALL only be present if context is not an encounter : facilityType.empty() or context.where(resolve() is Encounter).empty() | |
docRef-2 | warning | DocumentReference | practiceSetting SHALL only be present if context is not present : practiceSetting.empty() or context.where(resolve() is Encounter).empty() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
regcess-system | warning | DocumentReference.identifier.system | system debe comenzar por urn:regcess: seguido del identificador del sistema. : matches('^urn:regcess:[A-Za-z0-9]+$') |
This structure is derived from DocumentReference
Summary
Mandatory: 13 elements(3 nested mandatory elements)
Structures
This structure refers to these other structures:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
---|---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: docRef-1, docRef-2 | ||||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() ![]() |
Σ | 1..* | Identifier | Identificador único | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | uri | Sistema para identificar el origen Constraints: regcess-system Example General: urn:regcess:0123456789 | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Identificador interno del sistema para el documento Example General: 123456 | ||||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Tipo de informe/información ÚNICAS Binding: Value set de Tipos de informes para ÚNICAS (preferred): Value set de Tipos de informes para ÚNICAS | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient Paciente ÚNICAS) | Referencia al paciente | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS | ||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Tipos de documentos de identificación para persona ÚNICAS Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
| ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | OID registro de número de CIP-SNS Example General: urn:oid:2.16.724.4.40 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Número CIP-SNS Example General: BBBBBBBBQR648597 | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Nombre completo del paciente | ||||||
![]() ![]() ![]() |
C | 0..* | Reference(Encounter Interacción Clínica ÚNICAS) | Referencia a la interacción clínica | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Identificador del recurso FHIR | ||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Sistema para identificar el origen Example General: urn:regcess:0123456789 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Identificador interno del sistema para la interacción clínica Example General: 123456 | ||||||
![]() ![]() ![]() |
Σ | 1..1 | instant | Fecha de publicación del informe/información | ||||||
![]() ![]() ![]() |
1..1 | Reference(Organization Institución ÚNICAS) | Referencia a la institución | |||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Identificador de la institución. Cuando no tengamos recurso Organization, se debera informar el identificador de institución mediante código REGCESS | ||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | OID registro de número de REGCESS Example General: urn:oid:2.16.724.4.21.5.10 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Código REGCESS Example General: 0123456789 | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Nombre completo de la institución | ||||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | Título del informe/información ÚNICAS | ||||||
![]() ![]() ![]() |
Σ | 1..* | BackboneElement | Contenido del documento codificado en Base64, que puede incluir formatos como PDF o HL7 CDA | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Attachment | Where to access the document | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | Tipo de datos (application/pdf | multipart/x-hl7-cda-level-one) Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | base64Binary | Datos en base64 (Debe indicar un HL7 CDA o un PDF convertido a datos base64) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | url | URL del datos en formato Base64 (recurso Binary) Example General: http://www.acme.com/logo-small.png | ||||||
![]() |
Path | Conformance | ValueSet | URI |
DocumentReference.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.status | required | DocumentReferenceStatushttp://hl7.org/fhir/ValueSet/document-reference-status|5.0.0 From the FHIR Standard | |
DocumentReference.type | preferred | ValuesetTiposInformesUNICAShttps://unicas-fhir.sanidad.gob.es/ValueSet/TiposInformesUNICAS From this IG | |
DocumentReference.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.subject.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.subject.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.context.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.context.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.custodian.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.custodian.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.content.attachment.contentType | required | MimeTypes(a valid code from urn:ietf:bcp:13 )http://hl7.org/fhir/ValueSet/mimetypes|5.0.0 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | DocumentReference | A resource should have narrative for robust management : text.`div`.exists() | |
docRef-1 | warning | DocumentReference | facilityType SHALL only be present if context is not an encounter : facilityType.empty() or context.where(resolve() is Encounter).empty() | |
docRef-2 | warning | DocumentReference | practiceSetting SHALL only be present if context is not present : practiceSetting.empty() or context.where(resolve() is Encounter).empty() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
regcess-system | warning | DocumentReference.identifier.system | system debe comenzar por urn:regcess: seguido del identificador del sistema. : matches('^urn:regcess:[A-Za-z0-9]+$') |
Differential View
This structure is derived from DocumentReference
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
---|---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
DocumentReference | |||||||||
![]() ![]() ![]() |
1..* | Identifier | Identificador único | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | Sistema para identificar el origen Constraints: regcess-system | ||||||
![]() ![]() ![]() ![]() |
1..1 | string | Identificador interno del sistema para el documento | |||||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de informe/información ÚNICAS Binding: Value set de Tipos de informes para ÚNICAS (preferred): Value set de Tipos de informes para ÚNICAS | |||||||
![]() ![]() ![]() ![]() |
||||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | URL del refset Documentos del CMDIC | URL del SNOMED CT. Extensión para España del SNS | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Código del tipo de informe/información ÚNICAS | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Descripción del tipo de informe/información ÚNICAS | |||||||
![]() ![]() ![]() |
1..1 | Reference(Patient Paciente ÚNICAS) | Referencia al paciente | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Tipo de recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
1..1 | Identifier | Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Tipos de documentos de identificación para persona ÚNICAS Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
| |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | URL del SNOMED CT. Extensión para España del SNS | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Código del identificador | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Decripción del identificador | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | OID registro de número de CIP-SNS | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Número CIP-SNS | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Nombre completo del paciente | |||||||
![]() ![]() ![]() |
0..* | Reference(Encounter Interacción Clínica ÚNICAS) | Referencia a la interacción clínica | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Referencia recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | Tipo de recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Identificador del recurso FHIR | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Sistema para identificar el origen | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Identificador interno del sistema para la interacción clínica | |||||||
![]() ![]() ![]() |
1..1 | instant | Fecha de publicación del informe/información | |||||||
![]() ![]() ![]() |
1..1 | Reference(Organization Institución ÚNICAS) | Referencia a la institución | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Referencia recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Tipo de recurso FHIR | |||||||
![]() ![]() ![]() ![]() |
1..1 | Identifier | Identificador de la institución. Cuando no tengamos recurso Organization, se debera informar el identificador de institución mediante código REGCESS | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | OID registro de número de REGCESS | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Código REGCESS | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Nombre completo de la institución | |||||||
![]() ![]() ![]() |
1..1 | markdown | Título del informe/información ÚNICAS | |||||||
![]() ![]() ![]() |
1..* | BackboneElement | Contenido del documento codificado en Base64, que puede incluir formatos como PDF o HL7 CDA | |||||||
![]() ![]() ![]() ![]() |
||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Tipo de datos (application/pdf | multipart/x-hl7-cda-level-one) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | base64Binary | Datos en base64 (Debe indicar un HL7 CDA o un PDF convertido a datos base64) | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | url | URL del datos en formato Base64 (recurso Binary) | |||||||
![]() |
Path | Conformance | ValueSet | URI |
DocumentReference.type | preferred | ValuesetTiposInformesUNICAShttps://unicas-fhir.sanidad.gob.es/ValueSet/TiposInformesUNICAS From this IG | |
DocumentReference.subject.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
regcess-system | warning | DocumentReference.identifier.system | system debe comenzar por urn:regcess: seguido del identificador del sistema. : matches('^urn:regcess:[A-Za-z0-9]+$') |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
---|---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: docRef-1, docRef-2 | ||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() ![]() |
Σ | 1..* | Identifier | Identificador único | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | uri | Sistema para identificar el origen Constraints: regcess-system Example General: urn:regcess:0123456789 | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Identificador interno del sistema para el documento Example General: 123456 | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||
![]() ![]() ![]() |
Σ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference | ||||||
![]() ![]() ![]() |
0..* | Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription) | Procedure that caused this media to be created | |||||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||||
![]() ![]() ![]() |
Σ | 0..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown Binding: CompositionStatus (required): Status of the underlying document. | ||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Imaging modality used Binding: Modality (extensible): Type of acquired data in the instance. | ||||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Tipo de informe/información ÚNICAS Binding: Value set de Tipos de informes para ÚNICAS (preferred): Value set de Tipos de informes para ÚNICAS | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL del refset Documentos del CMDIC | URL del SNOMED CT. Extensión para España del SNS | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | code | Código del tipo de informe/información ÚNICAS | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Descripción del tipo de informe/información ÚNICAS | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Categorization of document Binding: ReferencedItemCategoryValueSet (example): High-level kind of document at a macro level. | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient Paciente ÚNICAS) | Referencia al paciente | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Tipos de documentos de identificación para persona ÚNICAS Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
| ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | URL del SNOMED CT. Extensión para España del SNS | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | Código del identificador | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Decripción del identificador | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | OID registro de número de CIP-SNS Example General: urn:oid:2.16.724.4.40 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Número CIP-SNS Example General: BBBBBBBBQR648597 | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Nombre completo del paciente | ||||||
![]() ![]() ![]() |
C | 0..* | Reference(Encounter Interacción Clínica ÚNICAS) | Referencia a la interacción clínica | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Identificador del recurso FHIR | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Sistema para identificar el origen Example General: urn:regcess:0123456789 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Identificador interno del sistema para la interacción clínica Example General: 123456 | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||||
![]() ![]() ![]() |
0..* | CodeableReference() | Main clinical acts documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | |||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableReference(BodyStructure) | Body part included Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts | ||||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time of service that is being documented | ||||||
![]() ![]() ![]() |
Σ | 1..1 | instant | Fecha de publicación del informe/información | ||||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document | ||||||
![]() ![]() ![]() |
0..* | BackboneElement | Attests to accuracy of the document | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | personal | professional | legal | official Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a document. | |||||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When the document was attested | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the document | |||||||
![]() ![]() ![]() |
1..1 | Reference(Organization Institución ÚNICAS) | Referencia a la institución | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Referencia recurso FHIR | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Tipo de recurso FHIR Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Identificador de la institución. Cuando no tengamos recurso Organization, se debera informar el identificador de institución mediante código REGCESS | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | OID registro de número de REGCESS Example General: urn:oid:2.16.724.4.21.5.10 | ||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Código REGCESS Example General: 0123456789 | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Nombre completo de la institución | ||||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Relationships to other documents | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The relationship type with another document Binding: DocumentRelationshipType (extensible): The type of relationship between the documents. | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | ||||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | Título del informe/información ÚNICAS | ||||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Document security-tags Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | ||||||
![]() ![]() ![]() |
Σ | 1..* | BackboneElement | Contenido del documento codificado en Base64, que puede incluir formatos como PDF o HL7 CDA | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Attachment | Where to access the document | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | Tipo de datos (application/pdf | multipart/x-hl7-cda-level-one) Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Human language of the content (BCP-47) Binding: AllLanguages (required): IETF language tag for a human language.
Example General: en-AU | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | base64Binary | Datos en base64 (Debe indicar un HL7 CDA o un PDF convertido a datos base64) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | url | URL del datos en formato Base64 (recurso Binary) Example General: http://www.acme.com/logo-small.png | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | integer64 | Number of bytes of content (if url provided) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date attachment was first created | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Height of the image in pixels (photo/video) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Width of the image in pixels (photo/video) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Number of frames if > 1 (photo) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Length in seconds (audio / video) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Number of printed pages | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Content profile rules for the document | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Code|uri|canonical Binding: HL7 ValueSet of Format Codes for use with Document Sharing (preferred): Document Format Codes. | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
canonical(Any) | |||||||||
![]() |
Path | Conformance | ValueSet | URI |
DocumentReference.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
DocumentReference.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.status | required | DocumentReferenceStatushttp://hl7.org/fhir/ValueSet/document-reference-status|5.0.0 From the FHIR Standard | |
DocumentReference.docStatus | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|5.0.0 From the FHIR Standard | |
DocumentReference.modality | extensible | Modality (missing link)http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_33.html From this IG | |
DocumentReference.type | preferred | ValuesetTiposInformesUNICAShttps://unicas-fhir.sanidad.gob.es/ValueSet/TiposInformesUNICAS From this IG | |
DocumentReference.category | example | ReferencedItemCategoryValueSethttp://hl7.org/fhir/ValueSet/referenced-item-category From the FHIR Standard | |
DocumentReference.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.subject.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.subject.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.context.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.context.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.context.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.event | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | |
DocumentReference.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site From the FHIR Standard | |
DocumentReference.facilityType | example | FacilityTypeCodeValueSethttp://hl7.org/fhir/ValueSet/c80-facilitycodes From the FHIR Standard | |
DocumentReference.practiceSetting | example | PracticeSettingCodeValueSethttp://hl7.org/fhir/ValueSet/c80-practice-codes From the FHIR Standard | |
DocumentReference.attester.mode | preferred | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode From the FHIR Standard | |
DocumentReference.custodian.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | |
DocumentReference.custodian.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
DocumentReference.custodian.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
DocumentReference.relatesTo.code | extensible | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type From the FHIR Standard | |
DocumentReference.securityLabel | example | SecurityLabelExampleshttp://hl7.org/fhir/ValueSet/security-label-examples From the FHIR Standard | |
DocumentReference.content.attachment.contentType | required | MimeTypes(a valid code from urn:ietf:bcp:13 )http://hl7.org/fhir/ValueSet/mimetypes|5.0.0 From the FHIR Standard | |
DocumentReference.content.attachment.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
DocumentReference.content.profile.value[x] | preferred | HL7FormatCodeshttp://terminology.hl7.org/ValueSet/v3-HL7FormatCodes |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | DocumentReference | A resource should have narrative for robust management : text.`div`.exists() | |
docRef-1 | warning | DocumentReference | facilityType SHALL only be present if context is not an encounter : facilityType.empty() or context.where(resolve() is Encounter).empty() | |
docRef-2 | warning | DocumentReference | practiceSetting SHALL only be present if context is not present : practiceSetting.empty() or context.where(resolve() is Encounter).empty() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
regcess-system | warning | DocumentReference.identifier.system | system debe comenzar por urn:regcess: seguido del identificador del sistema. : matches('^urn:regcess:[A-Za-z0-9]+$') |
This structure is derived from DocumentReference
Summary
Mandatory: 13 elements(3 nested mandatory elements)
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron