Class Immunization
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.Immunization
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Immunization extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected DateTimedateprotected SimpleQuantitydoseQuantityprotected Referenceencounterprotected DateexpirationDateprotected ImmunizationExplanationexplanationprotected java.util.List<Identifier>identifierprotected Referencelocationprotected StringlotNumberprotected Referencemanufacturerprotected java.util.List<Annotation>noteprotected Referencepatientprotected Referenceperformerprotected java.util.List<ImmunizationReaction>reactionprotected Booleanreportedprotected Referencerequesterprotected CodeableConceptrouteprotected CodeableConceptsiteprotected Codestatusprotected java.util.List<ImmunizationVaccinationProtocol>vaccinationProtocolprotected CodeableConceptvaccineCodeprotected BooleanwasNotGiven-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Immunization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)DateTimegetDate()Gets the value of the date property.SimpleQuantitygetDoseQuantity()Gets the value of the doseQuantity property.ReferencegetEncounter()Gets the value of the encounter property.DategetExpirationDate()Gets the value of the expirationDate property.ImmunizationExplanationgetExplanation()Gets the value of the explanation property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.ReferencegetLocation()Gets the value of the location property.StringgetLotNumber()Gets the value of the lotNumber property.ReferencegetManufacturer()Gets the value of the manufacturer property.java.util.List<Annotation>getNote()Gets the value of the note property.ReferencegetPatient()Gets the value of the patient property.ReferencegetPerformer()Gets the value of the performer property.java.util.List<ImmunizationReaction>getReaction()Gets the value of the reaction property.BooleangetReported()Gets the value of the reported property.ReferencegetRequester()Gets the value of the requester property.CodeableConceptgetRoute()Gets the value of the route property.CodeableConceptgetSite()Gets the value of the site property.CodegetStatus()Gets the value of the status property.java.util.List<ImmunizationVaccinationProtocol>getVaccinationProtocol()Gets the value of the vaccinationProtocol property.CodeableConceptgetVaccineCode()Gets the value of the vaccineCode property.BooleangetWasNotGiven()Gets the value of the wasNotGiven property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetDate(DateTime value)Sets the value of the date property.voidsetDoseQuantity(SimpleQuantity value)Sets the value of the doseQuantity property.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetExpirationDate(Date value)Sets the value of the expirationDate property.voidsetExplanation(ImmunizationExplanation value)Sets the value of the explanation property.voidsetLocation(Reference value)Sets the value of the location property.voidsetLotNumber(String value)Sets the value of the lotNumber property.voidsetManufacturer(Reference value)Sets the value of the manufacturer property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetPerformer(Reference value)Sets the value of the performer property.voidsetReported(Boolean value)Sets the value of the reported property.voidsetRequester(Reference value)Sets the value of the requester property.voidsetRoute(CodeableConcept value)Sets the value of the route property.voidsetSite(CodeableConcept value)Sets the value of the site property.voidsetStatus(Code value)Sets the value of the status property.voidsetVaccineCode(CodeableConcept value)Sets the value of the vaccineCode property.voidsetWasNotGiven(Boolean value)Sets the value of the wasNotGiven property.java.lang.StringtoString()ImmunizationwithContained(java.util.Collection<ResourceContainer> values)ImmunizationwithContained(ResourceContainer... values)ImmunizationwithDate(DateTime value)ImmunizationwithDoseQuantity(SimpleQuantity value)ImmunizationwithEncounter(Reference value)ImmunizationwithExpirationDate(Date value)ImmunizationwithExplanation(ImmunizationExplanation value)ImmunizationwithExtension(java.util.Collection<Extension> values)ImmunizationwithExtension(Extension... values)ImmunizationwithId(Id value)ImmunizationwithIdentifier(java.util.Collection<Identifier> values)ImmunizationwithIdentifier(Identifier... values)ImmunizationwithImplicitRules(Uri value)ImmunizationwithLanguage(Code value)ImmunizationwithLocation(Reference value)ImmunizationwithLotNumber(String value)ImmunizationwithManufacturer(Reference value)ImmunizationwithMeta(Meta value)ImmunizationwithModifierExtension(java.util.Collection<Extension> values)ImmunizationwithModifierExtension(Extension... values)ImmunizationwithNote(java.util.Collection<Annotation> values)ImmunizationwithNote(Annotation... values)ImmunizationwithPatient(Reference value)ImmunizationwithPerformer(Reference value)ImmunizationwithReaction(java.util.Collection<ImmunizationReaction> values)ImmunizationwithReaction(ImmunizationReaction... values)ImmunizationwithReported(Boolean value)ImmunizationwithRequester(Reference value)ImmunizationwithRoute(CodeableConcept value)ImmunizationwithSite(CodeableConcept value)ImmunizationwithStatus(Code value)ImmunizationwithText(Narrative value)ImmunizationwithVaccinationProtocol(java.util.Collection<ImmunizationVaccinationProtocol> values)ImmunizationwithVaccinationProtocol(ImmunizationVaccinationProtocol... values)ImmunizationwithVaccineCode(CodeableConcept value)ImmunizationwithWasNotGiven(Boolean value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
status
protected Code status
-
date
protected DateTime date
-
vaccineCode
protected CodeableConcept vaccineCode
-
patient
protected Reference patient
-
wasNotGiven
protected Boolean wasNotGiven
-
reported
protected Boolean reported
-
performer
protected Reference performer
-
requester
protected Reference requester
-
encounter
protected Reference encounter
-
manufacturer
protected Reference manufacturer
-
location
protected Reference location
-
lotNumber
protected String lotNumber
-
expirationDate
protected Date expirationDate
-
site
protected CodeableConcept site
-
route
protected CodeableConcept route
-
doseQuantity
protected SimpleQuantity doseQuantity
-
note
protected java.util.List<Annotation> note
-
explanation
protected ImmunizationExplanation explanation
-
reaction
protected java.util.List<ImmunizationReaction> reaction
-
vaccinationProtocol
protected java.util.List<ImmunizationVaccinationProtocol> vaccinationProtocol
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> 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 JAXB 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
public Code getStatus()
Gets the value of the status property.- Returns:
- possible object is
Code
-
setStatus
public void setStatus(Code value)
Sets the value of the status property.- Parameters:
value- allowed object isCode
-
getDate
public DateTime getDate()
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
public void setDate(DateTime value)
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getVaccineCode
public CodeableConcept getVaccineCode()
Gets the value of the vaccineCode property.- Returns:
- possible object is
CodeableConcept
-
setVaccineCode
public void setVaccineCode(CodeableConcept value)
Sets the value of the vaccineCode property.- Parameters:
value- allowed object isCodeableConcept
-
getPatient
public Reference getPatient()
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
public void setPatient(Reference value)
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getWasNotGiven
public Boolean getWasNotGiven()
Gets the value of the wasNotGiven property.- Returns:
- possible object is
Boolean
-
setWasNotGiven
public void setWasNotGiven(Boolean value)
Sets the value of the wasNotGiven property.- Parameters:
value- allowed object isBoolean
-
getReported
public Boolean getReported()
Gets the value of the reported property.- Returns:
- possible object is
Boolean
-
setReported
public void setReported(Boolean value)
Sets the value of the reported property.- Parameters:
value- allowed object isBoolean
-
getPerformer
public Reference getPerformer()
Gets the value of the performer property.- Returns:
- possible object is
Reference
-
setPerformer
public void setPerformer(Reference value)
Sets the value of the performer property.- Parameters:
value- allowed object isReference
-
getRequester
public Reference getRequester()
Gets the value of the requester property.- Returns:
- possible object is
Reference
-
setRequester
public void setRequester(Reference value)
Sets the value of the requester property.- Parameters:
value- allowed object isReference
-
getEncounter
public Reference getEncounter()
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
public void setEncounter(Reference value)
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getManufacturer
public Reference getManufacturer()
Gets the value of the manufacturer property.- Returns:
- possible object is
Reference
-
setManufacturer
public void setManufacturer(Reference value)
Sets the value of the manufacturer property.- Parameters:
value- allowed object isReference
-
getLocation
public Reference getLocation()
Gets the value of the location property.- Returns:
- possible object is
Reference
-
setLocation
public void setLocation(Reference value)
Sets the value of the location property.- Parameters:
value- allowed object isReference
-
getLotNumber
public String getLotNumber()
Gets the value of the lotNumber property.- Returns:
- possible object is
String
-
setLotNumber
public void setLotNumber(String value)
Sets the value of the lotNumber property.- Parameters:
value- allowed object isString
-
getExpirationDate
public Date getExpirationDate()
Gets the value of the expirationDate property.- Returns:
- possible object is
Date
-
setExpirationDate
public void setExpirationDate(Date value)
Sets the value of the expirationDate property.- Parameters:
value- allowed object isDate
-
getSite
public CodeableConcept getSite()
Gets the value of the site property.- Returns:
- possible object is
CodeableConcept
-
setSite
public void setSite(CodeableConcept value)
Sets the value of the site property.- Parameters:
value- allowed object isCodeableConcept
-
getRoute
public CodeableConcept getRoute()
Gets the value of the route property.- Returns:
- possible object is
CodeableConcept
-
setRoute
public void setRoute(CodeableConcept value)
Sets the value of the route property.- Parameters:
value- allowed object isCodeableConcept
-
getDoseQuantity
public SimpleQuantity getDoseQuantity()
Gets the value of the doseQuantity property.- Returns:
- possible object is
SimpleQuantity
-
setDoseQuantity
public void setDoseQuantity(SimpleQuantity value)
Sets the value of the doseQuantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getNote
public java.util.List<Annotation> 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 JAXB 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
-
getExplanation
public ImmunizationExplanation getExplanation()
Gets the value of the explanation property.- Returns:
- possible object is
ImmunizationExplanation
-
setExplanation
public void setExplanation(ImmunizationExplanation value)
Sets the value of the explanation property.- Parameters:
value- allowed object isImmunizationExplanation
-
getReaction
public java.util.List<ImmunizationReaction> getReaction()
Gets the value of the reaction 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 JAXB object. This is why there is not a
setmethod 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
-
getVaccinationProtocol
public java.util.List<ImmunizationVaccinationProtocol> getVaccinationProtocol()
Gets the value of the vaccinationProtocol 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 JAXB object. This is why there is not a
setmethod 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
-
withIdentifier
public Immunization withIdentifier(Identifier... values)
-
withIdentifier
public Immunization withIdentifier(java.util.Collection<Identifier> values)
-
withStatus
public Immunization withStatus(Code value)
-
withDate
public Immunization withDate(DateTime value)
-
withVaccineCode
public Immunization withVaccineCode(CodeableConcept value)
-
withPatient
public Immunization withPatient(Reference value)
-
withWasNotGiven
public Immunization withWasNotGiven(Boolean value)
-
withReported
public Immunization withReported(Boolean value)
-
withPerformer
public Immunization withPerformer(Reference value)
-
withRequester
public Immunization withRequester(Reference value)
-
withEncounter
public Immunization withEncounter(Reference value)
-
withManufacturer
public Immunization withManufacturer(Reference value)
-
withLocation
public Immunization withLocation(Reference value)
-
withLotNumber
public Immunization withLotNumber(String value)
-
withExpirationDate
public Immunization withExpirationDate(Date value)
-
withSite
public Immunization withSite(CodeableConcept value)
-
withRoute
public Immunization withRoute(CodeableConcept value)
-
withDoseQuantity
public Immunization withDoseQuantity(SimpleQuantity value)
-
withNote
public Immunization withNote(Annotation... values)
-
withNote
public Immunization withNote(java.util.Collection<Annotation> values)
-
withExplanation
public Immunization withExplanation(ImmunizationExplanation value)
-
withReaction
public Immunization withReaction(ImmunizationReaction... values)
-
withReaction
public Immunization withReaction(java.util.Collection<ImmunizationReaction> values)
-
withVaccinationProtocol
public Immunization withVaccinationProtocol(ImmunizationVaccinationProtocol... values)
-
withVaccinationProtocol
public Immunization withVaccinationProtocol(java.util.Collection<ImmunizationVaccinationProtocol> values)
-
withText
public Immunization withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Immunization withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Immunization withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Immunization withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Immunization withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Immunization withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Immunization withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Immunization withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Immunization withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Immunization withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Immunization withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- 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
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-