
Package org.hl7.fhir.r5.model
Class MedicationKnowledge.MedicationKnowledgeRegulatorySubstitutionComponent
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.Element
org.hl7.fhir.r5.model.BackboneElement
org.hl7.fhir.r5.model.MedicationKnowledge.MedicationKnowledgeRegulatorySubstitutionComponent
- All Implemented Interfaces:
- ca.uhn.fhir.model.api.IElement,- Serializable,- org.hl7.fhir.instance.model.api.IBase,- org.hl7.fhir.instance.model.api.IBaseBackboneElement,- org.hl7.fhir.instance.model.api.IBaseElement,- org.hl7.fhir.instance.model.api.IBaseHasExtensions,- org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- MedicationKnowledge
public static class MedicationKnowledge.MedicationKnowledgeRegulatorySubstitutionComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.hl7.fhir.r5.model.BaseBase.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected BooleanTypeSpecifies if regulation allows for changes in the medication when dispensing.protected CodeableConceptSpecifies the type of substitution allowed.Fields inherited from class org.hl7.fhir.r5.model.BackboneElementmodifierExtension
- 
Constructor SummaryConstructorsConstructorDescriptionConstructorMedicationKnowledgeRegulatorySubstitutionComponent(CodeableConcept type, boolean allowed) Constructor
- 
Method SummaryModifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()booleangetNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getType()String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanhasType()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setAllowed(boolean value) setAllowedElement(BooleanType value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setType(CodeableConcept value) Methods inherited from class org.hl7.fhir.r5.model.BackboneElementaddModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, copyValues, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getExtensionValue, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, removeExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.r5.model.ElementaddExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionString, getExtensionString, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatusMethods inherited from class org.hl7.fhir.r5.model.BaseaddDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBasegetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElementgetUserData, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensionsaddExtension, getExtension, hasExtensionMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensionsaddModifierExtension, getModifierExtension, hasModifierExtension
- 
Field Details- 
typeSpecifies the type of substitution allowed.
- 
allowedSpecifies if regulation allows for changes in the medication when dispensing.
 
- 
- 
Constructor Details- 
MedicationKnowledgeRegulatorySubstitutionComponentConstructor
- 
MedicationKnowledgeRegulatorySubstitutionComponentConstructor
 
- 
- 
Method Details- 
getType- Returns:
- type(Specifies the type of substitution allowed.)
 
- 
hasType
- 
setTypepublic MedicationKnowledge.MedicationKnowledgeRegulatorySubstitutionComponent setType(CodeableConcept value) - Parameters:
- value-- type(Specifies the type of substitution allowed.)
 
- 
getAllowedElement- Returns:
- allowed(Specifies if regulation allows for changes in the medication when dispensing.). This is the underlying object with id, value and extensions. The accessor "getAllowed" gives direct access to the value
 
- 
hasAllowedElement
- 
hasAllowed
- 
setAllowedElementpublic MedicationKnowledge.MedicationKnowledgeRegulatorySubstitutionComponent setAllowedElement(BooleanType value) - Parameters:
- value-- allowed(Specifies if regulation allows for changes in the medication when dispensing.). This is the underlying object with id, value and extensions. The accessor "getAllowed" gives direct access to the value
 
- 
getAllowed- Returns:
- Specifies if regulation allows for changes in the medication when dispensing.
 
- 
setAllowedpublic MedicationKnowledge.MedicationKnowledgeRegulatorySubstitutionComponent setAllowed(boolean value) - Parameters:
- value- Specifies if regulation allows for changes in the medication when dispensing.
 
- 
listChildren- Overrides:
- listChildrenin class- BackboneElement
 
- 
getNamedPropertypublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getNamedPropertyin class- BackboneElement
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
getPropertypublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getPropertyin class- BackboneElement
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
setPropertypublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- setPropertyin class- BackboneElement
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
setProperty- Overrides:
- setPropertyin class- BackboneElement
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
removeChild- Overrides:
- removeChildin class- BackboneElement
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
makeProperty- Overrides:
- makePropertyin class- BackboneElement
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
getTypesForPropertypublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getTypesForPropertyin class- BackboneElement
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
addChild- Overrides:
- addChildin class- BackboneElement
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
copy- Specified by:
- copyin class- BackboneElement
 
- 
copyValues
- 
equalsDeep- Overrides:
- equalsDeepin class- BackboneElement
 
- 
equalsShallow- Overrides:
- equalsShallowin class- BackboneElement
 
- 
isEmpty- Specified by:
- isEmptyin interface- org.hl7.fhir.instance.model.api.IBase
- Overrides:
- isEmptyin class- BackboneElement
 
- 
fhirType- Specified by:
- fhirTypein interface- org.hl7.fhir.instance.model.api.IBase
- Overrides:
- fhirTypein class- BackboneElement
- Returns:
- the FHIR type name of the instance (not the java class name)
 
 
-