Physical Activity Implementation Guide
1.0.1 - STU Release 1 United States of America flag

Physical Activity Implementation Guide, published by HL7 International / Patient Care. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/physical-activity/ and changes regularly. See the Directory of published versions

Resource Profile: PA Condition - Low Physical Activity

Official URL: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-condition-low-pa Version: 1.0.1
Standards status: Trial-use Maturity Level: 2 Computable Name: PAConditionLowPA

A condition that conveys the fact that a patient has a clinically significant and insufficient level of physical activity

This will typically be the outcome of a clinical assessment based on the base measures, including the exercise vital sign if the determination is that the patient is not meeting national guidelines for their age. It can serve as the reason for subsequent Referrals and Exercise Prescriptions and may be necessary for payers to provide coverage for physical activity-related services. In this IG, creation or updating of a Condition is always done internally by a Care Manager. However, external systems (i.e. Service Providers and Patient Engagement systems) can search for and retrieve these records.

Usage:

  • Refer to this Resource Profile: PA Goal

Formal Views of Profile Content

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

This structure is derived from USCoreCondition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..*USCoreConditionDetailed information about conditions, problems or diagnoses
... implicitRules 0..0
... modifierExtension 0..0
... verificationStatus 0..1CodeableConceptconfirmed | refuted | entered-in-error
Binding: PA Condition Verification Status (required)
.... category:PA S1..1CodeableConceptAdditional category indicating the condition is related to physical activity
Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
... code 1..1CodeableConceptLack of physical exercise
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10-cm
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: Z72.3
..... display1..1stringRepresentation defined by the system
Fixed Value: Lack of physical exercise
... bodySite 0..0
... onset[x] S0..1Estimated or actual date, date-time, or age
.... onsetDateTimedateTime S
.... onsetPeriodPeriod
... abatement[x] S0..1When in resolution/remission
.... abatementDateTimedateTime S
.... abatementPeriodPeriod
... asserter S0..1ReferenceRestOrLogical(US Core Practitioner Profile S | US Core PractitionerRole Profile S)Person who asserts this condition
... stage 0..0
... evidence S0..*BackboneElementSupporting evidence
.... modifierExtension 0..0
.... Slices for detail 0..*Reference(Resource)Supporting information found elsewhere
Slice: Unordered, Open by profile:resolve()
..... detail:SupportedDetail S0..*ReferenceRest(PA Observation - EVS, Minutes/Day S | PA Observation - EVS, Days/Week S | PA Observation - EVS, Minutes/Week | PA Observation - EVS, Strength Days/Week)Supporting information found elsewhere

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.verificationStatusrequiredPAConditionVerificationStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-condition-verification-status
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*USCoreConditionDetailed information about conditions, problems or diagnoses
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
... clinicalStatus ?!SΣC0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus ?!SΣC0..1CodeableConceptconfirmed | refuted | entered-in-error
Binding: PA Condition Verification Status (required)
... Slices for category SC2..*CodeableConceptproblem-list-item | encounter-diagnosis | health-concern
Slice: Unordered, Open by pattern:$this
Binding: US Core Condition Category Codes (extensible)
.... category:PA SC1..1CodeableConceptAdditional category indicating the condition is related to physical activity
Binding: US Core Condition Category Codes (extensible)

Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10-cm
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: Z72.3
..... display1..1stringRepresentation defined by the system
Fixed Value: Lack of physical exercise
... subject SΣ1..1Reference(US Core Patient Profile)Who has the condition?
... onset[x] SΣ0..1Estimated or actual date, date-time, or age
.... onsetDateTimedateTime
... abatement[x] SC0..1When in resolution/remission
.... abatementDateTimedateTime
... asserter SΣ0..1ReferenceRestOrLogical(US Core Practitioner Profile | US Core PractitionerRole Profile)Person who asserts this condition
... evidence SC0..*BackboneElementSupporting evidence
con-2: evidence SHALL have code or details
.... Slices for detail ΣC0..*Reference(Resource)Supporting information found elsewhere
Slice: Unordered, Open by profile:resolve()
..... detail:SupportedDetail SΣC0..*ReferenceRest(PA Observation - EVS, Minutes/Day | PA Observation - EVS, Days/Week)Supporting information found elsewhere

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical
from the FHIR Standard
Condition.verificationStatusrequiredPAConditionVerificationStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-condition-verification-status
from this IG
Condition.categoryextensibleUSCoreConditionCategoryCodes
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.category:PAextensiblePattern: PhysicalActivity
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.codeextensiblePattern: Z72.3("Lack of physical exercise")
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code

Constraints

