VRIS - Viljatusravi infosüsteem
0.1.0 - draft

VRIS - Viljatusravi infosüsteem, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-vris/ and changes regularly. See the Directory of published versions

## Resource Profile: Condition: EE VRIS Male Fertility Treatment Indication

Official URL: https://fhir.ee/vris/StructureDefinition/ee-vris-condition-fertility-indication-male | Version: 0.1.0
Draft as of 2026-07-16 | Computable Name: EEVRISConditionFertilityIndicationMale

Clinical indication or diagnosis that is the reason for infertility treatment for Male. (ee MEHE kunstliku viljastamise näidustus, kliiniline diagnoos või seisund, mis on viljatusravi põhjus. NB! Tulevikus viidata Diagnoosi-teenusele!)

Usages:

- Refer to this Profile: CarePlan: EEVRIS Cycle

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 | 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
identifier | Σ | 0..* | Identifier | (ee Näidustuse identifikaator)
clinicalStatus | ?!Σ C | 1..1 | CodeableConcept | Kliiniline staatus (nt active, resolved) Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
verificationStatus | ?!Σ | 0..1 | CodeableConcept | Kinnituse staatus (nt confirmed, provisional) Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
code | Σ | 1..1 | CodeableConcept | (ee Näidustuse kood RHK-10 järgi. meeste loend VAJA!) Binding: https://fhir.ee/ValueSet/rhk-10 (preferred)
subject | Σ | 1..1 | Reference(Patient: EE VRIS Recipient | EE MPI Patient Verified | Patient: EE VRIS Donor) | (ee Retsipient (kui on partner), kellel näidustus esineb)
onset[x] | Σ | 0..1 | dateTime | Millal seisund tuvastati
recordedDate | Σ | 0..1 | dateTime | Millal näidustus kirja pandi
participant | Σ | 0..* | BackboneElement | (ee Kes näidustuse kirjastas. NB! SPDst)
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
function | Σ | 0..1 | CodeableConcept | (ee Osaleja roll. KAS seda on vaja, sest roll tuleb SPD-st...?) Binding: ParticipationRoleType (extensible)
actor | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | (ee Osaleja referents.)
note |  | 0..* | Annotation | (ee Lisainfo / täpsustus näidustuse kohta)
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 | https://fhir.ee/ValueSet/rhk-10 | Not State | Unknown
Condition.participant.​function | Base | extensible | Participation Role Type | 📍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 | **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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition |  | 0..* | Condition | Detailed information about conditions, problems or diagnoses
identifier |  | 0..* | Identifier | (ee Näidustuse identifikaator)
clinicalStatus |  | 1..1 | CodeableConcept | Kliiniline staatus (nt active, resolved)
verificationStatus |  | 0..1 | CodeableConcept | Kinnituse staatus (nt confirmed, provisional)
severity |  | 0..0 |  | Subjective severity of condition
code |  | 1..1 | CodeableConcept | (ee Näidustuse kood RHK-10 järgi. meeste loend VAJA!) Binding: https://fhir.ee/ValueSet/rhk-10 (preferred)
bodySite |  | 0..0 |  | Anatomical location, if relevant
subject |  | 1..1 | Reference(Patient: EE VRIS Recipient | EE MPI Patient Verified | Patient: EE VRIS Donor) | (ee Retsipient (kui on partner), kellel näidustus esineb)
encounter |  | 0..0 |  | The Encounter during which this Condition was created
onset[x] |  | 0..1 | dateTime | Millal seisund tuvastati
abatement[x] |  | 0..0 |  | When in resolution/remission
recordedDate |  | 0..1 | dateTime | Millal näidustus kirja pandi
participant |  | 0..* | BackboneElement | (ee Kes näidustuse kirjastas. NB! SPDst)
function |  | 0..1 | CodeableConcept | (ee Osaleja roll. KAS seda on vaja, sest roll tuleb SPD-st...?)
actor |  | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | (ee Osaleja referents.)
stage |  | 0..0 |  | Stage/grade, usually assessed formally
evidence |  | 0..0 |  | Supporting evidence for the verification status
note |  | 0..* | Annotation | (ee Lisainfo / täpsustus näidustuse kohta)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Condition.code | Base | preferred | https://fhir.ee/ValueSet/rhk-10 | Not State | Unknown

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition | C | 0..* | Condition | 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
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | (ee Näidustuse identifikaator)
clinicalStatus | ?!Σ C | 1..1 | CodeableConcept | Kliiniline staatus (nt active, resolved) Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
verificationStatus | ?!Σ | 0..1 | CodeableConcept | Kinnituse staatus (nt confirmed, provisional) 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.
code | Σ | 1..1 | CodeableConcept | (ee Näidustuse kood RHK-10 järgi. meeste loend VAJA!) Binding: https://fhir.ee/ValueSet/rhk-10 (preferred)
subject | Σ | 1..1 | Reference(Patient: EE VRIS Recipient | EE MPI Patient Verified | Patient: EE VRIS Donor) | (ee Retsipient (kui on partner), kellel näidustus esineb)
onset[x] | Σ | 0..1 | dateTime | Millal seisund tuvastati
recordedDate | Σ | 0..1 | dateTime | Millal näidustus kirja pandi
participant | Σ | 0..* | BackboneElement | (ee Kes näidustuse kirjastas. NB! SPDst)
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
function | Σ | 0..1 | CodeableConcept | (ee Osaleja roll. KAS seda on vaja, sest roll tuleb SPD-st...?) Binding: ParticipationRoleType (extensible)
actor | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | (ee Osaleja referents.)
note |  | 0..* | Annotation | (ee Lisainfo / täpsustus näidustuse kohta)
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.code | Base | preferred | https://fhir.ee/ValueSet/rhk-10 | Not State | Unknown
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.

