public class Medication extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Medication.MedicationPackageComponent |
static class |
Medication.MedicationPackageContentComponent |
static class |
Medication.MedicationProductBatchComponent |
static class |
Medication.MedicationProductComponent |
static class |
Medication.MedicationProductIngredientComponent |
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
code
A code (or set of codes) that specify this medication, or a textual description if no code is available.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CONTAINER
Fluent Client search parameter constant for container
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
FORM
Fluent Client search parameter constant for form
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_INGREDIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_MANUFACTURER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PACKAGE_ITEM
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
INGREDIENT
Fluent Client search parameter constant for ingredient
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
INGREDIENT_CODE
Fluent Client search parameter constant for ingredient-code
|
protected BooleanType |
isBrand
Set to true if the item is attributable to a specific manufacturer.
|
protected Reference |
manufacturer
Describes the details of the manufacturer.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
MANUFACTURER
Fluent Client search parameter constant for manufacturer
|
protected Organization |
manufacturerTarget
The actual object that is the target of the reference (Describes the details of the manufacturer.)
|
protected Medication.MedicationPackageComponent |
package_
Information that only applies to packages (not products).
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PACKAGE_ITEM
Fluent Client search parameter constant for package-item
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PACKAGE_ITEM_CODE
Fluent Client search parameter constant for package-item-code
|
protected Medication.MedicationProductComponent |
product
Information that only applies to products (not packages).
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_CONTAINER
Search parameter: container
|
static String |
SP_FORM
Search parameter: form
|
static String |
SP_INGREDIENT
Search parameter: ingredient
|
static String |
SP_INGREDIENT_CODE
Search parameter: ingredient-code
|
static String |
SP_MANUFACTURER
Search parameter: manufacturer
|
static String |
SP_PACKAGE_ITEM
Search parameter: package-item
|
static String |
SP_PACKAGE_ITEM_CODE
Search parameter: package-item-code
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Medication()
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, 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, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected CodeableConcept code
protected BooleanType isBrand
protected Reference manufacturer
protected Organization manufacturerTarget
protected Medication.MedicationProductComponent product
protected Medication.MedicationPackageComponent package_
public static final String SP_FORM
Description: powder | tablets | carton +
Type: token
Path: Medication.product.form
public static final ca.uhn.fhir.rest.gclient.TokenClientParam FORM
Description: powder | tablets | carton +
Type: token
Path: Medication.product.form
public static final String SP_CONTAINER
Description: E.g. box, vial, blister-pack
Type: token
Path: Medication.package.container
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTAINER
Description: E.g. box, vial, blister-pack
Type: token
Path: Medication.package.container
public static final String SP_MANUFACTURER
Description: Manufacturer of the item
Type: reference
Path: Medication.manufacturer
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANUFACTURER
Description: Manufacturer of the item
Type: reference
Path: Medication.manufacturer
public static final ca.uhn.fhir.model.api.Include INCLUDE_MANUFACTURER
public static final String SP_PACKAGE_ITEM_CODE
Description: The item in the package
Type: token
Path: Medication.package.content.itemCodeableConcept
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PACKAGE_ITEM_CODE
Description: The item in the package
Type: token
Path: Medication.package.content.itemCodeableConcept
public static final String SP_INGREDIENT
Description: The product contained
Type: reference
Path: Medication.product.ingredient.itemReference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INGREDIENT
Description: The product contained
Type: reference
Path: Medication.product.ingredient.itemReference
public static final ca.uhn.fhir.model.api.Include INCLUDE_INGREDIENT
public static final String SP_PACKAGE_ITEM
Description: The item in the package
Type: reference
Path: Medication.package.content.itemReference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PACKAGE_ITEM
Description: The item in the package
Type: reference
Path: Medication.package.content.itemReference
public static final ca.uhn.fhir.model.api.Include INCLUDE_PACKAGE_ITEM
public static final String SP_CODE
Description: Codes that identify this medication
Type: token
Path: Medication.code
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description: Codes that identify this medication
Type: token
Path: Medication.code
public static final String SP_INGREDIENT_CODE
Description: The product contained
Type: token
Path: Medication.product.ingredient.itemCodeableConcept
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INGREDIENT_CODE
Description: The product contained
Type: token
Path: Medication.product.ingredient.itemCodeableConcept
public Medication()
public CodeableConcept getCode()
code (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.)public boolean hasCode()
public Medication setCode(CodeableConcept value)
value - code (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.)public BooleanType getIsBrandElement()
isBrand (Set to true if the item is attributable to a specific manufacturer.). This is the underlying object with id, value and extensions. The accessor "getIsBrand" gives direct access to the valuepublic boolean hasIsBrandElement()
public boolean hasIsBrand()
public Medication setIsBrandElement(BooleanType value)
value - isBrand (Set to true if the item is attributable to a specific manufacturer.). This is the underlying object with id, value and extensions. The accessor "getIsBrand" gives direct access to the valuepublic boolean getIsBrand()
public Medication setIsBrand(boolean value)
value - Set to true if the item is attributable to a specific manufacturer.public Reference getManufacturer()
manufacturer (Describes the details of the manufacturer.)public boolean hasManufacturer()
public Medication setManufacturer(Reference value)
value - manufacturer (Describes the details of the manufacturer.)public Organization getManufacturerTarget()
manufacturer The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Describes the details of the manufacturer.)public Medication setManufacturerTarget(Organization value)
value - manufacturer The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Describes the details of the manufacturer.)public Medication.MedicationProductComponent getProduct()
product (Information that only applies to products (not packages).)public boolean hasProduct()
public Medication setProduct(Medication.MedicationProductComponent value)
value - product (Information that only applies to products (not packages).)public Medication.MedicationPackageComponent getPackage()
package_ (Information that only applies to packages (not products).)public boolean hasPackage()
public Medication setPackage(Medication.MedicationPackageComponent value)
value - package_ (Information that only applies to packages (not products).)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Medication copy()
copy in class DomainResourceprotected Medication typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.