IdGradePath(s)DetailsRequirements
con-2errorCondition.evidenceevidence SHALL have code or details
: code.exists() or detail.exists()
con-3best practiceConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5errorConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
us-core-1best practiceConditionA code in Condition.category SHOULD be from US Core Condition Category Codes value set.
: where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*USCoreConditionDetailed information about conditions, problems or diagnoses
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... identifier Σ0..*IdentifierExternal Ids for this condition
... clinicalStatus ?!SΣC0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus ?!SΣC0..1CodeableConceptconfirmed | refuted | entered-in-error
Binding: PA Condition Verification Status (required)
... Slices for category SC2..*CodeableConceptproblem-list-item | encounter-diagnosis | health-concern
Slice: Unordered, Open by pattern:$this
Binding: US Core Condition Category Codes (extensible)
.... category:PA SC1..1CodeableConceptAdditional category indicating the condition is related to physical activity
Binding: US Core Condition Category Codes (extensible)

Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... text0..1stringPlain text representation of the concept
... severity 0..1CodeableConceptSubjective severity of condition
Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.

... code SΣ1..1CodeableConceptLack of physical exercise
Binding: US Core Condition Code (extensible): Valueset to describe the actual problem experienced by the patient


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10-cm
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: Z72.3
..... display1..1stringRepresentation defined by the system
Fixed Value: Lack of physical exercise
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... subject SΣ1..1Reference(US Core Patient Profile)Who has the condition?
... encounter Σ0..1Reference(Encounter)Encounter created as part of
... onset[x] SΣ0..1Estimated or actual date, date-time, or age
.... onsetDateTimedateTime S
.... onsetPeriodPeriod
... abatement[x] SC0..1When in resolution/remission
.... abatementDateTimedateTime S
.... abatementPeriodPeriod
... recordedDate Σ0..1dateTimeDate record was first recorded
... recorder Σ0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)Who recorded the condition
... asserter SΣ0..1ReferenceRestOrLogical(US Core Practitioner Profile S | US Core PractitionerRole Profile S)Person who asserts this condition
... evidence SC0..*BackboneElementSupporting evidence
con-2: evidence SHALL have code or details
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... code ΣC0..*CodeableConceptManifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.


.... Slices for detail ΣC0..*Reference(Resource)Supporting information found elsewhere
Slice: Unordered, Open by profile:resolve()
..... detail:SupportedDetail SΣC0..*ReferenceRest(PA Observation - EVS, Minutes/Day S | PA Observation - EVS, Days/Week S | PA Observation - EVS, Minutes/Week | PA Observation - EVS, Strength Days/Week)Supporting information found elsewhere
... note 0..*AnnotationAdditional information about the Condition

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical
from the FHIR Standard
Condition.verificationStatusrequiredPAConditionVerificationStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-condition-verification-status
from this IG
Condition.categoryextensibleUSCoreConditionCategoryCodes
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.category:PAextensiblePattern: PhysicalActivity
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.severitypreferredCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codeextensiblePattern: Z72.3("Lack of physical exercise")
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeexampleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

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

Differential View

