STU 2 Ballot

This page is part of the Data Access Framework (v1.6.0: STU 2 Ballot 1) based on FHIR (HL7® FHIR® Standard) v1.6.0. The current version which supersedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

D.4.1 StructureDefinition: DAF-medicationstatement

The official URL for this profile is:

http://hl7.org/fhir/us/daf/StructureDefinition/daf-medicationstatement

This profile was published on Thu Aug 21 00:00:00 AEST 2014 as a draft by Health Level Seven International (Infrastructure and Messaging - Data Access Framework).

D.4.1.1 Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*Record of medication being taken by a patient
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
mst-3: Reason for use reference is only permitted if notTaken is false
mst-1: Reason not taken is only permitted if notTaken is true
mst-2: Reason for use code is only permitted if notTaken is false
... 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: Common Languages (extensible)
... text I0..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 S0..*IdentifierExternal identifier
... status ?!S1..1codeactive | completed | entered-in-error | intended | stopped | on-hold
Binding: MedicationStatementStatus (required)
... medication[x] S1..1CodeableConcept, Reference(Profile daf-medication)What medication was taken
Binding: Medication Clinical Drug (RxNorm) (extensible)
... patient S1..1Reference(Profile daf-patient)Who is/was taking the medication
... effectivePeriod S0..1PeriodOver what period was medication consumed?
... informationSource S0..1Reference(Profile daf-pract | Profile daf-patient | Profile daf-relatedperson)Person who provided the information about the taking of this medication
... supportingInformation 0..*Reference(Resource)Additional supporting information
... dateAsserted ∑0..1dateTimeWhen the statement was asserted?
... notTaken ?!S0..1booleanTrue if medication is/was not being taken
... reasonNotTaken SI0..1CodeableConceptTrue if asserting medication was not given
Binding: (unbound) (example)
... reasonForUseCode 0..*CodeableConceptReason for why the medication is being/was taken
Binding: Condition/Problem/Diagnosis Codes (example)
... reasonForUseReference 0..*Reference(Condition)Condition that supports why the medication is being/was taken
... note 0..*AnnotationFurther information about the statement
... category 0..1codeType of medication usage
Binding: MedicationStatementCategory (example)
... dosage S0..*BackboneElementDetails of how medication was taken
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!∑0..*ExtensionExtensions that cannot be ignored
.... text 0..1stringFree text dosage instructions as reported by the information source
.... additionalInstructions 0..*CodeableConceptSupplemental instructions - e.g. "with meals"
Binding: SNOMED CT Additional Dosage Instructions (example)
.... timing S0..1TimingWhen/how often was medication taken
.... asNeeded[x] 0..1boolean, CodeableConceptTake "as needed" (for x)
Binding: SNOMED CT Medication As Needed Reason Codes (example)
.... siteCodeableConcept S0..1CodeableConceptWhere (on body) medication is/was administered
Binding: Vaccine Administered Body Site (preferred)
.... route S0..1CodeableConceptHow the medication entered the body
Binding: Medication Route FDA Value Set (preferred)
.... method 0..1CodeableConceptTechnique used to administer medication
Binding: SNOMED CT Administration Method Codes (example)
.... dose[x] S0..1SimpleQuantity, RangeAmount of medication per dose
.... rate[x] S0..1Ratio, Range, SimpleQuantityDose quantity per unit of time
.... maxDosePerPeriod S0..1RatioMaximum dose that was consumed per unit of time

doco Documentation for this format

yet to be done: Xml template

yet to be done: Json template

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*Record of medication being taken by a patient
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
mst-3: Reason for use reference is only permitted if notTaken is false
mst-1: Reason not taken is only permitted if notTaken is true
mst-2: Reason for use code is only permitted if notTaken is false
... 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: Common Languages (extensible)
... text I0..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 S0..*IdentifierExternal identifier
... status ?!S1..1codeactive | completed | entered-in-error | intended | stopped | on-hold
Binding: MedicationStatementStatus (required)
... medication[x] S1..1CodeableConcept, Reference(Profile daf-medication)What medication was taken
Binding: Medication Clinical Drug (RxNorm) (extensible)
... patient S1..1Reference(Profile daf-patient)Who is/was taking the medication
... effectivePeriod S0..1PeriodOver what period was medication consumed?
... informationSource S0..1Reference(Profile daf-pract | Profile daf-patient | Profile daf-relatedperson)Person who provided the information about the taking of this medication
... supportingInformation 0..*Reference(Resource)Additional supporting information
... dateAsserted ∑0..1dateTimeWhen the statement was asserted?
... notTaken ?!S0..1booleanTrue if medication is/was not being taken
... reasonNotTaken SI0..1CodeableConceptTrue if asserting medication was not given
Binding: (unbound) (example)
... reasonForUseCode 0..*CodeableConceptReason for why the medication is being/was taken
Binding: Condition/Problem/Diagnosis Codes (example)
... reasonForUseReference 0..*Reference(Condition)Condition that supports why the medication is being/was taken
... note 0..*AnnotationFurther information about the statement
... category 0..1codeType of medication usage
Binding: MedicationStatementCategory (example)
... dosage S0..*BackboneElementDetails of how medication was taken
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!∑0..*ExtensionExtensions that cannot be ignored
.... text 0..1stringFree text dosage instructions as reported by the information source
.... additionalInstructions 0..*CodeableConceptSupplemental instructions - e.g. "with meals"
Binding: SNOMED CT Additional Dosage Instructions (example)
.... timing S0..1TimingWhen/how often was medication taken
.... asNeeded[x] 0..1boolean, CodeableConceptTake "as needed" (for x)
Binding: SNOMED CT Medication As Needed Reason Codes (example)
.... siteCodeableConcept S0..1CodeableConceptWhere (on body) medication is/was administered
Binding: Vaccine Administered Body Site (preferred)
.... route S0..1CodeableConceptHow the medication entered the body
Binding: Medication Route FDA Value Set (preferred)
.... method 0..1CodeableConceptTechnique used to administer medication
Binding: SNOMED CT Administration Method Codes (example)
.... dose[x] S0..1SimpleQuantity, RangeAmount of medication per dose
.... rate[x] S0..1Ratio, Range, SimpleQuantityDose quantity per unit of time
.... maxDosePerPeriod S0..1RatioMaximum dose that was consumed per unit of time

doco Documentation for this format

XML Template

yet to be done: Xml template

JSON Template

yet to be done: Json template

 

D.4.1.2 Terminology Bindings

Terminology Bindings

PathNameConformanceValueSet
MedicationStatement.languageCommon LanguagesextensibleCommon Languages
MedicationStatement.statusMedicationStatementStatusrequiredMedicationStatementStatus
MedicationStatement.medication[x]Medication Clinical Drug (RxNorm)extensibleMedication Clinical Drug (RxNorm)
MedicationStatement.reasonNotTaken?extexample
MedicationStatement.reasonForUseCodeCondition/Problem/Diagnosis CodesexampleCondition/Problem/Diagnosis Codes
MedicationStatement.categoryMedicationStatementCategoryexampleMedicationStatementCategory
MedicationStatement.dosage.additionalInstructionsSNOMED CT Additional Dosage InstructionsexampleSNOMED CT Additional Dosage Instructions
MedicationStatement.dosage.asNeeded[x]SNOMED CT Medication As Needed Reason CodesexampleSNOMED CT Medication As Needed Reason Codes
MedicationStatement.dosage.siteCodeableConceptVaccine Administered Body SitepreferredVaccine Administered Body Site
MedicationStatement.dosage.routeMedication Route FDA Value SetpreferredMedication Route FDA Value Set
MedicationStatement.dosage.methodSNOMED CT Administration Method CodesexampleSNOMED CT Administration Method Codes

D.4.1.3 Constraints

Constraints

IdPathDetailsRequirements
dom-2MedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
XPath: not(parent::f:contained and f:contained)
dom-1MedicationStatementIf the resource is contained in another resource, it SHALL NOT contain any narrative
XPath: not(parent::f:contained and f:text)
dom-4MedicationStatementIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
dom-3MedicationStatementIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
mst-3MedicationStatementReason for use reference is only permitted if notTaken is false
XPath: not(exists(*[starts-with(local-name(.), 'reasonForUseReference')]) and f:notTaken/@value=true())
mst-1MedicationStatementReason not taken is only permitted if notTaken is true
XPath: not(exists(f:reasonNotTaken) and f:notTaken/@value=false())
mst-2MedicationStatementReason for use code is only permitted if notTaken is false
XPath: not(exists(*[starts-with(local-name(.), 'reasonForUseCode')]) and f:notTaken/@value=true())
.