
ca.uhn.fhir.model.dstu.resource.ImmunizationRecommendation Maven / Gradle / Ivy
package ca.uhn.fhir.model.dstu.resource;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.rest.gclient.*;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.resource.AdverseReaction;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AlertStatusEnum;
import ca.uhn.fhir.model.dstu.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.resource.Appointment;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.resource.Availability;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.resource.CarePlan;
import ca.uhn.fhir.model.dstu.valueset.CarePlanActivityCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanGoalStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CausalityExpectationEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu.resource.Condition;
import ca.uhn.fhir.model.dstu.valueset.ConditionRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConditionStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.CriticalityEnum;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DeviceObservationReport;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.resource.DocumentManifest;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.DocumentReference;
import ca.uhn.fhir.model.dstu.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExposureTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.resource.FamilyHistory;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.GVFMeta;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.resource.Immunization;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationReasonCodesEnum;
import ca.uhn.fhir.model.dstu.resource.ImmunizationRecommendation;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRecommendationDateCriterionCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRecommendationStatusCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRouteCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.resource.MedicationAdministration;
import ca.uhn.fhir.model.dstu.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationDispense;
import ca.uhn.fhir.model.dstu.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationPrescription;
import ca.uhn.fhir.model.dstu.valueset.MedicationPrescriptionStatusEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.resource.Microarray;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu.resource.Order;
import ca.uhn.fhir.model.dstu.valueset.OrderOutcomeStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Procedure;
import ca.uhn.fhir.model.dstu.valueset.ProcedureRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.valueset.QueryOutcomeEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireGroupNameEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireNameEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.valueset.ReactionSeverityEnum;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.composite.ScheduleDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventActionEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventOutcomeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SensitivityStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SensitivityTypeEnum;
import ca.uhn.fhir.model.dstu.resource.SequencingAnalysis;
import ca.uhn.fhir.model.dstu.resource.SequencingLab;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Slot;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SupplyDispenseStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyItemTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyTypeEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.ExtensionDt;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.AgeDt;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.resource.Binary;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.IdrefDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR ImmunizationRecommendation Resource
* (Immunization profile)
*
*
* Definition:
* A patient's point-of-time immunization status and recommendation with optional supporting justification
*
*
*
* Requirements:
*
*
*
*
* Profile Definition:
* http://hl7.org/fhir/profiles/ImmunizationRecommendation
*
*
*/
@ResourceDef(name="ImmunizationRecommendation", profile="http://hl7.org/fhir/profiles/ImmunizationRecommendation", id="immunizationrecommendation")
public class ImmunizationRecommendation extends ca.uhn.fhir.model.dstu.resource.BaseResource
implements IResource {
/**
* Search parameter constant for subject
*
* Description:
* Type: reference
* Path: ImmunizationRecommendation.subject
*
*/
@SearchParamDefinition(name="subject", path="ImmunizationRecommendation.subject", description="", type="reference" )
public static final String SP_SUBJECT = "subject";
/**
* Fluent Client search parameter constant for subject
*
* Description:
* Type: reference
* Path: ImmunizationRecommendation.subject
*
*/
public static final ReferenceClientParam SUBJECT = new ReferenceClientParam(SP_SUBJECT);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "ImmunizationRecommendation.subject".
*/
public static final Include INCLUDE_SUBJECT = new Include("ImmunizationRecommendation.subject");
/**
* Search parameter constant for vaccine-type
*
* Description:
* Type: token
* Path: ImmunizationRecommendation.recommendation.vaccineType
*
*/
@SearchParamDefinition(name="vaccine-type", path="ImmunizationRecommendation.recommendation.vaccineType", description="", type="token" )
public static final String SP_VACCINE_TYPE = "vaccine-type";
/**
* Fluent Client search parameter constant for vaccine-type
*
* Description:
* Type: token
* Path: ImmunizationRecommendation.recommendation.vaccineType
*
*/
public static final TokenClientParam VACCINE_TYPE = new TokenClientParam(SP_VACCINE_TYPE);
/**
* Search parameter constant for identifier
*
* Description:
* Type: token
* Path: ImmunizationRecommendation.identifier
*
*/
@SearchParamDefinition(name="identifier", path="ImmunizationRecommendation.identifier", description="", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* Fluent Client search parameter constant for identifier
*
* Description:
* Type: token
* Path: ImmunizationRecommendation.identifier
*
*/
public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER);
/**
* Search parameter constant for date
*
* Description:
* Type: date
* Path: ImmunizationRecommendation.recommendation.date
*
*/
@SearchParamDefinition(name="date", path="ImmunizationRecommendation.recommendation.date", description="", type="date" )
public static final String SP_DATE = "date";
/**
* Fluent Client search parameter constant for date
*
* Description:
* Type: date
* Path: ImmunizationRecommendation.recommendation.date
*
*/
public static final DateClientParam DATE = new DateClientParam(SP_DATE);
/**
* Search parameter constant for dose-number
*
* Description:
* Type: number
* Path: ImmunizationRecommendation.recommendation.doseNumber
*
*/
@SearchParamDefinition(name="dose-number", path="ImmunizationRecommendation.recommendation.doseNumber", description="", type="number" )
public static final String SP_DOSE_NUMBER = "dose-number";
/**
* Fluent Client search parameter constant for dose-number
*
* Description:
* Type: number
* Path: ImmunizationRecommendation.recommendation.doseNumber
*
*/
public static final NumberClientParam DOSE_NUMBER = new NumberClientParam(SP_DOSE_NUMBER);
/**
* Search parameter constant for status
*
* Description:
* Type: token
* Path: ImmunizationRecommendation.recommendation.forecastStatus
*
*/
@SearchParamDefinition(name="status", path="ImmunizationRecommendation.recommendation.forecastStatus", description="", type="token" )
public static final String SP_STATUS = "status";
/**
* Fluent Client search parameter constant for status
*
* Description:
* Type: token
* Path: ImmunizationRecommendation.recommendation.forecastStatus
*
*/
public static final TokenClientParam STATUS = new TokenClientParam(SP_STATUS);
/**
* Search parameter constant for dose-sequence
*
* Description:
* Type: token
* Path: ImmunizationRecommendation.recommendation.protocol.doseSequence
*
*/
@SearchParamDefinition(name="dose-sequence", path="ImmunizationRecommendation.recommendation.protocol.doseSequence", description="", type="token" )
public static final String SP_DOSE_SEQUENCE = "dose-sequence";
/**
* Fluent Client search parameter constant for dose-sequence
*
* Description:
* Type: token
* Path: ImmunizationRecommendation.recommendation.protocol.doseSequence
*
*/
public static final TokenClientParam DOSE_SEQUENCE = new TokenClientParam(SP_DOSE_SEQUENCE);
/**
* Search parameter constant for support
*
* Description:
* Type: reference
* Path: ImmunizationRecommendation.recommendation.supportingImmunization
*
*/
@SearchParamDefinition(name="support", path="ImmunizationRecommendation.recommendation.supportingImmunization", description="", type="reference" )
public static final String SP_SUPPORT = "support";
/**
* Fluent Client search parameter constant for support
*
* Description:
* Type: reference
* Path: ImmunizationRecommendation.recommendation.supportingImmunization
*
*/
public static final ReferenceClientParam SUPPORT = new ReferenceClientParam(SP_SUPPORT);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "ImmunizationRecommendation.recommendation.supportingImmunization".
*/
public static final Include INCLUDE_RECOMMENDATION_SUPPORTINGIMMUNIZATION = new Include("ImmunizationRecommendation.recommendation.supportingImmunization");
/**
* Search parameter constant for information
*
* Description:
* Type: reference
* Path: ImmunizationRecommendation.recommendation.supportingPatientInformation
*
*/
@SearchParamDefinition(name="information", path="ImmunizationRecommendation.recommendation.supportingPatientInformation", description="", type="reference" )
public static final String SP_INFORMATION = "information";
/**
* Fluent Client search parameter constant for information
*
* Description:
* Type: reference
* Path: ImmunizationRecommendation.recommendation.supportingPatientInformation
*
*/
public static final ReferenceClientParam INFORMATION = new ReferenceClientParam(SP_INFORMATION);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "ImmunizationRecommendation.recommendation.supportingPatientInformation".
*/
public static final Include INCLUDE_RECOMMENDATION_SUPPORTINGPATIENTINFORMATION = new Include("ImmunizationRecommendation.recommendation.supportingPatientInformation");
@Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="Business identifier",
formalDefinition="A unique identifier assigned to this particular recommendation record."
)
private java.util.List myIdentifier;
@Child(name="subject", order=1, min=1, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu.resource.Patient.class })
@Description(
shortDefinition="Who this profile is for",
formalDefinition="The patient who is the subject of the profile"
)
private ResourceReferenceDt mySubject;
@Child(name="recommendation", order=2, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="Vaccine administration recommendations",
formalDefinition="Vaccine administration recommendations"
)
private java.util.List myRecommendation;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, mySubject, myRecommendation);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, mySubject, myRecommendation);
}
/**
* Gets the value(s) for identifier (Business identifier).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A unique identifier assigned to this particular recommendation record.
*
*/
public java.util.List getIdentifier() {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
return myIdentifier;
}
/**
* Gets the value(s) for identifier (Business identifier).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A unique identifier assigned to this particular recommendation record.
*
*/
public java.util.List getIdentifierElement() {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
return myIdentifier;
}
/**
* Sets the value(s) for identifier (Business identifier)
*
*
* Definition:
* A unique identifier assigned to this particular recommendation record.
*
*/
public ImmunizationRecommendation setIdentifier(java.util.List theValue) {
myIdentifier = theValue;
return this;
}
/**
* Adds and returns a new value for identifier (Business identifier)
*
*
* Definition:
* A unique identifier assigned to this particular recommendation record.
*
*/
public IdentifierDt addIdentifier() {
IdentifierDt newType = new IdentifierDt();
getIdentifier().add(newType);
return newType;
}
/**
* Gets the first repetition for identifier (Business identifier),
* creating it if it does not already exist.
*
*
* Definition:
* A unique identifier assigned to this particular recommendation record.
*
*/
public IdentifierDt getIdentifierFirstRep() {
if (getIdentifier().isEmpty()) {
return addIdentifier();
}
return getIdentifier().get(0);
}
/**
* Adds a new value for identifier (Business identifier)
*
*
* Definition:
* A unique identifier assigned to this particular recommendation record.
*
*
* @return Returns a reference to this object, to allow for simple chaining.
*/
public ImmunizationRecommendation addIdentifier( IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel) {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
myIdentifier.add(new IdentifierDt(theUse, theSystem, theValue, theLabel));
return this;
}
/**
* Adds a new value for identifier (Business identifier)
*
*
* Definition:
* A unique identifier assigned to this particular recommendation record.
*
*
* @return Returns a reference to this object, to allow for simple chaining.
*/
public ImmunizationRecommendation addIdentifier( String theSystem, String theValue) {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
myIdentifier.add(new IdentifierDt(theSystem, theValue));
return this;
}
/**
* Gets the value(s) for subject (Who this profile is for).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The patient who is the subject of the profile
*
*/
public ResourceReferenceDt getSubject() {
if (mySubject == null) {
mySubject = new ResourceReferenceDt();
}
return mySubject;
}
/**
* Gets the value(s) for subject (Who this profile is for).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The patient who is the subject of the profile
*
*/
public ResourceReferenceDt getSubjectElement() {
if (mySubject == null) {
mySubject = new ResourceReferenceDt();
}
return mySubject;
}
/**
* Sets the value(s) for subject (Who this profile is for)
*
*
* Definition:
* The patient who is the subject of the profile
*
*/
public ImmunizationRecommendation setSubject(ResourceReferenceDt theValue) {
mySubject = theValue;
return this;
}
/**
* Gets the value(s) for recommendation (Vaccine administration recommendations).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Vaccine administration recommendations
*
*/
public java.util.List getRecommendation() {
if (myRecommendation == null) {
myRecommendation = new java.util.ArrayList();
}
return myRecommendation;
}
/**
* Gets the value(s) for recommendation (Vaccine administration recommendations).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Vaccine administration recommendations
*
*/
public java.util.List getRecommendationElement() {
if (myRecommendation == null) {
myRecommendation = new java.util.ArrayList();
}
return myRecommendation;
}
/**
* Sets the value(s) for recommendation (Vaccine administration recommendations)
*
*
* Definition:
* Vaccine administration recommendations
*
*/
public ImmunizationRecommendation setRecommendation(java.util.List theValue) {
myRecommendation = theValue;
return this;
}
/**
* Adds and returns a new value for recommendation (Vaccine administration recommendations)
*
*
* Definition:
* Vaccine administration recommendations
*
*/
public Recommendation addRecommendation() {
Recommendation newType = new Recommendation();
getRecommendation().add(newType);
return newType;
}
/**
* Gets the first repetition for recommendation (Vaccine administration recommendations),
* creating it if it does not already exist.
*
*
* Definition:
* Vaccine administration recommendations
*
*/
public Recommendation getRecommendationFirstRep() {
if (getRecommendation().isEmpty()) {
return addRecommendation();
}
return getRecommendation().get(0);
}
/**
* Block class for child element: ImmunizationRecommendation.recommendation (Vaccine administration recommendations)
*
*
* Definition:
* Vaccine administration recommendations
*
*/
@Block()
public static class Recommendation
extends BaseIdentifiableElement implements IResourceBlock {
@Child(name="date", type=DateTimeDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Date recommendation created",
formalDefinition="The date the immunization recommendation was created."
)
private DateTimeDt myDate;
@Child(name="vaccineType", type=CodeableConceptDt.class, order=1, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Vaccine recommendation applies to",
formalDefinition="Vaccine that pertains to the recommendation"
)
private CodeableConceptDt myVaccineType;
@Child(name="doseNumber", type=IntegerDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Recommended dose number",
formalDefinition="This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose)."
)
private IntegerDt myDoseNumber;
@Child(name="forecastStatus", type=CodeableConceptDt.class, order=3, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Vaccine administration status",
formalDefinition="Vaccine administration status"
)
private BoundCodeableConceptDt myForecastStatus;
@Child(name="dateCriterion", order=4, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="Dates governing proposed immunization",
formalDefinition="Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc."
)
private java.util.List myDateCriterion;
@Child(name="protocol", order=5, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Protocol used by recommendation",
formalDefinition="Contains information about the protocol under which the vaccine was administered"
)
private RecommendationProtocol myProtocol;
@Child(name="supportingImmunization", order=6, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu.resource.Immunization.class })
@Description(
shortDefinition="Past immunizations supporting recommendation",
formalDefinition="Immunization event history that supports the status and recommendation"
)
private java.util.List mySupportingImmunization;
@Child(name="supportingPatientInformation", order=7, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu.resource.Observation.class, ca.uhn.fhir.model.dstu.resource.AdverseReaction.class, ca.uhn.fhir.model.dstu.resource.AllergyIntolerance.class })
@Description(
shortDefinition="Patient observations supporting recommendation",
formalDefinition="Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information."
)
private java.util.List mySupportingPatientInformation;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDate, myVaccineType, myDoseNumber, myForecastStatus, myDateCriterion, myProtocol, mySupportingImmunization, mySupportingPatientInformation);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDate, myVaccineType, myDoseNumber, myForecastStatus, myDateCriterion, myProtocol, mySupportingImmunization, mySupportingPatientInformation);
}
/**
* Gets the value(s) for date (Date recommendation created).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The date the immunization recommendation was created.
*
*/
public DateTimeDt getDate() {
if (myDate == null) {
myDate = new DateTimeDt();
}
return myDate;
}
/**
* Gets the value(s) for date (Date recommendation created).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The date the immunization recommendation was created.
*
*/
public DateTimeDt getDateElement() {
if (myDate == null) {
myDate = new DateTimeDt();
}
return myDate;
}
/**
* Sets the value(s) for date (Date recommendation created)
*
*
* Definition:
* The date the immunization recommendation was created.
*
*/
public Recommendation setDate(DateTimeDt theValue) {
myDate = theValue;
return this;
}
/**
* Sets the value for date (Date recommendation created)
*
*
* Definition:
* The date the immunization recommendation was created.
*
*/
public Recommendation setDate( Date theDate, TemporalPrecisionEnum thePrecision) {
myDate = new DateTimeDt(theDate, thePrecision);
return this;
}
/**
* Sets the value for date (Date recommendation created)
*
*
* Definition:
* The date the immunization recommendation was created.
*
*/
public Recommendation setDateWithSecondsPrecision( Date theDate) {
myDate = new DateTimeDt(theDate);
return this;
}
/**
* Gets the value(s) for vaccineType (Vaccine recommendation applies to).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Vaccine that pertains to the recommendation
*
*/
public CodeableConceptDt getVaccineType() {
if (myVaccineType == null) {
myVaccineType = new CodeableConceptDt();
}
return myVaccineType;
}
/**
* Gets the value(s) for vaccineType (Vaccine recommendation applies to).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Vaccine that pertains to the recommendation
*
*/
public CodeableConceptDt getVaccineTypeElement() {
if (myVaccineType == null) {
myVaccineType = new CodeableConceptDt();
}
return myVaccineType;
}
/**
* Sets the value(s) for vaccineType (Vaccine recommendation applies to)
*
*
* Definition:
* Vaccine that pertains to the recommendation
*
*/
public Recommendation setVaccineType(CodeableConceptDt theValue) {
myVaccineType = theValue;
return this;
}
/**
* Gets the value(s) for doseNumber (Recommended dose number).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose).
*
*/
public IntegerDt getDoseNumber() {
if (myDoseNumber == null) {
myDoseNumber = new IntegerDt();
}
return myDoseNumber;
}
/**
* Gets the value(s) for doseNumber (Recommended dose number).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose).
*
*/
public IntegerDt getDoseNumberElement() {
if (myDoseNumber == null) {
myDoseNumber = new IntegerDt();
}
return myDoseNumber;
}
/**
* Sets the value(s) for doseNumber (Recommended dose number)
*
*
* Definition:
* This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose).
*
*/
public Recommendation setDoseNumber(IntegerDt theValue) {
myDoseNumber = theValue;
return this;
}
/**
* Sets the value for doseNumber (Recommended dose number)
*
*
* Definition:
* This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose).
*
*/
public Recommendation setDoseNumber( int theInteger) {
myDoseNumber = new IntegerDt(theInteger);
return this;
}
/**
* Gets the value(s) for forecastStatus (Vaccine administration status).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Vaccine administration status
*
*/
public BoundCodeableConceptDt getForecastStatus() {
if (myForecastStatus == null) {
myForecastStatus = new BoundCodeableConceptDt(ImmunizationRecommendationStatusCodesEnum.VALUESET_BINDER);
}
return myForecastStatus;
}
/**
* Gets the value(s) for forecastStatus (Vaccine administration status).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Vaccine administration status
*
*/
public BoundCodeableConceptDt getForecastStatusElement() {
if (myForecastStatus == null) {
myForecastStatus = new BoundCodeableConceptDt(ImmunizationRecommendationStatusCodesEnum.VALUESET_BINDER);
}
return myForecastStatus;
}
/**
* Sets the value(s) for forecastStatus (Vaccine administration status)
*
*
* Definition:
* Vaccine administration status
*
*/
public Recommendation setForecastStatus(BoundCodeableConceptDt theValue) {
myForecastStatus = theValue;
return this;
}
/**
* Sets the value(s) for forecastStatus (Vaccine administration status)
*
*
* Definition:
* Vaccine administration status
*
*/
public Recommendation setForecastStatus(ImmunizationRecommendationStatusCodesEnum theValue) {
getForecastStatus().setValueAsEnum(theValue);
return this;
}
/**
* Gets the value(s) for dateCriterion (Dates governing proposed immunization).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc.
*
*/
public java.util.List getDateCriterion() {
if (myDateCriterion == null) {
myDateCriterion = new java.util.ArrayList();
}
return myDateCriterion;
}
/**
* Gets the value(s) for dateCriterion (Dates governing proposed immunization).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc.
*
*/
public java.util.List getDateCriterionElement() {
if (myDateCriterion == null) {
myDateCriterion = new java.util.ArrayList();
}
return myDateCriterion;
}
/**
* Sets the value(s) for dateCriterion (Dates governing proposed immunization)
*
*
* Definition:
* Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc.
*
*/
public Recommendation setDateCriterion(java.util.List theValue) {
myDateCriterion = theValue;
return this;
}
/**
* Adds and returns a new value for dateCriterion (Dates governing proposed immunization)
*
*
* Definition:
* Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc.
*
*/
public RecommendationDateCriterion addDateCriterion() {
RecommendationDateCriterion newType = new RecommendationDateCriterion();
getDateCriterion().add(newType);
return newType;
}
/**
* Gets the first repetition for dateCriterion (Dates governing proposed immunization),
* creating it if it does not already exist.
*
*
* Definition:
* Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc.
*
*/
public RecommendationDateCriterion getDateCriterionFirstRep() {
if (getDateCriterion().isEmpty()) {
return addDateCriterion();
}
return getDateCriterion().get(0);
}
/**
* Gets the value(s) for protocol (Protocol used by recommendation).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Contains information about the protocol under which the vaccine was administered
*
*/
public RecommendationProtocol getProtocol() {
if (myProtocol == null) {
myProtocol = new RecommendationProtocol();
}
return myProtocol;
}
/**
* Gets the value(s) for protocol (Protocol used by recommendation).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Contains information about the protocol under which the vaccine was administered
*
*/
public RecommendationProtocol getProtocolElement() {
if (myProtocol == null) {
myProtocol = new RecommendationProtocol();
}
return myProtocol;
}
/**
* Sets the value(s) for protocol (Protocol used by recommendation)
*
*
* Definition:
* Contains information about the protocol under which the vaccine was administered
*
*/
public Recommendation setProtocol(RecommendationProtocol theValue) {
myProtocol = theValue;
return this;
}
/**
* Gets the value(s) for supportingImmunization (Past immunizations supporting recommendation).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Immunization event history that supports the status and recommendation
*
*/
public java.util.List getSupportingImmunization() {
if (mySupportingImmunization == null) {
mySupportingImmunization = new java.util.ArrayList();
}
return mySupportingImmunization;
}
/**
* Gets the value(s) for supportingImmunization (Past immunizations supporting recommendation).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Immunization event history that supports the status and recommendation
*
*/
public java.util.List getSupportingImmunizationElement() {
if (mySupportingImmunization == null) {
mySupportingImmunization = new java.util.ArrayList();
}
return mySupportingImmunization;
}
/**
* Sets the value(s) for supportingImmunization (Past immunizations supporting recommendation)
*
*
* Definition:
* Immunization event history that supports the status and recommendation
*
*/
public Recommendation setSupportingImmunization(java.util.List theValue) {
mySupportingImmunization = theValue;
return this;
}
/**
* Adds and returns a new value for supportingImmunization (Past immunizations supporting recommendation)
*
*
* Definition:
* Immunization event history that supports the status and recommendation
*
*/
public ResourceReferenceDt addSupportingImmunization() {
ResourceReferenceDt newType = new ResourceReferenceDt();
getSupportingImmunization().add(newType);
return newType;
}
/**
* Gets the value(s) for supportingPatientInformation (Patient observations supporting recommendation).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information.
*
*/
public java.util.List getSupportingPatientInformation() {
if (mySupportingPatientInformation == null) {
mySupportingPatientInformation = new java.util.ArrayList();
}
return mySupportingPatientInformation;
}
/**
* Gets the value(s) for supportingPatientInformation (Patient observations supporting recommendation).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information.
*
*/
public java.util.List getSupportingPatientInformationElement() {
if (mySupportingPatientInformation == null) {
mySupportingPatientInformation = new java.util.ArrayList();
}
return mySupportingPatientInformation;
}
/**
* Sets the value(s) for supportingPatientInformation (Patient observations supporting recommendation)
*
*
* Definition:
* Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information.
*
*/
public Recommendation setSupportingPatientInformation(java.util.List theValue) {
mySupportingPatientInformation = theValue;
return this;
}
/**
* Adds and returns a new value for supportingPatientInformation (Patient observations supporting recommendation)
*
*
* Definition:
* Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information.
*
*/
public ResourceReferenceDt addSupportingPatientInformation() {
ResourceReferenceDt newType = new ResourceReferenceDt();
getSupportingPatientInformation().add(newType);
return newType;
}
}
/**
* Block class for child element: ImmunizationRecommendation.recommendation.dateCriterion (Dates governing proposed immunization)
*
*
* Definition:
* Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc.
*
*/
@Block()
public static class RecommendationDateCriterion
extends BaseIdentifiableElement implements IResourceBlock {
@Child(name="code", type=CodeableConceptDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Type of date",
formalDefinition="Date classification of recommendation - e.g. earliest date to give, latest date to give, etc."
)
private BoundCodeableConceptDt myCode;
@Child(name="value", type=DateTimeDt.class, order=1, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Recommended date",
formalDefinition="Date recommendation"
)
private DateTimeDt myValue;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myValue);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myValue);
}
/**
* Gets the value(s) for code (Type of date).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Date classification of recommendation - e.g. earliest date to give, latest date to give, etc.
*
*/
public BoundCodeableConceptDt getCode() {
if (myCode == null) {
myCode = new BoundCodeableConceptDt(ImmunizationRecommendationDateCriterionCodesEnum.VALUESET_BINDER);
}
return myCode;
}
/**
* Gets the value(s) for code (Type of date).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Date classification of recommendation - e.g. earliest date to give, latest date to give, etc.
*
*/
public BoundCodeableConceptDt getCodeElement() {
if (myCode == null) {
myCode = new BoundCodeableConceptDt(ImmunizationRecommendationDateCriterionCodesEnum.VALUESET_BINDER);
}
return myCode;
}
/**
* Sets the value(s) for code (Type of date)
*
*
* Definition:
* Date classification of recommendation - e.g. earliest date to give, latest date to give, etc.
*
*/
public RecommendationDateCriterion setCode(BoundCodeableConceptDt theValue) {
myCode = theValue;
return this;
}
/**
* Sets the value(s) for code (Type of date)
*
*
* Definition:
* Date classification of recommendation - e.g. earliest date to give, latest date to give, etc.
*
*/
public RecommendationDateCriterion setCode(ImmunizationRecommendationDateCriterionCodesEnum theValue) {
getCode().setValueAsEnum(theValue);
return this;
}
/**
* Gets the value(s) for value (Recommended date).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Date recommendation
*
*/
public DateTimeDt getValue() {
if (myValue == null) {
myValue = new DateTimeDt();
}
return myValue;
}
/**
* Gets the value(s) for value (Recommended date).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Date recommendation
*
*/
public DateTimeDt getValueElement() {
if (myValue == null) {
myValue = new DateTimeDt();
}
return myValue;
}
/**
* Sets the value(s) for value (Recommended date)
*
*
* Definition:
* Date recommendation
*
*/
public RecommendationDateCriterion setValue(DateTimeDt theValue) {
myValue = theValue;
return this;
}
/**
* Sets the value for value (Recommended date)
*
*
* Definition:
* Date recommendation
*
*/
public RecommendationDateCriterion setValue( Date theDate, TemporalPrecisionEnum thePrecision) {
myValue = new DateTimeDt(theDate, thePrecision);
return this;
}
/**
* Sets the value for value (Recommended date)
*
*
* Definition:
* Date recommendation
*
*/
public RecommendationDateCriterion setValueWithSecondsPrecision( Date theDate) {
myValue = new DateTimeDt(theDate);
return this;
}
}
/**
* Block class for child element: ImmunizationRecommendation.recommendation.protocol (Protocol used by recommendation)
*
*
* Definition:
* Contains information about the protocol under which the vaccine was administered
*
*/
@Block()
public static class RecommendationProtocol
extends BaseIdentifiableElement implements IResourceBlock {
@Child(name="doseSequence", type=IntegerDt.class, order=0, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Number of dose within sequence",
formalDefinition="Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol."
)
private IntegerDt myDoseSequence;
@Child(name="description", type=StringDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Protocol details",
formalDefinition="Contains the description about the protocol under which the vaccine was administered"
)
private StringDt myDescription;
@Child(name="authority", order=2, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu.resource.Organization.class })
@Description(
shortDefinition="Who is responsible for protocol",
formalDefinition="Indicates the authority who published the protocol? E.g. ACIP"
)
private ResourceReferenceDt myAuthority;
@Child(name="series", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="Name of vaccination series",
formalDefinition="One possible path to achieve presumed immunity against a disease - within the context of an authority"
)
private StringDt mySeries;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDoseSequence, myDescription, myAuthority, mySeries);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDoseSequence, myDescription, myAuthority, mySeries);
}
/**
* Gets the value(s) for doseSequence (Number of dose within sequence).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol.
*
*/
public IntegerDt getDoseSequence() {
if (myDoseSequence == null) {
myDoseSequence = new IntegerDt();
}
return myDoseSequence;
}
/**
* Gets the value(s) for doseSequence (Number of dose within sequence).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol.
*
*/
public IntegerDt getDoseSequenceElement() {
if (myDoseSequence == null) {
myDoseSequence = new IntegerDt();
}
return myDoseSequence;
}
/**
* Sets the value(s) for doseSequence (Number of dose within sequence)
*
*
* Definition:
* Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol.
*
*/
public RecommendationProtocol setDoseSequence(IntegerDt theValue) {
myDoseSequence = theValue;
return this;
}
/**
* Sets the value for doseSequence (Number of dose within sequence)
*
*
* Definition:
* Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol.
*
*/
public RecommendationProtocol setDoseSequence( int theInteger) {
myDoseSequence = new IntegerDt(theInteger);
return this;
}
/**
* Gets the value(s) for description (Protocol details).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Contains the description about the protocol under which the vaccine was administered
*
*/
public StringDt getDescription() {
if (myDescription == null) {
myDescription = new StringDt();
}
return myDescription;
}
/**
* Gets the value(s) for description (Protocol details).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Contains the description about the protocol under which the vaccine was administered
*
*/
public StringDt getDescriptionElement() {
if (myDescription == null) {
myDescription = new StringDt();
}
return myDescription;
}
/**
* Sets the value(s) for description (Protocol details)
*
*
* Definition:
* Contains the description about the protocol under which the vaccine was administered
*
*/
public RecommendationProtocol setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
* Sets the value for description (Protocol details)
*
*
* Definition:
* Contains the description about the protocol under which the vaccine was administered
*
*/
public RecommendationProtocol setDescription( String theString) {
myDescription = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for authority (Who is responsible for protocol).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates the authority who published the protocol? E.g. ACIP
*
*/
public ResourceReferenceDt getAuthority() {
if (myAuthority == null) {
myAuthority = new ResourceReferenceDt();
}
return myAuthority;
}
/**
* Gets the value(s) for authority (Who is responsible for protocol).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates the authority who published the protocol? E.g. ACIP
*
*/
public ResourceReferenceDt getAuthorityElement() {
if (myAuthority == null) {
myAuthority = new ResourceReferenceDt();
}
return myAuthority;
}
/**
* Sets the value(s) for authority (Who is responsible for protocol)
*
*
* Definition:
* Indicates the authority who published the protocol? E.g. ACIP
*
*/
public RecommendationProtocol setAuthority(ResourceReferenceDt theValue) {
myAuthority = theValue;
return this;
}
/**
* Gets the value(s) for series (Name of vaccination series).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* One possible path to achieve presumed immunity against a disease - within the context of an authority
*
*/
public StringDt getSeries() {
if (mySeries == null) {
mySeries = new StringDt();
}
return mySeries;
}
/**
* Gets the value(s) for series (Name of vaccination series).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* One possible path to achieve presumed immunity against a disease - within the context of an authority
*
*/
public StringDt getSeriesElement() {
if (mySeries == null) {
mySeries = new StringDt();
}
return mySeries;
}
/**
* Sets the value(s) for series (Name of vaccination series)
*
*
* Definition:
* One possible path to achieve presumed immunity against a disease - within the context of an authority
*
*/
public RecommendationProtocol setSeries(StringDt theValue) {
mySeries = theValue;
return this;
}
/**
* Sets the value for series (Name of vaccination series)
*
*
* Definition:
* One possible path to achieve presumed immunity against a disease - within the context of an authority
*
*/
public RecommendationProtocol setSeries( String theString) {
mySeries = new StringDt(theString);
return this;
}
}
@Override
public String getResourceName() {
return "ImmunizationRecommendation";
}
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
return ca.uhn.fhir.context.FhirVersionEnum.DSTU1;
}
}