Repositorio de Reportes de Biopsias Oncológicas
0.1.1-draft - STU1

Repositorio de Reportes de Biopsias Oncológicas, published by Unidad de Interoperabilidad - MINSAL. 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/Minsal-CL/R2BO/ and changes regularly. See the Directory of published versions

## Resource Profile: Perfil de Origen para las Categorías T, N, M (Abstracto) ( Abstract Experimental )

Official URL: https://interoperabilidad.minsal.cl/fhir/ig/r2bo/StructureDefinition/r2bo-categoria-tnm | Version: 0.1.1-draft
Standards status: Draft | Maturity Level: 1 | Computable Name: CategoriaTNM

Perfil para originar las Categorías T, N, M

Usages:

- Derived from this Profile: Perfil de Categoria TNM de Metástasis Distante, Perfil de Categoria TNM Nodos Regional and Perfil de Categoria TNM Tumor Primario
- CapabilityStatements using this Profile: CapabilityStatement del Cliente Analista del Repositorio de Biopsia del Ministerio de Salud, CapabilityStatement Cliente de Origen de Informes del Repositorio de Biopsia del Ministerio de Salud, CapabilityStatement Consumidor del Repositorio de Biopsia del Ministerio de Salud and CapabilityStatement Servidor del Repositorio de Biopsia del Ministerio de Salud

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Observation | C | 0..* | ObservacionCL(1.9.4) | This is an abstract profile. Child profiles: TNMCategoriaMetastasisDistante, TNMCategoriaNodoRegional, TNMCategoriaTumorPrimario Measurements and simple assertions Constraints: obs-6, obs-7
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | Identificación para la observación
basedOn | S Σ | 1..1 | Reference(Perfil de Solicitud de Informe de Anatomía Patológica) | Solicitud por la cual se realizo la prueba
status | ?!S Σ | 1..1 | code | registered|preliminary|final|amended|corrected|cancelled|entered-in-error|unknown Binding: ObservationStatus (required): Códigos provistos para el estado de una observación
category | S | 0..* | CodeableConcept | Clasificación del tipo de observación Binding: ObservationCategoryCodes (preferred): Códigos de alto nivel para la categoría de una observación
code | S Σ | 1..1 | CodeableConcept | Tipo de observación (code/type) Binding: Set de Valores para Categorias pTNM (extensible)
subject | S Σ | 1..1 | Reference(MINSAL Paciente) | Sobre Quien o Que se está realizando la observación
encounter | S Σ | 0..1 | Reference(CL Encuentro Clínico(1.9.4)) | Evento clínico durante el cual se hizo esta observación
effective[x] | S Σ | 0..1 |  | Tiempo/Tiempo-periodo de relevancia clínica para la observación
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effectiveTiming |  |  | Timing |
effectiveInstant |  |  | instant |
performer | S Σ | 0..* | Reference(Perfil de Rol Profesional | Prestador Profesional | Prestador Institucional) | Quien es responsable por la observación
value[x] | S Σ C | 0..1 | CodeableConcept | Actual Resultado
dataAbsentReason | S C | 0..1 | CodeableConcept | Why the result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
interpretation | S | 0..* | CodeableConcept | Alta, baja, normal, etc Binding: ObservationInterpretationCodes (extensible): Códigos de identificación para la interpretación de la observación
note | S | 0..* | Annotation | Comentarios sobre la observación
method | S | 0..1 | CodeableConcept | How it was done Binding: TNM Staging Method Value Set (extensible)
specimen | S | 0..1 | Reference(Perfil de Muestra) | Muestra tomada para la observación
component | S Σ | 0..* | BackboneElement | Componentes de los resultados
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ | 1..1 | CodeableConcept | Tipo de componente de la observación (code/type) Binding: LOINCCodes (example): Códigos de identificación simple para el nombre de una observación
value[x] | S Σ | 0..1 |  | Actual Resultado del componente
valueQuantity |  |  | Quantity |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueBoolean |  |  | boolean |
valueInteger |  |  | integer |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueSampledData |  |  | SampledData |
valueTime |  |  | time |
valueDateTime |  |  | dateTime |
valuePeriod |  |  | Period |
interpretation | S | 0..* | CodeableConcept | Alta, baja, normal, etc Binding: ObservationInterpretationCodes (extensible): Códigos de identificación para la interpretación de la observación
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Observation.status | Base | required | ObservationStatus | 📍4.0.1 | FHIR Std.
Observation.category | Base | preferred | Observation Category Codes | 📦4.0.1 | FHIR Std.
Observation.code | Base | extensible | Set de Valores para Categorias pTNM | 📦0.1.1-draft | This IG
Observation.dataAbsentReason | Base | extensible | DataAbsentReason | 📦4.0.1 | FHIR Std.
Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦4.0.1 | FHIR Std.
Observation.method | Base | extensible | TNM Staging Method Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0
Observation.component.​code | Base | example | LOINC Codes | 📦4.0.1 | FHIR Std.
Observation.component.​interpretation | Base | extensible | Observation Interpretation Codes | 📦4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Observation | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Observation | 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()`
obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present | `dataAbsentReason.empty() or value.empty()`
obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present | `value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()`

This structure is derived from ObservacionCL

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Observation |  |  | ObservacionCL(1.9.4) | This is an abstract profile. Child profiles: TNMCategoriaMetastasisDistante, TNMCategoriaNodoRegional, TNMCategoriaTumorPrimario
basedOn | S | 1..1 | Reference(Perfil de Solicitud de Informe de Anatomía Patológica) | Solicitud por la cual se realizo la prueba
code |  | 1..1 | CodeableConcept | Tipo de observación (code/type) Binding: Set de Valores para Categorias pTNM (extensible)
subject |  | 1..1 | Reference(MINSAL Paciente) | Sobre Quien o Que se está realizando la observación
performer |  | 0..* | Reference(Perfil de Rol Profesional | Prestador Profesional | Prestador Institucional) | Quien es responsable por la observación
value[x] |  | 0..1 | CodeableConcept | Actual Resultado
dataAbsentReason | S | 0..1 | CodeableConcept | Why the result is missing
method | S | 0..1 | CodeableConcept | How it was done Binding: TNM Staging Method Value Set (extensible)
specimen |  | 0..1 | Reference(Perfil de Muestra) | Muestra tomada para la observación
device |  | 0..0 |  | No usado en este perfil
referenceRange |  | 0..0 |  | No usado en este perfil
hasMember |  | 0..0 |  | No usado en este perfil
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Observation.code | Base | extensible | Set de Valores para Categorias pTNM | 📦0.1.1-draft | This IG
Observation.method | Base | extensible | TNM Staging Method Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Observation | C | 0..* | ObservacionCL(1.9.4) | This is an abstract profile. Child profiles: TNMCategoriaMetastasisDistante, TNMCategoriaNodoRegional, TNMCategoriaTumorPrimario Measurements and simple assertions Constraints: obs-6, obs-7
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | Identificación para la observación
basedOn | S Σ | 1..1 | Reference(Perfil de Solicitud de Informe de Anatomía Patológica) | Solicitud por la cual se realizo la prueba
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event
status | ?!S Σ | 1..1 | code | registered|preliminary|final|amended|corrected|cancelled|entered-in-error|unknown Binding: ObservationStatus (required): Códigos provistos para el estado de una observación
category | S | 0..* | CodeableConcept | Clasificación del tipo de observación Binding: ObservationCategoryCodes (preferred): Códigos de alto nivel para la categoría de una observación
code | S Σ | 1..1 | CodeableConcept | Tipo de observación (code/type) Binding: Set de Valores para Categorias pTNM (extensible)
subject | S Σ | 1..1 | Reference(MINSAL Paciente) | Sobre Quien o Que se está realizando la observación
focus | Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record
encounter | S Σ | 0..1 | Reference(CL Encuentro Clínico(1.9.4)) | Evento clínico durante el cual se hizo esta observación
effective[x] | S Σ | 0..1 |  | Tiempo/Tiempo-periodo de relevancia clínica para la observación
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effectiveTiming |  |  | Timing |
effectiveInstant |  |  | instant |
issued | Σ | 0..1 | instant | Date/Time this version was made available
performer | S Σ | 0..* | Reference(Perfil de Rol Profesional | Prestador Profesional | Prestador Institucional) | Quien es responsable por la observación
value[x] | S Σ C | 0..1 | CodeableConcept | Actual Resultado
dataAbsentReason | S C | 0..1 | CodeableConcept | Why the result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
interpretation | S | 0..* | CodeableConcept | Alta, baja, normal, etc Binding: ObservationInterpretationCodes (extensible): Códigos de identificación para la interpretación de la observación
note | S | 0..* | Annotation | Comentarios sobre la observación
bodySite |  | 0..1 | CodeableConcept | Observed body part Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
method | S | 0..1 | CodeableConcept | How it was done Binding: TNM Staging Method Value Set (extensible)
specimen | S | 0..1 | Reference(Perfil de Muestra) | Muestra tomada para la observación
derivedFrom | Σ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from
component | S Σ | 0..* | BackboneElement | Componentes de los resultados
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ | 1..1 | CodeableConcept | Tipo de componente de la observación (code/type) Binding: LOINCCodes (example): Códigos de identificación simple para el nombre de una observación
value[x] | S Σ | 0..1 |  | Actual Resultado del componente
valueQuantity |  |  | Quantity |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueBoolean |  |  | boolean |
valueInteger |  |  | integer |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueSampledData |  |  | SampledData |
valueTime |  |  | time |
valueDateTime |  |  | dateTime |
valuePeriod |  |  | Period |
dataAbsentReason | C | 0..1 | CodeableConcept | Why the component result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
interpretation | S | 0..* | CodeableConcept | Alta, baja, normal, etc Binding: ObservationInterpretationCodes (extensible): Códigos de identificación para la interpretación de la observación
referenceRange |  | 0..* | See referenceRange (Observation) | Provides guide for interpretation of component result
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Observation.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
Observation.status | Base | required | ObservationStatus | 📍4.0.1 | FHIR Std.
Observation.category | Base | preferred | Observation Category Codes | 📦4.0.1 | FHIR Std.
Observation.code | Base | extensible | Set de Valores para Categorias pTNM | 📦0.1.1-draft | This IG
Observation.dataAbsentReason | Base | extensible | DataAbsentReason | 📦4.0.1 | FHIR Std.
Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦4.0.1 | FHIR Std.
Observation.bodySite | Base | example | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std.
Observation.method | Base | extensible | TNM Staging Method Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0
Observation.referenceRange.​type | Base | preferred | Observation Reference Range Meaning Codes | 📦4.0.1 | FHIR Std.
Observation.referenceRange.​appliesTo | Base | example | Observation Reference Range Applies To Codes | 📦4.0.1 | FHIR Std.
Observation.component.​code | Base | example | LOINC Codes | 📦4.0.1 | FHIR Std.
Observation.component.​dataAbsentReason | Base | extensible | DataAbsentReason | 📦4.0.1 | FHIR Std.
Observation.component.​interpretation | Base | extensible | Observation Interpretation Codes | 📦4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Observation | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Observation | 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()`
obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present | `dataAbsentReason.empty() or value.empty()`
obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present | `value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()`

