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.
|
protected BooleanType |
isBrand
Set to true if the item is attributable to a specific manufacturer.
|
protected Reference |
manufacturer
Describes the details of the 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).
|
protected Medication.MedicationProductComponent |
product
Information that only applies to products (not packages).
|
static String |
SP_CODE |
static String |
SP_CONTAINER |
static String |
SP_CONTENT |
static String |
SP_FORM |
static String |
SP_INGREDIENT |
static String |
SP_MANUFACTURER |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Medication() |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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_CONTAINER
public static final String SP_CODE
public static final String SP_INGREDIENT
public static final String SP_FORM
public static final String SP_CONTENT
public static final String SP_MANUFACTURER
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 void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty 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.