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 |
|---|---|
protected List<Reference> |
device
The device used in administering the medication to the patient.
|
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).
|
protected Reference |
encounter
The visit, admission or other contact between patient and health care provider the medication administration was performed as part of.
|
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.
|
protected Type |
medication
Identifies the medication that was administered.
|
protected StringType |
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.
|
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.
|
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.
|
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 |
static String |
SP_DEVICE |
static String |
SP_EFFECTIVETIME |
static String |
SP_ENCOUNTER |
static String |
SP_IDENTIFIER |
static String |
SP_MEDICATION |
static String |
SP_NOTGIVEN |
static String |
SP_PATIENT |
static String |
SP_PRACTITIONER |
static String |
SP_PRESCRIPTION |
static String |
SP_STATUS |
protected Enumeration<MedicationAdministration.MedicationAdministrationStatus> |
status
Will generally be set to show that the administration has been completed.
|
protected BooleanType |
wasNotGiven
Set this to true if the record is saying that the medication was NOT administered.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
MedicationAdministration() |
MedicationAdministration(Enumeration<MedicationAdministration.MedicationAdministrationStatus> status,
Reference patient,
Type effectiveTime,
Type 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 List<Identifier> identifier
protected Enumeration<MedicationAdministration.MedicationAdministrationStatus> status
protected Patient patientTarget
protected Reference practitioner
protected Resource practitionerTarget
protected Reference encounter
protected Encounter encounterTarget
protected Reference prescription
protected MedicationOrder prescriptionTarget
protected BooleanType wasNotGiven
protected List<CodeableConcept> reasonNotGiven
protected List<CodeableConcept> reasonGiven
protected Type effectiveTime
protected Type medication
protected List<Reference> device
protected List<Device> deviceTarget
protected StringType note
protected MedicationAdministration.MedicationAdministrationDosageComponent dosage
public static final String SP_IDENTIFIER
public static final String SP_CODE
public static final String SP_PRESCRIPTION
public static final String SP_EFFECTIVETIME
public static final String SP_PRACTITIONER
public static final String SP_PATIENT
public static final String SP_MEDICATION
public static final String SP_ENCOUNTER
public static final String SP_DEVICE
public static final String SP_NOTGIVEN
public static final String SP_STATUS
public MedicationAdministration()
public MedicationAdministration(Enumeration<MedicationAdministration.MedicationAdministrationStatus> status, Reference patient, Type effectiveTime, Type medication)
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 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 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 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 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 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 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 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 StringType getNoteElement()
note (Extra information about the medication administration that is not conveyed by the other attributes.). This is the underlying object with id, value and extensions. The accessor "getNote" gives direct access to the valuepublic boolean hasNoteElement()
public boolean hasNote()
public MedicationAdministration setNoteElement(StringType value)
value - note (Extra information about the medication administration that is not conveyed by the other attributes.). This is the underlying object with id, value and extensions. The accessor "getNote" gives direct access to the valuepublic String getNote()
public MedicationAdministration setNote(String value)
value - Extra information about the medication administration that is not conveyed by the other attributes.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 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 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.