Medtech ALEX® AU Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-condition | Version: 1.0.0 | |||
| Active as of 2025-10-12 | Computable Name: AlexCondition | |||
The Condition resource exposed by ALEX
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.meta.security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG |
| Condition.clinicalStatus | Base | required | Status for Condition | 📦1.0.0 | This IG |
| Condition.verificationStatus | Base | required | Verification Status for Condition | 📦1.0.0 | This IG |
| Condition.code | Base | extensible | Condition Code Value Set | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| condition-code-system | error | Condition.code | Condition.code codings must use SNOMED CT or Medtech ICPC2 Plus |
coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/icpc2plus-condition-resource')
|
| condition-note-length | error | Condition.note.text | Note - text size validation |
value.empty() or value.length() <= 4096
|
| 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 AUBaseCondition
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.meta.security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG |
| Condition.clinicalStatus | Base | required | Status for Condition | 📦1.0.0 | This IG |
| Condition.verificationStatus | Base | required | Verification Status for Condition | 📦1.0.0 | This IG |
| Condition.code | Base | extensible | Condition Code Value Set | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| condition-code-system | error | Condition.code | Condition.code codings must use SNOMED CT or Medtech ICPC2 Plus |
coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/icpc2plus-condition-resource')
|
| condition-note-length | error | Condition.note.text | Note - text size validation |
value.empty() or value.length() <= 4096
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | AUBaseCondition | A condition, problem or diagnosis statement in an Australian healthcare context Constraints: con-3, con-4, con-5 |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required) |
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() |
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 | |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition |
![]() ![]() ![]() |
S | 1..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-bilateral |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | active | inactive Binding: Status for Condition (required) |
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | confirmed | provisional Binding: Verification Status for Condition (required) |
![]() ![]() |
SΣC | 0..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition Code Value Set (extensible) Constraints: condition-code-system |
![]() ![]() |
SΣ | 1..1 | Reference(Patient | Group) | Who has the condition? |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Reference to Patient resource |
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
Σ | 0..1 | string | External Name of Patient |
![]() ![]() |
SΣ | 0..1 | dateTime | Estimated or actual date, date-time, or age |
![]() ![]() |
SC | 0..1 | dateTime | When in resolution/remission |
![]() ![]() |
SΣ | 0..1 | dateTime | Date record was first recorded |
![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the condition |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Reference to Practitioner resource |
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
Σ | 0..1 | string | External Name of Practitioner |
![]() ![]() |
S | 0..1 | Annotation | Additional information about the Condition |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |
![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made |
![]() ![]() ![]() |
ΣC | 1..1 | markdown | The annotation - text content (as markdown) Constraints: condition-note-length |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.meta.security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG |
| Condition.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Condition.clinicalStatus | Base | required | Status for Condition | 📦1.0.0 | This IG |
| Condition.verificationStatus | Base | required | Verification Status for Condition | 📦1.0.0 | This IG |
| Condition.code | Base | extensible | Condition Code Value Set | 📦1.0.0 | This IG |
| Condition.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Condition.recorder.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Condition.stage.summary | Base | example | Condition Stage | 📦4.0.1 | FHIR Std. |
| Condition.stage.type | Base | example | Condition Stage Type | 📦4.0.1 | FHIR Std. |
| Condition.evidence.code | Base | preferred |
Clinical Finding
|
⏿1.0.2 | tx.ontoserver.csiro.au |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| condition-code-system | error | Condition.code | Condition.code codings must use SNOMED CT or Medtech ICPC2 Plus |
coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/icpc2plus-condition-resource')
|
| condition-note-length | error | Condition.note.text | Note - text size validation |
value.empty() or value.length() <= 4096
|
| 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 AUBaseCondition
Summary
Mandatory: 4 elements(1 nested mandatory element)
Must-Support: 17 elements
Prohibited: 11 elements
Extensions
This structure refers to these extensions:
Key Elements View
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.meta.security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG |
| Condition.clinicalStatus | Base | required | Status for Condition | 📦1.0.0 | This IG |
| Condition.verificationStatus | Base | required | Verification Status for Condition | 📦1.0.0 | This IG |
| Condition.code | Base | extensible | Condition Code Value Set | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| condition-code-system | error | Condition.code | Condition.code codings must use SNOMED CT or Medtech ICPC2 Plus |
coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/icpc2plus-condition-resource')
|
| condition-note-length | error | Condition.note.text | Note - text size validation |
value.empty() or value.length() <= 4096
|
| 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 AUBaseCondition
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.meta.security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG |
| Condition.clinicalStatus | Base | required | Status for Condition | 📦1.0.0 | This IG |
| Condition.verificationStatus | Base | required | Verification Status for Condition | 📦1.0.0 | This IG |
| Condition.code | Base | extensible | Condition Code Value Set | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| condition-code-system | error | Condition.code | Condition.code codings must use SNOMED CT or Medtech ICPC2 Plus |
coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/icpc2plus-condition-resource')
|
| condition-note-length | error | Condition.note.text | Note - text size validation |
value.empty() or value.length() <= 4096
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | AUBaseCondition | A condition, problem or diagnosis statement in an Australian healthcare context Constraints: con-3, con-4, con-5 |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required) |
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() |
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 | |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition |
![]() ![]() ![]() |
S | 1..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-bilateral |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | active | inactive Binding: Status for Condition (required) |
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | confirmed | provisional Binding: Verification Status for Condition (required) |
![]() ![]() |
SΣC | 0..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition Code Value Set (extensible) Constraints: condition-code-system |
![]() ![]() |
SΣ | 1..1 | Reference(Patient | Group) | Who has the condition? |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Reference to Patient resource |
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
Σ | 0..1 | string | External Name of Patient |
![]() ![]() |
SΣ | 0..1 | dateTime | Estimated or actual date, date-time, or age |
![]() ![]() |
SC | 0..1 | dateTime | When in resolution/remission |
![]() ![]() |
SΣ | 0..1 | dateTime | Date record was first recorded |
![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the condition |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Reference to Practitioner resource |
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
Σ | 0..1 | string | External Name of Practitioner |
![]() ![]() |
S | 0..1 | Annotation | Additional information about the Condition |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |
![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made |
![]() ![]() ![]() |
ΣC | 1..1 | markdown | The annotation - text content (as markdown) Constraints: condition-note-length |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.meta.security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG |
| Condition.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Condition.clinicalStatus | Base | required | Status for Condition | 📦1.0.0 | This IG |
| Condition.verificationStatus | Base | required | Verification Status for Condition | 📦1.0.0 | This IG |
| Condition.code | Base | extensible | Condition Code Value Set | 📦1.0.0 | This IG |
| Condition.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Condition.recorder.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Condition.stage.summary | Base | example | Condition Stage | 📦4.0.1 | FHIR Std. |
| Condition.stage.type | Base | example | Condition Stage Type | 📦4.0.1 | FHIR Std. |
| Condition.evidence.code | Base | preferred |
Clinical Finding
|
⏿1.0.2 | tx.ontoserver.csiro.au |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| condition-code-system | error | Condition.code | Condition.code codings must use SNOMED CT or Medtech ICPC2 Plus |
coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/icpc2plus-condition-resource')
|
| condition-note-length | error | Condition.note.text | Note - text size validation |
value.empty() or value.length() <= 4096
|
| 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 AUBaseCondition
Summary
Mandatory: 4 elements(1 nested mandatory element)
Must-Support: 17 elements
Prohibited: 11 elements
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron