public class Medication extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Medication.MedicationIngredientComponent |
static class |
Medication.MedicationPackageBatchComponent |
static class |
Medication.MedicationPackageComponent |
static class |
Medication.MedicationPackageContentComponent |
static class |
Medication.MedicationStatus |
static class |
Medication.MedicationStatusEnumFactory |
| 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 TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static TokenClientParam |
CONTAINER
Fluent Client search parameter constant for container
|
protected CodeableConcept |
form
Describes the form of the item.
|
static TokenClientParam |
FORM
Fluent Client search parameter constant for form
|
protected List<Attachment> |
image
Photo(s) or graphic representation(s) of the medication.
|
static Include |
INCLUDE_INGREDIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_MANUFACTURER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PACKAGE_ITEM
Constant for fluent queries to be used to add include statements.
|
protected List<Medication.MedicationIngredientComponent> |
ingredient
Identifies a particular constituent of interest in the product.
|
static ReferenceClientParam |
INGREDIENT
Fluent Client search parameter constant for ingredient
|
static 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 BooleanType |
isOverTheCounter
Set to true if the medication can be obtained without an order from a prescriber.
|
protected Reference |
manufacturer
Describes the details of the manufacturer of the medication product.
|
static 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 of the medication product.
|
static TokenClientParam |
OVER_THE_COUNTER
Fluent Client search parameter constant for over-the-counter
|
protected Medication.MedicationPackageComponent |
package_
Information that only applies to packages (not products).
|
static ReferenceClientParam |
PACKAGE_ITEM
Fluent Client search parameter constant for package-item
|
static TokenClientParam |
PACKAGE_ITEM_CODE
Fluent Client search parameter constant for package-item-code
|
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_OVER_THE_COUNTER
Search parameter: over-the-counter
|
static String |
SP_PACKAGE_ITEM
Search parameter: package-item
|
static String |
SP_PACKAGE_ITEM_CODE
Search parameter: package-item-code
|
static String |
SP_STATUS
Search parameter: status
|
protected Enumeration<Medication.MedicationStatus> |
status
A code to indicate if the medication is in active use.
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Medication()
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected CodeableConcept code
protected Enumeration<Medication.MedicationStatus> status
protected BooleanType isBrand
protected BooleanType isOverTheCounter
protected Reference manufacturer
protected Organization manufacturerTarget
protected CodeableConcept form
protected List<Medication.MedicationIngredientComponent> ingredient
protected Medication.MedicationPackageComponent package_
protected List<Attachment> image
public static final String SP_INGREDIENT_CODE
Description: The product contained
Type: token
Path: Medication.ingredient.itemCodeableConcept
public static final TokenClientParam INGREDIENT_CODE
Description: The product contained
Type: token
Path: Medication.ingredient.itemCodeableConcept
public static final String SP_CONTAINER
Description: E.g. box, vial, blister-pack
Type: token
Path: Medication.package.container
public static final TokenClientParam CONTAINER
Description: E.g. box, vial, blister-pack
Type: token
Path: Medication.package.container
public static final String SP_PACKAGE_ITEM
Description: The item in the package
Type: reference
Path: Medication.package.content.itemReference
public static final ReferenceClientParam PACKAGE_ITEM
Description: The item in the package
Type: reference
Path: Medication.package.content.itemReference
public static final Include INCLUDE_PACKAGE_ITEM
public static final String SP_CODE
Description: Codes that identify this medication
Type: token
Path: Medication.code
public static final TokenClientParam CODE
Description: Codes that identify this medication
Type: token
Path: Medication.code
public static final String SP_INGREDIENT
Description: The product contained
Type: reference
Path: Medication.ingredient.itemReference
public static final ReferenceClientParam INGREDIENT
Description: The product contained
Type: reference
Path: Medication.ingredient.itemReference
public static final Include INCLUDE_INGREDIENT
public static final String SP_FORM
Description: powder | tablets | capsule +
Type: token
Path: Medication.form
public static final TokenClientParam FORM
Description: powder | tablets | capsule +
Type: token
Path: Medication.form
public static final String SP_PACKAGE_ITEM_CODE
Description: The item in the package
Type: token
Path: Medication.package.content.itemCodeableConcept
public static final TokenClientParam PACKAGE_ITEM_CODE
Description: The item in the package
Type: token
Path: Medication.package.content.itemCodeableConcept
public static final String SP_MANUFACTURER
Description: Manufacturer of the item
Type: reference
Path: Medication.manufacturer
public static final ReferenceClientParam MANUFACTURER
Description: Manufacturer of the item
Type: reference
Path: Medication.manufacturer
public static final Include INCLUDE_MANUFACTURER
public static final String SP_OVER_THE_COUNTER
Description: True if medication does not require a prescription
Type: token
Path: Medication.isOverTheCounter
public static final TokenClientParam OVER_THE_COUNTER
Description: True if medication does not require a prescription
Type: token
Path: Medication.isOverTheCounter
public static final String SP_STATUS
Description: active | inactive | entered-in-error
Type: token
Path: Medication.status
public static final TokenClientParam STATUS
Description: active | inactive | entered-in-error
Type: token
Path: Medication.status
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 Enumeration<Medication.MedicationStatus> getStatusElement()
status (A code to indicate if the medication is in active use.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Medication setStatusElement(Enumeration<Medication.MedicationStatus> value)
value - status (A code to indicate if the medication is in active use.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Medication.MedicationStatus getStatus()
public Medication setStatus(Medication.MedicationStatus value)
value - A code to indicate if the medication is in active use.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 BooleanType getIsOverTheCounterElement()
isOverTheCounter (Set to true if the medication can be obtained without an order from a prescriber.). This is the underlying object with id, value and extensions. The accessor "getIsOverTheCounter" gives direct access to the valuepublic boolean hasIsOverTheCounterElement()
public boolean hasIsOverTheCounter()
public Medication setIsOverTheCounterElement(BooleanType value)
value - isOverTheCounter (Set to true if the medication can be obtained without an order from a prescriber.). This is the underlying object with id, value and extensions. The accessor "getIsOverTheCounter" gives direct access to the valuepublic boolean getIsOverTheCounter()
public Medication setIsOverTheCounter(boolean value)
value - Set to true if the medication can be obtained without an order from a prescriber.public Reference getManufacturer()
manufacturer (Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.)public boolean hasManufacturer()
public Medication setManufacturer(Reference value)
value - manufacturer (Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.)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 of the medication product. This is not intended to represent the distributor of a medication product.)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 of the medication product. This is not intended to represent the distributor of a medication product.)public CodeableConcept getForm()
form (Describes the form of the item. Powder; tablets; capsule.)public boolean hasForm()
public Medication setForm(CodeableConcept value)
value - form (Describes the form of the item. Powder; tablets; capsule.)public List<Medication.MedicationIngredientComponent> getIngredient()
ingredient (Identifies a particular constituent of interest in the product.)public Medication setIngredient(List<Medication.MedicationIngredientComponent> theIngredient)
this for easy method chainingpublic boolean hasIngredient()
public Medication.MedicationIngredientComponent addIngredient()
public Medication addIngredient(Medication.MedicationIngredientComponent t)
public Medication.MedicationIngredientComponent getIngredientFirstRep()
ingredient, creating it if it does not already existpublic 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).)public List<Attachment> getImage()
image (Photo(s) or graphic representation(s) of the medication.)public Medication setImage(List<Attachment> theImage)
this for easy method chainingpublic boolean hasImage()
public Attachment addImage()
public Medication addImage(Attachment t)
public Attachment getImageFirstRep()
image, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic 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 IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.