This structure is derived from USCoreCondition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..*USCoreConditionDetailed information about conditions, problems or diagnoses
... implicitRules 0..0
... modifierExtension 0..0
... verificationStatus 0..1CodeableConceptconfirmed | refuted | entered-in-error
Binding: PA Condition Verification Status (required)
.... category:PA S1..1CodeableConceptAdditional category indicating the condition is related to physical activity
Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
... code 1..1CodeableConceptLack of physical exercise
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10-cm
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: Z72.3
..... display1..1stringRepresentation defined by the system
Fixed Value: Lack of physical exercise
... bodySite 0..0
... onset[x] S0..1Estimated or actual date, date-time, or age
.... onsetDateTimedateTime S
.... onsetPeriodPeriod
... abatement[x] S0..1When in resolution/remission
.... abatementDateTimedateTime S
.... abatementPeriodPeriod
... asserter S0..1ReferenceRestOrLogical(US Core Practitioner Profile S | US Core PractitionerRole Profile S)Person who asserts this condition
... stage 0..0
... evidence S0..*BackboneElementSupporting evidence
.... modifierExtension 0..0
.... Slices for detail 0..*Reference(Resource)Supporting information found elsewhere
Slice: Unordered, Open by profile:resolve()
..... detail:SupportedDetail S0..*ReferenceRest(PA Observation - EVS, Minutes/Day S | PA Observation - EVS, Days/Week S | PA Observation - EVS, Minutes/Week | PA Observation - EVS, Strength Days/Week)Supporting information found elsewhere

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.verificationStatusrequiredPAConditionVerificationStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-condition-verification-status
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*USCoreConditionDetailed information about conditions, problems or diagnoses
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
... clinicalStatus ?!SΣC0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus ?!SΣC0..1CodeableConceptconfirmed | refuted | entered-in-error
Binding: PA Condition Verification Status (required)
... Slices for category SC2..*CodeableConceptproblem-list-item | encounter-diagnosis | health-concern
Slice: Unordered, Open by pattern:$this
Binding: US Core Condition Category Codes (extensible)
.... category:PA SC1..1CodeableConceptAdditional category indicating the condition is related to physical activity
Binding: US Core Condition Category Codes (extensible)

Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10-cm
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: Z72.3
..... display1..1stringRepresentation defined by the system
Fixed Value: Lack of physical exercise
... subject SΣ1..1Reference(US Core Patient Profile)Who has the condition?
... onset[x] SΣ0..1Estimated or actual date, date-time, or age
.... onsetDateTimedateTime
... abatement[x] SC0..1When in resolution/remission
.... abatementDateTimedateTime
... asserter SΣ0..1ReferenceRestOrLogical(US Core Practitioner Profile | US Core PractitionerRole Profile)Person who asserts this condition
... evidence SC0..*BackboneElementSupporting evidence
con-2: evidence SHALL have code or details
.... Slices for detail ΣC0..*Reference(Resource)Supporting information found elsewhere
Slice: Unordered, Open by profile:resolve()
..... detail:SupportedDetail SΣC0..*ReferenceRest(PA Observation - EVS, Minutes/Day | PA Observation - EVS, Days/Week)Supporting information found elsewhere

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical
from the FHIR Standard
Condition.verificationStatusrequiredPAConditionVerificationStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-condition-verification-status
from this IG
Condition.categoryextensibleUSCoreConditionCategoryCodes
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.category:PAextensiblePattern: PhysicalActivity
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.codeextensiblePattern: Z72.3("Lack of physical exercise")
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code

Constraints

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

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*USCoreConditionDetailed information about conditions, problems or diagnoses
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... identifier Σ0..*IdentifierExternal Ids for this condition
... clinicalStatus ?!SΣC0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus ?!SΣC0..1CodeableConceptconfirmed | refuted | entered-in-error
Binding: PA Condition Verification Status (required)
... Slices for category SC2..*CodeableConceptproblem-list-item | encounter-diagnosis | health-concern
Slice: Unordered, Open by pattern:$this
Binding: US Core Condition Category Codes (extensible)
.... category:PA SC1..1CodeableConceptAdditional category indicating the condition is related to physical activity
Binding: US Core Condition Category Codes (extensible)

Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... text0..1stringPlain text representation of the concept
... severity 0..1CodeableConceptSubjective severity of condition
Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.

... code SΣ1..1CodeableConceptLack of physical exercise
Binding: US Core Condition Code (extensible): Valueset to describe the actual problem experienced by the patient


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10-cm
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: Z72.3
..... display1..1stringRepresentation defined by the system
Fixed Value: Lack of physical exercise
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... subject SΣ1..1Reference(US Core Patient Profile)Who has the condition?
... encounter Σ0..1Reference(Encounter)Encounter created as part of
... onset[x] SΣ0..1Estimated or actual date, date-time, or age
.... onsetDateTimedateTime S
.... onsetPeriodPeriod
... abatement[x] SC0..1When in resolution/remission
.... abatementDateTimedateTime S
.... abatementPeriodPeriod
... recordedDate Σ0..1dateTimeDate record was first recorded
... recorder Σ0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)Who recorded the condition
... asserter SΣ0..1ReferenceRestOrLogical(US Core Practitioner Profile S | US Core PractitionerRole Profile S)Person who asserts this condition
... evidence SC0..*BackboneElementSupporting evidence
con-2: evidence SHALL have code or details
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... code ΣC0..*CodeableConceptManifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.


.... Slices for detail ΣC0..*Reference(Resource)Supporting information found elsewhere
Slice: Unordered, Open by profile:resolve()
..... detail:SupportedDetail SΣC0..*ReferenceRest(PA Observation - EVS, Minutes/Day S | PA Observation - EVS, Days/Week S | PA Observation - EVS, Minutes/Week | PA Observation - EVS, Strength Days/Week)Supporting information found elsewhere
... note 0..*AnnotationAdditional information about the Condition

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical
from the FHIR Standard
Condition.verificationStatusrequiredPAConditionVerificationStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-condition-verification-status
from this IG
Condition.categoryextensibleUSCoreConditionCategoryCodes
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.category:PAextensiblePattern: PhysicalActivity
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.severitypreferredCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codeextensiblePattern: Z72.3("Lack of physical exercise")
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeexampleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

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

 

Other representations of profile: CSV, Excel, Schematron