public static class MedicationDispense.Substitution extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Definition: Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why.
| Constructor and Description |
|---|
Substitution() |
| Modifier and Type | Method and Description |
|---|---|
CodeableConceptDt |
addReason()
Adds and returns a new value for reason ()
|
MedicationDispense.Substitution |
addReason(CodeableConceptDt theValue)
Adds a given new value for reason ()
|
ResourceReferenceDt |
addResponsibleParty()
Adds and returns a new value for responsibleParty ()
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<CodeableConceptDt> |
getReason()
Gets the value(s) for reason ().
|
CodeableConceptDt |
getReasonFirstRep()
Gets the first repetition for reason (),
creating it if it does not already exist.
|
List<ResourceReferenceDt> |
getResponsibleParty()
Gets the value(s) for responsibleParty ().
|
CodeableConceptDt |
getType()
Gets the value(s) for type ().
|
boolean |
isEmpty() |
MedicationDispense.Substitution |
setReason(List<CodeableConceptDt> theValue)
Sets the value(s) for reason ()
|
MedicationDispense.Substitution |
setResponsibleParty(List<ResourceReferenceDt> theValue)
Sets the value(s) for responsibleParty ()
|
MedicationDispense.Substitution |
setType(CodeableConceptDt theValue)
Sets the value(s) for type ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Substitution()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic 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 MedicationDispense.Substitution addReason(CodeableConceptDt theValue)
Definition: Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.
theValue - The reason to add (must not be null)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–2018 University Health Network. All rights reserved.