#### 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 | **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

Summary

Mandatory: 1 element
Prohibited: 6 elements

Structures

This structure refers to these other structures:

- Patient: EE VRIS Recipient (https://fhir.ee/vris/StructureDefinition/ee-vris-recipient)
- EE MPI Patient Verified (https://fhir.ee/mpi/StructureDefinition/ee-mpi-patient-verified)
- Patient: EE VRIS Donor (https://fhir.ee/vris/StructureDefinition/ee-vris-donor)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition | C | 0..* | Condition | 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
identifier | Σ | 0..* | Identifier | (ee Näidustuse identifikaator)
clinicalStatus | ?!Σ C | 1..1 | CodeableConcept | Kliiniline staatus (nt active, resolved) Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
verificationStatus | ?!Σ | 0..1 | CodeableConcept | Kinnituse staatus (nt confirmed, provisional) Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
code | Σ | 1..1 | CodeableConcept | (ee Näidustuse kood RHK-10 järgi. meeste loend VAJA!) Binding: https://fhir.ee/ValueSet/rhk-10 (preferred)
subject | Σ | 1..1 | Reference(Patient: EE VRIS Recipient | EE MPI Patient Verified | Patient: EE VRIS Donor) | (ee Retsipient (kui on partner), kellel näidustus esineb)
onset[x] | Σ | 0..1 | dateTime | Millal seisund tuvastati
recordedDate | Σ | 0..1 | dateTime | Millal näidustus kirja pandi
participant | Σ | 0..* | BackboneElement | (ee Kes näidustuse kirjastas. NB! SPDst)
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
function | Σ | 0..1 | CodeableConcept | (ee Osaleja roll. KAS seda on vaja, sest roll tuleb SPD-st...?) Binding: ParticipationRoleType (extensible)
actor | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | (ee Osaleja referents.)
note |  | 0..* | Annotation | (ee Lisainfo / täpsustus näidustuse kohta)
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 | https://fhir.ee/ValueSet/rhk-10 | Not State | Unknown
Condition.participant.​function | Base | extensible | Participation Role Type | 📍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 | **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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition |  | 0..* | Condition | Detailed information about conditions, problems or diagnoses
identifier |  | 0..* | Identifier | (ee Näidustuse identifikaator)
clinicalStatus |  | 1..1 | CodeableConcept | Kliiniline staatus (nt active, resolved)
verificationStatus |  | 0..1 | CodeableConcept | Kinnituse staatus (nt confirmed, provisional)
severity |  | 0..0 |  | Subjective severity of condition
code |  | 1..1 | CodeableConcept | (ee Näidustuse kood RHK-10 järgi. meeste loend VAJA!) Binding: https://fhir.ee/ValueSet/rhk-10 (preferred)
bodySite |  | 0..0 |  | Anatomical location, if relevant
subject |  | 1..1 | Reference(Patient: EE VRIS Recipient | EE MPI Patient Verified | Patient: EE VRIS Donor) | (ee Retsipient (kui on partner), kellel näidustus esineb)
encounter |  | 0..0 |  | The Encounter during which this Condition was created
onset[x] |  | 0..1 | dateTime | Millal seisund tuvastati
abatement[x] |  | 0..0 |  | When in resolution/remission
recordedDate |  | 0..1 | dateTime | Millal näidustus kirja pandi
participant |  | 0..* | BackboneElement | (ee Kes näidustuse kirjastas. NB! SPDst)
function |  | 0..1 | CodeableConcept | (ee Osaleja roll. KAS seda on vaja, sest roll tuleb SPD-st...?)
actor |  | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | (ee Osaleja referents.)
stage |  | 0..0 |  | Stage/grade, usually assessed formally
evidence |  | 0..0 |  | Supporting evidence for the verification status
note |  | 0..* | Annotation | (ee Lisainfo / täpsustus näidustuse kohta)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Condition.code | Base | preferred | https://fhir.ee/ValueSet/rhk-10 | Not State | Unknown

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Condition | C | 0..* | Condition | 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
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | (ee Näidustuse identifikaator)
clinicalStatus | ?!Σ C | 1..1 | CodeableConcept | Kliiniline staatus (nt active, resolved) Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
verificationStatus | ?!Σ | 0..1 | CodeableConcept | Kinnituse staatus (nt confirmed, provisional) 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.
code | Σ | 1..1 | CodeableConcept | (ee Näidustuse kood RHK-10 järgi. meeste loend VAJA!) Binding: https://fhir.ee/ValueSet/rhk-10 (preferred)
subject | Σ | 1..1 | Reference(Patient: EE VRIS Recipient | EE MPI Patient Verified | Patient: EE VRIS Donor) | (ee Retsipient (kui on partner), kellel näidustus esineb)
onset[x] | Σ | 0..1 | dateTime | Millal seisund tuvastati
recordedDate | Σ | 0..1 | dateTime | Millal näidustus kirja pandi
participant | Σ | 0..* | BackboneElement | (ee Kes näidustuse kirjastas. NB! SPDst)
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
function | Σ | 0..1 | CodeableConcept | (ee Osaleja roll. KAS seda on vaja, sest roll tuleb SPD-st...?) Binding: ParticipationRoleType (extensible)
actor | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | (ee Osaleja referents.)
note |  | 0..* | Annotation | (ee Lisainfo / täpsustus näidustuse kohta)
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.code | Base | preferred | https://fhir.ee/ValueSet/rhk-10 | Not State | Unknown
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.

#### 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 | **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

Summary

Mandatory: 1 element
Prohibited: 6 elements

Structures

This structure refers to these other structures:

- Patient: EE VRIS Recipient (https://fhir.ee/vris/StructureDefinition/ee-vris-recipient)
- EE MPI Patient Verified (https://fhir.ee/mpi/StructureDefinition/ee-mpi-patient-verified)
- Patient: EE VRIS Donor (https://fhir.ee/vris/StructureDefinition/ee-vris-donor)

Other representations of profile: CSV, Excel, Schematron