STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 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.22.4 StructureDefinition: DAF-MedicationList

The official URL for this profile is:

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

US Realm Medication list

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.22.4.1 Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. List I0..*ListUS Realm Medication list
lst-2: The deleted flag can only be used if the mode of the list is "changes"
lst-1: A list can only have an emptyReason if it is empty
... 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 S0..*IdentifierBusiness identifier
... status ?! 1..1codecurrent | retired | entered-in-error
Binding: ListStatus (required)
... mode ?! S1..1codeworking | snapshot | changes
Binding: ListMode (required)
Fixed Value: snapshot
... title 0..1stringDescriptive name for the list
Example: Dr. Jane's Patients
... code S 1..1CodeableConceptWhat the purpose of this list is
Binding: DAF Medication List Codes (required)
... subject S 0..1Reference(DAF-Patient)If all resources have the same subject
... encounter 0..1Reference(Encounter)Context in which list created
... date S 1..1dateTimeWhen the list was prepared
... source S 1..1Reference(DAF-Pract | DAF-Patient | Device)Who and/or what defined the list contents (aka Author)
... orderedBy 0..1CodeableConceptWhat order the list has
Binding: List Order Codes (preferred)
... note 0..*AnnotationComments about the list
... entry S I0..*BackboneElementEntries in the list
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
.... flag S0..1CodeableConceptStatus/Workflow information about this item
Binding: Patient Medicine Change Types (example)
.... date S0..1dateTimeWhen item added to list
.... item S1..1Reference(DAF-MedicationStatement | DAF-MedicationAdministration | DAF-MedicationOrder | DAF-MedicationDispense)Actual entry
... emptyReason S I0..1CodeableConceptWhy list is empty
Binding: List Empty Reasons (extensible)

doco Documentation for this format

todo

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. List I0..*ListUS Realm Medication list
lst-2: The deleted flag can only be used if the mode of the list is "changes"
lst-1: A list can only have an emptyReason if it is empty
... 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 S0..*IdentifierBusiness identifier
... status ?! 1..1codecurrent | retired | entered-in-error
Binding: ListStatus (required)
... mode ?! S1..1codeworking | snapshot | changes
Binding: ListMode (required)
Fixed Value: snapshot
... title 0..1stringDescriptive name for the list
Example: Dr. Jane's Patients
... code S 1..1CodeableConceptWhat the purpose of this list is
Binding: DAF Medication List Codes (required)
... subject S 0..1Reference(DAF-Patient)If all resources have the same subject
... encounter 0..1Reference(Encounter)Context in which list created
... date S 1..1dateTimeWhen the list was prepared
... source S 1..1Reference(DAF-Pract | DAF-Patient | Device)Who and/or what defined the list contents (aka Author)
... orderedBy 0..1CodeableConceptWhat order the list has
Binding: List Order Codes (preferred)
... note 0..*AnnotationComments about the list
... entry S I0..*BackboneElementEntries in the list
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
.... flag S0..1CodeableConceptStatus/Workflow information about this item
Binding: Patient Medicine Change Types (example)
.... date S0..1dateTimeWhen item added to list
.... item S1..1Reference(DAF-MedicationStatement | DAF-MedicationAdministration | DAF-MedicationOrder | DAF-MedicationDispense)Actual entry
... emptyReason S I0..1CodeableConceptWhy list is empty
Binding: List Empty Reasons (extensible)

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

D.22.4.2 Terminology Bindings

PathNameConformanceValueSet
List.language?extrequiredhttp://tools.ietf.org/html/bcp47
List.statusListStatusrequiredListStatus
List.modeListModerequiredListMode
List.codeDAF Medication List CodesrequiredDAF Medication List Codes
List.orderedByList Order CodespreferredList Order Codes
List.entry.flagPatient Medicine Change TypesexamplePatient Medicine Change Types
List.emptyReasonList Empty ReasonsextensibleList Empty Reasons

D.22.4.3 Constraints

IdPathDetailsRequirements
lst-2ListThe deleted flag can only be used if the mode of the list is "changes"
XPath: (f:mode/@value = 'changes') or not(exists(f:entry/f:deleted))
lst-1ListA list can only have an emptyReason if it is empty
XPath: not(exists(f:emptyReason) and exists(f:entry))
.