Guías de Implementación HL7 FHIR: CR Core
0.1.1-draft - ci-build
Guías de Implementación HL7 FHIR: CR Core, published by Ministerio de Salud de Costa Rica. This guide is not an authorized publication; it is the continuous build for version 0.1.1-draft built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HIE-cr/core-ig/ and changes regularly. See the Directory of published versions
Official URL: https://ministeriodesalud.go.cr/fhir/core/StructureDefinition/composition-cr-core | Version: 0.1.1-draft | |||
Standards status: Draft | Maturity Level: 0 | Computable Name: CompositionCrCore | ||
Copyright/Legal: Usado con el permiso de HL7 International, todos los derechos resevados en los Licencias de HL7 Internacional. |
Perfil CORE del Documento Clínico (Composition)
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: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Identificador local para recurso de documento que puede ser distinto para cada versión del mismo |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | Estado del documento: preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): Códigos requeridos por estándar |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Tipo de Documento según especificación de LOINC (Ej para Summarie IPS Loinc = #60591-5) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. |
![]() ![]() ![]() |
SΣ | 0..* | Reference(Resource) | Recurso sobre el cual se ha generado este documento. Es deseable que el recurso cumpla con un perfil para Costa Rica. |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Encuentro Clínico) | Contexto asistencial en el cual se generó Documento. |
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Fecha en la cual se editó el documento |
![]() ![]() ![]() |
SΣ | 1..* | Reference(Profesional de Salud | Rol de Profesional de la Salud | Paciente | Organizaciones) | Quien creaó el documento |
![]() ![]() ![]() |
SΣ | 1..1 | string | Título del documento |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Profesionales validadores del documento |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Rol del validador personal | profesional | legal | official Binding: CompositionAttestationMode (required): Códigos requeridos por FHIR |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Fecha y Hora de la validación |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Paciente | Profesional de Salud | Profesional de Salud | Organizaciones) | Quien validó |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Organizaciones) | Organización que mantiene los documentos |
![]() ![]() ![]() |
SC | 1..* | BackboneElement | Sección del documento Constraints: cmp-1, cmp-2 |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Código que define el tipo de sección Binding: DocumentSectionCodes (example) |
![]() ![]() ![]() ![]() |
SC | 0..1 | Narrative | Texto que describe el contenido de la sección This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
![]() ![]() ![]() ![]() |
SC | 0..* | Reference(Resource) | Recurso referenciado en esta sección |
![]() |
Path | Conformance | ValueSet | URI |
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status From the FHIR Standard | |
Composition.type | preferred | FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode From the FHIR Standard | |
Composition.section.code | example | DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 | Composition | 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 | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
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() |
This structure is derived from Composition
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
S | 0..1 | Identifier | Identificador local para recurso de documento que puede ser distinto para cada versión del mismo |
![]() ![]() ![]() |
S | 1..1 | code | Estado del documento: preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): Códigos requeridos por estándar |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Tipo de Documento según especificación de LOINC (Ej para Summarie IPS Loinc = #60591-5) |
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Recurso sobre el cual se ha generado este documento. Es deseable que el recurso cumpla con un perfil para Costa Rica. |
![]() ![]() ![]() |
S | 0..1 | Reference(Encuentro Clínico) | Contexto asistencial en el cual se generó Documento. |
![]() ![]() ![]() |
S | 1..1 | dateTime | Fecha en la cual se editó el documento |
![]() ![]() ![]() |
S | 1..* | Reference(Profesional de Salud | Rol de Profesional de la Salud | Paciente | Organizaciones) | Quien creaó el documento |
![]() ![]() ![]() |
S | 1..1 | string | Título del documento |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Profesionales validadores del documento |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Rol del validador personal | profesional | legal | official Binding: CompositionAttestationMode (required): Códigos requeridos por FHIR |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Fecha y Hora de la validación |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Paciente | Profesional de Salud | Profesional de Salud | Organizaciones) | Quien validó |
![]() ![]() ![]() |
S | 0..1 | Reference(Organizaciones) | Organización que mantiene los documentos |
![]() ![]() ![]() |
S | 1..* | BackboneElement | Sección del documento |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Código que define el tipo de sección Binding: DocumentSectionCodes (example) |
![]() ![]() ![]() ![]() |
S | 0..1 | Narrative | Texto que describe el contenido de la sección |
![]() ![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Recurso referenciado en esta sección |
![]() |
Path | Conformance | ValueSet | URI |
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode From the FHIR Standard | |
Composition.section.code | example | DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes From the FHIR Standard |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation | |||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Canonical identifier for this Composition, represented as a URI (globally unique) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Identificador local para recurso de documento que puede ser distinto para cada versión del mismo | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the Composition | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | Estado del documento: preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): Códigos requeridos por estándar | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Tipo de Documento según especificación de LOINC (Ej para Summarie IPS Loinc = #60591-5) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: ReferencedItemCategoryValueSet (example): High-level kind of a clinical document at a macro level. | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(Resource) | Recurso sobre el cual se ha generado este documento. Es deseable que el recurso cumpla con un perfil para Costa Rica. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Encuentro Clínico) | Contexto asistencial en el cual se generó Documento. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Fecha en la cual se editó el documento | ||||
![]() ![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() ![]() |
SΣ | 1..* | Reference(Profesional de Salud | Rol de Profesional de la Salud | Paciente | Organizaciones) | Quien creaó el documento | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name for this Composition (computer friendly) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Título del documento | ||||
![]() ![]() ![]() |
0..* | Annotation | For any additional notes | |||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Profesionales validadores del documento | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Rol del validador personal | profesional | legal | official Binding: CompositionAttestationMode (required): Códigos requeridos por FHIR | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Fecha y Hora de la validación | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Paciente | Profesional de Salud | Profesional de Salud | Organizaciones) | Quien validó | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Organizaciones) | Organización que mantiene los documentos | ||||
![]() ![]() ![]() |
0..* | RelatedArtifact | Relationships to other compositions/documents | |||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | The clinical service(s) being documented | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | The period covered by the documentation | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableReference(Resource) | The event(s) being documented, as code(s), reference(s), or both Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | ||||
![]() ![]() ![]() |
SC | 1..* | BackboneElement | Sección del documento Constraints: cmp-1, cmp-2 | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Label for section (e.g. for ToC) | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Código que define el tipo de sección Binding: DocumentSectionCodes (example) | ||||
![]() ![]() ![]() ![]() |
0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |||||
![]() ![]() ![]() ![]() |
SC | 0..1 | Narrative | Texto que describe el contenido de la sección This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |||||
![]() ![]() ![]() ![]() |
SC | 0..* | Reference(Resource) | Recurso referenciado en esta sección | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. | ||||
![]() ![]() ![]() ![]() |
0..* | See section (Composition) | Nested Section | |||||
![]() |
Path | Conformance | ValueSet | URI |
Composition.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status From the FHIR Standard | |
Composition.type | preferred | FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes From the FHIR Standard | |
Composition.category | example | ReferencedItemCategoryValueSethttp://hl7.org/fhir/ValueSet/referenced-item-category From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode From the FHIR Standard | |
Composition.event.detail | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | |
Composition.section.code | example | DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes From the FHIR Standard | |
Composition.section.orderedBy | preferred | ListOrderCodeshttp://hl7.org/fhir/ValueSet/list-order From the FHIR Standard | |
Composition.section.emptyReason | preferred | ListEmptyReasonshttp://hl7.org/fhir/ValueSet/list-empty-reason From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 | Composition | 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 | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
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() |
This structure is derived from Composition
Summary
Mandatory: 1 element
Must-Support: 17 elements
Structures
This structure refers to these other structures:
Maturity: 0
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Identificador local para recurso de documento que puede ser distinto para cada versión del mismo |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | Estado del documento: preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): Códigos requeridos por estándar |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Tipo de Documento según especificación de LOINC (Ej para Summarie IPS Loinc = #60591-5) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. |
![]() ![]() ![]() |
SΣ | 0..* | Reference(Resource) | Recurso sobre el cual se ha generado este documento. Es deseable que el recurso cumpla con un perfil para Costa Rica. |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Encuentro Clínico) | Contexto asistencial en el cual se generó Documento. |
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Fecha en la cual se editó el documento |
![]() ![]() ![]() |
SΣ | 1..* | Reference(Profesional de Salud | Rol de Profesional de la Salud | Paciente | Organizaciones) | Quien creaó el documento |
![]() ![]() ![]() |
SΣ | 1..1 | string | Título del documento |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Profesionales validadores del documento |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Rol del validador personal | profesional | legal | official Binding: CompositionAttestationMode (required): Códigos requeridos por FHIR |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Fecha y Hora de la validación |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Paciente | Profesional de Salud | Profesional de Salud | Organizaciones) | Quien validó |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Organizaciones) | Organización que mantiene los documentos |
![]() ![]() ![]() |
SC | 1..* | BackboneElement | Sección del documento Constraints: cmp-1, cmp-2 |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Código que define el tipo de sección Binding: DocumentSectionCodes (example) |
![]() ![]() ![]() ![]() |
SC | 0..1 | Narrative | Texto que describe el contenido de la sección This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
![]() ![]() ![]() ![]() |
SC | 0..* | Reference(Resource) | Recurso referenciado en esta sección |
![]() |
Path | Conformance | ValueSet | URI |
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status From the FHIR Standard | |
Composition.type | preferred | FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode From the FHIR Standard | |
Composition.section.code | example | DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 | Composition | 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 | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
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() |
Differential View
This structure is derived from Composition
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
S | 0..1 | Identifier | Identificador local para recurso de documento que puede ser distinto para cada versión del mismo |
![]() ![]() ![]() |
S | 1..1 | code | Estado del documento: preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): Códigos requeridos por estándar |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Tipo de Documento según especificación de LOINC (Ej para Summarie IPS Loinc = #60591-5) |
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Recurso sobre el cual se ha generado este documento. Es deseable que el recurso cumpla con un perfil para Costa Rica. |
![]() ![]() ![]() |
S | 0..1 | Reference(Encuentro Clínico) | Contexto asistencial en el cual se generó Documento. |
![]() ![]() ![]() |
S | 1..1 | dateTime | Fecha en la cual se editó el documento |
![]() ![]() ![]() |
S | 1..* | Reference(Profesional de Salud | Rol de Profesional de la Salud | Paciente | Organizaciones) | Quien creaó el documento |
![]() ![]() ![]() |
S | 1..1 | string | Título del documento |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Profesionales validadores del documento |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Rol del validador personal | profesional | legal | official Binding: CompositionAttestationMode (required): Códigos requeridos por FHIR |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Fecha y Hora de la validación |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Paciente | Profesional de Salud | Profesional de Salud | Organizaciones) | Quien validó |
![]() ![]() ![]() |
S | 0..1 | Reference(Organizaciones) | Organización que mantiene los documentos |
![]() ![]() ![]() |
S | 1..* | BackboneElement | Sección del documento |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Código que define el tipo de sección Binding: DocumentSectionCodes (example) |
![]() ![]() ![]() ![]() |
S | 0..1 | Narrative | Texto que describe el contenido de la sección |
![]() ![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Recurso referenciado en esta sección |
![]() |
Path | Conformance | ValueSet | URI |
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode From the FHIR Standard | |
Composition.section.code | example | DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes From the FHIR Standard |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation | |||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Canonical identifier for this Composition, represented as a URI (globally unique) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Identificador local para recurso de documento que puede ser distinto para cada versión del mismo | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the Composition | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | Estado del documento: preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): Códigos requeridos por estándar | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Tipo de Documento según especificación de LOINC (Ej para Summarie IPS Loinc = #60591-5) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: ReferencedItemCategoryValueSet (example): High-level kind of a clinical document at a macro level. | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(Resource) | Recurso sobre el cual se ha generado este documento. Es deseable que el recurso cumpla con un perfil para Costa Rica. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Encuentro Clínico) | Contexto asistencial en el cual se generó Documento. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Fecha en la cual se editó el documento | ||||
![]() ![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() ![]() |
SΣ | 1..* | Reference(Profesional de Salud | Rol de Profesional de la Salud | Paciente | Organizaciones) | Quien creaó el documento | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name for this Composition (computer friendly) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Título del documento | ||||
![]() ![]() ![]() |
0..* | Annotation | For any additional notes | |||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Profesionales validadores del documento | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Rol del validador personal | profesional | legal | official Binding: CompositionAttestationMode (required): Códigos requeridos por FHIR | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Fecha y Hora de la validación | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Paciente | Profesional de Salud | Profesional de Salud | Organizaciones) | Quien validó | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Organizaciones) | Organización que mantiene los documentos | ||||
![]() ![]() ![]() |
0..* | RelatedArtifact | Relationships to other compositions/documents | |||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | The clinical service(s) being documented | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | The period covered by the documentation | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableReference(Resource) | The event(s) being documented, as code(s), reference(s), or both Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | ||||
![]() ![]() ![]() |
SC | 1..* | BackboneElement | Sección del documento Constraints: cmp-1, cmp-2 | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Label for section (e.g. for ToC) | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Código que define el tipo de sección Binding: DocumentSectionCodes (example) | ||||
![]() ![]() ![]() ![]() |
0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |||||
![]() ![]() ![]() ![]() |
SC | 0..1 | Narrative | Texto que describe el contenido de la sección This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |||||
![]() ![]() ![]() ![]() |
SC | 0..* | Reference(Resource) | Recurso referenciado en esta sección | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. | ||||
![]() ![]() ![]() ![]() |
0..* | See section (Composition) | Nested Section | |||||
![]() |
Path | Conformance | ValueSet | URI |
Composition.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status From the FHIR Standard | |
Composition.type | preferred | FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes From the FHIR Standard | |
Composition.category | example | ReferencedItemCategoryValueSethttp://hl7.org/fhir/ValueSet/referenced-item-category From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode From the FHIR Standard | |
Composition.event.detail | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | |
Composition.section.code | example | DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes From the FHIR Standard | |
Composition.section.orderedBy | preferred | ListOrderCodeshttp://hl7.org/fhir/ValueSet/list-order From the FHIR Standard | |
Composition.section.emptyReason | preferred | ListEmptyReasonshttp://hl7.org/fhir/ValueSet/list-empty-reason From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 | Composition | 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 | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
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() |
This structure is derived from Composition
Summary
Mandatory: 1 element
Must-Support: 17 elements
Structures
This structure refers to these other structures:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron