Guia de Implementação da iPES - CI build
0.1.0 - ci-build
!!Guia de Implementação da iPES - CI build - Compilação de desenvolvimento local (v0.1.0) construída pelas ferramentas de compilação FHIR (HL7® FHIR® Standard). Veja o Diretório de versões publicadas
| Official URL: https://fhir.ipes.tech/fhir/StructureDefinition/ConditionBRIPES | Version: 0.1.0 | |||
| Draft as of 2025-06-24 | Computable Name: ConditionBRIPES | |||
Problema ou Diagnóstico, tipicamente avaliado por profissional clínico e codificado com CID10 (diganóstico) ou CIAP2 (problema).
Representação de um problema ou diagnóstico
Tipicamente avaliado por profissional clínico e codificado com CID-10 para diagnóstico ou CIAP-2 (Classificação Internacional da Atenção Primária) para problema/condição.
Este recurso é utilizado para registrar informações detalhadas sobre uma condição, problema, diagnóstico ou outro evento, situação, questão ou conceito clínico que tenha atingido um nível de preocupação. A condição pode ser um diagnóstico pontual no contexto de um encontro, pode ser um item na Lista de Problemas do profissional ou pode ser uma preocupação que não existe na Lista de Problemas do profissional.
Este recurso não deve ser utilizado para representar outros tipos de classificações.
O recurso Condição pode ser utilizado para registrar um certo estado de saúde de um paciente que normalmente não apresenta um resultado negativo, por exemplo, gravidez. O recurso também pode ser usado para registrar uma condição após um procedimento.
Usos:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | active | recurrence | relapse | inactive | remission | resolved Vínculo: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Vínculo: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Identification of the condition, problem or diagnosis Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required) |
![]() ![]() |
Σ | 1..1 | Reference(Paciente) | Who has the condition? |
![]() ![]() |
Σ | 0..1 | Reference(Contato Assistencial) | Encounter created as part of |
Documentação para este formato | ||||
| Caminho | Conformidade | Conjunto de valores | URI |
| Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|4.0.1From a norma FHIR | |
| Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1From a norma FHIR | |
| Condition.code | required | https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnosticohttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico |
| Id | Grau | Caminho(s) | Detalhes | Requisitos |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item : clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty() | |
| con-4 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission : abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists() | |
| con-5 | error | Condition | Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error : verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty() | |
| 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().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 | 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 | **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 Condition
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
Condition | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | CodeableConcept | Identification of the condition, problem or diagnosis Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required) | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(Paciente) | Who has the condition? | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | Reference(Contato Assistencial) | Encounter created as part of | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentação para este formato | ||||
| Caminho | Conformidade | Conjunto de valores | URI |
| Condition.code | required | https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnosticohttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico |
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5 | ||||
![]() ![]() |
Σ | 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 Vínculo: CommonLanguages (preferred): 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 | ||||
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | active | recurrence | relapse | inactive | remission | resolved Vínculo: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Vínculo: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. | ||||
![]() ![]() |
0..* | CodeableConcept | problem-list-item | encounter-diagnosis Vínculo: ConditionCategoryCodes (extensible): A category assigned to the condition. | |||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Identification of the condition, problem or diagnosis Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required) | ||||
![]() ![]() |
Σ | 1..1 | Reference(Paciente) | Who has the condition? | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Fatia: Não ordenado, Aberto por value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() |
Σ | 0..1 | Reference(Contato Assistencial) | Encounter created as part of | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Fatia: Não ordenado, Aberto por value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() |
Σ | 0..1 | Estimated or actual date, date-time, or age | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | Date record was first recorded | ||||
![]() ![]() |
0..* | Annotation | Additional information about the Condition | |||||
Documentação para este formato | ||||||||
| Caminho | Conformidade | Conjunto de valores | URI | |||
| Condition.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom a norma FHIR
| ||||
| Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|4.0.1From a norma FHIR | ||||
| Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1From a norma FHIR | ||||
| Condition.category | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-categoryFrom a norma FHIR | ||||
| Condition.code | required | https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnosticohttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico | ||||
| Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stageFrom a norma FHIR | ||||
| Condition.stage.type | example | ConditionStageTypehttp://hl7.org/fhir/ValueSet/condition-stage-typeFrom a norma FHIR | ||||
| Condition.evidence.code | example | ManifestationAndSymptomCodeshttp://hl7.org/fhir/ValueSet/manifestation-or-symptomFrom a norma FHIR |
| Id | Grau | Caminho(s) | Detalhes | Requisitos |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item : clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty() | |
| con-4 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission : abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists() | |
| con-5 | error | Condition | Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error : verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty() | |
| 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().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 | 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 | **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 Condition
Key Elements View
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | active | recurrence | relapse | inactive | remission | resolved Vínculo: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Vínculo: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Identification of the condition, problem or diagnosis Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required) |
![]() ![]() |
Σ | 1..1 | Reference(Paciente) | Who has the condition? |
![]() ![]() |
Σ | 0..1 | Reference(Contato Assistencial) | Encounter created as part of |
Documentação para este formato | ||||
| Caminho | Conformidade | Conjunto de valores | URI |
| Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|4.0.1From a norma FHIR | |
| Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1From a norma FHIR | |
| Condition.code | required | https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnosticohttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico |
| Id | Grau | Caminho(s) | Detalhes | Requisitos |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item : clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty() | |
| con-4 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission : abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists() | |
| con-5 | error | Condition | Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error : verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty() | |
| 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().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 | 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 | **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 Condition
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
Condition | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | CodeableConcept | Identification of the condition, problem or diagnosis Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required) | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(Paciente) | Who has the condition? | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | Reference(Contato Assistencial) | Encounter created as part of | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentação para este formato | ||||
| Caminho | Conformidade | Conjunto de valores | URI |
| Condition.code | required | https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnosticohttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico |
Snapshot View
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5 | ||||
![]() ![]() |
Σ | 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 Vínculo: CommonLanguages (preferred): 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 | ||||
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | active | recurrence | relapse | inactive | remission | resolved Vínculo: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Vínculo: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. | ||||
![]() ![]() |
0..* | CodeableConcept | problem-list-item | encounter-diagnosis Vínculo: ConditionCategoryCodes (extensible): A category assigned to the condition. | |||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Identification of the condition, problem or diagnosis Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required) | ||||
![]() ![]() |
Σ | 1..1 | Reference(Paciente) | Who has the condition? | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Fatia: Não ordenado, Aberto por value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() |
Σ | 0..1 | Reference(Contato Assistencial) | Encounter created as part of | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Fatia: Não ordenado, Aberto por value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() |
Σ | 0..1 | Estimated or actual date, date-time, or age | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | Date record was first recorded | ||||
![]() ![]() |
0..* | Annotation | Additional information about the Condition | |||||
Documentação para este formato | ||||||||
| Caminho | Conformidade | Conjunto de valores | URI | |||
| Condition.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom a norma FHIR
| ||||
| Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|4.0.1From a norma FHIR | ||||
| Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1From a norma FHIR | ||||
| Condition.category | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-categoryFrom a norma FHIR | ||||
| Condition.code | required | https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnosticohttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico | ||||
| Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stageFrom a norma FHIR | ||||
| Condition.stage.type | example | ConditionStageTypehttp://hl7.org/fhir/ValueSet/condition-stage-typeFrom a norma FHIR | ||||
| Condition.evidence.code | example | ManifestationAndSymptomCodeshttp://hl7.org/fhir/ValueSet/manifestation-or-symptomFrom a norma FHIR |
| Id | Grau | Caminho(s) | Detalhes | Requisitos |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item : clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty() | |
| con-4 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission : abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists() | |
| con-5 | error | Condition | Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error : verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty() | |
| 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().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 | 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 | **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 Condition
Other representations of profile: CSV, Excel, Schematron