HL7 FHIR Costa Rica - Core
0.0.1-ballot - ci-build

HL7 FHIR Costa Rica - Core, published by Iniciativa HL7 Costa Rica. This guide is not an authorized publication; it is the continuous build for version 0.0.1-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cr/core/ and changes regularly. See the Directory of published versions

## Resource Profile: Condición o Diagnóstico Clínico

Official URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-condition | Version: 0.0.1-ballot
Standards status: Draft | Maturity Level: 0 | Computable Name: CRCoreCondition
Copyright/Legal: Usado con el permiso de HL7 International, todos los derechos resevados en los Licencias de HL7 Internacional.

Perfil Condition para representar condiciones o diagnósticos clínicos, incluyendo soporte para codificación según CIE-10-CA y metadatos específicos del diagnóstico.

Usages:

- This Profile is not used by any profiles in this Implementation Guide

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
--- | --- | --- | --- | ---
Condition | C | 0..* | Condition(5.0.0) | Detailed information about conditions, problems or diagnoses Constraints: con-2, con-3
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 1..1 | Identifier | Identificador único del diagnóstico clínico.
clinicalStatus | ?!S Σ C | 1..1 | CodeableConcept | Estado clínico del diagnóstico. Binding: ConditionClinicalStatusCodes (required): ValueSet de estados clínicos de Condition definidos en FHIR.
verificationStatus | ?!S Σ | 0..1 | CodeableConcept | Estado de verificación del diagnóstico. Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
code | S Σ | 1..1 | CodeableConcept | Código del diagnóstico clínico. Binding: ConditionProblemDiagnosisCodes (preferred): ValueSet de códigos de Condition definidos en FHIR. Se recomienda utilizar SNOMED CT para codificar diagnósticos clínicos en Costa Rica.
subject | S Σ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se refiere el diagnóstico clínico.
onset[x] | S Σ | 0..1 |  | Fecha y hora de inicio del diagnóstico clínico.
onsetDateTime |  |  | dateTime |
onsetAge |  |  | Age |
onsetPeriod |  |  | Period |
onsetRange |  |  | Range |
onsetString |  |  | string |
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std.
Condition.verificationStatus | Base | required | Condition Verification Status | 📍5.0.0 | FHIR Std.
Condition.code | Base | preferred | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
con-2 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown | `category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()`
con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. | `abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())`
dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Condition | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | Condition.implicitRules, Condition.modifierExtension, Condition.identifier, Condition.clinicalStatus, Condition.verificationStatus, Condition.code, Condition.subject, Condition.onset[x] | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | Condition.modifierExtension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Condition

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition |  | 0..* | Condition(5.0.0) | Detailed information about conditions, problems or diagnoses
identifier | S | 1..1 | Identifier | Identificador único del diagnóstico clínico.
clinicalStatus | S | 1..1 | CodeableConcept | Estado clínico del diagnóstico. Binding: ConditionClinicalStatusCodes (required): ValueSet de estados clínicos de Condition definidos en FHIR.
verificationStatus | S | 0..1 | CodeableConcept | Estado de verificación del diagnóstico.
code | S | 1..1 | CodeableConcept | Código del diagnóstico clínico. Binding: ConditionProblemDiagnosisCodes (preferred): ValueSet de códigos de Condition definidos en FHIR. Se recomienda utilizar SNOMED CT para codificar diagnósticos clínicos en Costa Rica.
subject | S | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se refiere el diagnóstico clínico.
onset[x] | S | 0..1 | dateTime, Age, Period, Range, string | Fecha y hora de inicio del diagnóstico clínico.
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std.
Condition.code | Base | preferred | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition | C | 0..* | Condition(5.0.0) | Detailed information about conditions, problems or diagnoses Constraints: con-2, con-3
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: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
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 Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 1..1 | Identifier | Identificador único del diagnóstico clínico.
clinicalStatus | ?!S Σ C | 1..1 | CodeableConcept | Estado clínico del diagnóstico. Binding: ConditionClinicalStatusCodes (required): ValueSet de estados clínicos de Condition definidos en FHIR.
verificationStatus | ?!S Σ | 0..1 | CodeableConcept | Estado de verificación del diagnóstico. Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
category | C | 0..* | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (preferred): A category assigned to the condition.
severity |  | 0..1 | CodeableConcept | Subjective severity of condition Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
code | S Σ | 1..1 | CodeableConcept | Código del diagnóstico clínico. Binding: ConditionProblemDiagnosisCodes (preferred): ValueSet de códigos de Condition definidos en FHIR. Se recomienda utilizar SNOMED CT para codificar diagnósticos clínicos en Costa Rica.
bodySite | Σ | 0..* | CodeableConcept | Anatomical location, if relevant Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
subject | S Σ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se refiere el diagnóstico clínico.
encounter | Σ | 0..1 | Reference(Encounter) | The Encounter during which this Condition was created
onset[x] | S Σ | 0..1 |  | Fecha y hora de inicio del diagnóstico clínico.
onsetDateTime |  |  | dateTime |
onsetAge |  |  | Age |
onsetPeriod |  |  | Period |
onsetRange |  |  | Range |
onsetString |  |  | string |
abatement[x] | C | 0..1 |  | When in resolution/remission
abatementDateTime |  |  | dateTime |
abatementAge |  |  | Age |
abatementPeriod |  |  | Period |
abatementRange |  |  | Range |
abatementString |  |  | string |
recordedDate | Σ | 0..1 | dateTime | Date condition was first recorded
participant | Σ | 0..* | BackboneElement | Who or what participated in the activities related to the condition and how they were involved
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
function | Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible)
actor | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | Who or what participated in the activities related to the condition
stage | C | 0..* | BackboneElement | Stage/grade, usually assessed formally Constraints: con-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
summary | C | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
assessment | C | 0..* | Reference(ClinicalImpression | DiagnosticReport | Observation) | Formal record of assessment
type |  | 0..1 | CodeableConcept | Kind of staging Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
evidence | Σ | 0..* | CodeableReference(Resource) | Supporting evidence for the verification status Binding: SNOMEDCTClinicalFindings (example)
note |  | 0..* | Annotation | Additional information about the Condition
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Condition.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std.
Condition.verificationStatus | Base | required | Condition Verification Status | 📍5.0.0 | FHIR Std.
Condition.category | Base | preferred | Condition Category Codes | 📍5.0.0 | FHIR Std.
Condition.severity | Base | preferred | Condition/Diagnosis Severity | 📍5.0.0 | FHIR Std.
Condition.code | Base | preferred | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
Condition.bodySite | Base | example | SNOMED CT Body Structures | 📍5.0.0 | FHIR Std.
Condition.participant.​function | Base | extensible | Participation Role Type | 📍5.0.0 | FHIR Std.
Condition.stage.summary | Base | example | Condition Stage | 📍5.0.0 | FHIR Std.
Condition.stage.type | Base | example | Condition Stage Type | 📍5.0.0 | FHIR Std.
Condition.evidence | Base | example | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
con-1 | error | Condition.stage | Stage SHALL have summary or assessment | `summary.exists() or assessment.exists()`
con-2 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown | `category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()`
con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. | `abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())`
dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Condition | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | Condition.meta, Condition.implicitRules, Condition.language, Condition.text, Condition.extension, Condition.modifierExtension, Condition.identifier, Condition.clinicalStatus, Condition.verificationStatus, Condition.category, Condition.severity, Condition.code, Condition.bodySite, Condition.subject, Condition.encounter, Condition.onset[x], Condition.abatement[x], Condition.recordedDate, Condition.participant, Condition.participant.extension, Condition.participant.modifierExtension, Condition.participant.function, Condition.participant.actor, Condition.stage, Condition.stage.extension, Condition.stage.modifierExtension, Condition.stage.summary, Condition.stage.assessment, Condition.stage.type, Condition.evidence, Condition.note | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | Condition.extension, Condition.modifierExtension, Condition.participant.extension, Condition.participant.modifierExtension, Condition.stage.extension, Condition.stage.modifierExtension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Condition

