Class Medication
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
Definition: This resource is primarily used for the identification and definition of a medication. It covers the ingredients and the packaging for a medication.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Medication
- See Also:
- Serialized Form
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBlock class for child element: Medication.package ()static classBlock class for child element: Medication.package.content ()static classBlock class for child element: Medication.product ()static classBlock class for child element: Medication.product.batch ()static classBlock class for child element: Medication.product.ingredient () -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for codestatic ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for containerstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for contentstatic ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for formstatic ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for ingredientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for manufacturerstatic StringSearch parameter constant for codestatic StringSearch parameter constant for containerstatic StringSearch parameter constant for contentstatic StringSearch parameter constant for formstatic StringSearch parameter constant for ingredientstatic StringSearch parameter constant for manufacturerFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_IDFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)getCode()Gets the value(s) for code (class).Gets the value(s) for isBrand (class).ca.uhn.fhir.model.primitive.BooleanDtGets the value(s) for isBrand (class).Gets the value(s) for manufacturer (who.actor).Gets the value(s) for package ().Gets the value(s) for product ().ca.uhn.fhir.context.FhirVersionEnumbooleanisEmpty()setCode(CodeableConceptDt theValue)Sets the value(s) for code (class)setIsBrand(boolean theBoolean)Sets the value for isBrand (class)setIsBrand(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for isBrand (class)setManufacturer(ResourceReferenceDt theValue)Sets the value(s) for manufacturer (who.actor)setPackage(Medication.Package theValue)Sets the value(s) for package ()setProduct(Medication.Product theValue)Sets the value(s) for product ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, setId, setIdMethods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_CODE
Search parameter constant for codeDescription:
Type: token
Path: Medication.code
- See Also:
- Constant Field Values
-
CODE
Fluent Client search parameter constant for codeDescription:
Type: token
Path: Medication.code
-
SP_MANUFACTURER
Search parameter constant for manufacturerDescription:
Type: reference
Path: Medication.manufacturer
- See Also:
- Constant Field Values
-
MANUFACTURER
Fluent Client search parameter constant for manufacturerDescription:
Type: reference
Path: Medication.manufacturer
-
SP_FORM
Search parameter constant for formDescription:
Type: token
Path: Medication.product.form
- See Also:
- Constant Field Values
-
FORM
Fluent Client search parameter constant for formDescription:
Type: token
Path: Medication.product.form
-
SP_INGREDIENT
Search parameter constant for ingredientDescription:
Type: reference
Path: Medication.product.ingredient.item
- See Also:
- Constant Field Values
-
INGREDIENT
Fluent Client search parameter constant for ingredientDescription:
Type: reference
Path: Medication.product.ingredient.item
-
SP_CONTAINER
Search parameter constant for containerDescription:
Type: token
Path: Medication.package.container
- See Also:
- Constant Field Values
-
CONTAINER
Fluent Client search parameter constant for containerDescription:
Type: token
Path: Medication.package.container
-
SP_CONTENT
Search parameter constant for contentDescription:
Type: reference
Path: Medication.package.content.item
- See Also:
- Constant Field Values
-
CONTENT
Fluent Client search parameter constant for contentDescription:
Type: reference
Path: Medication.package.content.item
-
INCLUDE_CONTENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Medication:content". -
INCLUDE_INGREDIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Medication:ingredient". -
INCLUDE_MANUFACTURER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Medication:manufacturer".
-
-
Constructor Details
-
Medication
public Medication()
-
-
Method Details
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCode
Gets the value(s) for code (class). creating it if it does not exist. Will not returnnull.Definition: A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.
-
setCode
Sets the value(s) for code (class)Definition: A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.
-
getIsBrandElement
Gets the value(s) for isBrand (class). creating it if it does not exist. Will not returnnull.Definition: Set to true if the item is attributable to a specific manufacturer.
-
getIsBrand
Gets the value(s) for isBrand (class). creating it if it does not exist. This method may returnnull.Definition: Set to true if the item is attributable to a specific manufacturer.
-
setIsBrand
Sets the value(s) for isBrand (class)Definition: Set to true if the item is attributable to a specific manufacturer.
-
setIsBrand
Sets the value for isBrand (class)Definition: Set to true if the item is attributable to a specific manufacturer.
-
getManufacturer
Gets the value(s) for manufacturer (who.actor). creating it if it does not exist. Will not returnnull.Definition: Describes the details of the manufacturer
-
setManufacturer
Sets the value(s) for manufacturer (who.actor)Definition: Describes the details of the manufacturer
-
getProduct
Gets the value(s) for product (). creating it if it does not exist. Will not returnnull.Definition: Information that only applies to products (not packages)
-
setProduct
Sets the value(s) for product ()Definition: Information that only applies to products (not packages)
-
getPackage
Gets the value(s) for package (). creating it if it does not exist. Will not returnnull.Definition: Information that only applies to packages (not products)
-
setPackage
Sets the value(s) for package ()Definition: Information that only applies to packages (not products)
-
getResourceName
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-