Condition (MY Core)

Defining URL http://fhir.hie.moh.gov.my/StructureDefinition/Condition-my-core
Version 1.0.0
Name ConditionMyCore
Definition A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.
Title Condition (MY Core)
Status Active as of 11-3-2022
Publisher Malaysia MOH - HIE Steering Committee
Copyright Used by permission of HL7 International, all rights reserved Creative Commons License

Condition
DefinitionA clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.
Cardinality0...*
Invariants
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-4: 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-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
    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-6: A resource should have narrative for robust management
    text.`div`.exists()
  • dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • con-5: 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()
  • con-4: 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-3: 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()
Mappings
  • rim: Entity. Role, or Act
  • workflow: Event
  • sct-concept: < 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)
  • v2: PPR message
  • rim: Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]
Condition.id
DefinitionThe logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Cardinality0...1
Typestring
SummaryTrue
Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Condition.meta
DefinitionThe metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
Cardinality0...1
TypeMeta
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Condition.implicitRules
DefinitionA reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
Cardinality0...1
Typeuri
ModifierTrue
SummaryTrue
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Condition.language
DefinitionThe base language in which the resource is written.
Cardinality0...1
Typecode
Binding

A human language.

CommonLanguages (preferred)
Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Condition.text
DefinitionA human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
Cardinality0...1
TypeNarrative
Aliasnarrative, html, xhtml, display
Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • rim: Act.text?
Condition.contained
DefinitionThese resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
Cardinality0...*
TypeResource
Aliasinline resources, anonymous resources, contained resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.

Mappings
  • rim: Entity. Role, or Act
  • rim: N/A
Condition.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.extension:audit
DefinitionExtension of the individual who recorded and updated the date
Cardinality0...1
TypeExtension(Complex)
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
Aliasextensions, user content
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.identifier
DefinitionBusiness identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
Cardinality0...*
TypeIdentifier
SummaryTrue
Requirements

Allows identification of the condition as it is known by various participating systems and in a way that remains consistent across servers.

Comments

This is a business identifier, not a resource identifier (see discussion). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • workflow: Event.identifier
  • w5: FiveWs.identifier
  • rim: .id
Condition.clinicalStatus
DefinitionThe clinical status of the condition.
Cardinality0...1
TypeCodeableConcept
Binding

The clinical status of the condition or diagnosis.

ConditionClinicalStatusCodes (required)
ModifierTrue
SummaryTrue
Comments

The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Event.status
  • w5: FiveWs.status
  • sct-concept: < 303105007 |Disease phases|
  • v2: PRB-14
  • rim: Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="clinicalStatus", moodCode=EVN].value
Condition.verificationStatus
DefinitionThe verification status to support the clinical status of the condition.
Cardinality0...1
TypeCodeableConcept
Binding

The verification status to support or decline the clinical status of the condition or diagnosis.

ConditionVerificationStatus (required)
ModifierTrue
SummaryTrue
Comments

verificationStatus is not required. For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status. The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Event.status
  • w5: FiveWs.status
  • sct-concept: < 410514004 |Finding context value|
  • v2: PRB-13
  • rim: Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="verificationStatus", moodCode=EVN].value
  • sct-attr: 408729009
Condition.category
DefinitionA category assigned to the condition.
Cardinality1...1
TypeCodeableConcept
Binding

A category assigned to the condition.

ValueSetConditionCategoryMyCore (required)
Comments

The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • w5: FiveWs.class
  • sct-concept: < 404684003 |Clinical finding|
  • v2: 'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message
  • rim: .code
Condition.severity
DefinitionA subjective assessment of the severity of the condition as evaluated by the clinician.
Cardinality0...1
TypeCodeableConcept
Binding

A subjective assessment of the severity of the condition as evaluated by the clinician.

Condition/DiagnosisSeverity (preferred)
Comments

Coding of the severity with a terminology is preferred, where possible.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • w5: FiveWs.grade
  • sct-concept: < 272141005 |Severities|
  • v2: PRB-26 / ABS-3
  • rim: Can be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="severity"].value
  • sct-attr: 246112005
Condition.code
DefinitionIdentification of the condition, problem or diagnosis.
Cardinality0...1
TypeCodeableConcept
Binding

Identification of the condition or diagnosis.

Condition/Problem/DiagnosisCodes (example)
SummaryTrue
Aliastype
Requirements