Summary

Mandatory: 2 elements
Must-Support: 6 elements

Structures

This structure refers to these other structures:

- Paciente (https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-patient|0.0.1-ballot)

Maturity: 0

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition | C | 0..* | Condition(5.0.0) | Detailed information about conditions, problems or diagnoses Constraints: con-2, con-3
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 1..1 | Identifier | Identificador único del diagnóstico clínico.
clinicalStatus | ?!S Σ C | 1..1 | CodeableConcept | Estado clínico del diagnóstico. Binding: ConditionClinicalStatusCodes (required): ValueSet de estados clínicos de Condition definidos en FHIR.
verificationStatus | ?!S Σ | 0..1 | CodeableConcept | Estado de verificación del diagnóstico. Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
code | S Σ | 1..1 | CodeableConcept | Código del diagnóstico clínico. Binding: ConditionProblemDiagnosisCodes (preferred): ValueSet de códigos de Condition definidos en FHIR. Se recomienda utilizar SNOMED CT para codificar diagnósticos clínicos en Costa Rica.
subject | S Σ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se refiere el diagnóstico clínico.
onset[x] | S Σ | 0..1 |  | Fecha y hora de inicio del diagnóstico clínico.
onsetDateTime |  |  | dateTime |
onsetAge |  |  | Age |
onsetPeriod |  |  | Period |
onsetRange |  |  | Range |
onsetString |  |  | string |
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std.
Condition.verificationStatus | Base | required | Condition Verification Status | 📍5.0.0 | FHIR Std.
Condition.code | Base | preferred | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
con-2 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown | `category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()`
con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. | `abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())`
dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Condition | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | Condition.implicitRules, Condition.modifierExtension, Condition.identifier, Condition.clinicalStatus, Condition.verificationStatus, Condition.code, Condition.subject, Condition.onset[x] | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | Condition.modifierExtension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

