Medtech ALEX® Implementation Guide - Local Development build (v0.0.1) 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: 0.0.1 | |||
Active as of 2025-01-20 | Computable Name: AlexCondition |
The Condition resource exposed by ALEX
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AUBaseCondition | A condition, problem or diagnosis statement in an Australian healthcare context con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management |
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
S | 1..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 1..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-bilateral ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | active | inactive Binding: Status for Condition (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | confirmed | provisional Binding: Verification Status for Condition (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition Code Value Set (extensible) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Patient | Group) | Who has the condition? ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Reference to Patient resource ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | External Name of Patient ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Estimated or actual date, date-time, or age ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SC | 0..1 | dateTime | When in resolution/remission ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date record was first recorded ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the condition ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Reference to Practitioner resource ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | External Name of Practitioner ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..1 | Annotation | Additional information about the Condition ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | markdown | The annotation - text content (as markdown) ele-1: All FHIR elements must have a @value or children condition-note-length: Note - text size validation |
![]() |
Path | Conformance | ValueSet | URI |
Condition.meta.security | required | ConfidentialityVShttps://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality from this IG | |
Condition.clinicalStatus | required | ConditionStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status from this IG | |
Condition.verificationStatus | required | ConditionVerificationStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status from this IG | |
Condition.code | extensible | ConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code from this IG |
Id | Grade | Path(s) | Details | Requirements |
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-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 | Conformance | ValueSet | URI |
Condition.meta.security | required | ConfidentialityVShttps://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality from this IG | |
Condition.clinicalStatus | required | ConditionStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status from this IG | |
Condition.verificationStatus | required | ConditionVerificationStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status from this IG | |
Condition.code | extensible | ConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code from this IG |
Id | Grade | Path(s) | Details | Requirements |
condition-note-length | error | Condition.note.text | Note - text size validation : value.empty() or value.length() <= 4096 |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AUBaseCondition | A condition, problem or diagnosis statement in an Australian healthcare context con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error |
![]() ![]() ![]() |
Σ | 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 | |
![]() ![]() ![]() |
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 | 1..1 | CodeableConcept | confirmed | provisional Binding: Verification Status for Condition (required) |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition Code Value Set (extensible) |
![]() ![]() ![]() |
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Σ | 1..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) condition-note-length: Note - text size validation |
![]() |
Path | Conformance | ValueSet | URI |
Condition.meta.security | required | ConfidentialityVShttps://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality from this IG | |
Condition.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tags from the FHIR Standard | |
Condition.clinicalStatus | required | ConditionStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status from this IG | |
Condition.verificationStatus | required | ConditionVerificationStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status from this IG | |
Condition.code | extensible | ConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code from this IG | |
Condition.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
Condition.recorder.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stage from the FHIR Standard | |
Condition.stage.type | example | ConditionStageTypehttp://hl7.org/fhir/ValueSet/condition-stage-type from the FHIR Standard | |
Condition.evidence.code | preferred | ClinicalFinding ![]() https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1 |
Id | Grade | Path(s) | Details | Requirements |
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-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: 7 elements(1 nested mandatory element)
Must-Support: 17 elements
Prohibited: 11 elements
Extensions
This structure refers to these extensions:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AUBaseCondition | A condition, problem or diagnosis statement in an Australian healthcare context con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management |
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
S | 1..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 1..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-bilateral ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | active | inactive Binding: Status for Condition (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | confirmed | provisional Binding: Verification Status for Condition (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition Code Value Set (extensible) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Patient | Group) | Who has the condition? ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Reference to Patient resource ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | External Name of Patient ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Estimated or actual date, date-time, or age ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SC | 0..1 | dateTime | When in resolution/remission ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date record was first recorded ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the condition ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Reference to Practitioner resource ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | External Name of Practitioner ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..1 | Annotation | Additional information about the Condition ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | markdown | The annotation - text content (as markdown) ele-1: All FHIR elements must have a @value or children condition-note-length: Note - text size validation |
![]() |
Path | Conformance | ValueSet | URI |
Condition.meta.security | required | ConfidentialityVShttps://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality from this IG | |
Condition.clinicalStatus | required | ConditionStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status from this IG | |
Condition.verificationStatus | required | ConditionVerificationStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status from this IG | |
Condition.code | extensible | ConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code from this IG |
Id | Grade | Path(s) | Details | Requirements |
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-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 | Conformance | ValueSet | URI |
Condition.meta.security | required | ConfidentialityVShttps://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality from this IG | |
Condition.clinicalStatus | required | ConditionStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status from this IG | |
Condition.verificationStatus | required | ConditionVerificationStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status from this IG | |
Condition.code | extensible | ConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code from this IG |
Id | Grade | Path(s) | Details | Requirements |
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![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AUBaseCondition | A condition, problem or diagnosis statement in an Australian healthcare context con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error |
![]() ![]() ![]() |
Σ | 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 | |
![]() ![]() ![]() |
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 | 1..1 | CodeableConcept | confirmed | provisional Binding: Verification Status for Condition (required) |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition Code Value Set (extensible) |
![]() ![]() ![]() |
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Σ | 1..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) condition-note-length: Note - text size validation |
![]() |
Path | Conformance | ValueSet | URI |
Condition.meta.security | required | ConfidentialityVShttps://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality from this IG | |
Condition.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tags from the FHIR Standard | |
Condition.clinicalStatus | required | ConditionStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status from this IG | |
Condition.verificationStatus | required | ConditionVerificationStatushttps://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status from this IG | |
Condition.code | extensible | ConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code from this IG | |
Condition.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
Condition.recorder.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stage from the FHIR Standard | |
Condition.stage.type | example | ConditionStageTypehttp://hl7.org/fhir/ValueSet/condition-stage-type from the FHIR Standard | |
Condition.evidence.code | preferred | ClinicalFinding ![]() https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1 |
Id | Grade | Path(s) | Details | Requirements |
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-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: 7 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