0..1 to account for primarily narrative only resources.

Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Event.code
  • w5: FiveWs.what[x]
  • sct-concept: code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS << 420134006 |Propensity to adverse reactions| MINUS << 473010000 |Hypersensitivity condition| MINUS << 79899007 |Drug interaction| MINUS << 69449002 |Drug action| MINUS << 441742003 |Evaluation finding| MINUS << 307824009 |Administrative status| MINUS << 385356007 |Tumor stage finding|) OR < 413350009 |Finding with explicit context| OR < 272379006 |Event|
  • v2: PRB-3
  • rim: .value
  • sct-attr: 246090004
Condition.code.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Condition.code.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.code.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
Condition.code.coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Condition.code.coding.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.code.coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Condition.code.coding.version
DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
Cardinality0...1
Typestring
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
Condition.code.coding.code
DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Cardinality1...1
Typecode
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
Condition.code.coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality1...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
Condition.code.coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
Condition.code.text
DefinitionA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
Cardinality1...1
Typestring
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
Condition.bodySite
DefinitionThe anatomical location where this condition manifests itself.
Cardinality0...*
TypeCodeableConcept
Binding

Codes describing anatomical locations. May include laterality.

SNOMEDCTBodyStructures (example)
SummaryTrue
Comments

Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension bodySite. May be a summary code, or a reference to a very precise definition of the location, or both.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • sct-concept: < 442083009 |Anatomical or acquired body structure|
  • rim: .targetBodySiteCode
  • sct-attr: 363698007
Condition.subject
DefinitionIndicates the patient or group who the condition record is associated with.
Cardinality1...1
TypeReference(Patient | Group)
SummaryTrue
Aliaspatient
Requirements

Group is typically used for veterinary or public health use cases.

Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • workflow: Event.subject
  • w5: FiveWs.subject[x]
  • v2: PID-3
  • rim: .participation[typeCode=SBJ].role[classCode=PAT]
  • w5: FiveWs.subject
Condition.encounter
DefinitionThe Encounter during which this Condition was created or to which the creation of this record is tightly associated.
Cardinality0...1
TypeReference(Encounter)
SummaryTrue
Comments

This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. This record indicates the encounter this particular record is associated with. In the case of a "new" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first "known".

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • workflow: Event.context
  • w5: FiveWs.context
  • v2: PV1-19 (+PV1-54)
  • rim: .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
Condition.onset[x]
DefinitionEstimated or actual date or date-time the condition began, in the opinion of the clinician.
Cardinality0...1
TypedateTime
SummaryTrue
Comments

Age is generally used when the patient reports an age at which the Condition began to occur.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Event.occurrence[x]
  • w5: FiveWs.init
  • v2: PRB-16
  • rim: .effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at onset"].value
Condition.abatement[x]
DefinitionThe date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.
Cardinality0...1
TypedateTime
Comments

There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated. If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid. When abatementString exists, it implies the condition is abated.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • w5: FiveWs.done[x]
  • rim: .effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at remission"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed
Condition.recordedDate
DefinitionThe recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.
Cardinality0...1
TypedateTime
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • w5: FiveWs.recorded
  • v2: REL-11
  • rim: .participation[typeCode=AUT].time
Condition.recorder
DefinitionIndividual who recorded the record and takes responsibility for its content.
Cardinality0...1
TypeReference(Practitioner | PractitionerRole | Patient | RelatedPerson)
SummaryTrue
Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • w5: FiveWs.author
  • rim: .participation[typeCode=AUT].role
Condition.asserter
DefinitionIndividual who is making the condition statement.
Cardinality0...1
TypeReference(Practitioner | PractitionerRole | Patient | RelatedPerson)
SummaryTrue
Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • w5: FiveWs.source
  • v2: REL-7.1 identifier + REL-7.12 type code
  • rim: .participation[typeCode=INF].role
Condition.stage
DefinitionClinical stage or grade of a condition. May include formal severity assessments.
Cardinality0...*
TypeBackboneElement
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • con-1: Stage SHALL have summary or assessment
    summary.exists() or assessment.exists()
Mappings
  • rim: n/a
  • rim: ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage/grade"]
Condition.stage.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Condition.stage.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.stage.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.stage.summary
DefinitionA simple summary of the stage such as "Stage 3". The determination of the stage is disease-specific.
Cardinality0...1
TypeCodeableConcept
Binding

Codes describing condition stages (e.g. Cancer stages).

