Medtech ALEX® AU Implementation Guide
1.0.0 - Trial Use International flag

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

Resource Profile: Condition IPS Profile

Official URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-condition-ips Version: 1.0.0
Active as of 2025-10-09 Computable Name: AlexConditionIps

The Condition resource for IPS

Usages:

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* AlexCondition A condition, problem or diagnosis statement in an Australian healthcare context
Constraints: con-3, con-4, con-5
... meta Σ 0..1 Meta Metadata about the resource
.... lastUpdated SΣ 0..1 instant When the resource version last changed
.... security SΣ 1..1 Coding Security Labels applied to this resource
Binding: Definition of Confidentiality Value Set (required)
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:longTermCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition
.... extension:highlightCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition
.... extension:currentCondition S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current
.... extension:leftLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left
.... extension:rightLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right
.... extension:bilateralLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-bilateral
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... verificationStatus ?!SΣC 0..1 CodeableConcept confirmed | provisional
Binding: Verification Status for Condition (required)
... code SΣC 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition Code Value Set (extensible)
Constraints: condition-code-system
... subject SΣ 1..1 Reference(Patient | Group) Who has the condition?
... onset[x] SΣ 0..1 dateTime Estimated or actual date, date-time, or age
... abatement[x] SC 0..1 dateTime When in resolution/remission
... recordedDate SΣ 0..1 dateTime Date record was first recorded
... recorder SΣ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... note S 0..1 Annotation Additional information about the Condition
.... text ΣC 1..1 markdown The annotation - text content (as markdown)
Constraints: condition-note-length

doco Documentation for this format

Terminology Bindings

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

Constraints

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 AlexCondition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 0..* AlexCondition A condition, problem or diagnosis statement in an Australian healthcare context

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* AlexCondition A condition, problem or diagnosis statement in an Australian healthcare context
Constraints: con-3, con-4, con-5
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security SΣ 1..1 Coding Security Labels applied to this resource
Binding: Definition of Confidentiality Value Set (required)
.... tag Σ 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".
... 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
.... extension:longTermCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition
.... extension:highlightCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition
.... extension:currentCondition S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current
.... extension:leftLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left
.... extension:rightLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right
.... extension:bilateralLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-bilateral
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... clinicalStatus ?!SΣC 1..1 CodeableConcept active | inactive
Binding: Status for Condition (required)
... verificationStatus ?!SΣC 0..1 CodeableConcept confirmed | provisional
Binding: Verification Status for Condition (required)
... code SΣC 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition Code Value Set (extensible)
Constraints: condition-code-system
... subject SΣ 1..1 Reference(Patient | Group) Who has the condition?
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Reference to Patient resource
.... type Σ 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).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string External Name of Patient
... onset[x] SΣ 0..1 dateTime Estimated or actual date, date-time, or age
... abatement[x] SC 0..1 dateTime When in resolution/remission
... recordedDate SΣ 0..1 dateTime Date record was first recorded
... recorder SΣ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Reference to Practitioner resource
.... type Σ 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).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string External Name of Practitioner
... note S 0..1 Annotation Additional information about the Condition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text ΣC 1..1 markdown The annotation - text content (as markdown)
Constraints: condition-note-length

doco Documentation for this format

Terminology Bindings

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

Constraints

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 AlexCondition

Summary

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* AlexCondition A condition, problem or diagnosis statement in an Australian healthcare context
Constraints: con-3, con-4, con-5
... meta Σ 0..1 Meta Metadata about the resource
.... lastUpdated SΣ 0..1 instant When the resource version last changed
.... security SΣ 1..1 Coding Security Labels applied to this resource
Binding: Definition of Confidentiality Value Set (required)
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:longTermCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition
.... extension:highlightCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition
.... extension:currentCondition S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current
.... extension:leftLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left
.... extension:rightLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right
.... extension:bilateralLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-bilateral
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... verificationStatus ?!SΣC 0..1 CodeableConcept confirmed | provisional
Binding: Verification Status for Condition (required)
... code SΣC 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition Code Value Set (extensible)
Constraints: condition-code-system
... subject SΣ 1..1 Reference(Patient | Group) Who has the condition?
... onset[x] SΣ 0..1 dateTime Estimated or actual date, date-time, or age
... abatement[x] SC 0..1 dateTime When in resolution/remission
... recordedDate SΣ 0..1 dateTime Date record was first recorded
... recorder SΣ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... note S 0..1 Annotation Additional information about the Condition
.... text ΣC 1..1 markdown The annotation - text content (as markdown)
Constraints: condition-note-length

doco Documentation for this format

Terminology Bindings

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

Constraints

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 AlexCondition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 0..* AlexCondition A condition, problem or diagnosis statement in an Australian healthcare context

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* AlexCondition A condition, problem or diagnosis statement in an Australian healthcare context
Constraints: con-3, con-4, con-5
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security SΣ 1..1 Coding Security Labels applied to this resource
Binding: Definition of Confidentiality Value Set (required)
.... tag Σ 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".
... 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
.... extension:longTermCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition
.... extension:highlightCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition
.... extension:currentCondition S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current
.... extension:leftLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left
.... extension:rightLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right
.... extension:bilateralLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-bilateral
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... clinicalStatus ?!SΣC 1..1 CodeableConcept active | inactive
Binding: Status for Condition (required)
... verificationStatus ?!SΣC 0..1 CodeableConcept confirmed | provisional
Binding: Verification Status for Condition (required)
... code SΣC 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition Code Value Set (extensible)
Constraints: condition-code-system
... subject SΣ 1..1 Reference(Patient | Group) Who has the condition?
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Reference to Patient resource
.... type Σ 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).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string External Name of Patient
... onset[x] SΣ 0..1 dateTime Estimated or actual date, date-time, or age
... abatement[x] SC 0..1 dateTime When in resolution/remission
... recordedDate SΣ 0..1 dateTime Date record was first recorded
... recorder SΣ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Reference to Practitioner resource
.... type Σ 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).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string External Name of Practitioner
... note S 0..1 Annotation Additional information about the Condition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text ΣC 1..1 markdown The annotation - text content (as markdown)
Constraints: condition-note-length

doco Documentation for this format

Terminology Bindings

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

Constraints

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 AlexCondition

Summary

 

Other representations of profile: CSV, Excel, Schematron