## Union of http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list and http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list

This is the set of resources that conform to either of the profiles Standardized Medication Profile - Medication List (http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list) and Standardized Medication Profile - Medication List (http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
List | C | 0..* |  | A list is a curated collection of resources dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management lst-1: A list can only have an emptyReason if it is empty lst-2: The deleted flag can only be used if the mode of the list is "changes" lst-3: An entry date can only be used if the mode of the list is "working"
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier |  | 0..* | Identifier | Business identifier ele-1: All FHIR elements must have a @value or children
status | ?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ?? (required): The current state of the list. ele-1: All FHIR elements must have a @value or children
mode | ?!Σ | 1..1 | code | working | snapshot | changes Binding: ?? (required): The processing mode that applies to this list. ele-1: All FHIR elements must have a @value or children
title | Σ | 0..1 | string | Descriptive name for the list ele-1: All FHIR elements must have a @value or children Example General: Dr. Jane's Patients
code | S Σ | 1..1 | CodeableConcept | Medication list type code Binding: ?? (extensible): The Value Set for the medication list types is maintained at the National Library of Medicine Value Set Authority Center (VSAC). ele-1: All FHIR elements must have a @value or children
subject | S Σ | 1..1 | Reference(US Core Patient Profile) | Patient ele-1: All FHIR elements must have a @value or children
encounter |  | 0..1 | Reference(Encounter) | Context in which list created ele-1: All FHIR elements must have a @value or children
date | Σ | 0..1 | dateTime | When the list was prepared ele-1: All FHIR elements must have a @value or children
source | S Σ | 1..1 | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile) | Who and/or what defined the list contents (aka Author) ele-1: All FHIR elements must have a @value or children
orderedBy |  | 0..1 | CodeableConcept | What order the list has Binding: ?? (preferred): What order applies to the items in a list. ele-1: All FHIR elements must have a @value or children
note |  | 0..* | Annotation | Comments about the list ele-1: All FHIR elements must have a @value or children
entry |  | 0..* | BackboneElement | Entries in the list ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
flag |  | 0..1 | CodeableConcept | Status/Workflow information about this item Binding: ?? (example): Codes that provide further information about the reason and meaning of the item in the list. ele-1: All FHIR elements must have a @value or children
deleted | ?! | 0..1 | boolean | If this item is actually marked as deleted ele-1: All FHIR elements must have a @value or children
date |  | 0..1 | dateTime | When item added to list ele-1: All FHIR elements must have a @value or children
item |  | 1..1 | Reference(Standardized Medication Profile - MedicationStatement | #sd-smp-medicationstatement-smp-medicationstatement) | Medication details ele-1: All FHIR elements must have a @value or children
emptyReason |  | 0..1 | CodeableConcept | Why list is empty Binding: ?? (preferred): If a list is empty, why it is empty. ele-1: All FHIR elements must have a @value or children
Documentation for this format