public static class MedicationDispense.Substitution extends BaseIdentifiableElement implements IResourceBlock
Definition: Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but doesn't happen, in other cases substitution is not expected but does happen. This block explains what substitition did or did not happen and why.
| Constructor and Description |
|---|
MedicationDispense.Substitution() |
| Modifier and Type | Method and Description |
|---|---|
CodeableConceptDt |
addReason()
Adds and returns a new value for reason (Why was substitution made)
|
ResourceReferenceDt |
addResponsibleParty()
Adds and returns a new value for responsibleParty (Who is responsible for the substitution)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<CodeableConceptDt> |
getReason()
Gets the value(s) for reason (Why was substitution made).
|
CodeableConceptDt |
getReasonFirstRep()
Gets the first repetition for reason (Why was substitution made),
creating it if it does not already exist.
|
List<ResourceReferenceDt> |
getResponsibleParty()
Gets the value(s) for responsibleParty (Who is responsible for the substitution).
|
CodeableConceptDt |
getType()
Gets the value(s) for type (Type of substitiution).
|
boolean |
isEmpty() |
MedicationDispense.Substitution |
setReason(List<CodeableConceptDt> theValue)
Sets the value(s) for reason (Why was substitution made)
|
MedicationDispense.Substitution |
setResponsibleParty(List<ResourceReferenceDt> theValue)
Sets the value(s) for responsibleParty (Who is responsible for the substitution)
|
MedicationDispense.Substitution |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (Type of substitiution)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic CodeableConceptDt getType()
null.
Definition: A code signifying whether a different drug was dispensed from what was prescribed.
public MedicationDispense.Substitution setType(CodeableConceptDt theValue)
Definition: A code signifying whether a different drug was dispensed from what was prescribed.
public List<CodeableConceptDt> getReason()
null.
Definition: Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.
public MedicationDispense.Substitution setReason(List<CodeableConceptDt> theValue)
Definition: Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.
public CodeableConceptDt addReason()
Definition: Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.
public CodeableConceptDt getReasonFirstRep()
Definition: Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.
public List<ResourceReferenceDt> getResponsibleParty()
null.
Definition: The person or organization that has primary responsibility for the substitution
public MedicationDispense.Substitution setResponsibleParty(List<ResourceReferenceDt> theValue)
Definition: The person or organization that has primary responsibility for the substitution
public ResourceReferenceDt addResponsibleParty()
Definition: The person or organization that has primary responsibility for the substitution
Copyright © 2014 University Health Network. All rights reserved.