Package com.ibm.fhir.model.resource
Class Immunization
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.Immunization
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class Immunization extends DomainResource
Describes the event of a patient being administered a vaccine or a record of an immunization as reported by a patient, a clinician or another party.Maturity level: FMM3 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmunization.Builderstatic classImmunization.EducationEducational material presented to the patient (or guardian) at the time of vaccine administration.static classImmunization.PerformerIndicates who performed the immunization event.static classImmunization.ProtocolAppliedThe protocol (set of recommendations) being followed by the provider who administered the dose.static classImmunization.ReactionCategorical data indicating that an adverse event is associated in time to an immunization.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Immunization.Builderbuilder()booleanequals(Object obj)SimpleQuantitygetDoseQuantity()The quantity of vaccine product that was administered.List<Immunization.Education>getEducation()Educational material presented to the patient (or guardian) at the time of vaccine administration.ReferencegetEncounter()The visit or admission or other contact between patient and health care provider the immunization was performed as part of.DategetExpirationDate()Date vaccine batch expires.CodeableConceptgetFundingSource()Indicates the source of the vaccine actually administered.List<Identifier>getIdentifier()A unique identifier assigned to this immunization record.BooleangetIsSubpotent()Indication if a dose is considered to be subpotent.ReferencegetLocation()The service delivery location where the vaccine administration occurred.StringgetLotNumber()Lot number of the vaccine product.ReferencegetManufacturer()Name of vaccine manufacturer.List<Annotation>getNote()Extra information about the immunization that is not conveyed by the other attributes.ElementgetOccurrence()Date vaccine administered or was to be administered.ReferencegetPatient()The patient who either received or did not receive the immunization.List<Immunization.Performer>getPerformer()Indicates who performed the immunization event.BooleangetPrimarySource()An indication that the content of the record is based on information from the person who administered the vaccine.List<CodeableConcept>getProgramEligibility()Indicates a patient's eligibility for a funding program.List<Immunization.ProtocolApplied>getProtocolApplied()The protocol (set of recommendations) being followed by the provider who administered the dose.List<Immunization.Reaction>getReaction()Categorical data indicating that an adverse event is associated in time to an immunization.List<CodeableConcept>getReasonCode()Reasons why the vaccine was administered.List<Reference>getReasonReference()Condition, Observation or DiagnosticReport that supports why the immunization was administered.DateTimegetRecorded()The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.CodeableConceptgetReportOrigin()The source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.CodeableConceptgetRoute()The path by which the vaccine product is taken into the body.CodeableConceptgetSite()Body site where vaccine was administered.ImmunizationStatusgetStatus()Indicates the current status of the immunization event.CodeableConceptgetStatusReason()Indicates the reason the immunization event was not performed.List<CodeableConcept>getSubpotentReason()Reason why a dose is considered to be subpotent.CodeableConceptgetVaccineCode()Vaccine that was administered or was to be administered.booleanhasChildren()inthashCode()Immunization.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
A unique identifier assigned to this immunization record.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getStatus
public ImmunizationStatus getStatus()
Indicates the current status of the immunization event.- Returns:
- An immutable object of type
ImmunizationStatusthat is non-null.
-
getStatusReason
public CodeableConcept getStatusReason()
Indicates the reason the immunization event was not performed.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getVaccineCode
public CodeableConcept getVaccineCode()
Vaccine that was administered or was to be administered.- Returns:
- An immutable object of type
CodeableConceptthat is non-null.
-
getPatient
public Reference getPatient()
The patient who either received or did not receive the immunization.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getEncounter
public Reference getEncounter()
The visit or admission or other contact between patient and health care provider the immunization was performed as part of.- Returns:
- An immutable object of type
Referencethat may be null.
-
getOccurrence
public Element getOccurrence()
Date vaccine administered or was to be administered.- Returns:
- An immutable object of type
Elementthat is non-null.
-
getRecorded
public DateTime getRecorded()
The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getPrimarySource
public Boolean getPrimarySource()
An indication that the content of the record is based on information from the person who administered the vaccine. This reflects the context under which the data was originally recorded.- Returns:
- An immutable object of type
Booleanthat may be null.
-
getReportOrigin
public CodeableConcept getReportOrigin()
The source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getLocation
public Reference getLocation()
The service delivery location where the vaccine administration occurred.- Returns:
- An immutable object of type
Referencethat may be null.
-
getManufacturer
public Reference getManufacturer()
Name of vaccine manufacturer.- Returns:
- An immutable object of type
Referencethat may be null.
-
getLotNumber
public String getLotNumber()
Lot number of the vaccine product.- Returns:
- An immutable object of type
Stringthat may be null.
-
getExpirationDate
public Date getExpirationDate()
Date vaccine batch expires.- Returns:
- An immutable object of type
Datethat may be null.
-
getSite
public CodeableConcept getSite()
Body site where vaccine was administered.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getRoute
public CodeableConcept getRoute()
The path by which the vaccine product is taken into the body.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getDoseQuantity
public SimpleQuantity getDoseQuantity()
The quantity of vaccine product that was administered.- Returns:
- An immutable object of type
SimpleQuantitythat may be null.
-
getPerformer
public List<Immunization.Performer> getPerformer()
Indicates who performed the immunization event.- Returns:
- An unmodifiable list containing immutable objects of type
Immunization.Performerthat may be empty.
-
getNote
public List<Annotation> getNote()
Extra information about the immunization that is not conveyed by the other attributes.- Returns:
- An unmodifiable list containing immutable objects of type
Annotationthat may be empty.
-
getReasonCode
public List<CodeableConcept> getReasonCode()
Reasons why the vaccine was administered.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getReasonReference
public List<Reference> getReasonReference()
Condition, Observation or DiagnosticReport that supports why the immunization was administered.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getIsSubpotent
public Boolean getIsSubpotent()
Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent.- Returns:
- An immutable object of type
Booleanthat may be null.
-
getSubpotentReason
public List<CodeableConcept> getSubpotentReason()
Reason why a dose is considered to be subpotent.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getEducation
public List<Immunization.Education> getEducation()
Educational material presented to the patient (or guardian) at the time of vaccine administration.- Returns:
- An unmodifiable list containing immutable objects of type
Immunization.Educationthat may be empty.
-
getProgramEligibility
public List<CodeableConcept> getProgramEligibility()
Indicates a patient's eligibility for a funding program.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getFundingSource
public CodeableConcept getFundingSource()
Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered).- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getReaction
public List<Immunization.Reaction> getReaction()
Categorical data indicating that an adverse event is associated in time to an immunization.- Returns:
- An unmodifiable list containing immutable objects of type
Immunization.Reactionthat may be empty.
-
getProtocolApplied
public List<Immunization.ProtocolApplied> getProtocolApplied()
The protocol (set of recommendations) being followed by the provider who administered the dose.- Returns:
- An unmodifiable list containing immutable objects of type
Immunization.ProtocolAppliedthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public Immunization.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static Immunization.Builder builder()
-
-