ConditionStage (example)
Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • sct-concept: < 254291000 |Staging and scales|
  • v2: PRB-14
  • rim: .value
Condition.stage.assessment
DefinitionReference to a formal record of the evidence on which the staging assessment is based.
Cardinality0...*
TypeReference(ClinicalImpression | DiagnosticReport | Observation)
Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • rim: .self
Condition.stage.type
DefinitionThe kind of staging, such as pathological or clinical staging.
Cardinality0...1
TypeCodeableConcept
Binding

Codes describing the kind of condition staging (e.g. clinical or pathological).

ConditionStageType (example)
Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • rim: ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage type"]
Condition.evidence
DefinitionSupporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.
Cardinality0...*
TypeBackboneElement
Comments

The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • con-2: evidence SHALL have code or details
    code.exists() or detail.exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]
Condition.evidence.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Condition.evidence.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.evidence.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.evidence.code
DefinitionA manifestation or symptom that led to the recording of this condition.
Cardinality0...*
TypeCodeableConcept
Binding

Codes that describe the manifestation or symptoms of a condition.

ManifestationAndSymptomCodes (example)
SummaryTrue
Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Event.reasonCode
  • w5: FiveWs.why[x]
  • sct-concept: < 404684003 |Clinical finding|
  • rim: [code="diagnosis"].value
Condition.evidence.detail
DefinitionLinks to other relevant information, including pathology reports.
Cardinality0...*
TypeReference(Resource)
SummaryTrue
Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • w5: FiveWs.why[x]
  • rim: .self
Condition.note
DefinitionAdditional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
Cardinality0...*
TypeAnnotation
Comments

For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. Annotations SHOULD NOT be used to communicate "modifying" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: Act
  • workflow: Event.note
  • v2: NTE child of PRB
  • rim: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
Condition.note.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Condition.note.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Condition.note.author[x]
DefinitionThe individual responsible for making the annotation.
Cardinality0...1
TypeReference(Practitioner | Patient | RelatedPerson | Organization | http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner)
SummaryTrue
Comments

Organization is used when there's no need for specific attribution as to who made the comment.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: Act.participant[typeCode=AUT].role
Condition.note.time
DefinitionIndicates when this particular annotation was made.
Cardinality0...1
TypedateTime
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: Act.effectiveTime
Condition.note.text
DefinitionThe text of the annotation in markdown format.
Cardinality1...1
Typemarkdown
SummaryTrue
Comments

Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: Act.text

example-condition-comorbidities

example-condition-encounter-diagnosis

example-condition-death-diagnosis

example-condition-dental-alert-1

example-condition-dental-alert-2

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="Condition-my-core" />
    <meta>
        <versionId value="1" />
        <lastUpdated value="2024-03-06T09:34:02.0518571+00:00" />
    </meta>
    <text>
        <status value="generated" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <url value="http://fhir.hie.moh.gov.my/StructureDefinition/Condition-my-core" />
    <version value="1.0.0" />
    <name value="ConditionMyCore" />
    <title value="Condition (MY Core)" />
    <status value="active" />
    <date value="2024-03-13T01:41:41.3395961+00:00" />
    <publisher value="Malaysia MOH - HIE Steering Committee" />
    <description value="This profile represents the constraints applied to the Condition resource by MY Core FHIR Implementation Guide and describes the minimum expectations for the Patient resource when used in the MY Core composition or in one of the referred resources." />
    <fhirVersion value="4.0.1" />
    <kind value="resource" />
    <abstract value="false" />
    <type value="Condition" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <derivation value="constraint" />
    <differential>
        <element id="Condition.extension:audit">
            <path value="Condition.extension" />
            <sliceName value="audit" />
            <short value="Extension of the individual who recorded and updated the date" />
            <definition value="Extension of the individual who recorded and updated the date" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core" />
            </type>
            <isModifier value="false" />
        </element>
        <element id="Condition.category">
            <path value="Condition.category" />
            <min value="1" />
            <max value="1" />
            <binding>
                <strength value="required" />
                <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/condition-category-my-core" />
            </binding>
        </element>
        <element id="Condition.code.coding.code">
            <path value="Condition.code.coding.code" />
            <min value="1" />
        </element>
        <element id="Condition.code.coding.display">
            <path value="Condition.code.coding.display" />
            <min value="1" />
        </element>
        <element id="Condition.code.text">
            <path value="Condition.code.text" />
            <min value="1" />
        </element>
        <element id="Condition.note.author[x]">
            <path value="Condition.note.author[x]" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
                <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" />
                <aggregation value="referenced" />
            </type>
            <type>
                <code value="string" />
            </type>
        </element>
    </differential>
</StructureDefinition>

{
    "resourceType": "StructureDefinition",
    "id": "Condition-my-core",
    "meta": {
        "versionId": "1",
        "lastUpdated": "2024-03-06T09:34:02.0518571+00:00"
    },
    "text": {
        "status": "generated",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "url": "http://fhir.hie.moh.gov.my/StructureDefinition/Condition-my-core",
    "version": "1.0.0",
    "name": "ConditionMyCore",
    "title": "Condition (MY Core)",
    "status": "active",
    "date": "2024-03-13T01:41:41.3395961+00:00",
    "publisher": "Malaysia MOH - HIE Steering Committee",
    "description": "This profile represents the constraints applied to the Condition resource by MY Core FHIR Implementation Guide and describes the minimum expectations for the Patient resource when used in the MY Core composition or in one of the referred resources.",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "Condition",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Condition.extension:audit",
                "path": "Condition.extension",
                "sliceName": "audit",
                "short": "Extension of the individual who recorded and updated the date",
                "definition": "Extension of the individual who recorded and updated the date",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core"
                        ]
                    }
                ],
                "isModifier": false
            },
            {
                "id": "Condition.category",
                "path": "Condition.category",
                "min": 1,
                "max": "1",
                "binding": {
                    "strength": "required",
                    "valueSet": "http://fhir.hie.moh.gov.my/ValueSet/condition-category-my-core"
                }
            },
            {
                "id": "Condition.code.coding.code",
                "path": "Condition.code.coding.code",
                "min": 1
            },
            {
                "id": "Condition.code.coding.display",
                "path": "Condition.code.coding.display",
                "min": 1
            },
            {
                "id": "Condition.code.text",
                "path": "Condition.code.text",
                "min": 1
            },
            {
                "id": "Condition.note.author[x]",
                "path": "Condition.note.author[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://hl7.org/fhir/StructureDefinition/Practitioner",
                            "http://hl7.org/fhir/StructureDefinition/Patient",
                            "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                            "http://hl7.org/fhir/StructureDefinition/Organization",
                            "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"
                        ],
                        "aggregation":  [
                            "referenced"
                        ]
                    },
                    {
                        "code": "string"
                    }
                ]
            }
        ]
    }
}

Snapshot

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
auditI0..1Extension(Complex)
modifierExtension?! I0..*Extension
identifierΣ0..*Identifier
clinicalStatusΣ ?! I0..1CodeableConceptBinding
verificationStatusΣ ?! I0..1CodeableConceptBinding
category1..1CodeableConceptBinding
severity0..1CodeableConceptBinding
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..1boolean
textΣ1..1string
bodySiteΣ0..*CodeableConcept
subjectΣ I1..1Reference(Patient | Group)
encounterΣ I0..1Reference(Encounter)
onsetDateTimedateTime
onsetAgeAge
onsetPeriodPeriod
onsetRangeRange
onsetStringstring
abatementDateTimedateTime
abatementAgeAge
abatementPeriodPeriod
abatementRangeRange
abatementStringstring
recordedDateΣ0..1dateTime
recorderΣ I0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)
asserterΣ I0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
summaryI0..1CodeableConcept
assessmentI0..*Reference(ClinicalImpression | DiagnosticReport | Observation)
type0..1CodeableConcept
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
codeΣ I0..*CodeableConcept
detailΣ I0..*Reference(Resource)
id0..1string
extensionI0..*Extension
authorStringstring
authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization | http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner)
timeΣ0..1dateTime
textΣ1..1markdown

