Package org.hl7.fhir
Class ImmunizationVaccinationProtocol
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.ImmunizationVaccinationProtocol
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ImmunizationVaccinationProtocol extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Describes the event of a patient being administered a vaccination or a record of a vaccination as reported by a patient, a clinician or another party and may include vaccine reaction information and what vaccination protocol was followed.Java class for Immunization.VaccinationProtocol complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Immunization.VaccinationProtocol"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="doseSequence" type="{http://hl7.org/fhir}positiveInt"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="authority" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="series" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="seriesDoses" type="{http://hl7.org/fhir}positiveInt" minOccurs="0"/> <element name="targetDisease" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded"/> <element name="doseStatus" type="{http://hl7.org/fhir}CodeableConcept"/> <element name="doseStatusReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Referenceauthorityprotected Stringdescriptionprotected PositiveIntdoseSequenceprotected CodeableConceptdoseStatusprotected CodeableConceptdoseStatusReasonprotected Stringseriesprotected PositiveIntseriesDosesprotected java.util.List<CodeableConcept>targetDisease-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ImmunizationVaccinationProtocol()
-
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)ReferencegetAuthority()Gets the value of the authority property.StringgetDescription()Gets the value of the description property.PositiveIntgetDoseSequence()Gets the value of the doseSequence property.CodeableConceptgetDoseStatus()Gets the value of the doseStatus property.CodeableConceptgetDoseStatusReason()Gets the value of the doseStatusReason property.StringgetSeries()Gets the value of the series property.PositiveIntgetSeriesDoses()Gets the value of the seriesDoses property.java.util.List<CodeableConcept>getTargetDisease()Gets the value of the targetDisease property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAuthority(Reference value)Sets the value of the authority property.voidsetDescription(String value)Sets the value of the description property.voidsetDoseSequence(PositiveInt value)Sets the value of the doseSequence property.voidsetDoseStatus(CodeableConcept value)Sets the value of the doseStatus property.voidsetDoseStatusReason(CodeableConcept value)Sets the value of the doseStatusReason property.voidsetSeries(String value)Sets the value of the series property.voidsetSeriesDoses(PositiveInt value)Sets the value of the seriesDoses property.java.lang.StringtoString()ImmunizationVaccinationProtocolwithAuthority(Reference value)ImmunizationVaccinationProtocolwithDescription(String value)ImmunizationVaccinationProtocolwithDoseSequence(PositiveInt value)ImmunizationVaccinationProtocolwithDoseStatus(CodeableConcept value)ImmunizationVaccinationProtocolwithDoseStatusReason(CodeableConcept value)ImmunizationVaccinationProtocolwithExtension(java.util.Collection<Extension> values)ImmunizationVaccinationProtocolwithExtension(Extension... values)ImmunizationVaccinationProtocolwithId(java.lang.String value)ImmunizationVaccinationProtocolwithModifierExtension(java.util.Collection<Extension> values)ImmunizationVaccinationProtocolwithModifierExtension(Extension... values)ImmunizationVaccinationProtocolwithSeries(String value)ImmunizationVaccinationProtocolwithSeriesDoses(PositiveInt value)ImmunizationVaccinationProtocolwithTargetDisease(java.util.Collection<CodeableConcept> values)ImmunizationVaccinationProtocolwithTargetDisease(CodeableConcept... values)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
doseSequence
protected PositiveInt doseSequence
-
description
protected String description
-
authority
protected Reference authority
-
series
protected String series
-
seriesDoses
protected PositiveInt seriesDoses
-
targetDisease
protected java.util.List<CodeableConcept> targetDisease
-
doseStatus
protected CodeableConcept doseStatus
-
doseStatusReason
protected CodeableConcept doseStatusReason
-
-
Method Detail
-
getDoseSequence
public PositiveInt getDoseSequence()
Gets the value of the doseSequence property.- Returns:
- possible object is
PositiveInt
-
setDoseSequence
public void setDoseSequence(PositiveInt value)
Sets the value of the doseSequence property.- Parameters:
value- allowed object isPositiveInt
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getAuthority
public Reference getAuthority()
Gets the value of the authority property.- Returns:
- possible object is
Reference
-
setAuthority
public void setAuthority(Reference value)
Sets the value of the authority property.- Parameters:
value- allowed object isReference
-
getSeries
public String getSeries()
Gets the value of the series property.- Returns:
- possible object is
String
-
setSeries
public void setSeries(String value)
Sets the value of the series property.- Parameters:
value- allowed object isString
-
getSeriesDoses
public PositiveInt getSeriesDoses()
Gets the value of the seriesDoses property.- Returns:
- possible object is
PositiveInt
-
setSeriesDoses
public void setSeriesDoses(PositiveInt value)
Sets the value of the seriesDoses property.- Parameters:
value- allowed object isPositiveInt
-
getTargetDisease
public java.util.List<CodeableConcept> getTargetDisease()
Gets the value of the targetDisease 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 targetDisease property.For example, to add a new item, do as follows:
getTargetDisease().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getDoseStatus
public CodeableConcept getDoseStatus()
Gets the value of the doseStatus property.- Returns:
- possible object is
CodeableConcept
-
setDoseStatus
public void setDoseStatus(CodeableConcept value)
Sets the value of the doseStatus property.- Parameters:
value- allowed object isCodeableConcept
-
getDoseStatusReason
public CodeableConcept getDoseStatusReason()
Gets the value of the doseStatusReason property.- Returns:
- possible object is
CodeableConcept
-
setDoseStatusReason
public void setDoseStatusReason(CodeableConcept value)
Sets the value of the doseStatusReason property.- Parameters:
value- allowed object isCodeableConcept
-
withDoseSequence
public ImmunizationVaccinationProtocol withDoseSequence(PositiveInt value)
-
withDescription
public ImmunizationVaccinationProtocol withDescription(String value)
-
withAuthority
public ImmunizationVaccinationProtocol withAuthority(Reference value)
-
withSeries
public ImmunizationVaccinationProtocol withSeries(String value)
-
withSeriesDoses
public ImmunizationVaccinationProtocol withSeriesDoses(PositiveInt value)
-
withTargetDisease
public ImmunizationVaccinationProtocol withTargetDisease(CodeableConcept... values)
-
withTargetDisease
public ImmunizationVaccinationProtocol withTargetDisease(java.util.Collection<CodeableConcept> values)
-
withDoseStatus
public ImmunizationVaccinationProtocol withDoseStatus(CodeableConcept value)
-
withDoseStatusReason
public ImmunizationVaccinationProtocol withDoseStatusReason(CodeableConcept value)
-
withModifierExtension
public ImmunizationVaccinationProtocol withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public ImmunizationVaccinationProtocol withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public ImmunizationVaccinationProtocol withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public ImmunizationVaccinationProtocol withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public ImmunizationVaccinationProtocol withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-
-