Package org.hl7.fhir.dstu2.model
Class Immunization.ImmunizationVaccinationProtocolComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.Immunization.ImmunizationVaccinationProtocolComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Immunization
public static class Immunization.ImmunizationVaccinationProtocolComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceauthorityIndicates the authority who published the protocol.protected OrganizationauthorityTargetThe actual object that is the target of the reference (Indicates the authority who published the protocol.protected StringTypedescriptionContains the description about the protocol under which the vaccine was administered.protected PositiveIntTypedoseSequenceNominal position in a series.protected CodeableConceptdoseStatusIndicates if the immunization event should "count" against the protocol.protected CodeableConceptdoseStatusReasonProvides an explanation as to why an immunization event should or should not count against the protocol.protected StringTypeseriesOne possible path to achieve presumed immunity against a disease - within the context of an authority.protected PositiveIntTypeseriesDosesThe recommended number of doses to achieve immunity.protected List<CodeableConcept>targetDiseaseThe targeted disease.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ImmunizationVaccinationProtocolComponent()ImmunizationVaccinationProtocolComponent(PositiveIntType doseSequence, CodeableConcept doseStatus)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
doseSequence
protected PositiveIntType doseSequence
Nominal position in a series.
-
description
protected StringType description
Contains the description about the protocol under which the vaccine was administered.
-
authority
protected Reference authority
Indicates the authority who published the protocol. E.g. ACIP.
-
authorityTarget
protected Organization authorityTarget
The actual object that is the target of the reference (Indicates the authority who published the protocol. E.g. ACIP.)
-
series
protected StringType series
One possible path to achieve presumed immunity against a disease - within the context of an authority.
-
seriesDoses
protected PositiveIntType seriesDoses
The recommended number of doses to achieve immunity.
-
targetDisease
protected List<CodeableConcept> targetDisease
The targeted disease.
-
doseStatus
protected CodeableConcept doseStatus
Indicates if the immunization event should "count" against the protocol.
-
doseStatusReason
protected CodeableConcept doseStatusReason
Provides an explanation as to why an immunization event should or should not count against the protocol.
-
-
Constructor Detail
-
ImmunizationVaccinationProtocolComponent
public ImmunizationVaccinationProtocolComponent()
-
ImmunizationVaccinationProtocolComponent
public ImmunizationVaccinationProtocolComponent(PositiveIntType doseSequence, CodeableConcept doseStatus)
-
-
Method Detail
-
getDoseSequenceElement
public PositiveIntType getDoseSequenceElement()
- Returns:
doseSequence(Nominal position in a series.). This is the underlying object with id, value and extensions. The accessor "getDoseSequence" gives direct access to the value
-
hasDoseSequenceElement
public boolean hasDoseSequenceElement()
-
hasDoseSequence
public boolean hasDoseSequence()
-
setDoseSequenceElement
public Immunization.ImmunizationVaccinationProtocolComponent setDoseSequenceElement(PositiveIntType value)
- Parameters:
value-doseSequence(Nominal position in a series.). This is the underlying object with id, value and extensions. The accessor "getDoseSequence" gives direct access to the value
-
getDoseSequence
public int getDoseSequence()
- Returns:
- Nominal position in a series.
-
setDoseSequence
public Immunization.ImmunizationVaccinationProtocolComponent setDoseSequence(int value)
- Parameters:
value- Nominal position in a series.
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(Contains the description about the protocol under which the vaccine was administered.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public Immunization.ImmunizationVaccinationProtocolComponent setDescriptionElement(StringType value)
- Parameters:
value-description(Contains the description about the protocol under which the vaccine was administered.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- Contains the description about the protocol under which the vaccine was administered.
-
setDescription
public Immunization.ImmunizationVaccinationProtocolComponent setDescription(String value)
- Parameters:
value- Contains the description about the protocol under which the vaccine was administered.
-
getAuthority
public Reference getAuthority()
- Returns:
authority(Indicates the authority who published the protocol. E.g. ACIP.)
-
hasAuthority
public boolean hasAuthority()
-
setAuthority
public Immunization.ImmunizationVaccinationProtocolComponent setAuthority(Reference value)
- Parameters:
value-authority(Indicates the authority who published the protocol. E.g. ACIP.)
-
getAuthorityTarget
public Organization getAuthorityTarget()
- Returns:
authorityThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Indicates the authority who published the protocol. E.g. ACIP.)
-
setAuthorityTarget
public Immunization.ImmunizationVaccinationProtocolComponent setAuthorityTarget(Organization value)
- Parameters:
value-authorityThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Indicates the authority who published the protocol. E.g. ACIP.)
-
getSeriesElement
public StringType getSeriesElement()
- Returns:
series(One possible path to achieve presumed immunity against a disease - within the context of an authority.). This is the underlying object with id, value and extensions. The accessor "getSeries" gives direct access to the value
-
hasSeriesElement
public boolean hasSeriesElement()
-
hasSeries
public boolean hasSeries()
-
setSeriesElement
public Immunization.ImmunizationVaccinationProtocolComponent setSeriesElement(StringType value)
- Parameters:
value-series(One possible path to achieve presumed immunity against a disease - within the context of an authority.). This is the underlying object with id, value and extensions. The accessor "getSeries" gives direct access to the value
-
getSeries
public String getSeries()
- Returns:
- One possible path to achieve presumed immunity against a disease - within the context of an authority.
-
setSeries
public Immunization.ImmunizationVaccinationProtocolComponent setSeries(String value)
- Parameters:
value- One possible path to achieve presumed immunity against a disease - within the context of an authority.
-
getSeriesDosesElement
public PositiveIntType getSeriesDosesElement()
- Returns:
seriesDoses(The recommended number of doses to achieve immunity.). This is the underlying object with id, value and extensions. The accessor "getSeriesDoses" gives direct access to the value
-
hasSeriesDosesElement
public boolean hasSeriesDosesElement()
-
hasSeriesDoses
public boolean hasSeriesDoses()
-
setSeriesDosesElement
public Immunization.ImmunizationVaccinationProtocolComponent setSeriesDosesElement(PositiveIntType value)
- Parameters:
value-seriesDoses(The recommended number of doses to achieve immunity.). This is the underlying object with id, value and extensions. The accessor "getSeriesDoses" gives direct access to the value
-
getSeriesDoses
public int getSeriesDoses()
- Returns:
- The recommended number of doses to achieve immunity.
-
setSeriesDoses
public Immunization.ImmunizationVaccinationProtocolComponent setSeriesDoses(int value)
- Parameters:
value- The recommended number of doses to achieve immunity.
-
getTargetDisease
public List<CodeableConcept> getTargetDisease()
- Returns:
targetDisease(The targeted disease.)
-
hasTargetDisease
public boolean hasTargetDisease()
-
addTargetDisease
public CodeableConcept addTargetDisease()
- Returns:
targetDisease(The targeted disease.)
-
addTargetDisease
public Immunization.ImmunizationVaccinationProtocolComponent addTargetDisease(CodeableConcept t)
-
getDoseStatus
public CodeableConcept getDoseStatus()
- Returns:
doseStatus(Indicates if the immunization event should "count" against the protocol.)
-
hasDoseStatus
public boolean hasDoseStatus()
-
setDoseStatus
public Immunization.ImmunizationVaccinationProtocolComponent setDoseStatus(CodeableConcept value)
- Parameters:
value-doseStatus(Indicates if the immunization event should "count" against the protocol.)
-
getDoseStatusReason
public CodeableConcept getDoseStatusReason()
- Returns:
doseStatusReason(Provides an explanation as to why an immunization event should or should not count against the protocol.)
-
hasDoseStatusReason
public boolean hasDoseStatusReason()
-
setDoseStatusReason
public Immunization.ImmunizationVaccinationProtocolComponent setDoseStatusReason(CodeableConcept value)
- Parameters:
value-doseStatusReason(Provides an explanation as to why an immunization event should or should not count against the protocol.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Immunization.ImmunizationVaccinationProtocolComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-