public static class MedicationOrder.MedicationOrderSubstitutionComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
reason
Indicates the reason for the substitution, or why substitution must or must not be performed.
|
protected CodeableConcept |
type
A code signifying whether a different drug should be dispensed from what was prescribed.
|
modifierExtension| Constructor and Description |
|---|
MedicationOrderSubstitutionComponent()
Constructor
|
MedicationOrderSubstitutionComponent(CodeableConcept type)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
MedicationOrder.MedicationOrderSubstitutionComponent |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
CodeableConcept |
getReason() |
CodeableConcept |
getType() |
boolean |
hasReason() |
boolean |
hasType() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
void |
setProperty(int hash,
String name,
Base value) |
void |
setProperty(String name,
Base value) |
MedicationOrder.MedicationOrderSubstitutionComponent |
setReason(CodeableConcept value) |
MedicationOrder.MedicationOrderSubstitutionComponent |
setType(CodeableConcept value) |
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected CodeableConcept type
protected CodeableConcept reason
public MedicationOrderSubstitutionComponent()
public MedicationOrderSubstitutionComponent(CodeableConcept type)
public CodeableConcept getType()
type (A code signifying whether a different drug should be dispensed from what was prescribed.)public boolean hasType()
public MedicationOrder.MedicationOrderSubstitutionComponent setType(CodeableConcept value)
value - type (A code signifying whether a different drug should be dispensed from what was prescribed.)public CodeableConcept getReason()
reason (Indicates the reason for the substitution, or why substitution must or must not be performed.)public boolean hasReason()
public MedicationOrder.MedicationOrderSubstitutionComponent setReason(CodeableConcept value)
value - reason (Indicates the reason for the substitution, or why substitution must or must not be performed.)protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic MedicationOrder.MedicationOrderSubstitutionComponent 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.