DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

D.13.1 StructureDefinition: DAF-MedicationStatement

The official URL for this profile is:

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

Defines constraints and extensions on the MedicationStatement resource for use in querying and retrieving patient's medication information.

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

D.13.1.1 Formal Views of Profile Content

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

This structure is derived from MedicationStatement.

Summary

Mandatory: 1 element (+1 nested mandatory element)
Must-Support: 14 elements
Prohibited: 2 elements

Structures

This structure refers to these other structures:

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*MedicationStatementRecord of medication being taken by a patient
mst-2: Reason for use is only permitted if wasNotTaken is false
mst-1: Reason not taken is only permitted if wasNotTaken is true
... 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: IETF BCP-47 (required)
... 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 S 0..*IdentifierExternal Identifier
... patient S 1..1Reference(DAF-Patient)Who was/is taking medication
... informationSource S 0..1Reference(U.S. Data Access Framework (DAF) Practitioner Profile | DAF-Patient | U.S. DAF Related Person Profile)
... dateAsserted 0..1dateTimeWhen the statement was asserted?
... status ?! 1..1codeactive | completed | entered-in-error | intended
Binding: MedicationStatementStatus (required)
... wasNotTaken ?! 0..1booleanTrue if medication is/was not being taken
... reasonNotTaken I0..*CodeableConceptTrue if asserting medication was not given
Binding: Reason Medication Not Given Codes (example)
... reasonForUse[x] 0..1CodeableConcept, Reference(Condition)
... effectivePeriod S 0..1PeriodOver what period was medication consumed?
... note 0..1stringFurther information about the statement
... supportingInformation 0..*Reference(Resource)Additional supporting information
... medication[x] 1..1CodeableConcept, Reference(Medication)What medication was taken?
... dosage S 0..*BackboneElementDetails of how medication was taken
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... text 0..1stringReported dosage information
.... timing 0..1TimingWhen/how often was medication taken?
.... asNeeded[x] S 0..1boolean, CodeableConceptTake "as needed" f(or x)
Binding: (unbound) (required)
.... site[x] 0..1CodeableConcept, Reference(BodySite)Where on body was medication administered?
Binding: SNOMED CT Anatomical Structure for Administration Site Codes (example)
.... route S 0..1CodeableConceptHow did the medication enter the body?
Binding: SNOMED CT Route Codes (example)
.... method S 0..1CodeableConceptTechnique used to administer medication
Binding: (unbound) (required)
.... quantity[x] 0..1SimpleQuantity, RangeAmount administered in one dose
.... rate[x] 0..1Ratio, RangeDose quantity per unit of time
.... maxDosePerPeriod S 0..1RatioMaximum dose that was consumed per unit of time

doco Documentation for this format

todo

This structure is derived from MedicationStatement.

Summary

Mandatory: 1 element (+1 nested mandatory element)
Must-Support: 14 elements
Prohibited: 2 elements

Structures

This structure refers to these other structures:

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*MedicationStatementRecord of medication being taken by a patient
mst-2: Reason for use is only permitted if wasNotTaken is false
mst-1: Reason not taken is only permitted if wasNotTaken is true
... 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: IETF BCP-47 (required)
... 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 S 0..*IdentifierExternal Identifier
... patient S 1..1Reference(DAF-Patient)Who was/is taking medication
... informationSource S 0..1Reference(U.S. Data Access Framework (DAF) Practitioner Profile | DAF-Patient | U.S. DAF Related Person Profile)
... dateAsserted 0..1dateTimeWhen the statement was asserted?
... status ?! 1..1codeactive | completed | entered-in-error | intended
Binding: MedicationStatementStatus (required)
... wasNotTaken ?! 0..1booleanTrue if medication is/was not being taken
... reasonNotTaken I0..*CodeableConceptTrue if asserting medication was not given
Binding: Reason Medication Not Given Codes (example)
... reasonForUse[x] 0..1CodeableConcept, Reference(Condition)
... effectivePeriod S 0..1PeriodOver what period was medication consumed?
... note 0..1stringFurther information about the statement
... supportingInformation 0..*Reference(Resource)Additional supporting information
... medication[x] 1..1CodeableConcept, Reference(Medication)What medication was taken?
... dosage S 0..*BackboneElementDetails of how medication was taken
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... text 0..1stringReported dosage information
.... timing 0..1TimingWhen/how often was medication taken?
.... asNeeded[x] S 0..1boolean, CodeableConceptTake "as needed" f(or x)
Binding: (unbound) (required)
.... site[x] 0..1CodeableConcept, Reference(BodySite)Where on body was medication administered?
Binding: SNOMED CT Anatomical Structure for Administration Site Codes (example)
.... route S 0..1CodeableConceptHow did the medication enter the body?
Binding: SNOMED CT Route Codes (example)
.... method S 0..1CodeableConceptTechnique used to administer medication
Binding: (unbound) (required)
.... quantity[x] 0..1SimpleQuantity, RangeAmount administered in one dose
.... rate[x] 0..1Ratio, RangeDose quantity per unit of time
.... maxDosePerPeriod S 0..1RatioMaximum dose that was consumed per unit of time

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

D.13.1.2 Terminology Bindings

PathNameConformanceValueSet
MedicationStatement.language?extrequiredhttp://tools.ietf.org/html/bcp47
MedicationStatement.statusMedicationStatementStatusrequiredMedicationStatementStatus
MedicationStatement.reasonNotTakenReason Medication Not Given CodesexampleReason Medication Not Given Codes
MedicationStatement.dosage.asNeeded[x]?extrequired
MedicationStatement.dosage.site[x]SNOMED CT Anatomical Structure for Administration Site CodesexampleSNOMED CT Anatomical Structure for Administration Site Codes
MedicationStatement.dosage.routeSNOMED CT Route CodesexampleSNOMED CT Route Codes
MedicationStatement.dosage.method?extrequired

D.13.1.3 Constraints

IdPathDetailsRequirements
mst-2MedicationStatementReason for use is only permitted if wasNotTaken is false
XPath: not(exists(*[starts-with(local-name(.), 'reasonForUse')]) and f:wasNotTaken/@value='true')
mst-1MedicationStatementReason not taken is only permitted if wasNotTaken is true
XPath: not(exists(f:reasonNotTaken) and f:wasNotTaken/@value='false')
.