HL7 FHIR Implementation Guide: Example IG Release 1 - US Realm | STU1
0.1.0 - STU1 International flag

HL7 FHIR Implementation Guide: Example IG Release 1 - US Realm | STU1, published by Jembi Health Systems. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/openhie/Training-Solution-1 and changes regularly. See the Directory of published versions

Resource Profile: ARV Treatment

Official URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/hiv-arv-treatment Version: 0.1.0
Active as of 2024-01-27 Computable Name: ARVTreatment

This profile is to record prescribed ARV regimen against a given therapeutic line.

Usage:

Formal Views of Profile Content

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

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... encounter 1..1Reference(Encounter)Encounter created as part of
... period 1..1PeriodTime period plan covers
... activity 1..*BackboneElementAction to occur as part of plan
.... outcomeCodeableConcept S0..*CodeableConceptResults of the activity
Binding: ARV treatment outcomes (required)
..... text 0..1stringPlain text representation of the concept
Required Pattern: Interruptions in treatment
.... detail S0..1BackboneElementIn-line definition of activity
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... artRegimenSwitchedOrSubstituted S0..1CodeableConceptART Regimen Switched Or Substituted
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-switched-or-substituted
Binding: ART Regimen Change Types (required)
..... artRegimenLine S0..1CodeableConceptART Regimen Line
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-line
Binding: ART Regimen Lines (required)
..... next-visit S0..1dateTimeNext Appointment Date
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/hiv-care-next-visit
..... kind S0..1codeAppointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
Required Pattern: MedicationRequest
..... code S0..1CodeableConceptDetail type of activity
Binding: ARV Treatment Medication Request (required)
...... text 0..1stringPlain text representation of the concept
Required Pattern: ARV medication request
..... Slices for scheduled[x] 0..1Timing, Period, stringWhen activity is to occur
Slice: Unordered, Open by type:$this
...... scheduled[x]:scheduledPeriod S0..1PeriodWhen activity is to occur
..... Slices for product[x] 0..1CodeableConcept, Reference(Medication | Substance)What is to be administered/supplied
Slice: Unordered, Open by type:$this
...... product[x]:productCodeableConcept S0..1CodeableConceptWhat is to be administered/supplied
Binding: A list of ARV regimen (required)
....... text 0..1stringPlain text representation of the concept
Required Pattern: ARV Regimen

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
CarePlan.activity.outcomeCodeableConceptrequiredVSCarePlanActivityOutcome
http://openhie.org/fhir/training-solution-1/ValueSet/vs-careplan-outcome
from this IG
CarePlan.activity.detail.coderequiredVSARVMedicationRequest
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arvtreatment-activity-type
from this IG
CarePlan.activity.detail.product[x]:productCodeableConceptrequiredVSARVRegimen
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arv-regimen
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... subject Σ1..1Reference(Patient | Group)Who the care plan is for
... encounter Σ1..1Reference(Encounter)Encounter created as part of
... period Σ1..1PeriodTime period plan covers
... activity C1..*BackboneElementAction to occur as part of plan
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... outcomeCodeableConcept S0..*CodeableConceptResults of the activity
Binding: ARV treatment outcomes (required)
..... text Σ0..1stringPlain text representation of the concept
Required Pattern: Interruptions in treatment
.... detail SC0..1BackboneElementIn-line definition of activity
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... artRegimenSwitchedOrSubstituted S0..1CodeableConceptART Regimen Switched Or Substituted
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-switched-or-substituted
Binding: ART Regimen Change Types (required)
..... artRegimenLine S0..1CodeableConceptART Regimen Line
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-line
Binding: ART Regimen Lines (required)
..... next-visit S0..1dateTimeNext Appointment Date
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/hiv-care-next-visit
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... kind S0..1codeAppointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
Binding: CarePlanActivityKind (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.


Required Pattern: MedicationRequest
..... code S0..1CodeableConceptDetail type of activity
Binding: ARV Treatment Medication Request (required)
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: ARV medication request
..... status ?!1..1codenot-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle.

..... doNotPerform ?!0..1booleanIf true, activity is prohibiting action
..... Slices for scheduled[x] 0..1When activity is to occur
Slice: Unordered, Open by type:$this
...... scheduledTimingTiming
...... scheduledPeriodPeriod
...... scheduledStringstring
...... scheduled[x]:scheduledPeriod S0..1PeriodWhen activity is to occur
..... Slices for product[x] 0..1What is to be administered/supplied
Slice: Unordered, Open by type:$this
Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity.

...... productCodeableConceptCodeableConcept
...... productReferenceReference(Medication | Substance)
...... product[x]:productCodeableConcept S0..1CodeableConceptWhat is to be administered/supplied
Binding: A list of ARV regimen (required)
....... text Σ0..1stringPlain text representation of the concept
Required Pattern: ARV Regimen
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.statusrequiredRequestStatus
http://hl7.org/fhir/ValueSet/request-status|4.0.1
from the FHIR Standard
CarePlan.intentrequiredCarePlanIntent
http://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1
from the FHIR Standard
CarePlan.activity.outcomeCodeableConceptrequiredVSCarePlanActivityOutcome
http://openhie.org/fhir/training-solution-1/ValueSet/vs-careplan-outcome
from this IG
CarePlan.activity.detail.kindrequiredPattern: MedicationRequest
http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1
from the FHIR Standard
CarePlan.activity.detail.coderequiredVSARVMedicationRequest
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arvtreatment-activity-type
from this IG
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus
http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1
from the FHIR Standard
CarePlan.activity.detail.product[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
CarePlan.activity.detail.product[x]:productCodeableConceptrequiredVSARVRegimen
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arv-regimen
from this IG

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA 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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this plan
... instantiatesCanonical Σ0..*canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... basedOn Σ0..*Reference(CarePlan)Fulfills CarePlan
... replaces Σ0..*Reference(CarePlan)CarePlan replaced by this CarePlan
... partOf Σ0..*Reference(CarePlan)Part of referenced CarePlan
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!Σ1..1codeproposal | plan | order | option
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... category Σ0..*CodeableConceptType of plan
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.


... title Σ0..1stringHuman-friendly name for the care plan
... description Σ0..1stringSummary of nature of plan
... subject Σ1..1Reference(Patient | Group)Who the care plan is for
... encounter Σ1..1Reference(Encounter)Encounter created as part of
... period Σ1..1PeriodTime period plan covers
... created Σ0..1dateTimeDate record was first recorded
... author Σ0..1Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who is the designated responsible party
... contributor 0..*Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who provided the content of the care plan
... careTeam 0..*Reference(CareTeam)Who's involved in plan?
... addresses Σ0..*Reference(Condition)Health issues this plan addresses
... supportingInfo 0..*Reference(Resource)Information considered as part of plan
... goal 0..*Reference(Goal)Desired outcome of plan
... activity C1..*BackboneElementAction to occur as part of plan
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... outcomeCodeableConcept S0..*CodeableConceptResults of the activity
Binding: ARV treatment outcomes (required)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..*CodingCode defined by a terminology system
..... text Σ0..1stringPlain text representation of the concept
Required Pattern: Interruptions in treatment
.... outcomeReference 0..*Reference(Resource)Appointment, Encounter, Procedure, etc.
.... progress 0..*AnnotationComments about the activity status/progress
.... reference C0..1Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup)Activity details defined in specific resource
.... detail SC0..1BackboneElementIn-line definition of activity
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... artRegimenSwitchedOrSubstituted S0..1CodeableConceptART Regimen Switched Or Substituted
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-switched-or-substituted
Binding: ART Regimen Change Types (required)
..... artRegimenLine S0..1CodeableConceptART Regimen Line
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-line
Binding: ART Regimen Lines (required)
..... next-visit S0..1dateTimeNext Appointment Date
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/hiv-care-next-visit
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... kind S0..1codeAppointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
Binding: CarePlanActivityKind (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.


Required Pattern: MedicationRequest
..... instantiatesCanonical 0..*canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition)Instantiates FHIR protocol or definition
..... instantiatesUri 0..*uriInstantiates external protocol or definition
..... code S0..1CodeableConceptDetail type of activity
Binding: ARV Treatment Medication Request (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: ARV medication request
..... reasonCode 0..*CodeableConceptWhy activity should be done or why activity was prohibited
Binding: SNOMEDCTClinicalFindings (example): Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as "general wellness", prophylaxis, surgical preparation, etc.


..... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Why activity is needed
..... goal 0..*Reference(Goal)Goals this activity relates to
..... status ?!1..1codenot-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle.

..... statusReason 0..1CodeableConceptReason for current status
..... doNotPerform ?!0..1booleanIf true, activity is prohibiting action
..... Slices for scheduled[x] 0..1When activity is to occur
Slice: Unordered, Open by type:$this
...... scheduledTimingTiming
...... scheduledPeriodPeriod
...... scheduledStringstring
...... scheduled[x]:scheduledPeriod S0..1PeriodWhen activity is to occur
..... location 0..1Reference(Location)Where it should happen
..... performer 0..*Reference(Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device)Who will be responsible?
..... Slices for product[x] 0..1What is to be administered/supplied
Slice: Unordered, Open by type:$this
Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity.

...... productCodeableConceptCodeableConcept
...... productReferenceReference(Medication | Substance)
...... product[x]:productCodeableConcept S0..1CodeableConceptWhat is to be administered/supplied
Binding: A list of ARV regimen (required)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... coding Σ0..*CodingCode defined by a terminology system
....... text Σ0..1stringPlain text representation of the concept
Required Pattern: ARV Regimen
..... dailyAmount 0..1SimpleQuantityHow to consume/day?
..... quantity 0..1SimpleQuantityHow much to administer/supply/consume
..... description 0..1stringExtra info describing activity to perform
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
CarePlan.statusrequiredRequestStatus
http://hl7.org/fhir/ValueSet/request-status|4.0.1
from the FHIR Standard
CarePlan.intentrequiredCarePlanIntent
http://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1
from the FHIR Standard
CarePlan.categoryexampleCarePlanCategory
http://hl7.org/fhir/ValueSet/care-plan-category
from the FHIR Standard
CarePlan.activity.outcomeCodeableConceptrequiredVSCarePlanActivityOutcome
http://openhie.org/fhir/training-solution-1/ValueSet/vs-careplan-outcome
from this IG
CarePlan.activity.detail.kindrequiredPattern: MedicationRequest
http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1
from the FHIR Standard
CarePlan.activity.detail.coderequiredVSARVMedicationRequest
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arvtreatment-activity-type
from this IG
CarePlan.activity.detail.reasonCodeexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus
http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1
from the FHIR Standard
CarePlan.activity.detail.product[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
CarePlan.activity.detail.product[x]:productCodeableConceptrequiredVSARVRegimen
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arv-regimen
from this IG

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from CarePlan

Summary

Mandatory: 3 elements
Must-Support: 10 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element CarePlan.activity.detail.scheduled[x] is sliced based on the value of type:$this
  • The element CarePlan.activity.detail.product[x] is sliced based on the value of type:$this

Differential View

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... encounter 1..1Reference(Encounter)Encounter created as part of
... period 1..1PeriodTime period plan covers
... activity 1..*BackboneElementAction to occur as part of plan
.... outcomeCodeableConcept S0..*CodeableConceptResults of the activity
Binding: ARV treatment outcomes (required)
..... text 0..1stringPlain text representation of the concept
Required Pattern: Interruptions in treatment
.... detail S0..1BackboneElementIn-line definition of activity
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... artRegimenSwitchedOrSubstituted S0..1CodeableConceptART Regimen Switched Or Substituted
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-switched-or-substituted
Binding: ART Regimen Change Types (required)
..... artRegimenLine S0..1CodeableConceptART Regimen Line
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-line
Binding: ART Regimen Lines (required)
..... next-visit S0..1dateTimeNext Appointment Date
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/hiv-care-next-visit
..... kind S0..1codeAppointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
Required Pattern: MedicationRequest
..... code S0..1CodeableConceptDetail type of activity
Binding: ARV Treatment Medication Request (required)
...... text 0..1stringPlain text representation of the concept
Required Pattern: ARV medication request
..... Slices for scheduled[x] 0..1Timing, Period, stringWhen activity is to occur
Slice: Unordered, Open by type:$this
...... scheduled[x]:scheduledPeriod S0..1PeriodWhen activity is to occur
..... Slices for product[x] 0..1CodeableConcept, Reference(Medication | Substance)What is to be administered/supplied
Slice: Unordered, Open by type:$this
...... product[x]:productCodeableConcept S0..1CodeableConceptWhat is to be administered/supplied
Binding: A list of ARV regimen (required)
....... text 0..1stringPlain text representation of the concept
Required Pattern: ARV Regimen

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
CarePlan.activity.outcomeCodeableConceptrequiredVSCarePlanActivityOutcome
http://openhie.org/fhir/training-solution-1/ValueSet/vs-careplan-outcome
from this IG
CarePlan.activity.detail.coderequiredVSARVMedicationRequest
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arvtreatment-activity-type
from this IG
CarePlan.activity.detail.product[x]:productCodeableConceptrequiredVSARVRegimen
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arv-regimen
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... subject Σ1..1Reference(Patient | Group)Who the care plan is for
... encounter Σ1..1Reference(Encounter)Encounter created as part of
... period Σ1..1PeriodTime period plan covers
... activity C1..*BackboneElementAction to occur as part of plan
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... outcomeCodeableConcept S0..*CodeableConceptResults of the activity
Binding: ARV treatment outcomes (required)
..... text Σ0..1stringPlain text representation of the concept
Required Pattern: Interruptions in treatment
.... detail SC0..1BackboneElementIn-line definition of activity
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... artRegimenSwitchedOrSubstituted S0..1CodeableConceptART Regimen Switched Or Substituted
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-switched-or-substituted
Binding: ART Regimen Change Types (required)
..... artRegimenLine S0..1CodeableConceptART Regimen Line
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-line
Binding: ART Regimen Lines (required)
..... next-visit S0..1dateTimeNext Appointment Date
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/hiv-care-next-visit
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... kind S0..1codeAppointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
Binding: CarePlanActivityKind (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.


Required Pattern: MedicationRequest
..... code S0..1CodeableConceptDetail type of activity
Binding: ARV Treatment Medication Request (required)
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: ARV medication request
..... status ?!1..1codenot-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle.

..... doNotPerform ?!0..1booleanIf true, activity is prohibiting action
..... Slices for scheduled[x] 0..1When activity is to occur
Slice: Unordered, Open by type:$this
...... scheduledTimingTiming
...... scheduledPeriodPeriod
...... scheduledStringstring
...... scheduled[x]:scheduledPeriod S0..1PeriodWhen activity is to occur
..... Slices for product[x] 0..1What is to be administered/supplied
Slice: Unordered, Open by type:$this
Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity.

...... productCodeableConceptCodeableConcept
...... productReferenceReference(Medication | Substance)
...... product[x]:productCodeableConcept S0..1CodeableConceptWhat is to be administered/supplied
Binding: A list of ARV regimen (required)
....... text Σ0..1stringPlain text representation of the concept
Required Pattern: ARV Regimen
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.statusrequiredRequestStatus
http://hl7.org/fhir/ValueSet/request-status|4.0.1
from the FHIR Standard
CarePlan.intentrequiredCarePlanIntent
http://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1
from the FHIR Standard
CarePlan.activity.outcomeCodeableConceptrequiredVSCarePlanActivityOutcome
http://openhie.org/fhir/training-solution-1/ValueSet/vs-careplan-outcome
from this IG
CarePlan.activity.detail.kindrequiredPattern: MedicationRequest
http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1
from the FHIR Standard
CarePlan.activity.detail.coderequiredVSARVMedicationRequest
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arvtreatment-activity-type
from this IG
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus
http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1
from the FHIR Standard
CarePlan.activity.detail.product[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
CarePlan.activity.detail.product[x]:productCodeableConceptrequiredVSARVRegimen
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arv-regimen
from this IG

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA 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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this plan
... instantiatesCanonical Σ0..*canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... basedOn Σ0..*Reference(CarePlan)Fulfills CarePlan
... replaces Σ0..*Reference(CarePlan)CarePlan replaced by this CarePlan
... partOf Σ0..*Reference(CarePlan)Part of referenced CarePlan
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!Σ1..1codeproposal | plan | order | option
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... category Σ0..*CodeableConceptType of plan
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.


... title Σ0..1stringHuman-friendly name for the care plan
... description Σ0..1stringSummary of nature of plan
... subject Σ1..1Reference(Patient | Group)Who the care plan is for
... encounter Σ1..1Reference(Encounter)Encounter created as part of
... period Σ1..1PeriodTime period plan covers
... created Σ0..1dateTimeDate record was first recorded
... author Σ0..1Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who is the designated responsible party
... contributor 0..*Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who provided the content of the care plan
... careTeam 0..*Reference(CareTeam)Who's involved in plan?
... addresses Σ0..*Reference(Condition)Health issues this plan addresses
... supportingInfo 0..*Reference(Resource)Information considered as part of plan
... goal 0..*Reference(Goal)Desired outcome of plan
... activity C1..*BackboneElementAction to occur as part of plan
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... outcomeCodeableConcept S0..*CodeableConceptResults of the activity
Binding: ARV treatment outcomes (required)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..*CodingCode defined by a terminology system
..... text Σ0..1stringPlain text representation of the concept
Required Pattern: Interruptions in treatment
.... outcomeReference 0..*Reference(Resource)Appointment, Encounter, Procedure, etc.
.... progress 0..*AnnotationComments about the activity status/progress
.... reference C0..1Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup)Activity details defined in specific resource
.... detail SC0..1BackboneElementIn-line definition of activity
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... artRegimenSwitchedOrSubstituted S0..1CodeableConceptART Regimen Switched Or Substituted
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-switched-or-substituted
Binding: ART Regimen Change Types (required)
..... artRegimenLine S0..1CodeableConceptART Regimen Line
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/art-regimen-line
Binding: ART Regimen Lines (required)
..... next-visit S0..1dateTimeNext Appointment Date
URL: http://openhie.org/fhir/training-solution-1/StructureDefinition/hiv-care-next-visit
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... kind S0..1codeAppointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
Binding: CarePlanActivityKind (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.


Required Pattern: MedicationRequest
..... instantiatesCanonical 0..*canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition)Instantiates FHIR protocol or definition
..... instantiatesUri 0..*uriInstantiates external protocol or definition
..... code S0..1CodeableConceptDetail type of activity
Binding: ARV Treatment Medication Request (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: ARV medication request
..... reasonCode 0..*CodeableConceptWhy activity should be done or why activity was prohibited
Binding: SNOMEDCTClinicalFindings (example): Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as "general wellness", prophylaxis, surgical preparation, etc.


..... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Why activity is needed
..... goal 0..*Reference(Goal)Goals this activity relates to
..... status ?!1..1codenot-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle.

..... statusReason 0..1CodeableConceptReason for current status
..... doNotPerform ?!0..1booleanIf true, activity is prohibiting action
..... Slices for scheduled[x] 0..1When activity is to occur
Slice: Unordered, Open by type:$this
...... scheduledTimingTiming
...... scheduledPeriodPeriod
...... scheduledStringstring
...... scheduled[x]:scheduledPeriod S0..1PeriodWhen activity is to occur
..... location 0..1Reference(Location)Where it should happen
..... performer 0..*Reference(Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device)Who will be responsible?
..... Slices for product[x] 0..1What is to be administered/supplied
Slice: Unordered, Open by type:$this
Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity.

...... productCodeableConceptCodeableConcept
...... productReferenceReference(Medication | Substance)
...... product[x]:productCodeableConcept S0..1CodeableConceptWhat is to be administered/supplied
Binding: A list of ARV regimen (required)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... coding Σ0..*CodingCode defined by a terminology system
....... text Σ0..1stringPlain text representation of the concept
Required Pattern: ARV Regimen
..... dailyAmount 0..1SimpleQuantityHow to consume/day?
..... quantity 0..1SimpleQuantityHow much to administer/supply/consume
..... description 0..1stringExtra info describing activity to perform
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
CarePlan.statusrequiredRequestStatus
http://hl7.org/fhir/ValueSet/request-status|4.0.1
from the FHIR Standard
CarePlan.intentrequiredCarePlanIntent
http://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1
from the FHIR Standard
CarePlan.categoryexampleCarePlanCategory
http://hl7.org/fhir/ValueSet/care-plan-category
from the FHIR Standard
CarePlan.activity.outcomeCodeableConceptrequiredVSCarePlanActivityOutcome
http://openhie.org/fhir/training-solution-1/ValueSet/vs-careplan-outcome
from this IG
CarePlan.activity.detail.kindrequiredPattern: MedicationRequest
http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1
from the FHIR Standard
CarePlan.activity.detail.coderequiredVSARVMedicationRequest
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arvtreatment-activity-type
from this IG
CarePlan.activity.detail.reasonCodeexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus
http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1
from the FHIR Standard
CarePlan.activity.detail.product[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
CarePlan.activity.detail.product[x]:productCodeableConceptrequiredVSARVRegimen
http://openhie.org/fhir/training-solution-1/ValueSet/vs-arv-regimen
from this IG

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from CarePlan

Summary

Mandatory: 3 elements
Must-Support: 10 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element CarePlan.activity.detail.scheduled[x] is sliced based on the value of type:$this
  • The element CarePlan.activity.detail.product[x] is sliced based on the value of type:$this

 

Other representations of profile: CSV, Excel, Schematron