Differential View

This structure is derived from Condition

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition |  | 0..* | Condition(5.0.0) | Detailed information about conditions, problems or diagnoses
identifier | S | 1..1 | Identifier | Identificador único del diagnóstico clínico.
clinicalStatus | S | 1..1 | CodeableConcept | Estado clínico del diagnóstico. Binding: ConditionClinicalStatusCodes (required): ValueSet de estados clínicos de Condition definidos en FHIR.
verificationStatus | S | 0..1 | CodeableConcept | Estado de verificación del diagnóstico.
code | S | 1..1 | CodeableConcept | Código del diagnóstico clínico. Binding: ConditionProblemDiagnosisCodes (preferred): ValueSet de códigos de Condition definidos en FHIR. Se recomienda utilizar SNOMED CT para codificar diagnósticos clínicos en Costa Rica.
subject | S | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se refiere el diagnóstico clínico.
onset[x] | S | 0..1 | dateTime, Age, Period, Range, string | Fecha y hora de inicio del diagnóstico clínico.
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std.
Condition.code | Base | preferred | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition | C | 0..* | Condition(5.0.0) | Detailed information about conditions, problems or diagnoses Constraints: con-2, con-3
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: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
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 Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 1..1 | Identifier | Identificador único del diagnóstico clínico.
clinicalStatus | ?!S Σ C | 1..1 | CodeableConcept | Estado clínico del diagnóstico. Binding: ConditionClinicalStatusCodes (required): ValueSet de estados clínicos de Condition definidos en FHIR.
verificationStatus | ?!S Σ | 0..1 | CodeableConcept | Estado de verificación del diagnóstico. Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
category | C | 0..* | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (preferred): A category assigned to the condition.
severity |  | 0..1 | CodeableConcept | Subjective severity of condition Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
code | S Σ | 1..1 | CodeableConcept | Código del diagnóstico clínico. Binding: ConditionProblemDiagnosisCodes (preferred): ValueSet de códigos de Condition definidos en FHIR. Se recomienda utilizar SNOMED CT para codificar diagnósticos clínicos en Costa Rica.
bodySite | Σ | 0..* | CodeableConcept | Anatomical location, if relevant Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
subject | S Σ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se refiere el diagnóstico clínico.
encounter | Σ | 0..1 | Reference(Encounter) | The Encounter during which this Condition was created
onset[x] | S Σ | 0..1 |  | Fecha y hora de inicio del diagnóstico clínico.
onsetDateTime |  |  | dateTime |
onsetAge |  |  | Age |
onsetPeriod |  |  | Period |
onsetRange |  |  | Range |
onsetString |  |  | string |
abatement[x] | C | 0..1 |  | When in resolution/remission
abatementDateTime |  |  | dateTime |
abatementAge |  |  | Age |
abatementPeriod |  |  | Period |
abatementRange |  |  | Range |
abatementString |  |  | string |
recordedDate | Σ | 0..1 | dateTime | Date condition was first recorded
participant | Σ | 0..* | BackboneElement | Who or what participated in the activities related to the condition and how they were involved
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
function | Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible)
actor | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | Who or what participated in the activities related to the condition
stage | C | 0..* | BackboneElement | Stage/grade, usually assessed formally Constraints: con-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
summary | C | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
assessment | C | 0..* | Reference(ClinicalImpression | DiagnosticReport | Observation) | Formal record of assessment
type |  | 0..1 | CodeableConcept | Kind of staging Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
evidence | Σ | 0..* | CodeableReference(Resource) | Supporting evidence for the verification status Binding: SNOMEDCTClinicalFindings (example)
note |  | 0..* | Annotation | Additional information about the Condition
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Condition.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std.
Condition.verificationStatus | Base | required | Condition Verification Status | 📍5.0.0 | FHIR Std.
Condition.category | Base | preferred | Condition Category Codes | 📍5.0.0 | FHIR Std.
Condition.severity | Base | preferred | Condition/Diagnosis Severity | 📍5.0.0 | FHIR Std.
Condition.code | Base | preferred | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
Condition.bodySite | Base | example | SNOMED CT Body Structures | 📍5.0.0 | FHIR Std.
Condition.participant.​function | Base | extensible | Participation Role Type | 📍5.0.0 | FHIR Std.
Condition.stage.summary | Base | example | Condition Stage | 📍5.0.0 | FHIR Std.
Condition.stage.type | Base | example | Condition Stage Type | 📍5.0.0 | FHIR Std.
Condition.evidence | Base | example | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
con-1 | error | Condition.stage | Stage SHALL have summary or assessment | `summary.exists() or assessment.exists()`
con-2 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown | `category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()`
con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. | `abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())`
dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Condition | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | Condition.meta, Condition.implicitRules, Condition.language, Condition.text, Condition.extension, Condition.modifierExtension, Condition.identifier, Condition.clinicalStatus, Condition.verificationStatus, Condition.category, Condition.severity, Condition.code, Condition.bodySite, Condition.subject, Condition.encounter, Condition.onset[x], Condition.abatement[x], Condition.recordedDate, Condition.participant, Condition.participant.extension, Condition.participant.modifierExtension, Condition.participant.function, Condition.participant.actor, Condition.stage, Condition.stage.extension, Condition.stage.modifierExtension, Condition.stage.summary, Condition.stage.assessment, Condition.stage.type, Condition.evidence, Condition.note | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | Condition.extension, Condition.modifierExtension, Condition.participant.extension, Condition.participant.modifierExtension, Condition.stage.extension, Condition.stage.modifierExtension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Condition

Summary

Mandatory: 2 elements
Must-Support: 6 elements

Structures

This structure refers to these other structures:

- Paciente (https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-patient|0.0.1-ballot)

Maturity: 0

Other representations of profile: CSV, Excel, Schematron