public class Immunization extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Immunization complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Immunization">
<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}code"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="vaccineCode" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="patient" type="{http://hl7.org/fhir}Reference"/>
<element name="wasNotGiven" type="{http://hl7.org/fhir}boolean"/>
<element name="reported" type="{http://hl7.org/fhir}boolean"/>
<element name="performer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="requester" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="manufacturer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="location" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="lotNumber" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="expirationDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
<element name="site" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="route" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="doseQuantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
<element name="explanation" type="{http://hl7.org/fhir}Immunization.Explanation" minOccurs="0"/>
<element name="reaction" type="{http://hl7.org/fhir}Immunization.Reaction" maxOccurs="unbounded" minOccurs="0"/>
<element name="vaccinationProtocol" type="{http://hl7.org/fhir}Immunization.VaccinationProtocol" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DateTime |
date |
protected SimpleQuantity |
doseQuantity |
protected Reference |
encounter |
protected Date |
expirationDate |
protected ImmunizationExplanation |
explanation |
protected java.util.List<Identifier> |
identifier |
protected Reference |
location |
protected String |
lotNumber |
protected Reference |
manufacturer |
protected java.util.List<Annotation> |
note |
protected Reference |
patient |
protected Reference |
performer |
protected java.util.List<ImmunizationReaction> |
reaction |
protected Boolean |
reported |
protected Reference |
requester |
protected CodeableConcept |
route |
protected CodeableConcept |
site |
protected Code |
status |
protected java.util.List<ImmunizationVaccinationProtocol> |
vaccinationProtocol |
protected CodeableConcept |
vaccineCode |
protected Boolean |
wasNotGiven |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Immunization() |
| 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) |
DateTime |
getDate()
Gets the value of the date property.
|
SimpleQuantity |
getDoseQuantity()
Gets the value of the doseQuantity property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
Date |
getExpirationDate()
Gets the value of the expirationDate property.
|
ImmunizationExplanation |
getExplanation()
Gets the value of the explanation property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
Reference |
getLocation()
Gets the value of the location property.
|
String |
getLotNumber()
Gets the value of the lotNumber property.
|
Reference |
getManufacturer()
Gets the value of the manufacturer property.
|
java.util.List<Annotation> |
getNote()
Gets the value of the note property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
Reference |
getPerformer()
Gets the value of the performer property.
|
java.util.List<ImmunizationReaction> |
getReaction()
Gets the value of the reaction property.
|
Boolean |
getReported()
Gets the value of the reported property.
|
Reference |
getRequester()
Gets the value of the requester property.
|
CodeableConcept |
getRoute()
Gets the value of the route property.
|
CodeableConcept |
getSite()
Gets the value of the site property.
|
Code |
getStatus()
Gets the value of the status property.
|
java.util.List<ImmunizationVaccinationProtocol> |
getVaccinationProtocol()
Gets the value of the vaccinationProtocol property.
|
CodeableConcept |
getVaccineCode()
Gets the value of the vaccineCode 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 |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setDoseQuantity(SimpleQuantity value)
Sets the value of the doseQuantity property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setExpirationDate(Date value)
Sets the value of the expirationDate property.
|
void |
setExplanation(ImmunizationExplanation value)
Sets the value of the explanation property.
|
void |
setLocation(Reference value)
Sets the value of the location property.
|
void |
setLotNumber(String value)
Sets the value of the lotNumber property.
|
void |
setManufacturer(Reference value)
Sets the value of the manufacturer property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setPerformer(Reference value)
Sets the value of the performer property.
|
void |
setReported(Boolean value)
Sets the value of the reported property.
|
void |
setRequester(Reference value)
Sets the value of the requester property.
|
void |
setRoute(CodeableConcept value)
Sets the value of the route property.
|
void |
setSite(CodeableConcept value)
Sets the value of the site property.
|
void |
setStatus(Code value)
Sets the value of the status property.
|
void |
setVaccineCode(CodeableConcept value)
Sets the value of the vaccineCode property.
|
void |
setWasNotGiven(Boolean value)
Sets the value of the wasNotGiven property.
|
java.lang.String |
toString() |
Immunization |
withContained(java.util.Collection<ResourceContainer> values) |
Immunization |
withContained(ResourceContainer... values) |
Immunization |
withDate(DateTime value) |
Immunization |
withDoseQuantity(SimpleQuantity value) |
Immunization |
withEncounter(Reference value) |
Immunization |
withExpirationDate(Date value) |
Immunization |
withExplanation(ImmunizationExplanation value) |
Immunization |
withExtension(java.util.Collection<Extension> values) |
Immunization |
withExtension(Extension... values) |
Immunization |
withId(Id value) |
Immunization |
withIdentifier(java.util.Collection<Identifier> values) |
Immunization |
withIdentifier(Identifier... values) |
Immunization |
withImplicitRules(Uri value) |
Immunization |
withLanguage(Code value) |
Immunization |
withLocation(Reference value) |
Immunization |
withLotNumber(String value) |
Immunization |
withManufacturer(Reference value) |
Immunization |
withMeta(Meta value) |
Immunization |
withModifierExtension(java.util.Collection<Extension> values) |
Immunization |
withModifierExtension(Extension... values) |
Immunization |
withNote(Annotation... values) |
Immunization |
withNote(java.util.Collection<Annotation> values) |
Immunization |
withPatient(Reference value) |
Immunization |
withPerformer(Reference value) |
Immunization |
withReaction(java.util.Collection<ImmunizationReaction> values) |
Immunization |
withReaction(ImmunizationReaction... values) |
Immunization |
withReported(Boolean value) |
Immunization |
withRequester(Reference value) |
Immunization |
withRoute(CodeableConcept value) |
Immunization |
withSite(CodeableConcept value) |
Immunization |
withStatus(Code value) |
Immunization |
withText(Narrative value) |
Immunization |
withVaccinationProtocol(java.util.Collection<ImmunizationVaccinationProtocol> values) |
Immunization |
withVaccinationProtocol(ImmunizationVaccinationProtocol... values) |
Immunization |
withVaccineCode(CodeableConcept value) |
Immunization |
withWasNotGiven(Boolean value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Code status
protected DateTime date
protected CodeableConcept vaccineCode
protected Reference patient
protected Boolean wasNotGiven
protected Boolean reported
protected Reference performer
protected Reference requester
protected Reference encounter
protected Reference manufacturer
protected Reference location
protected String lotNumber
protected Date expirationDate
protected CodeableConcept site
protected CodeableConcept route
protected SimpleQuantity doseQuantity
protected java.util.List<Annotation> note
protected ImmunizationExplanation explanation
protected java.util.List<ImmunizationReaction> reaction
protected java.util.List<ImmunizationVaccinationProtocol> vaccinationProtocol
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 Code getStatus()
Codepublic void setStatus(Code value)
value - allowed object is
Codepublic DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic CodeableConcept getVaccineCode()
CodeableConceptpublic void setVaccineCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic Boolean getWasNotGiven()
Booleanpublic void setWasNotGiven(Boolean value)
value - allowed object is
Booleanpublic Boolean getReported()
Booleanpublic void setReported(Boolean value)
value - allowed object is
Booleanpublic Reference getPerformer()
Referencepublic void setPerformer(Reference value)
value - allowed object is
Referencepublic Reference getRequester()
Referencepublic void setRequester(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic Reference getManufacturer()
Referencepublic void setManufacturer(Reference value)
value - allowed object is
Referencepublic Reference getLocation()
Referencepublic void setLocation(Reference value)
value - allowed object is
Referencepublic String getLotNumber()
Stringpublic void setLotNumber(String value)
value - allowed object is
Stringpublic Date getExpirationDate()
Datepublic void setExpirationDate(Date value)
value - allowed object is
Datepublic CodeableConcept getSite()
CodeableConceptpublic void setSite(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getRoute()
CodeableConceptpublic void setRoute(CodeableConcept value)
value - allowed object is
CodeableConceptpublic SimpleQuantity getDoseQuantity()
SimpleQuantitypublic void setDoseQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic 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 ImmunizationExplanation getExplanation()
ImmunizationExplanationpublic void setExplanation(ImmunizationExplanation value)
value - allowed object is
ImmunizationExplanationpublic java.util.List<ImmunizationReaction> getReaction()
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 reaction property.
For example, to add a new item, do as follows:
getReaction().add(newItem);
Objects of the following type(s) are allowed in the list
ImmunizationReaction
public java.util.List<ImmunizationVaccinationProtocol> getVaccinationProtocol()
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 vaccinationProtocol property.
For example, to add a new item, do as follows:
getVaccinationProtocol().add(newItem);
Objects of the following type(s) are allowed in the list
ImmunizationVaccinationProtocol
public Immunization withIdentifier(Identifier... values)
public Immunization withIdentifier(java.util.Collection<Identifier> values)
public Immunization withStatus(Code value)
public Immunization withDate(DateTime value)
public Immunization withVaccineCode(CodeableConcept value)
public Immunization withPatient(Reference value)
public Immunization withWasNotGiven(Boolean value)
public Immunization withReported(Boolean value)
public Immunization withPerformer(Reference value)
public Immunization withRequester(Reference value)
public Immunization withEncounter(Reference value)
public Immunization withManufacturer(Reference value)
public Immunization withLocation(Reference value)
public Immunization withLotNumber(String value)
public Immunization withExpirationDate(Date value)
public Immunization withSite(CodeableConcept value)
public Immunization withRoute(CodeableConcept value)
public Immunization withDoseQuantity(SimpleQuantity value)
public Immunization withNote(Annotation... values)
public Immunization withNote(java.util.Collection<Annotation> values)
public Immunization withExplanation(ImmunizationExplanation value)
public Immunization withReaction(ImmunizationReaction... values)
public Immunization withReaction(java.util.Collection<ImmunizationReaction> values)
public Immunization withVaccinationProtocol(ImmunizationVaccinationProtocol... values)
public Immunization withVaccinationProtocol(java.util.Collection<ImmunizationVaccinationProtocol> values)
public Immunization withText(Narrative value)
withText in class DomainResourcepublic Immunization withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Immunization withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Immunization withExtension(Extension... values)
withExtension in class DomainResourcepublic Immunization withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Immunization withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Immunization withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Immunization withId(Id value)
withId in class DomainResourcepublic Immunization withMeta(Meta value)
withMeta in class DomainResourcepublic Immunization withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Immunization 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