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

Resource Profile: Problema ou Diagnóstico ( Experimental )

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

Introdução

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.

Escopo/Uso

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.

Uso Indevido

Este recurso não deve ser utilizado para representar outros tipos de classificações.

Casos de Uso

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

Formal Views of Profile Content

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

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... clinicalStatus ?!ΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Vínculo: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... code Σ 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required)
... subject Σ 1..1 Reference(Paciente) Who has the condition?
... encounter Σ 0..1 Reference(Contato Assistencial) Encounter created as part of

doco Documentação para este formato

Terminologia Ligações

CaminhoConformidadeConjunto de valoresURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
From a norma FHIR
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
From a norma FHIR
Condition.coderequiredhttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico

Restrições

IdGrauCaminho(s)DetalhesRequisitos
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Condition

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Condition Condition
... identifier 0..0
... severity 0..0
... code 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required)
... subject 1..1 Reference(Paciente) Who has the condition?
.... type 0..0
.... identifier 0..0
.... display 0..0
... encounter 0..1 Reference(Contato Assistencial) Encounter created as part of
.... type 0..0
.... identifier 0..0
.... display 0..0
... abatement[x] 0..0
... recorder 0..0
... asserter 0..0
... stage 0..0
... evidence 0..0

doco Documentação para este formato

Terminologia Ligações (Diferencial)

CaminhoConformidadeConjunto de valoresURI
Condition.coderequiredhttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... 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
... 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
... clinicalStatus ?!ΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Vínculo: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... verificationStatus ?!Σ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.
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis
Vínculo: ConditionCategoryCodes (extensible): A category assigned to the condition.
... code Σ 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required)
... subject Σ 1..1 Reference(Paciente) Who has the condition?
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Fatia: Não ordenado, Aberto por value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... encounter Σ 0..1 Reference(Contato Assistencial) Encounter created as part of
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Fatia: Não ordenado, Aberto por value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... onset[x] Σ 0..1 Estimated or actual date, date-time, or age
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
... note 0..* Annotation Additional information about the Condition

doco Documentação para este formato

Terminologia Ligações

CaminhoConformidadeConjunto de valoresURI
Condition.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From a norma FHIR
Vínculos adicionais Objetivo
AllLanguages Vínculo máximo
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
From a norma FHIR
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
From a norma FHIR
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
From a norma FHIR
Condition.coderequiredhttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
From a norma FHIR
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
From a norma FHIR
Condition.evidence.codeexampleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
From a norma FHIR

Restrições

IdGrauCaminho(s)DetalhesRequisitos
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Condition

Key Elements View

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... clinicalStatus ?!ΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Vínculo: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... code Σ 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required)
... subject Σ 1..1 Reference(Paciente) Who has the condition?
... encounter Σ 0..1 Reference(Contato Assistencial) Encounter created as part of

doco Documentação para este formato

Terminologia Ligações

CaminhoConformidadeConjunto de valoresURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
From a norma FHIR
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
From a norma FHIR
Condition.coderequiredhttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico

Restrições

IdGrauCaminho(s)DetalhesRequisitos
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Condition

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Condition Condition
... identifier 0..0
... severity 0..0
... code 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required)
... subject 1..1 Reference(Paciente) Who has the condition?
.... type 0..0
.... identifier 0..0
.... display 0..0
... encounter 0..1 Reference(Contato Assistencial) Encounter created as part of
.... type 0..0
.... identifier 0..0
.... display 0..0
... abatement[x] 0..0
... recorder 0..0
... asserter 0..0
... stage 0..0
... evidence 0..0

doco Documentação para este formato

Terminologia Ligações (Diferencial)

CaminhoConformidadeConjunto de valoresURI
Condition.coderequiredhttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico

Snapshot View

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... 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
... 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
... clinicalStatus ?!ΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Vínculo: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... verificationStatus ?!Σ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.
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis
Vínculo: ConditionCategoryCodes (extensible): A category assigned to the condition.
... code Σ 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico (required)
... subject Σ 1..1 Reference(Paciente) Who has the condition?
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Fatia: Não ordenado, Aberto por value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... encounter Σ 0..1 Reference(Contato Assistencial) Encounter created as part of
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Fatia: Não ordenado, Aberto por value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... onset[x] Σ 0..1 Estimated or actual date, date-time, or age
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
... note 0..* Annotation Additional information about the Condition

doco Documentação para este formato

Terminologia Ligações

CaminhoConformidadeConjunto de valoresURI
Condition.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From a norma FHIR
Vínculos adicionais Objetivo
AllLanguages Vínculo máximo
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
From a norma FHIR
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
From a norma FHIR
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
From a norma FHIR
Condition.coderequiredhttps://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
https://terminologia.saude.gov.br/fhir/ValueSet/BRProblemaDiagnostico
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
From a norma FHIR
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
From a norma FHIR
Condition.evidence.codeexampleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
From a norma FHIR

Restrições

IdGrauCaminho(s)DetalhesRequisitos
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust 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