public class Medication extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Medication.MedicationBatchComponent |
static class |
Medication.MedicationIngredientComponent |
static class |
Medication.MedicationStatus |
static class |
Medication.MedicationStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Ratio |
amount
Specific amount of the drug in the packaged product.
|
protected Medication.MedicationBatchComponent |
batch
Information that only applies to packages (not products).
|
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.DateClientParam |
EXPIRATION_DATE
Fluent Client search parameter constant for expiration-date
|
protected CodeableConcept |
form
Describes the form of the item.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
FORM
Fluent Client search parameter constant for form
|
protected List<Identifier> |
identifier
Business identifier for this medication.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
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.
|
protected List<Medication.MedicationIngredientComponent> |
ingredient
Identifies a particular constituent of interest in the product.
|
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
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
LOT_NUMBER
Fluent Client search parameter constant for lot-number
|
protected Reference |
manufacturer
Describes the details of the manufacturer of the medication product.
|
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 of the medication product.
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_EXPIRATION_DATE
Search parameter: expiration-date
|
static String |
SP_FORM
Search parameter: form
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_INGREDIENT
Search parameter: ingredient
|
static String |
SP_INGREDIENT_CODE
Search parameter: ingredient-code
|
static String |
SP_LOT_NUMBER
Search parameter: lot-number
|
static String |
SP_MANUFACTURER
Search parameter: manufacturer
|
static String |
SP_STATUS
Search parameter: status
|
protected Enumeration<Medication.MedicationStatus> |
status
A code to indicate if the medication is in active use.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Medication()
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected CodeableConcept code
protected Enumeration<Medication.MedicationStatus> status
protected Reference manufacturer
protected Organization manufacturerTarget
protected CodeableConcept form
protected Ratio amount
protected List<Medication.MedicationIngredientComponent> ingredient
protected Medication.MedicationBatchComponent batch
public static final String SP_INGREDIENT_CODE
Description: Returns medications for this ingredient code
Type: token
Path: Medication.ingredient.itemCodeableConcept
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INGREDIENT_CODE
Description: Returns medications for this ingredient code
Type: token
Path: Medication.ingredient.itemCodeableConcept
public static final String SP_IDENTIFIER
Description: Returns medications with this external identifier
Type: token
Path: Medication.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Returns medications with this external identifier
Type: token
Path: Medication.identifier
public static final String SP_CODE
Description: Returns medications for a specific code
Type: token
Path: Medication.code
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description: Returns medications for a specific code
Type: token
Path: Medication.code
public static final String SP_INGREDIENT
Description: Returns medications for this ingredient reference
Type: reference
Path: Medication.ingredient.itemReference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INGREDIENT
Description: Returns medications for this ingredient reference
Type: reference
Path: Medication.ingredient.itemReference
public static final ca.uhn.fhir.model.api.Include INCLUDE_INGREDIENT
public static final String SP_FORM
Description: Returns medications for a specific dose form
Type: token
Path: Medication.form
public static final ca.uhn.fhir.rest.gclient.TokenClientParam FORM
Description: Returns medications for a specific dose form
Type: token
Path: Medication.form
public static final String SP_LOT_NUMBER
Description: Returns medications in a batch with this lot number
Type: token
Path: Medication.batch.lotNumber
public static final ca.uhn.fhir.rest.gclient.TokenClientParam LOT_NUMBER
Description: Returns medications in a batch with this lot number
Type: token
Path: Medication.batch.lotNumber
public static final String SP_EXPIRATION_DATE
Description: Returns medications in a batch with this expiration date
Type: date
Path: Medication.batch.expirationDate
public static final ca.uhn.fhir.rest.gclient.DateClientParam EXPIRATION_DATE
Description: Returns medications in a batch with this expiration date
Type: date
Path: Medication.batch.expirationDate
public static final String SP_MANUFACTURER
Description: Returns medications made or sold for this manufacturer
Type: reference
Path: Medication.manufacturer
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANUFACTURER
Description: Returns medications made or sold for this manufacturer
Type: reference
Path: Medication.manufacturer
public static final ca.uhn.fhir.model.api.Include INCLUDE_MANUFACTURER
public static final String SP_STATUS
Description: Returns medications for this status
Type: token
Path: Medication.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: Returns medications for this status
Type: token
Path: Medication.status
public Medication()
public List<Identifier> getIdentifier()
identifier (Business identifier for this medication.)public Medication setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Medication addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic 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 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 Ratio getAmount()
amount (Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).)public boolean hasAmount()
public Medication setAmount(Ratio value)
value - amount (Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).)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.MedicationBatchComponent getBatch()
batch (Information that only applies to packages (not products).)public boolean hasBatch()
public Medication setBatch(Medication.MedicationBatchComponent value)
value - batch (Information that only applies to packages (not products).)protected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base 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 String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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 interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic Medication copy()
copy in class DomainResourcepublic void copyValues(Medication dst)
protected 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–2021 Health Level 7. All rights reserved.