This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Patient Care Work Group | Maturity Level: 0 | Trial Use | Security Category: Anonymous | Compartments: Not linked to any defined compartments |
A definition of a condition and information relevant to managing it.
A condition definition defines a set of system properties for a particular condition.
It is important to understand the condition definition resource is not intended to be used to define the underlying biological or ontological basis for the condition; instead the focus is on how the the condition is identified, managed, and treated.
One frequent criticism of information systems in healthcare is that they do not adapt well to changing context, particularly the context of what is specifically wrong. A typical institution will have 20-30,000 different kinds of observational data, but only a small portion of these are relevant to any particular condition. Information systems supporting clinical care provision are increasingly investigating the use of AI, but ConditionDefinition provides a simple way to help the system be more adaptive.
No references for this Resource.
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ConditionDefinition | TU | DomainResource | A definition of a condition + Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension Interfaces Implemented: MetadataResource | |
url | ΣC | 0..1 | uri | Canonical identifier for this condition definition, represented as a URI (globally unique) + Warning: URL should not contain | or # - these characters make processing canonical references problematic |
identifier | Σ | 0..* | Identifier | Additional identifier for the condition definition |
version | Σ | 0..1 | string | Business version of the condition definition |
name | ΣC | 0..1 | string | Name for this condition definition (computer friendly) |
title | Σ | 0..1 | string | Name for this condition definition (human friendly) |
subtitle | 0..1 | string | Subordinate title of the event definition | |
status | ?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (Required) |
experimental | Σ | 0..1 | boolean | For testing purposes, not real usage |
date | Σ | 0..1 | dateTime | Date last changed |
publisher | Σ | 0..1 | string | Name of the publisher/steward (organization or individual) |
contact | Σ | 0..* | ContactDetail | Contact details for the publisher |
description | 0..1 | markdown | Natural language description of the condition definition | |
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for condition definition (if applicable) Jurisdiction (Extensible) |
code | Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Condition/Problem/Diagnosis Codes (Example) |
severity | Σ | 0..1 | CodeableConcept | Subjective severity of condition Condition/Diagnosis Severity (Preferred) |
bodySite | Σ | 0..1 | CodeableConcept | Anatomical location, if relevant SNOMED CT Body Structures (Example) |
stage | Σ | 0..1 | CodeableConcept | Stage/grade, usually assessed formally Condition Stage (Example) |
hasSeverity | 0..1 | boolean | Whether Severity is appropriate | |
hasBodySite | 0..1 | boolean | Whether bodySite is appropriate | |
hasStage | 0..1 | boolean | Whether stage is appropriate | |
definition | 0..* | uri | Formal Definition for the condition | |
observation | 0..* | BackboneElement | Observations particularly relevant to this condition | |
category | 0..1 | CodeableConcept | Category that is relevant Observation Category Codes (Preferred) | |
code | 0..1 | CodeableConcept | Code for relevant Observation LOINC Codes (Example) | |
medication | 0..* | BackboneElement | Medications particularly relevant for this condition | |
category | 0..1 | CodeableConcept | Category that is relevant MedicationRequestCategory (Example) | |
code | 0..1 | CodeableConcept | Code for relevant Medication SNOMED CT Medication Codes (Example) | |
precondition | 0..* | BackboneElement | Observation that suggets this condition | |
type | 1..1 | code | sensitive | specific ConditionPreconditionType (Required) | |
code | 1..1 | CodeableConcept | Code for relevant Observation LOINC Codes (Example) | |
value[x] | 0..1 | Value of Observation | ||
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
team | 0..* | Reference(CareTeam) | Appropriate team for this condition | |
questionnaire | 0..* | BackboneElement | Questionnaire for this condition | |
purpose | 1..1 | code | preadmit | diff-diagnosis | outcome ConditionQuestionnairePurpose (Required) | |
reference | 1..1 | Reference(Questionnaire) | Specific Questionnaire | |
plan | 0..* | BackboneElement | Plan that is appropriate | |
role | 0..1 | CodeableConcept | Use for the plan | |
reference | 1..1 | Reference(PlanDefinition) | The actual plan | |
Documentation for this format |
See the Extensions for this resource
UML Diagram (Legend)
XML Template
<ConditionDefinition xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <url value="[uri]"/><!-- 0..1 Canonical identifier for this condition definition, represented as a URI (globally unique) --> <identifier><!-- 0..* Identifier Additional identifier for the condition definition --></identifier> <version value="[string]"/><!-- 0..1 Business version of the condition definition --> <name value="[string]"/><!-- I 0..1 Name for this condition definition (computer friendly) --> <title value="[string]"/><!-- 0..1 Name for this condition definition (human friendly) --> <subtitle value="[string]"/><!-- 0..1 Subordinate title of the event definition --> <status value="[code]"/><!-- 1..1 draft | active | retired | unknown --> <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage --> <date value="[dateTime]"/><!-- 0..1 Date last changed --> <publisher value="[string]"/><!-- 0..1 Name of the publisher/steward (organization or individual) --> <contact><!-- 0..* ContactDetail Contact details for the publisher --></contact> <description value="[markdown]"/><!-- 0..1 Natural language description of the condition definition --> <useContext><!-- 0..* UsageContext The context that the content is intended to support --></useContext> <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for condition definition (if applicable) --></jurisdiction> <code><!-- 1..1 CodeableConcept Identification of the condition, problem or diagnosis --></code> <severity><!-- 0..1 CodeableConcept Subjective severity of condition --></severity> <bodySite><!-- 0..1 CodeableConcept Anatomical location, if relevant --></bodySite> <stage><!-- 0..1 CodeableConcept Stage/grade, usually assessed formally --></stage> <hasSeverity value="[boolean]"/><!-- 0..1 Whether Severity is appropriate --> <hasBodySite value="[boolean]"/><!-- 0..1 Whether bodySite is appropriate --> <hasStage value="[boolean]"/><!-- 0..1 Whether stage is appropriate --> <definition value="[uri]"/><!-- 0..* Formal Definition for the condition --> <observation> <!-- 0..* Observations particularly relevant to this condition --> <category><!-- 0..1 CodeableConcept Category that is relevant --></category> <code><!-- 0..1 CodeableConcept Code for relevant Observation --></code> </observation> <medication> <!-- 0..* Medications particularly relevant for this condition --> <category><!-- 0..1 CodeableConcept Category that is relevant --></category> <code><!-- 0..1 CodeableConcept Code for relevant Medication --></code> </medication> <precondition> <!-- 0..* Observation that suggets this condition --> <type value="[code]"/><!-- 1..1 sensitive | specific --> <code><!-- 1..1 CodeableConcept Code for relevant Observation --></code> <value[x]><!-- 0..1 CodeableConcept|Quantity Value of Observation --></value[x]> </precondition> <team><!-- 0..* Reference(CareTeam) Appropriate team for this condition --></team> <questionnaire> <!-- 0..* Questionnaire for this condition --> <purpose value="[code]"/><!-- 1..1 preadmit | diff-diagnosis | outcome --> <reference><!-- 1..1 Reference(Questionnaire) Specific Questionnaire --></reference> </questionnaire> <plan> <!-- 0..* Plan that is appropriate --> <role><!-- 0..1 CodeableConcept Use for the plan --></role> <reference><!-- 1..1 Reference(PlanDefinition) The actual plan --></reference> </plan> </ConditionDefinition>
JSON Template
{ "resourceType" : "ConditionDefinition", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "url" : "<uri>", // Canonical identifier for this condition definition, represented as a URI (globally unique) "identifier" : [{ Identifier }], // Additional identifier for the condition definition "version" : "<string>", // Business version of the condition definition "name" : "<string>", // I Name for this condition definition (computer friendly) "title" : "<string>", // Name for this condition definition (human friendly) "subtitle" : "<string>", // Subordinate title of the event definition "status" : "<code>", // R! draft | active | retired | unknown "experimental" : <boolean>, // For testing purposes, not real usage "date" : "<dateTime>", // Date last changed "publisher" : "<string>", // Name of the publisher/steward (organization or individual) "contact" : [{ ContactDetail }], // Contact details for the publisher "description" : "<markdown>", // Natural language description of the condition definition "useContext" : [{ UsageContext }], // The context that the content is intended to support "jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for condition definition (if applicable) "code" : { CodeableConcept }, // R! Identification of the condition, problem or diagnosis "severity" : { CodeableConcept }, // Subjective severity of condition "bodySite" : { CodeableConcept }, // Anatomical location, if relevant "stage" : { CodeableConcept }, // Stage/grade, usually assessed formally "hasSeverity" : <boolean>, // Whether Severity is appropriate "hasBodySite" : <boolean>, // Whether bodySite is appropriate "hasStage" : <boolean>, // Whether stage is appropriate "definition" : ["<uri>"], // Formal Definition for the condition "observation" : [{ // Observations particularly relevant to this condition "category" : { CodeableConcept }, // Category that is relevant "code" : { CodeableConcept } // Code for relevant Observation }], "medication" : [{ // Medications particularly relevant for this condition "category" : { CodeableConcept }, // Category that is relevant "code" : { CodeableConcept } // Code for relevant Medication }], "precondition" : [{ // Observation that suggets this condition "type" : "<code>", // R! sensitive | specific "code" : { CodeableConcept }, // R! Code for relevant Observation // value[x]: Value of Observation. One of these 2: "valueCodeableConcept" : { CodeableConcept }, "valueQuantity" : { Quantity } }], "team" : [{ Reference(CareTeam) }], // Appropriate team for this condition "questionnaire" : [{ // Questionnaire for this condition "purpose" : "<code>", // R! preadmit | diff-diagnosis | outcome "reference" : { Reference(Questionnaire) } // R! Specific Questionnaire }], "plan" : [{ // Plan that is appropriate "role" : { CodeableConcept }, // Use for the plan "reference" : { Reference(PlanDefinition) } // R! The actual plan }] }
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> . [ a fhir:ConditionDefinition; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language # from DomainResource: .text, .contained, .extension, and .modifierExtension fhir:ConditionDefinition.url [ uri ]; # 0..1 Canonical identifier for this condition definition, represented as a URI (globally unique) fhir:ConditionDefinition.identifier [ Identifier ], ... ; # 0..* Additional identifier for the condition definition fhir:ConditionDefinition.version [ string ]; # 0..1 Business version of the condition definition fhir:ConditionDefinition.name [ string ]; # 0..1 I Name for this condition definition (computer friendly) fhir:ConditionDefinition.title [ string ]; # 0..1 Name for this condition definition (human friendly) fhir:ConditionDefinition.subtitle [ string ]; # 0..1 Subordinate title of the event definition fhir:ConditionDefinition.status [ code ]; # 1..1 draft | active | retired | unknown fhir:ConditionDefinition.experimental [ boolean ]; # 0..1 For testing purposes, not real usage fhir:ConditionDefinition.date [ dateTime ]; # 0..1 Date last changed fhir:ConditionDefinition.publisher [ string ]; # 0..1 Name of the publisher/steward (organization or individual) fhir:ConditionDefinition.contact [ ContactDetail ], ... ; # 0..* Contact details for the publisher fhir:ConditionDefinition.description [ markdown ]; # 0..1 Natural language description of the condition definition fhir:ConditionDefinition.useContext [ UsageContext ], ... ; # 0..* The context that the content is intended to support fhir:ConditionDefinition.jurisdiction [ CodeableConcept ], ... ; # 0..* Intended jurisdiction for condition definition (if applicable) fhir:ConditionDefinition.code [ CodeableConcept ]; # 1..1 Identification of the condition, problem or diagnosis fhir:ConditionDefinition.severity [ CodeableConcept ]; # 0..1 Subjective severity of condition fhir:ConditionDefinition.bodySite [ CodeableConcept ]; # 0..1 Anatomical location, if relevant fhir:ConditionDefinition.stage [ CodeableConcept ]; # 0..1 Stage/grade, usually assessed formally fhir:ConditionDefinition.hasSeverity [ boolean ]; # 0..1 Whether Severity is appropriate fhir:ConditionDefinition.hasBodySite [ boolean ]; # 0..1 Whether bodySite is appropriate fhir:ConditionDefinition.hasStage [ boolean ]; # 0..1 Whether stage is appropriate fhir:ConditionDefinition.definition [ uri ], ... ; # 0..* Formal Definition for the condition fhir:ConditionDefinition.observation [ # 0..* Observations particularly relevant to this condition fhir:ConditionDefinition.observation.category [ CodeableConcept ]; # 0..1 Category that is relevant fhir:ConditionDefinition.observation.code [ CodeableConcept ]; # 0..1 Code for relevant Observation ], ...; fhir:ConditionDefinition.medication [ # 0..* Medications particularly relevant for this condition fhir:ConditionDefinition.medication.category [ CodeableConcept ]; # 0..1 Category that is relevant fhir:ConditionDefinition.medication.code [ CodeableConcept ]; # 0..1 Code for relevant Medication ], ...; fhir:ConditionDefinition.precondition [ # 0..* Observation that suggets this condition fhir:ConditionDefinition.precondition.type [ code ]; # 1..1 sensitive | specific fhir:ConditionDefinition.precondition.code [ CodeableConcept ]; # 1..1 Code for relevant Observation # ConditionDefinition.precondition.value[x] : 0..1 Value of Observation. One of these 2 fhir:ConditionDefinition.precondition.valueCodeableConcept [ CodeableConcept ] fhir:ConditionDefinition.precondition.valueQuantity [ Quantity ] ], ...; fhir:ConditionDefinition.team [ Reference(CareTeam) ], ... ; # 0..* Appropriate team for this condition fhir:ConditionDefinition.questionnaire [ # 0..* Questionnaire for this condition fhir:ConditionDefinition.questionnaire.purpose [ code ]; # 1..1 preadmit | diff-diagnosis | outcome fhir:ConditionDefinition.questionnaire.reference [ Reference(Questionnaire) ]; # 1..1 Specific Questionnaire ], ...; fhir:ConditionDefinition.plan [ # 0..* Plan that is appropriate fhir:ConditionDefinition.plan.role [ CodeableConcept ]; # 0..1 Use for the plan fhir:ConditionDefinition.plan.reference [ Reference(PlanDefinition) ]; # 1..1 The actual plan ], ...; ]
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ConditionDefinition | TU | DomainResource | A definition of a condition + Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension Interfaces Implemented: MetadataResource | |
url | ΣC | 0..1 | uri | Canonical identifier for this condition definition, represented as a URI (globally unique) + Warning: URL should not contain | or # - these characters make processing canonical references problematic |
identifier | Σ | 0..* | Identifier | Additional identifier for the condition definition |
version | Σ | 0..1 | string | Business version of the condition definition |
name | ΣC | 0..1 | string | Name for this condition definition (computer friendly) |
title | Σ | 0..1 | string | Name for this condition definition (human friendly) |
subtitle | 0..1 | string | Subordinate title of the event definition | |
status | ?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (Required) |
experimental | Σ | 0..1 | boolean | For testing purposes, not real usage |
date | Σ | 0..1 | dateTime | Date last changed |
publisher | Σ | 0..1 | string | Name of the publisher/steward (organization or individual) |
contact | Σ | 0..* | ContactDetail | Contact details for the publisher |
description | 0..1 | markdown | Natural language description of the condition definition | |
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for condition definition (if applicable) Jurisdiction (Extensible) |
code | Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Condition/Problem/Diagnosis Codes (Example) |
severity | Σ | 0..1 | CodeableConcept | Subjective severity of condition Condition/Diagnosis Severity (Preferred) |
bodySite | Σ | 0..1 | CodeableConcept | Anatomical location, if relevant SNOMED CT Body Structures (Example) |
stage | Σ | 0..1 | CodeableConcept | Stage/grade, usually assessed formally Condition Stage (Example) |
hasSeverity | 0..1 | boolean | Whether Severity is appropriate | |
hasBodySite | 0..1 | boolean | Whether bodySite is appropriate | |
hasStage | 0..1 | boolean | Whether stage is appropriate | |
definition | 0..* | uri | Formal Definition for the condition | |
observation | 0..* | BackboneElement | Observations particularly relevant to this condition | |
category | 0..1 | CodeableConcept | Category that is relevant Observation Category Codes (Preferred) | |
code | 0..1 | CodeableConcept | Code for relevant Observation LOINC Codes (Example) | |
medication | 0..* | BackboneElement | Medications particularly relevant for this condition | |
category | 0..1 | CodeableConcept | Category that is relevant MedicationRequestCategory (Example) | |
code | 0..1 | CodeableConcept | Code for relevant Medication SNOMED CT Medication Codes (Example) | |
precondition | 0..* | BackboneElement | Observation that suggets this condition | |
type | 1..1 | code | sensitive | specific ConditionPreconditionType (Required) | |
code | 1..1 | CodeableConcept | Code for relevant Observation LOINC Codes (Example) | |
value[x] | 0..1 | Value of Observation | ||
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
team | 0..* | Reference(CareTeam) | Appropriate team for this condition | |
questionnaire | 0..* | BackboneElement | Questionnaire for this condition | |
purpose | 1..1 | code | preadmit | diff-diagnosis | outcome ConditionQuestionnairePurpose (Required) | |
reference | 1..1 | Reference(Questionnaire) | Specific Questionnaire | |
plan | 0..* | BackboneElement | Plan that is appropriate | |
role | 0..1 | CodeableConcept | Use for the plan | |
reference | 1..1 | Reference(PlanDefinition) | The actual plan | |
Documentation for this format |
See the Extensions for this resource
XML Template
<ConditionDefinition xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <url value="[uri]"/><!-- 0..1 Canonical identifier for this condition definition, represented as a URI (globally unique) --> <identifier><!-- 0..* Identifier Additional identifier for the condition definition --></identifier> <version value="[string]"/><!-- 0..1 Business version of the condition definition --> <name value="[string]"/><!-- I 0..1 Name for this condition definition (computer friendly) --> <title value="[string]"/><!-- 0..1 Name for this condition definition (human friendly) --> <subtitle value="[string]"/><!-- 0..1 Subordinate title of the event definition --> <status value="[code]"/><!-- 1..1 draft | active | retired | unknown --> <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage --> <date value="[dateTime]"/><!-- 0..1 Date last changed --> <publisher value="[string]"/><!-- 0..1 Name of the publisher/steward (organization or individual) --> <contact><!-- 0..* ContactDetail Contact details for the publisher --></contact> <description value="[markdown]"/><!-- 0..1 Natural language description of the condition definition --> <useContext><!-- 0..* UsageContext The context that the content is intended to support --></useContext> <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for condition definition (if applicable) --></jurisdiction> <code><!-- 1..1 CodeableConcept Identification of the condition, problem or diagnosis --></code> <severity><!-- 0..1 CodeableConcept Subjective severity of condition --></severity> <bodySite><!-- 0..1 CodeableConcept Anatomical location, if relevant --></bodySite> <stage><!-- 0..1 CodeableConcept Stage/grade, usually assessed formally --></stage> <hasSeverity value="[boolean]"/><!-- 0..1 Whether Severity is appropriate --> <hasBodySite value="[boolean]"/><!-- 0..1 Whether bodySite is appropriate --> <hasStage value="[boolean]"/><!-- 0..1 Whether stage is appropriate --> <definition value="[uri]"/><!-- 0..* Formal Definition for the condition --> <observation> <!-- 0..* Observations particularly relevant to this condition --> <category><!-- 0..1 CodeableConcept Category that is relevant --></category> <code><!-- 0..1 CodeableConcept Code for relevant Observation --></code> </observation> <medication> <!-- 0..* Medications particularly relevant for this condition --> <category><!-- 0..1 CodeableConcept Category that is relevant --></category> <code><!-- 0..1 CodeableConcept Code for relevant Medication --></code> </medication> <precondition> <!-- 0..* Observation that suggets this condition --> <type value="[code]"/><!-- 1..1 sensitive | specific --> <code><!-- 1..1 CodeableConcept Code for relevant Observation --></code> <value[x]><!-- 0..1 CodeableConcept|Quantity Value of Observation --></value[x]> </precondition> <team><!-- 0..* Reference(CareTeam) Appropriate team for this condition --></team> <questionnaire> <!-- 0..* Questionnaire for this condition --> <purpose value="[code]"/><!-- 1..1 preadmit | diff-diagnosis | outcome --> <reference><!-- 1..1 Reference(Questionnaire) Specific Questionnaire --></reference> </questionnaire> <plan> <!-- 0..* Plan that is appropriate --> <role><!-- 0..1 CodeableConcept Use for the plan --></role> <reference><!-- 1..1 Reference(PlanDefinition) The actual plan --></reference> </plan> </ConditionDefinition>
JSON Template
{ "resourceType" : "ConditionDefinition", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "url" : "<uri>", // Canonical identifier for this condition definition, represented as a URI (globally unique) "identifier" : [{ Identifier }], // Additional identifier for the condition definition "version" : "<string>", // Business version of the condition definition "name" : "<string>", // I Name for this condition definition (computer friendly) "title" : "<string>", // Name for this condition definition (human friendly) "subtitle" : "<string>", // Subordinate title of the event definition "status" : "<code>", // R! draft | active | retired | unknown "experimental" : <boolean>, // For testing purposes, not real usage "date" : "<dateTime>", // Date last changed "publisher" : "<string>", // Name of the publisher/steward (organization or individual) "contact" : [{ ContactDetail }], // Contact details for the publisher "description" : "<markdown>", // Natural language description of the condition definition "useContext" : [{ UsageContext }], // The context that the content is intended to support "jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for condition definition (if applicable) "code" : { CodeableConcept }, // R! Identification of the condition, problem or diagnosis "severity" : { CodeableConcept }, // Subjective severity of condition "bodySite" : { CodeableConcept }, // Anatomical location, if relevant "stage" : { CodeableConcept }, // Stage/grade, usually assessed formally "hasSeverity" : <boolean>, // Whether Severity is appropriate "hasBodySite" : <boolean>, // Whether bodySite is appropriate "hasStage" : <boolean>, // Whether stage is appropriate "definition" : ["<uri>"], // Formal Definition for the condition "observation" : [{ // Observations particularly relevant to this condition "category" : { CodeableConcept }, // Category that is relevant "code" : { CodeableConcept } // Code for relevant Observation }], "medication" : [{ // Medications particularly relevant for this condition "category" : { CodeableConcept }, // Category that is relevant "code" : { CodeableConcept } // Code for relevant Medication }], "precondition" : [{ // Observation that suggets this condition "type" : "<code>", // R! sensitive | specific "code" : { CodeableConcept }, // R! Code for relevant Observation // value[x]: Value of Observation. One of these 2: "valueCodeableConcept" : { CodeableConcept }, "valueQuantity" : { Quantity } }], "team" : [{ Reference(CareTeam) }], // Appropriate team for this condition "questionnaire" : [{ // Questionnaire for this condition "purpose" : "<code>", // R! preadmit | diff-diagnosis | outcome "reference" : { Reference(Questionnaire) } // R! Specific Questionnaire }], "plan" : [{ // Plan that is appropriate "role" : { CodeableConcept }, // Use for the plan "reference" : { Reference(PlanDefinition) } // R! The actual plan }] }
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> . [ a fhir:ConditionDefinition; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language # from DomainResource: .text, .contained, .extension, and .modifierExtension fhir:ConditionDefinition.url [ uri ]; # 0..1 Canonical identifier for this condition definition, represented as a URI (globally unique) fhir:ConditionDefinition.identifier [ Identifier ], ... ; # 0..* Additional identifier for the condition definition fhir:ConditionDefinition.version [ string ]; # 0..1 Business version of the condition definition fhir:ConditionDefinition.name [ string ]; # 0..1 I Name for this condition definition (computer friendly) fhir:ConditionDefinition.title [ string ]; # 0..1 Name for this condition definition (human friendly) fhir:ConditionDefinition.subtitle [ string ]; # 0..1 Subordinate title of the event definition fhir:ConditionDefinition.status [ code ]; # 1..1 draft | active | retired | unknown fhir:ConditionDefinition.experimental [ boolean ]; # 0..1 For testing purposes, not real usage fhir:ConditionDefinition.date [ dateTime ]; # 0..1 Date last changed fhir:ConditionDefinition.publisher [ string ]; # 0..1 Name of the publisher/steward (organization or individual) fhir:ConditionDefinition.contact [ ContactDetail ], ... ; # 0..* Contact details for the publisher fhir:ConditionDefinition.description [ markdown ]; # 0..1 Natural language description of the condition definition fhir:ConditionDefinition.useContext [ UsageContext ], ... ; # 0..* The context that the content is intended to support fhir:ConditionDefinition.jurisdiction [ CodeableConcept ], ... ; # 0..* Intended jurisdiction for condition definition (if applicable) fhir:ConditionDefinition.code [ CodeableConcept ]; # 1..1 Identification of the condition, problem or diagnosis fhir:ConditionDefinition.severity [ CodeableConcept ]; # 0..1 Subjective severity of condition fhir:ConditionDefinition.bodySite [ CodeableConcept ]; # 0..1 Anatomical location, if relevant fhir:ConditionDefinition.stage [ CodeableConcept ]; # 0..1 Stage/grade, usually assessed formally fhir:ConditionDefinition.hasSeverity [ boolean ]; # 0..1 Whether Severity is appropriate fhir:ConditionDefinition.hasBodySite [ boolean ]; # 0..1 Whether bodySite is appropriate fhir:ConditionDefinition.hasStage [ boolean ]; # 0..1 Whether stage is appropriate fhir:ConditionDefinition.definition [ uri ], ... ; # 0..* Formal Definition for the condition fhir:ConditionDefinition.observation [ # 0..* Observations particularly relevant to this condition fhir:ConditionDefinition.observation.category [ CodeableConcept ]; # 0..1 Category that is relevant fhir:ConditionDefinition.observation.code [ CodeableConcept ]; # 0..1 Code for relevant Observation ], ...; fhir:ConditionDefinition.medication [ # 0..* Medications particularly relevant for this condition fhir:ConditionDefinition.medication.category [ CodeableConcept ]; # 0..1 Category that is relevant fhir:ConditionDefinition.medication.code [ CodeableConcept ]; # 0..1 Code for relevant Medication ], ...; fhir:ConditionDefinition.precondition [ # 0..* Observation that suggets this condition fhir:ConditionDefinition.precondition.type [ code ]; # 1..1 sensitive | specific fhir:ConditionDefinition.precondition.code [ CodeableConcept ]; # 1..1 Code for relevant Observation # ConditionDefinition.precondition.value[x] : 0..1 Value of Observation. One of these 2 fhir:ConditionDefinition.precondition.valueCodeableConcept [ CodeableConcept ] fhir:ConditionDefinition.precondition.valueQuantity [ Quantity ] ], ...; fhir:ConditionDefinition.team [ Reference(CareTeam) ], ... ; # 0..* Appropriate team for this condition fhir:ConditionDefinition.questionnaire [ # 0..* Questionnaire for this condition fhir:ConditionDefinition.questionnaire.purpose [ code ]; # 1..1 preadmit | diff-diagnosis | outcome fhir:ConditionDefinition.questionnaire.reference [ Reference(Questionnaire) ]; # 1..1 Specific Questionnaire ], ...; fhir:ConditionDefinition.plan [ # 0..* Plan that is appropriate fhir:ConditionDefinition.plan.role [ CodeableConcept ]; # 0..1 Use for the plan fhir:ConditionDefinition.plan.reference [ Reference(PlanDefinition) ]; # 1..1 The actual plan ], ...; ]
Additional definitions: Master Definition XML + JSON, XML Schema/Schematron + JSON Schema, ShEx (for Turtle) , the spreadsheet version & the dependency analysis
Path | Definition | Type | Reference |
---|---|---|---|
ConditionDefinition.status | The lifecycle status of an artifact. | Required | PublicationStatus |
ConditionDefinition.jurisdiction | This value set defines a base set of codes for country, country subdivision and region for indicating where a resource is intended to be used. Note: The codes for countries and country subdivisions are taken from ISO 3166 while the codes for "supra-national" regions are from UN Standard country or area codes for statistical use (M49) . | Extensible | Jurisdiction ValueSet |
ConditionDefinition.code | Example value set for Condition/Problem/Diagnosis codes. | Example | Condition/Problem/DiagnosisCodes |
ConditionDefinition.severity | Preferred value set for Condition/Diagnosis severity grading. | Preferred | Condition/DiagnosisSeverity |
ConditionDefinition.bodySite | This value set includes all codes from SNOMED CT where concept is-a 442083009 (Anatomical or acquired body site (body structure)). | Example | SNOMEDCTBodyStructures |
ConditionDefinition.stage | Example value set for stages of cancer and other conditions. | Example | ConditionStage |
ConditionDefinition.observation.category | Observation Category codes. | Preferred | ObservationCategoryCodes |
ConditionDefinition.observation.code | This value set includes all LOINC codes | Example | LOINCCodes |
ConditionDefinition.medication.category | Example | http://hl7.org/fhir/ValueSet/medicationrequest-category | |
ConditionDefinition.medication.code | This value set includes all drug or medicament substance codes and all pharmaceutical/biologic products from SNOMED CT - provided as an exemplar value set. | Example | SNOMEDCTMedicationCodes |
ConditionDefinition.precondition.type | Kind of precondition for the condition. | Required | ConditionPreconditionType |
ConditionDefinition.precondition.code | This value set includes all LOINC codes | Example | LOINCCodes |
ConditionDefinition.questionnaire.purpose | The use of a questionnaire. | Required | ConditionQuestionnairePurpose |
UniqueKey | Level | Location | Description | Expression |
cnl-0 | Warning | (base) | Name should be usable as an identifier for the module by machine processing applications such as code generation | name.exists() implies name.matches('[A-Z]([A-Za-z0-9_]){1,254}') |
cnl-1 | Warning | ConditionDefinition.url | URL should not contain | or # - these characters make processing canonical references problematic | url.matches('([^|#])*') |
Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.
Name | Type | Description | Expression | In Common |
context | token | A use context assigned to the condition definition | (ConditionDefinition.useContext.value as CodeableConcept) | |
context-quantity | quantity | A quantity- or range-valued use context assigned to the condition definition | (ConditionDefinition.useContext.value as Quantity) | (ConditionDefinition.useContext.value as Range) | |
context-type | token | A type of use context assigned to the condition definition | ConditionDefinition.useContext.code | |
context-type-quantity | composite | A use context type and quantity- or range-based value assigned to the condition definition | On ConditionDefinition.useContext: context-type: code context-quantity: value.ofType(Quantity) | value.ofType(Range) | |
context-type-value | composite | A use context type and value assigned to the condition definition | On ConditionDefinition.useContext: context-type: code context: value.ofType(CodeableConcept) | |
date N | date | The condition definition publication date | ConditionDefinition.date | |
description N | string | The description of the condition definition | ConditionDefinition.description | |
identifier | token | External identifier for the condition definition | ConditionDefinition.identifier | |
jurisdiction | token | Intended jurisdiction for the condition definition | ConditionDefinition.jurisdiction | |
name N | string | Computationally friendly name of the condition definition | ConditionDefinition.name | |
publisher N | string | Name of the publisher of the condition definition | ConditionDefinition.publisher | |
status N | token | The current status of the condition definition | ConditionDefinition.status | |
title N | string | The human-friendly name of the condition definition | ConditionDefinition.title | |
url N | uri | The uri that identifies the condition definition | ConditionDefinition.url | |
version N | token | The business version of the condition definition | ConditionDefinition.version |