public static class MedicationPrescription.Substitution extends BaseIdentifiableElement implements IResourceBlock
Definition: Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.
| Constructor and Description |
|---|
MedicationPrescription.Substitution() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
CodeableConceptDt |
getReason()
Gets the value(s) for reason (Why should substitution (not) be made).
|
CodeableConceptDt |
getType()
Gets the value(s) for type (generic | formulary +).
|
boolean |
isEmpty() |
MedicationPrescription.Substitution |
setReason(CodeableConceptDt theValue)
Sets the value(s) for reason (Why should substitution (not) be made)
|
MedicationPrescription.Substitution |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (generic | formulary +)
|
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 should be dispensed from what was prescribed.
public MedicationPrescription.Substitution setType(CodeableConceptDt theValue)
Definition: A code signifying whether a different drug should be dispensed from what was prescribed.
public CodeableConceptDt getReason()
null.
Definition: Indicates the reason for the substitution, or why substitution must or must not be performed.
public MedicationPrescription.Substitution setReason(CodeableConceptDt theValue)
Definition: Indicates the reason for the substitution, or why substitution must or must not be performed.
Copyright © 2014 University Health Network. All rights reserved.