public class MedicationAdministration extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for MedicationAdministration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MedicationAdministration">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}MedicationAdministrationStatus"/>
<choice>
<element name="medicationCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="medicationReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="patient" type="{http://hl7.org/fhir}Reference"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<choice>
<element name="effectiveTimeDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="effectiveTimePeriod" type="{http://hl7.org/fhir}Period"/>
</choice>
<element name="practitioner" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="prescription" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="wasNotGiven" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="reasonNotGiven" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="reasonGiven" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="device" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
<element name="dosage" type="{http://hl7.org/fhir}MedicationAdministration.Dosage" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Reference> |
device |
protected MedicationAdministrationDosage |
dosage |
protected DateTime |
effectiveTimeDateTime |
protected Period |
effectiveTimePeriod |
protected Reference |
encounter |
protected java.util.List<Identifier> |
identifier |
protected CodeableConcept |
medicationCodeableConcept |
protected Reference |
medicationReference |
protected java.util.List<Annotation> |
note |
protected Reference |
patient |
protected Reference |
practitioner |
protected Reference |
prescription |
protected java.util.List<CodeableConcept> |
reasonGiven |
protected java.util.List<CodeableConcept> |
reasonNotGiven |
protected MedicationAdministrationStatus |
status |
protected Boolean |
wasNotGiven |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
MedicationAdministration() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.util.List<Reference> |
getDevice()
Gets the value of the device property.
|
MedicationAdministrationDosage |
getDosage()
Gets the value of the dosage property.
|
DateTime |
getEffectiveTimeDateTime()
Gets the value of the effectiveTimeDateTime property.
|
Period |
getEffectiveTimePeriod()
Gets the value of the effectiveTimePeriod property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
CodeableConcept |
getMedicationCodeableConcept()
Gets the value of the medicationCodeableConcept property.
|
Reference |
getMedicationReference()
Gets the value of the medicationReference property.
|
java.util.List<Annotation> |
getNote()
Gets the value of the note property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
Reference |
getPractitioner()
Gets the value of the practitioner property.
|
Reference |
getPrescription()
Gets the value of the prescription property.
|
java.util.List<CodeableConcept> |
getReasonGiven()
Gets the value of the reasonGiven property.
|
java.util.List<CodeableConcept> |
getReasonNotGiven()
Gets the value of the reasonNotGiven property.
|
MedicationAdministrationStatus |
getStatus()
Gets the value of the status property.
|
Boolean |
getWasNotGiven()
Gets the value of the wasNotGiven property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDosage(MedicationAdministrationDosage value)
Sets the value of the dosage property.
|
void |
setEffectiveTimeDateTime(DateTime value)
Sets the value of the effectiveTimeDateTime property.
|
void |
setEffectiveTimePeriod(Period value)
Sets the value of the effectiveTimePeriod property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setMedicationCodeableConcept(CodeableConcept value)
Sets the value of the medicationCodeableConcept property.
|
void |
setMedicationReference(Reference value)
Sets the value of the medicationReference property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setPractitioner(Reference value)
Sets the value of the practitioner property.
|
void |
setPrescription(Reference value)
Sets the value of the prescription property.
|
void |
setStatus(MedicationAdministrationStatus value)
Sets the value of the status property.
|
void |
setWasNotGiven(Boolean value)
Sets the value of the wasNotGiven property.
|
java.lang.String |
toString() |
MedicationAdministration |
withContained(java.util.Collection<ResourceContainer> values) |
MedicationAdministration |
withContained(ResourceContainer... values) |
MedicationAdministration |
withDevice(java.util.Collection<Reference> values) |
MedicationAdministration |
withDevice(Reference... values) |
MedicationAdministration |
withDosage(MedicationAdministrationDosage value) |
MedicationAdministration |
withEffectiveTimeDateTime(DateTime value) |
MedicationAdministration |
withEffectiveTimePeriod(Period value) |
MedicationAdministration |
withEncounter(Reference value) |
MedicationAdministration |
withExtension(java.util.Collection<Extension> values) |
MedicationAdministration |
withExtension(Extension... values) |
MedicationAdministration |
withId(Id value) |
MedicationAdministration |
withIdentifier(java.util.Collection<Identifier> values) |
MedicationAdministration |
withIdentifier(Identifier... values) |
MedicationAdministration |
withImplicitRules(Uri value) |
MedicationAdministration |
withLanguage(Code value) |
MedicationAdministration |
withMedicationCodeableConcept(CodeableConcept value) |
MedicationAdministration |
withMedicationReference(Reference value) |
MedicationAdministration |
withMeta(Meta value) |
MedicationAdministration |
withModifierExtension(java.util.Collection<Extension> values) |
MedicationAdministration |
withModifierExtension(Extension... values) |
MedicationAdministration |
withNote(Annotation... values) |
MedicationAdministration |
withNote(java.util.Collection<Annotation> values) |
MedicationAdministration |
withPatient(Reference value) |
MedicationAdministration |
withPractitioner(Reference value) |
MedicationAdministration |
withPrescription(Reference value) |
MedicationAdministration |
withReasonGiven(CodeableConcept... values) |
MedicationAdministration |
withReasonGiven(java.util.Collection<CodeableConcept> values) |
MedicationAdministration |
withReasonNotGiven(CodeableConcept... values) |
MedicationAdministration |
withReasonNotGiven(java.util.Collection<CodeableConcept> values) |
MedicationAdministration |
withStatus(MedicationAdministrationStatus value) |
MedicationAdministration |
withText(Narrative value) |
MedicationAdministration |
withWasNotGiven(Boolean value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected MedicationAdministrationStatus status
protected CodeableConcept medicationCodeableConcept
protected Reference medicationReference
protected Reference patient
protected Reference encounter
protected DateTime effectiveTimeDateTime
protected Period effectiveTimePeriod
protected Reference practitioner
protected Reference prescription
protected Boolean wasNotGiven
protected java.util.List<CodeableConcept> reasonNotGiven
protected java.util.List<CodeableConcept> reasonGiven
protected java.util.List<Reference> device
protected java.util.List<Annotation> note
protected MedicationAdministrationDosage dosage
public java.util.List<Identifier> getIdentifier()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public MedicationAdministrationStatus getStatus()
MedicationAdministrationStatuspublic void setStatus(MedicationAdministrationStatus value)
value - allowed object is
MedicationAdministrationStatuspublic CodeableConcept getMedicationCodeableConcept()
CodeableConceptpublic void setMedicationCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getMedicationReference()
Referencepublic void setMedicationReference(Reference value)
value - allowed object is
Referencepublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic DateTime getEffectiveTimeDateTime()
DateTimepublic void setEffectiveTimeDateTime(DateTime value)
value - allowed object is
DateTimepublic Period getEffectiveTimePeriod()
Periodpublic void setEffectiveTimePeriod(Period value)
value - allowed object is
Periodpublic Reference getPractitioner()
Referencepublic void setPractitioner(Reference value)
value - allowed object is
Referencepublic Reference getPrescription()
Referencepublic void setPrescription(Reference value)
value - allowed object is
Referencepublic Boolean getWasNotGiven()
Booleanpublic void setWasNotGiven(Boolean value)
value - allowed object is
Booleanpublic java.util.List<CodeableConcept> getReasonNotGiven()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the reasonNotGiven property.
For example, to add a new item, do as follows:
getReasonNotGiven().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<CodeableConcept> getReasonGiven()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the reasonGiven property.
For example, to add a new item, do as follows:
getReasonGiven().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<Reference> getDevice()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the device property.
For example, to add a new item, do as follows:
getDevice().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<Annotation> getNote()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the note property.
For example, to add a new item, do as follows:
getNote().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
public MedicationAdministrationDosage getDosage()
MedicationAdministrationDosagepublic void setDosage(MedicationAdministrationDosage value)
value - allowed object is
MedicationAdministrationDosagepublic MedicationAdministration withIdentifier(Identifier... values)
public MedicationAdministration withIdentifier(java.util.Collection<Identifier> values)
public MedicationAdministration withStatus(MedicationAdministrationStatus value)
public MedicationAdministration withMedicationCodeableConcept(CodeableConcept value)
public MedicationAdministration withMedicationReference(Reference value)
public MedicationAdministration withPatient(Reference value)
public MedicationAdministration withEncounter(Reference value)
public MedicationAdministration withEffectiveTimeDateTime(DateTime value)
public MedicationAdministration withEffectiveTimePeriod(Period value)
public MedicationAdministration withPractitioner(Reference value)
public MedicationAdministration withPrescription(Reference value)
public MedicationAdministration withWasNotGiven(Boolean value)
public MedicationAdministration withReasonNotGiven(CodeableConcept... values)
public MedicationAdministration withReasonNotGiven(java.util.Collection<CodeableConcept> values)
public MedicationAdministration withReasonGiven(CodeableConcept... values)
public MedicationAdministration withReasonGiven(java.util.Collection<CodeableConcept> values)
public MedicationAdministration withDevice(Reference... values)
public MedicationAdministration withDevice(java.util.Collection<Reference> values)
public MedicationAdministration withNote(Annotation... values)
public MedicationAdministration withNote(java.util.Collection<Annotation> values)
public MedicationAdministration withDosage(MedicationAdministrationDosage value)
public MedicationAdministration withText(Narrative value)
withText in class DomainResourcepublic MedicationAdministration withContained(ResourceContainer... values)
withContained in class DomainResourcepublic MedicationAdministration withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic MedicationAdministration withExtension(Extension... values)
withExtension in class DomainResourcepublic MedicationAdministration withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic MedicationAdministration withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic MedicationAdministration withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic MedicationAdministration withId(Id value)
withId in class DomainResourcepublic MedicationAdministration withMeta(Meta value)
withMeta in class DomainResourcepublic MedicationAdministration withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic MedicationAdministration withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource