Medtech ALEX® Implementation Guide
0.0.1 - draft International flag

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

Resource Profile: Condition IPS Profile

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

The Condition resource for IPS

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* AlexCondition 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
... meta Σ 0..1 Meta Metadata about the resource
ele-1: All FHIR elements must have a @value or children
.... lastUpdated SΣ 0..1 instant When the resource version last changed
ele-1: All FHIR elements must have a @value or children
.... security 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
... Slices for extension 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
.... longTermCondition 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
.... highlightCondition 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
.... currentCondition 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
.... leftLocation 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
.... rightLocation 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
.... bilateralLocation 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
... modifierExtension ?! 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
... verificationStatus ?!SΣC 1..1 CodeableConcept confirmed | provisional
Binding: Verification Status for Condition (required)
ele-1: All FHIR elements must have a @value or children
... code 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
... subject SΣ 1..1 Reference(Patient | Group) Who has the condition?
ele-1: All FHIR elements must have a @value or children
... onset[x] SΣ 1..1 dateTime Estimated or actual date, date-time, or age
ele-1: All FHIR elements must have a @value or children
... abatement[x] SC 0..1 dateTime When in resolution/remission
ele-1: All FHIR elements must have a @value or children
... recordedDate SΣ 0..1 dateTime Date record was first recorded
ele-1: All FHIR elements must have a @value or children
... recorder SΣ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
ele-1: All FHIR elements must have a @value or children
... note S 0..1 Annotation Additional information about the Condition
ele-1: All FHIR elements must have a @value or children
.... text Σ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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.meta.securityrequiredConfidentialityVS
https://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality
from this IG
Condition.clinicalStatusrequiredConditionStatus
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status
from this IG
Condition.verificationStatusrequiredConditionVerificationStatus
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status
from this IG
Condition.codeextensibleConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code
from this IG

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5errorConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
condition-note-lengtherrorCondition.note.textNote - text size validation
: value.empty() or value.length() <= 4096
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from AlexCondition

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

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* AlexCondition 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
... 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
.... longTermCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition
.... highlightCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition
.... currentCondition S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current
.... leftLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left
.... rightLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right
.... 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 1..1 CodeableConcept confirmed | provisional
Binding: Verification Status for Condition (required)
... code SΣ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition Code Value Set (extensible)
... 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Σ 1..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)
condition-note-length: Note - text size validation

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.meta.securityrequiredConfidentialityVS
https://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality
from this IG
Condition.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Condition.clinicalStatusrequiredConditionStatus
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status
from this IG
Condition.verificationStatusrequiredConditionVerificationStatus
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status
from this IG
Condition.codeextensibleConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code
from this IG
Condition.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Condition.recorder.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codepreferredClinicalFinding .
https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5errorConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
condition-note-lengtherrorCondition.note.textNote - text size validation
: value.empty() or value.length() <= 4096
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from AlexCondition

Summary

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* AlexCondition 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
... meta Σ 0..1 Meta Metadata about the resource
ele-1: All FHIR elements must have a @value or children
.... lastUpdated SΣ 0..1 instant When the resource version last changed
ele-1: All FHIR elements must have a @value or children
.... security 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
... Slices for extension 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
.... longTermCondition 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
.... highlightCondition 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
.... currentCondition 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
.... leftLocation 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
.... rightLocation 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
.... bilateralLocation 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
... modifierExtension ?! 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
... verificationStatus ?!SΣC 1..1 CodeableConcept confirmed | provisional
Binding: Verification Status for Condition (required)
ele-1: All FHIR elements must have a @value or children
... code 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
... subject SΣ 1..1 Reference(Patient | Group) Who has the condition?
ele-1: All FHIR elements must have a @value or children
... onset[x] SΣ 1..1 dateTime Estimated or actual date, date-time, or age
ele-1: All FHIR elements must have a @value or children
... abatement[x] SC 0..1 dateTime When in resolution/remission
ele-1: All FHIR elements must have a @value or children
... recordedDate SΣ 0..1 dateTime Date record was first recorded
ele-1: All FHIR elements must have a @value or children
... recorder SΣ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
ele-1: All FHIR elements must have a @value or children
... note S 0..1 Annotation Additional information about the Condition
ele-1: All FHIR elements must have a @value or children
.... text Σ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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.meta.securityrequiredConfidentialityVS
https://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality
from this IG
Condition.clinicalStatusrequiredConditionStatus
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status
from this IG
Condition.verificationStatusrequiredConditionVerificationStatus
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status
from this IG
Condition.codeextensibleConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code
from this IG

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5errorConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
condition-note-lengtherrorCondition.note.textNote - text size validation
: value.empty() or value.length() <= 4096
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from AlexCondition

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

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* AlexCondition 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
... 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
.... longTermCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/long-term-condition
.... highlightCondition S 1..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/highlight-condition
.... currentCondition S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-current
.... leftLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-left
.... rightLocation S 0..1 boolean Extension
URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/condition-location-right
.... 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 1..1 CodeableConcept confirmed | provisional
Binding: Verification Status for Condition (required)
... code SΣ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition Code Value Set (extensible)
... 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Σ 1..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)
condition-note-length: Note - text size validation

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.meta.securityrequiredConfidentialityVS
https://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality
from this IG
Condition.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Condition.clinicalStatusrequiredConditionStatus
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-status
from this IG
Condition.verificationStatusrequiredConditionVerificationStatus
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-ver-status
from this IG
Condition.codeextensibleConditionCode (a valid code from ICPC2 Plus CodeSystem for Condition)
https://alexapi.medtechglobal.com.au/fhir/ValueSet/condition-code
from this IG
Condition.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Condition.recorder.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codepreferredClinicalFinding .
https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5errorConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
condition-note-lengtherrorCondition.note.textNote - text size validation
: value.empty() or value.length() <= 4096
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from AlexCondition

Summary

 

Other representations of profile: CSV, Excel, Schematron