public static class MedicationDispense.MedicationDispenseSubstitutionComponent extends BackboneElement implements IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected List<CodeableConcept> |
reason
Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.
|
protected List<Reference> |
responsibleParty
The person or organization that has primary responsibility for the substitution.
|
protected List<Practitioner> |
responsiblePartyTarget
The actual objects that are the target of the reference (The person or organization that has primary responsibility for the substitution.)
|
protected CodeableConcept |
type
A code signifying whether a different drug was dispensed from what was prescribed.
|
protected BooleanType |
wasSubstituted
True if the dispenser dispensed a different drug or product from what was prescribed.
|
modifierExtension| Constructor and Description |
|---|
MedicationDispenseSubstitutionComponent()
Constructor
|
MedicationDispenseSubstitutionComponent(BooleanType wasSubstituted)
Constructor
|
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentaddExtension, getExtension, hasExtensionaddModifierExtension, getModifierExtension, hasModifierExtensionprotected BooleanType wasSubstituted
protected CodeableConcept type
protected List<CodeableConcept> reason
protected List<Reference> responsibleParty
protected List<Practitioner> responsiblePartyTarget
public MedicationDispenseSubstitutionComponent()
public MedicationDispenseSubstitutionComponent(BooleanType wasSubstituted)
public BooleanType getWasSubstitutedElement()
wasSubstituted (True if the dispenser dispensed a different drug or product from what was prescribed.). This is the underlying object with id, value and extensions. The accessor "getWasSubstituted" gives direct access to the valuepublic boolean hasWasSubstitutedElement()
public boolean hasWasSubstituted()
public MedicationDispense.MedicationDispenseSubstitutionComponent setWasSubstitutedElement(BooleanType value)
value - wasSubstituted (True if the dispenser dispensed a different drug or product from what was prescribed.). This is the underlying object with id, value and extensions. The accessor "getWasSubstituted" gives direct access to the valuepublic boolean getWasSubstituted()
public MedicationDispense.MedicationDispenseSubstitutionComponent setWasSubstituted(boolean value)
value - True if the dispenser dispensed a different drug or product from what was prescribed.public CodeableConcept getType()
type (A code signifying whether a different drug was dispensed from what was prescribed.)public boolean hasType()
public MedicationDispense.MedicationDispenseSubstitutionComponent setType(CodeableConcept value)
value - type (A code signifying whether a different drug was dispensed from what was prescribed.)public List<CodeableConcept> getReason()
reason (Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.)public MedicationDispense.MedicationDispenseSubstitutionComponent setReason(List<CodeableConcept> theReason)
this for easy method chainingpublic boolean hasReason()
public CodeableConcept addReason()
public MedicationDispense.MedicationDispenseSubstitutionComponent addReason(CodeableConcept t)
public CodeableConcept getReasonFirstRep()
reason, creating it if it does not already existpublic List<Reference> getResponsibleParty()
responsibleParty (The person or organization that has primary responsibility for the substitution.)public MedicationDispense.MedicationDispenseSubstitutionComponent setResponsibleParty(List<Reference> theResponsibleParty)
this for easy method chainingpublic boolean hasResponsibleParty()
public Reference addResponsibleParty()
public MedicationDispense.MedicationDispenseSubstitutionComponent addResponsibleParty(Reference t)
public Reference getResponsiblePartyFirstRep()
responsibleParty, creating it if it does not already exist@Deprecated public List<Practitioner> getResponsiblePartyTarget()
@Deprecated public Practitioner addResponsiblePartyTarget()
protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class BackboneElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class BackboneElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class BackboneElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class BackboneElementFHIRExceptionpublic MedicationDispense.MedicationDispenseSubstitutionComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2017 University Health Network. All rights reserved.