This structure is derived from ObservacionCL

Summary

Mandatory: 2 elements
Must-Support: 3 elements
Prohibited: 3 elements

Structures

This structure refers to these other structures:

- Perfil de Solicitud de Informe de Anatomía Patológica (https://interoperabilidad.minsal.cl/fhir/ig/r2bo/StructureDefinition/r2bo-solicitud-informe-apa)
- MINSAL Paciente (https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/MINSALPaciente)
- Perfil de Rol Profesional (https://interoperabilidad.minsal.cl/fhir/ig/r2bo/StructureDefinition/r2bo-rol-profesional-minsal)
- Prestador Profesional (https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/MINSALPrestadorProfesional)
- Prestador Institucional (https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/MINSALPrestadorOrganizacional)
- Perfil de Muestra (https://interoperabilidad.minsal.cl/fhir/ig/r2bo/StructureDefinition/r2bo-muestra-biopsia)

Maturity: 1

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Observation | C | 0..* | ObservacionCL(1.9.4) | This is an abstract profile. Child profiles: TNMCategoriaMetastasisDistante, TNMCategoriaNodoRegional, TNMCategoriaTumorPrimario Measurements and simple assertions Constraints: obs-6, obs-7
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | Identificación para la observación
basedOn | S Σ | 1..1 | Reference(Perfil de Solicitud de Informe de Anatomía Patológica) | Solicitud por la cual se realizo la prueba
status | ?!S Σ | 1..1 | code | registered|preliminary|final|amended|corrected|cancelled|entered-in-error|unknown Binding: ObservationStatus (required): Códigos provistos para el estado de una observación
category | S | 0..* | CodeableConcept | Clasificación del tipo de observación Binding: ObservationCategoryCodes (preferred): Códigos de alto nivel para la categoría de una observación
code | S Σ | 1..1 | CodeableConcept | Tipo de observación (code/type) Binding: Set de Valores para Categorias pTNM (extensible)
subject | S Σ | 1..1 | Reference(MINSAL Paciente) | Sobre Quien o Que se está realizando la observación
encounter | S Σ | 0..1 | Reference(CL Encuentro Clínico(1.9.4)) | Evento clínico durante el cual se hizo esta observación
effective[x] | S Σ | 0..1 |  | Tiempo/Tiempo-periodo de relevancia clínica para la observación
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effectiveTiming |  |  | Timing |
effectiveInstant |  |  | instant |
performer | S Σ | 0..* | Reference(Perfil de Rol Profesional | Prestador Profesional | Prestador Institucional) | Quien es responsable por la observación
value[x] | S Σ C | 0..1 | CodeableConcept | Actual Resultado
dataAbsentReason | S C | 0..1 | CodeableConcept | Why the result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
interpretation | S | 0..* | CodeableConcept | Alta, baja, normal, etc Binding: ObservationInterpretationCodes (extensible): Códigos de identificación para la interpretación de la observación
note | S | 0..* | Annotation | Comentarios sobre la observación
method | S | 0..1 | CodeableConcept | How it was done Binding: TNM Staging Method Value Set (extensible)
specimen | S | 0..1 | Reference(Perfil de Muestra) | Muestra tomada para la observación
component | S Σ | 0..* | BackboneElement | Componentes de los resultados
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ | 1..1 | CodeableConcept | Tipo de componente de la observación (code/type) Binding: LOINCCodes (example): Códigos de identificación simple para el nombre de una observación
value[x] | S Σ | 0..1 |  | Actual Resultado del componente
valueQuantity |  |  | Quantity |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueBoolean |  |  | boolean |
valueInteger |  |  | integer |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueSampledData |  |  | SampledData |
valueTime |  |  | time |
valueDateTime |  |  | dateTime |
valuePeriod |  |  | Period |
interpretation | S | 0..* | CodeableConcept | Alta, baja, normal, etc Binding: ObservationInterpretationCodes (extensible): Códigos de identificación para la interpretación de la observación
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Observation.status | Base | required | ObservationStatus | 📍4.0.1 | FHIR Std.
Observation.category | Base | preferred | Observation Category Codes | 📦4.0.1 | FHIR Std.
Observation.code | Base | extensible | Set de Valores para Categorias pTNM | 📦0.1.1-draft | This IG
Observation.dataAbsentReason | Base | extensible | DataAbsentReason | 📦4.0.1 | FHIR Std.
Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦4.0.1 | FHIR Std.
Observation.method | Base | extensible | TNM Staging Method Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0
Observation.component.​code | Base | example | LOINC Codes | 📦4.0.1 | FHIR Std.
Observation.component.​interpretation | Base | extensible | Observation Interpretation Codes | 📦4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Observation | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Observation | 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()`
obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present | `dataAbsentReason.empty() or value.empty()`
obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present | `value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()`

Differential View

This structure is derived from ObservacionCL

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Observation |  |  | ObservacionCL(1.9.4) | This is an abstract profile. Child profiles: TNMCategoriaMetastasisDistante, TNMCategoriaNodoRegional, TNMCategoriaTumorPrimario
basedOn | S | 1..1 | Reference(Perfil de Solicitud de Informe de Anatomía Patológica) | Solicitud por la cual se realizo la prueba
code |  | 1..1 | CodeableConcept | Tipo de observación (code/type) Binding: Set de Valores para Categorias pTNM (extensible)
subject |  | 1..1 | Reference(MINSAL Paciente) | Sobre Quien o Que se está realizando la observación
performer |  | 0..* | Reference(Perfil de Rol Profesional | Prestador Profesional | Prestador Institucional) | Quien es responsable por la observación
value[x] |  | 0..1 | CodeableConcept | Actual Resultado
dataAbsentReason | S | 0..1 | CodeableConcept | Why the result is missing
method | S | 0..1 | CodeableConcept | How it was done Binding: TNM Staging Method Value Set (extensible)
specimen |  | 0..1 | Reference(Perfil de Muestra) | Muestra tomada para la observación
device |  | 0..0 |  | No usado en este perfil
referenceRange |  | 0..0 |  | No usado en este perfil
hasMember |  | 0..0 |  | No usado en este perfil
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Observation.code | Base | extensible | Set de Valores para Categorias pTNM | 📦0.1.1-draft | This IG
Observation.method | Base | extensible | TNM Staging Method Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Observation | C | 0..* | ObservacionCL(1.9.4) | This is an abstract profile. Child profiles: TNMCategoriaMetastasisDistante, TNMCategoriaNodoRegional, TNMCategoriaTumorPrimario Measurements and simple assertions Constraints: obs-6, obs-7
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | Identificación para la observación
basedOn | S Σ | 1..1 | Reference(Perfil de Solicitud de Informe de Anatomía Patológica) | Solicitud por la cual se realizo la prueba
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event
status | ?!S Σ | 1..1 | code | registered|preliminary|final|amended|corrected|cancelled|entered-in-error|unknown Binding: ObservationStatus (required): Códigos provistos para el estado de una observación
category | S | 0..* | CodeableConcept | Clasificación del tipo de observación Binding: ObservationCategoryCodes (preferred): Códigos de alto nivel para la categoría de una observación
code | S Σ | 1..1 | CodeableConcept | Tipo de observación (code/type) Binding: Set de Valores para Categorias pTNM (extensible)
subject | S Σ | 1..1 | Reference(MINSAL Paciente) | Sobre Quien o Que se está realizando la observación
focus | Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record
encounter | S Σ | 0..1 | Reference(CL Encuentro Clínico(1.9.4)) | Evento clínico durante el cual se hizo esta observación
effective[x] | S Σ | 0..1 |  | Tiempo/Tiempo-periodo de relevancia clínica para la observación
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effectiveTiming |  |  | Timing |
effectiveInstant |  |  | instant |
issued | Σ | 0..1 | instant | Date/Time this version was made available
performer | S Σ | 0..* | Reference(Perfil de Rol Profesional | Prestador Profesional | Prestador Institucional) | Quien es responsable por la observación
value[x] | S Σ C | 0..1 | CodeableConcept | Actual Resultado
dataAbsentReason | S C | 0..1 | CodeableConcept | Why the result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
interpretation | S | 0..* | CodeableConcept | Alta, baja, normal, etc Binding: ObservationInterpretationCodes (extensible): Códigos de identificación para la interpretación de la observación
note | S | 0..* | Annotation | Comentarios sobre la observación
bodySite |  | 0..1 | CodeableConcept | Observed body part Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
method | S | 0..1 | CodeableConcept | How it was done Binding: TNM Staging Method Value Set (extensible)
specimen | S | 0..1 | Reference(Perfil de Muestra) | Muestra tomada para la observación
derivedFrom | Σ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from
component | S Σ | 0..* | BackboneElement | Componentes de los resultados
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ | 1..1 | CodeableConcept | Tipo de componente de la observación (code/type) Binding: LOINCCodes (example): Códigos de identificación simple para el nombre de una observación
value[x] | S Σ | 0..1 |  | Actual Resultado del componente
valueQuantity |  |  | Quantity |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueBoolean |  |  | boolean |
valueInteger |  |  | integer |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueSampledData |  |  | SampledData |
valueTime |  |  | time |
valueDateTime |  |  | dateTime |
valuePeriod |  |  | Period |
dataAbsentReason | C | 0..1 | CodeableConcept | Why the component result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
interpretation | S | 0..* | CodeableConcept | Alta, baja, normal, etc Binding: ObservationInterpretationCodes (extensible): Códigos de identificación para la interpretación de la observación
referenceRange |  | 0..* | See referenceRange (Observation) | Provides guide for interpretation of component result
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Observation.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
Observation.status | Base | required | ObservationStatus | 📍4.0.1 | FHIR Std.
Observation.category | Base | preferred | Observation Category Codes | 📦4.0.1 | FHIR Std.
Observation.code | Base | extensible | Set de Valores para Categorias pTNM | 📦0.1.1-draft | This IG
Observation.dataAbsentReason | Base | extensible | DataAbsentReason | 📦4.0.1 | FHIR Std.
Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦4.0.1 | FHIR Std.
Observation.bodySite | Base | example | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std.
Observation.method | Base | extensible | TNM Staging Method Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0
Observation.referenceRange.​type | Base | preferred | Observation Reference Range Meaning Codes | 📦4.0.1 | FHIR Std.
Observation.referenceRange.​appliesTo | Base | example | Observation Reference Range Applies To Codes | 📦4.0.1 | FHIR Std.
Observation.component.​code | Base | example | LOINC Codes | 📦4.0.1 | FHIR Std.
Observation.component.​dataAbsentReason | Base | extensible | DataAbsentReason | 📦4.0.1 | FHIR Std.
Observation.component.​interpretation | Base | extensible | Observation Interpretation Codes | 📦4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Observation | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Observation | 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()`
obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present | `dataAbsentReason.empty() or value.empty()`
obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present | `value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()`

This structure is derived from ObservacionCL

Summary

Mandatory: 2 elements
Must-Support: 3 elements
Prohibited: 3 elements

Structures

This structure refers to these other structures:

- Perfil de Solicitud de Informe de Anatomía Patológica (https://interoperabilidad.minsal.cl/fhir/ig/r2bo/StructureDefinition/r2bo-solicitud-informe-apa)
- MINSAL Paciente (https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/MINSALPaciente)
- Perfil de Rol Profesional (https://interoperabilidad.minsal.cl/fhir/ig/r2bo/StructureDefinition/r2bo-rol-profesional-minsal)
- Prestador Profesional (https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/MINSALPrestadorProfesional)
- Prestador Institucional (https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/MINSALPrestadorOrganizacional)
- Perfil de Muestra (https://interoperabilidad.minsal.cl/fhir/ig/r2bo/StructureDefinition/r2bo-muestra-biopsia)

Maturity: 1

Other representations of profile: CSV, Excel, Schematron