Diff

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
auditI0..1Extension(Complex)
modifierExtension?! I0..*Extension
identifierΣ0..*Identifier
clinicalStatusΣ ?! I0..1CodeableConceptBinding
verificationStatusΣ ?! I0..1CodeableConceptBinding
category1..1CodeableConceptBinding
severity0..1CodeableConceptBinding
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..1boolean
textΣ1..1string
bodySiteΣ0..*CodeableConcept
subjectΣ I1..1Reference(Patient | Group)
encounterΣ I0..1Reference(Encounter)
onsetDateTimedateTime
onsetAgeAge
onsetPeriodPeriod
onsetRangeRange
onsetStringstring
abatementDateTimedateTime
abatementAgeAge
abatementPeriodPeriod
abatementRangeRange
abatementStringstring
recordedDateΣ0..1dateTime
recorderΣ I0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)
asserterΣ I0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
summaryI0..1CodeableConcept
assessmentI0..*Reference(ClinicalImpression | DiagnosticReport | Observation)
type0..1CodeableConcept
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
codeΣ I0..*CodeableConcept
detailΣ I0..*Reference(Resource)
id0..1string
extensionI0..*Extension
authorStringstring
authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization | http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner)
timeΣ0..1dateTime
textΣ1..1markdown

Hybrid

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
auditI0..1Extension(Complex)
modifierExtension?! I0..*Extension
identifierΣ0..*Identifier
clinicalStatusΣ ?! I0..1CodeableConceptBinding
verificationStatusΣ ?! I0..1CodeableConceptBinding
category1..1CodeableConceptBinding
severity0..1CodeableConceptBinding
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..1boolean
textΣ1..1string
bodySiteΣ0..*CodeableConcept
subjectΣ I1..1Reference(Patient | Group)
encounterΣ I0..1Reference(Encounter)
onsetDateTimedateTime
onsetAgeAge
onsetPeriodPeriod
onsetRangeRange
onsetStringstring
abatementDateTimedateTime
abatementAgeAge
abatementPeriodPeriod
abatementRangeRange
abatementStringstring
recordedDateΣ0..1dateTime
recorderΣ I0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)
asserterΣ I0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
summaryI0..1CodeableConcept
assessmentI0..*Reference(ClinicalImpression | DiagnosticReport | Observation)
type0..1CodeableConcept
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
codeΣ I0..*CodeableConcept
detailΣ I0..*Reference(Resource)
id0..1string
extensionI0..*Extension
authorStringstring
authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization | http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner)
timeΣ0..1dateTime
textΣ1..1markdown

This profile is derived from the base FHIR Condition resource.

Requirements

This structure defines these element as mandatory requirement:

  1. A category (category)
  2. The code code.coding.code, code.coding.display and code.text must all exist.
    • The code system code.coding.system is not specified as it may be of ICD-10, ICD-11 or other local or international code system. Currently HIE scope is to allow Continuation Of Care (COC) between facility (record sharing) as one of the main functional priority indiscriminate of code system.
  3. A subject referenced (subject)

Extension

This structure includes the following extension:

  1. ExtensionAudit (MY Core)

Type of Condition

Currently there are 4 different types of condition defined in HIE;

The category is defined from category e.g.: condition.coding.code="problem-list-item"

Comorbidities

In clinical context, the term "comorbid" has three definitions:

In HIE context, comorbidities are condition that are independant of an encounter e.g. a chronic illness such as diabetes mellitus or asthma that clinician should take into consideration when attending a despite not being the main condition of the patient visit

Condition defined as comorbidities requires:

  1. The category as "problem-list-item" category.coding.code="problem-list-item" where category.coding.system="http://terminology.hl7.org/CodeSystem/condition-category".
  2. The code code.coding.code, code.coding.display and code.text must all exist.
  3. A subject referenced (subject).
Comorbidities Sample Data

{
    "resourceType": "Condition",
    "id": "example-condition-pl",
    "meta": {
        "source": "http://provider.hie.moh.gov.my",
        "profile":  [
            "http://fhir.hie.moh.gov.my/StructureDefinition/Condition-my-core"
        ]
    },
    "extension":  [
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core",
            "extension":  [
                {
                    "url": "lastUpdater",
                    "valueReference": {
                        "display": "SAIFULDAULAH BIN MOHD HAFIZ NGOO"
                    }
                }
            ]
        }
    ],
    "clinicalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                "code": "active",
                "display": "Active"
            }
        ]
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/condition-category",
                    "code": "problem-list-item",
                    "display": "Comorbidities Item"
                }
            ]
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://id.who.int/icd/entity/119724091",
                "code": "5A11",
                "display": "Type 2 diabetes mellitus"
            }
        ],
        "text": "Type 2 diabetes mellitus"
    },
    "subject": {
        "reference": "Patient/219ac63e-91c7-4db8-93ab-4c9892ecbfb6"
    },
    "recordedDate": "2023-09-12T13:23:45+08:00",
    "recorder": {
        "type": "PractitionerRole",
        "display": "SAIFULDAULAH BIN MOHD HAFIZ NGOO"
    },
    "note":  [
        {
            "authorReference": {
                "display": "SAIFULDAULAH BIN MOHD HAFIZ NGOO"
            },
            "time": "2023-09-12T13:23:45+08:00",
            "text": "<p>Patient on OHA x2years</p><p><br></p><p>T metformin 2tab BD</p>"
        }
    ]
}

