public class MedicationAdministration extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
MedicationAdministration.MedicationAdministrationDosageComponent |
static class |
MedicationAdministration.MedicationAdministrationStatus |
static class |
MedicationAdministration.MedicationAdministrationStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
protected List<Reference> |
device
The device used in administering the medication to the patient.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
DEVICE
Fluent Client search parameter constant for device
|
protected List<Device> |
deviceTarget
The actual objects that are the target of the reference (The device used in administering the medication to the patient.
|
protected MedicationAdministration.MedicationAdministrationDosageComponent |
dosage
Describes the medication dosage information details e.g.
|
protected Type |
effectiveTime
A specific date/time or interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true).
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
EFFECTIVETIME
Fluent Client search parameter constant for effectivetime
|
protected Reference |
encounter
The visit, admission or other contact between patient and health care provider the medication administration was performed as part of.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
protected Encounter |
encounterTarget
The actual object that is the target of the reference (The visit, admission or other contact between patient and health care provider the medication administration was performed as part of.)
|
protected List<Identifier> |
identifier
External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_MEDICATION
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PRESCRIPTION
Constant for fluent queries to be used to add include statements.
|
protected Type |
medication
Identifies the medication that was administered.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
MEDICATION
Fluent Client search parameter constant for medication
|
protected List<Annotation> |
note
Extra information about the medication administration that is not conveyed by the other attributes.
|
protected Reference |
patient
The person or animal receiving the medication.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Patient |
patientTarget
The actual object that is the target of the reference (The person or animal receiving the medication.)
|
protected Reference |
practitioner
The individual who was responsible for giving the medication to the patient.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PRACTITIONER
Fluent Client search parameter constant for practitioner
|
protected Resource |
practitionerTarget
The actual object that is the target of the reference (The individual who was responsible for giving the medication to the patient.)
|
protected Reference |
prescription
The original request, instruction or authority to perform the administration.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PRESCRIPTION
Fluent Client search parameter constant for prescription
|
protected MedicationOrder |
prescriptionTarget
The actual object that is the target of the reference (The original request, instruction or authority to perform the administration.)
|
protected List<CodeableConcept> |
reasonGiven
A code indicating why the medication was given.
|
protected List<CodeableConcept> |
reasonNotGiven
A code indicating why the administration was not performed.
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_DEVICE
Search parameter: device
|
static String |
SP_EFFECTIVETIME
Search parameter: effectivetime
|
static String |
SP_ENCOUNTER
Search parameter: encounter
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_MEDICATION
Search parameter: medication
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PRACTITIONER
Search parameter: practitioner
|
static String |
SP_PRESCRIPTION
Search parameter: prescription
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_WASNOTGIVEN
Search parameter: wasnotgiven
|
protected Enumeration<MedicationAdministration.MedicationAdministrationStatus> |
status
Will generally be set to show that the administration has been completed.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected BooleanType |
wasNotGiven
Set this to true if the record is saying that the medication was NOT administered.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
WASNOTGIVEN
Fluent Client search parameter constant for wasnotgiven
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
MedicationAdministration()
Constructor
|
MedicationAdministration(Enumeration<MedicationAdministration.MedicationAdministrationStatus> status,
Type medication,
Reference patient,
Type effectiveTime)
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 List<Identifier> identifier
protected Enumeration<MedicationAdministration.MedicationAdministrationStatus> status
protected Type medication
protected Patient patientTarget
protected Reference encounter
protected Encounter encounterTarget
protected Type effectiveTime
protected Reference practitioner
protected Resource practitionerTarget
protected Reference prescription
protected MedicationOrder prescriptionTarget
protected BooleanType wasNotGiven
protected List<CodeableConcept> reasonNotGiven
protected List<CodeableConcept> reasonGiven
protected List<Reference> device
protected List<Device> deviceTarget
protected List<Annotation> note
protected MedicationAdministration.MedicationAdministrationDosageComponent dosage
public static final String SP_MEDICATION
Description: Return administrations of this medication resource
Type: reference
Path: MedicationAdministration.medicationReference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION
Description: Return administrations of this medication resource
Type: reference
Path: MedicationAdministration.medicationReference
public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION
public static final String SP_EFFECTIVETIME
Description: Date administration happened (or did not happen)
Type: date
Path: MedicationAdministration.effectiveTime[x]
public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVETIME
Description: Date administration happened (or did not happen)
Type: date
Path: MedicationAdministration.effectiveTime[x]
public static final String SP_PATIENT
Description: The identity of a patient to list administrations for
Type: reference
Path: MedicationAdministration.patient
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: The identity of a patient to list administrations for
Type: reference
Path: MedicationAdministration.patient
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_PRACTITIONER
Description: Who administered substance
Type: reference
Path: MedicationAdministration.practitioner
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER
Description: Who administered substance
Type: reference
Path: MedicationAdministration.practitioner
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER
public static final String SP_STATUS
Description: MedicationAdministration event status (for example one of active/paused/completed/nullified)
Type: token
Path: MedicationAdministration.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: MedicationAdministration event status (for example one of active/paused/completed/nullified)
Type: token
Path: MedicationAdministration.status
public static final String SP_PRESCRIPTION
Description: The identity of a prescription to list administrations from
Type: reference
Path: MedicationAdministration.prescription
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRESCRIPTION
Description: The identity of a prescription to list administrations from
Type: reference
Path: MedicationAdministration.prescription
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRESCRIPTION
public static final String SP_DEVICE
Description: Return administrations with this administration device identity
Type: reference
Path: MedicationAdministration.device
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE
Description: Return administrations with this administration device identity
Type: reference
Path: MedicationAdministration.device
public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE
public static final String SP_CODE
Description: Return administrations of this medication code
Type: token
Path: MedicationAdministration.medicationCodeableConcept
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description: Return administrations of this medication code
Type: token
Path: MedicationAdministration.medicationCodeableConcept
public static final String SP_ENCOUNTER
Description: Return administrations that share this encounter
Type: reference
Path: MedicationAdministration.encounter
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Description: Return administrations that share this encounter
Type: reference
Path: MedicationAdministration.encounter
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
public static final String SP_IDENTIFIER
Description: Return administrations with this external identifier
Type: token
Path: MedicationAdministration.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Return administrations with this external identifier
Type: token
Path: MedicationAdministration.identifier
public static final String SP_WASNOTGIVEN
Description: Administrations that were not made
Type: token
Path: MedicationAdministration.wasNotGiven
public static final ca.uhn.fhir.rest.gclient.TokenClientParam WASNOTGIVEN
Description: Administrations that were not made
Type: token
Path: MedicationAdministration.wasNotGiven
public MedicationAdministration()
public MedicationAdministration(Enumeration<MedicationAdministration.MedicationAdministrationStatus> status, Type medication, Reference patient, Type effectiveTime)
public List<Identifier> getIdentifier()
identifier (External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated.)public MedicationAdministration addIdentifier(Identifier t)
public Enumeration<MedicationAdministration.MedicationAdministrationStatus> getStatusElement()
status (Will generally be set to show that the administration has been completed. For some long running administrations such as infusions it is possible for an administration to be started but not completed or it may be paused while some other process is under way.). 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 MedicationAdministration setStatusElement(Enumeration<MedicationAdministration.MedicationAdministrationStatus> value)
value - status (Will generally be set to show that the administration has been completed. For some long running administrations such as infusions it is possible for an administration to be started but not completed or it may be paused while some other process is under way.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic MedicationAdministration.MedicationAdministrationStatus getStatus()
public MedicationAdministration setStatus(MedicationAdministration.MedicationAdministrationStatus value)
value - Will generally be set to show that the administration has been completed. For some long running administrations such as infusions it is possible for an administration to be started but not completed or it may be paused while some other process is under way.public Type getMedication()
medication (Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.)public CodeableConcept getMedicationCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
medication (Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMedicationCodeableConcept()
public Reference getMedicationReference() throws org.hl7.fhir.exceptions.FHIRException
medication (Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMedicationReference()
public boolean hasMedication()
public MedicationAdministration setMedication(Type value)
value - medication (Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.)public Reference getPatient()
patient (The person or animal receiving the medication.)public boolean hasPatient()
public MedicationAdministration setPatient(Reference value)
value - patient (The person or animal receiving the medication.)public Patient getPatientTarget()
patient 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. (The person or animal receiving the medication.)public MedicationAdministration setPatientTarget(Patient value)
value - patient 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. (The person or animal receiving the medication.)public Reference getEncounter()
encounter (The visit, admission or other contact between patient and health care provider the medication administration was performed as part of.)public boolean hasEncounter()
public MedicationAdministration setEncounter(Reference value)
value - encounter (The visit, admission or other contact between patient and health care provider the medication administration was performed as part of.)public Encounter getEncounterTarget()
encounter 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. (The visit, admission or other contact between patient and health care provider the medication administration was performed as part of.)public MedicationAdministration setEncounterTarget(Encounter value)
value - encounter 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. (The visit, admission or other contact between patient and health care provider the medication administration was performed as part of.)public Type getEffectiveTime()
effectiveTime (A specific date/time or interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.)public DateTimeType getEffectiveTimeDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
effectiveTime (A specific date/time or interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasEffectiveTimeDateTimeType()
public Period getEffectiveTimePeriod() throws org.hl7.fhir.exceptions.FHIRException
effectiveTime (A specific date/time or interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasEffectiveTimePeriod()
public boolean hasEffectiveTime()
public MedicationAdministration setEffectiveTime(Type value)
value - effectiveTime (A specific date/time or interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.)public Reference getPractitioner()
practitioner (The individual who was responsible for giving the medication to the patient.)public boolean hasPractitioner()
public MedicationAdministration setPractitioner(Reference value)
value - practitioner (The individual who was responsible for giving the medication to the patient.)public Resource getPractitionerTarget()
practitioner 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. (The individual who was responsible for giving the medication to the patient.)public MedicationAdministration setPractitionerTarget(Resource value)
value - practitioner 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. (The individual who was responsible for giving the medication to the patient.)public Reference getPrescription()
prescription (The original request, instruction or authority to perform the administration.)public boolean hasPrescription()
public MedicationAdministration setPrescription(Reference value)
value - prescription (The original request, instruction or authority to perform the administration.)public MedicationOrder getPrescriptionTarget()
prescription 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. (The original request, instruction or authority to perform the administration.)public MedicationAdministration setPrescriptionTarget(MedicationOrder value)
value - prescription 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. (The original request, instruction or authority to perform the administration.)public BooleanType getWasNotGivenElement()
wasNotGiven (Set this to true if the record is saying that the medication was NOT administered.). This is the underlying object with id, value and extensions. The accessor "getWasNotGiven" gives direct access to the valuepublic boolean hasWasNotGivenElement()
public boolean hasWasNotGiven()
public MedicationAdministration setWasNotGivenElement(BooleanType value)
value - wasNotGiven (Set this to true if the record is saying that the medication was NOT administered.). This is the underlying object with id, value and extensions. The accessor "getWasNotGiven" gives direct access to the valuepublic boolean getWasNotGiven()
public MedicationAdministration setWasNotGiven(boolean value)
value - Set this to true if the record is saying that the medication was NOT administered.public List<CodeableConcept> getReasonNotGiven()
reasonNotGiven (A code indicating why the administration was not performed.)public boolean hasReasonNotGiven()
public CodeableConcept addReasonNotGiven()
reasonNotGiven (A code indicating why the administration was not performed.)public MedicationAdministration addReasonNotGiven(CodeableConcept t)
public List<CodeableConcept> getReasonGiven()
reasonGiven (A code indicating why the medication was given.)public boolean hasReasonGiven()
public CodeableConcept addReasonGiven()
reasonGiven (A code indicating why the medication was given.)public MedicationAdministration addReasonGiven(CodeableConcept t)
public List<Reference> getDevice()
device (The device used in administering the medication to the patient. For example, a particular infusion pump.)public boolean hasDevice()
public Reference addDevice()
device (The device used in administering the medication to the patient. For example, a particular infusion pump.)public MedicationAdministration addDevice(Reference t)
public List<Device> getDeviceTarget()
device (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The device used in administering the medication to the patient. For example, a particular infusion pump.)public Device addDeviceTarget()
device (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. The device used in administering the medication to the patient. For example, a particular infusion pump.)public List<Annotation> getNote()
note (Extra information about the medication administration that is not conveyed by the other attributes.)public boolean hasNote()
public Annotation addNote()
note (Extra information about the medication administration that is not conveyed by the other attributes.)public MedicationAdministration addNote(Annotation t)
public MedicationAdministration.MedicationAdministrationDosageComponent getDosage()
dosage (Describes the medication dosage information details e.g. dose, rate, site, route, etc.)public boolean hasDosage()
public MedicationAdministration setDosage(MedicationAdministration.MedicationAdministrationDosageComponent value)
value - dosage (Describes the medication dosage information details e.g. dose, rate, site, route, etc.)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 MedicationAdministration copy()
copy in class DomainResourceprotected MedicationAdministration 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.