Class MedicationAdministration
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MedicationAdministrationDosageprotected DateTimeprotected Periodprotected Referenceprotected List<Identifier> protected CodeableConceptprotected Referenceprotected List<Annotation> protected Referenceprotected Referenceprotected Referenceprotected List<CodeableConcept> protected List<CodeableConcept> protected MedicationAdministrationStatusprotected BooleanFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the device property.Gets the value of the dosage property.Gets the value of the effectiveTimeDateTime property.Gets the value of the effectiveTimePeriod property.Gets the value of the encounter property.Gets the value of the identifier property.Gets the value of the medicationCodeableConcept property.Gets the value of the medicationReference property.getNote()Gets the value of the note property.Gets the value of the patient property.Gets the value of the practitioner property.Gets the value of the prescription property.Gets the value of the reasonGiven property.Gets the value of the reasonNotGiven property.Gets the value of the status property.Gets the value of the wasNotGiven property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidvoidSets the value of the dosage property.voidsetEffectiveTimeDateTime(DateTime value) Sets the value of the effectiveTimeDateTime property.voidsetEffectiveTimePeriod(Period value) Sets the value of the effectiveTimePeriod property.voidsetEncounter(Reference value) Sets the value of the encounter property.voidsetIdentifier(List<Identifier> value) voidSets the value of the medicationCodeableConcept property.voidsetMedicationReference(Reference value) Sets the value of the medicationReference property.voidsetNote(List<Annotation> value) voidsetPatient(Reference value) Sets the value of the patient property.voidsetPractitioner(Reference value) Sets the value of the practitioner property.voidsetPrescription(Reference value) Sets the value of the prescription property.voidsetReasonGiven(List<CodeableConcept> value) voidsetReasonNotGiven(List<CodeableConcept> value) voidSets the value of the status property.voidsetWasNotGiven(Boolean value) Sets the value of the wasNotGiven property.toString()withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDevice(Collection<Reference> values) withDevice(Reference... values) withEffectiveTimePeriod(Period value) withEncounter(Reference value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withMedicationReference(Reference value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withNote(Collection<Annotation> values) withNote(Annotation... values) withPatient(Reference value) withPractitioner(Reference value) withPrescription(Reference value) withReasonGiven(Collection<CodeableConcept> values) withReasonGiven(CodeableConcept... values) withReasonNotGiven(Collection<CodeableConcept> values) withReasonNotGiven(CodeableConcept... values) withWasNotGiven(Boolean value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
status
-
medicationCodeableConcept
-
medicationReference
-
patient
-
encounter
-
effectiveTimeDateTime
-
effectiveTimePeriod
-
practitioner
-
prescription
-
wasNotGiven
-
reasonNotGiven
-
reasonGiven
-
device
-
note
-
dosage
-
-
Constructor Details
-
MedicationAdministration
public MedicationAdministration()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getStatus
Gets the value of the status property.- Returns:
- possible object is
MedicationAdministrationStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isMedicationAdministrationStatus
-
getMedicationCodeableConcept
Gets the value of the medicationCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setMedicationCodeableConcept
Sets the value of the medicationCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getMedicationReference
Gets the value of the medicationReference property.- Returns:
- possible object is
Reference
-
setMedicationReference
Sets the value of the medicationReference property.- Parameters:
value- allowed object isReference
-
getPatient
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getEncounter
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getEffectiveTimeDateTime
Gets the value of the effectiveTimeDateTime property.- Returns:
- possible object is
DateTime
-
setEffectiveTimeDateTime
Sets the value of the effectiveTimeDateTime property.- Parameters:
value- allowed object isDateTime
-
getEffectiveTimePeriod
Gets the value of the effectiveTimePeriod property.- Returns:
- possible object is
Period
-
setEffectiveTimePeriod
Sets the value of the effectiveTimePeriod property.- Parameters:
value- allowed object isPeriod
-
getPractitioner
Gets the value of the practitioner property.- Returns:
- possible object is
Reference
-
setPractitioner
Sets the value of the practitioner property.- Parameters:
value- allowed object isReference
-
getPrescription
Gets the value of the prescription property.- Returns:
- possible object is
Reference
-
setPrescription
Sets the value of the prescription property.- Parameters:
value- allowed object isReference
-
getWasNotGiven
Gets the value of the wasNotGiven property.- Returns:
- possible object is
Boolean
-
setWasNotGiven
Sets the value of the wasNotGiven property.- Parameters:
value- allowed object isBoolean
-
getReasonNotGiven
Gets the value of the reasonNotGiven property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getReasonGiven
Gets the value of the reasonGiven property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getDevice
Gets the value of the device property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getNote
Gets the value of the note property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getDosage
Gets the value of the dosage property.- Returns:
- possible object is
MedicationAdministrationDosage
-
setDosage
Sets the value of the dosage property.- Parameters:
value- allowed object isMedicationAdministrationDosage
-
withIdentifier
-
withIdentifier
-
withStatus
-
withMedicationCodeableConcept
-
withMedicationReference
-
withPatient
-
withEncounter
-
withEffectiveTimeDateTime
-
withEffectiveTimePeriod
-
withPractitioner
-
withPrescription
-
withWasNotGiven
-
withReasonNotGiven
-
withReasonNotGiven
-
withReasonGiven
-
withReasonGiven
-
withDevice
-
withDevice
-
withNote
-
withNote
-
withDosage
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setReasonNotGiven
-
setReasonGiven
-
setDevice
-
setNote
-