Encounter Diagnosis

FHIR defines Encounter Diagnosis as a point in time diagnosis (e.g. from a physician or nurse) in context of an encounter.

Condition defined as encounter diagnosis requires:

  1. The category as "encounter-diagnosis" category.coding.code="encounter-diagnosis" where category.coding.system="http://terminology.hl7.org/CodeSystem/condition-category".
  2. The code code.coding.code, code.coding.display and code.text must all exist.
  3. A subject referenced (subject).
  4. An encounter referenced (encounter).

As encounter diagnosis Condition is directly related to an Encounter, the related Encounter is required to:

  1. Reference the Condition Encounter.diagnosis.condition.reference.
  2. Define the role of the Condition in relation to the Diagnosis Encounter.diagnosis.use.coding.code based on CodeSystemDiagnosisRole (MY Core).
  3. If multiple Encounter Diagnosis exist, each condition will be an array of its own under Encounter.diagnosis
Encounter Diagnosis Sample Data

{
    "resourceType": "Condition",
    "id": "example-condition-ed",
    "meta": {
        "source": "http://provider.hie.moh.gov.my",
        "profile":  [
            "http://fhir.hie.moh.gov.my/StructureDefinition/Condition-my-core"
        ]
    },
    "extension":  [
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core",
            "extension":  [
                {
                    "url": "lastUpdater",
                    "valueReference": {
                        "display": "LIANA"
                    }
                }
            ]
        }
    ],
    "clinicalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                "code": "active",
                "display": "active"
            }
        ]
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/condition-category",
                    "code": "encounter-diagnosis",
                    "display": "Encounter Diagnosis"
                }
            ]
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://id.who.int/icd/release/11/2022-02/mms/383352795",
                "code": "1D47",
                "display": "Yellow fever"
            }
        ],
        "text": "Yellow fever"
    },
    "subject": {
        "reference": "Patient/1725cc06-9544-4a10-b8e7-6fe5506d4749"
    },
    "encounter": {
        "reference": "Encounter/d3162b1f-8a23-46ec-a881-b2c02f63014e"
    },
    "recordedDate": "2023-09-18T15:25:00.000+08:00",
    "recorder": {
        "display": "LIANA"
    }
}

Death Diagnosis

Death Diagnosis is similar to Encounter Diagnosis in that it is related to an encounter point in time diagnosis, however it is more specific to the Condition leading to the mortality of a patient.

Condition defined as death diagnosis requires:

  1. The category as "death-certificate" category.coding.code="death-certificate" where category.coding.system="http://fhir.hie.moh.gov.my/CodeSystem/condition-category-my-core"
  2. The code code.coding.code, code.coding.display and code.text must all exist.
  3. A subject referenced (subject).
  4. An encounter referenced (encounter).

As death diagnosis Condition is directly related to an Encounter, the related Encounter is required to:

  1. Reference the Condition Encounter.diagnosis.condition.reference.
  2. Define the role of the Condition in relation to the Diagnosis Encounter.diagnosis.use.coding.code based on CodeSystemDiagnosisRole (MY Core).
  3. If multiple Encounter Diagnosis exist, each condition will be an array of its own under Encounter.diagnosis
Death Diagnosis Sample Data

{
    "resourceType": "Condition",
    "id": "example-condition-dd",
    "meta": {
        "versionId": "1",
        "lastUpdated": "2023-09-18T15:29:16.678+08:00",
        "source": "http://provider.hie.moh.gov.my",
        "profile":  [
            "http://fhir.hie.moh.gov.my/StructureDefinition/Condition-my-core"
        ]
    },
    "text": {
        "status": "generated",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "extension":  [
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core",
            "extension":  [
                {
                    "url": "lastUpdater",
                    "valueReference": {
                        "display": "PUTERI NAJWA NABILA"
                    }
                }
            ]
        }
    ],
    "clinicalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                "code": "active",
                "display": "Active"
            }
        ]
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://fhir.hie.moh.gov.my/CodeSystem/condition-category-my-core",
                    "code": "death-certificate",
                    "display": "Death Diagnosis"
                }
            ]
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://id.who.int/icd/release/11/2022-02/mms/2024855916",
                "code": "RA02",
                "display": "Post COVID-19 condition"
            }
        ],
        "text": "Post COVID-19 condition"
    },
    "subject": {
        "reference": "Patient/b369e20b-9c3a-4e4e-9b0e-c51ea28a09d8"
    },
    "encounter": {
        "reference": "Encounter/b2b7f688-6bc4-4356-84e8-2937df057a1a"
    },
    "recordedDate": "2023-09-18T11:06:00.000+08:00",
    "recorder": {
        "display": "PUTERI NAJWA NABILA"
    }
}

Dental Alert

Dental Alert are related to Condition that are highlighted/alerted by the Dental clinicians during their review. It is independant of an Encounter

Condition defined as dental alert requires:

  1. The category as "dental-alert" category.coding.code="dental-alert" where category.coding.system="http://fhir.hie.moh.gov.my/CodeSystem/condition-category-my-core"
  2. Another category with the code based on any of the defined CodeSystemDentalAlertCode (MY Core).
  3. If the category is "dental-history" with category.system="http://fhir.hie.moh.gov.my/CodeSystem/dental-alert-code-my-core" , then code.coding.code must be based of CodeSystemDentalHistoryAlert (MY Core) with code.coding.system="http://fhir.hie.moh.gov.my/CodeSystem/dental-history-alert-my-core"
  4. The code text code.text must exist.
  5. A subject referenced (subject).
Dental Alert Sample Data 1

{
    "resourceType": "Condition",
    "id": "example-condition-da-1",
    "meta": {
        "source": "http://provider.hie.moh.gov.my",
        "profile":  [
            "http://fhir.hie.moh.gov.my/StructureDefinition/Condition-my-core"
        ]
    },
    "extension":  [
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core",
            "extension":  [
                {
                    "url": "lastUpdater",
                    "valueReference": {
                        "display": "LIANA"
                    }
                }
            ]
        }
    ],
    "clinicalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                "code": "active",
                "display": "Active"
            }
        ]
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://fhir.hie.moh.gov.my/CodeSystem/condition-category-my-core",
                    "code": "dental-alert",
                    "display": "Dental Alert"
                }
            ]
        },
        {
            "coding":  [
                {
                    "system": "http://fhir.hie.moh.gov.my/CodeSystem/dental-alert-code-my-core",
                    "code": "dental-history",
                    "display": "Dental History"
                }
            ]
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://fhir.hie.moh.gov.my/CodeSystem/dental-history-alert-my-core",
                "code": "7",
                "display": "Previous Endodontics"
            }
        ],
        "text": "Previous Endodontics"
    },
    "subject": {
        "reference": "Patient/1725cc06-9544-4a10-b8e7-6fe5506d4749"
    },
    "recordedDate": "2023-08-13T13:01:54+08:00",
    "recorder": {
        "display": "LIANA"
    }
}

Dental Alert Sample Data 2

{
    "resourceType": "Condition",
    "id": "example-condition-da-2",
    "meta": {
        "source": "http://provider.hie.moh.gov.my",
        "profile":  [
            "http://fhir.hie.moh.gov.my/StructureDefinition/Condition-my-core"
        ]
    },
    "extension":  [
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core",
            "extension":  [
                {
                    "url": "lastUpdater",
                    "valueReference": {
                        "display": "NIZAR"
                    }
                }
            ]
        }
    ],
    "clinicalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                "code": "active",
                "display": "Active"
            }
        ]
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://fhir.hie.moh.gov.my/CodeSystem/condition-category-my-core",
                    "code": "dental-alert",
                    "display": "Dental Alert"
                }
            ]
        },
        {
            "coding":  [
                {
                    "system": "http://fhir.hie.moh.gov.my/CodeSystem/dental-alert-code-my-core",
                    "code": "family-medical-alert",
                    "display": "Family Medical Alert"
                }
            ]
        }
    ],
    "code": {
        "text": "mother has congenital cavities"
    },
    "subject": {
        "reference": "Patient/b4be86c9-f018-4ef5-a911-6c0c061cd018"
    },
    "recordedDate": "2023-09-07T14:39:45+08:00",
    "recorder": {
        "display": "NIZAR"
    }
}