ca.uhn.fhir.model.dstu2.resource.HealthcareService Maven / Gradle / Ivy
package ca.uhn.fhir.model.dstu2.resource;
import java.math.BigDecimal;
import java.net.URI;
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.dstu2.valueset.AccountStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ActionListEnum;
import ca.uhn.fhir.model.dstu2.composite.AddressDt;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationErrorCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjustmentReasonCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdministrativeGenderEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCertaintyEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCriticalityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.AnnotationDt;
import ca.uhn.fhir.model.dstu2.valueset.AnswerFormatEnum;
import ca.uhn.fhir.model.dstu2.resource.Appointment;
import ca.uhn.fhir.model.dstu2.valueset.AppointmentStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionDirectionTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionOperatorTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionResponseTypesEnum;
import ca.uhn.fhir.model.dstu2.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventActionEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.BindingStrengthEnum;
import ca.uhn.fhir.model.dstu2.resource.BodySite;
import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.CarePlan;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanRelationshipEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Claim;
import ca.uhn.fhir.model.dstu2.resource.ClaimResponse;
import ca.uhn.fhir.model.dstu2.valueset.ClaimTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.ClinicalImpression;
import ca.uhn.fhir.model.dstu2.valueset.ClinicalImpressionStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.CodingDt;
import ca.uhn.fhir.model.dstu2.resource.CommunicationRequest;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Composition;
import ca.uhn.fhir.model.dstu2.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu2.resource.Condition;
import ca.uhn.fhir.model.dstu2.valueset.ConditionCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionClinicalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionVerificationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionalDeleteStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Conformance;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceResourceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceStatementKindEnum;
import ca.uhn.fhir.model.dstu2.composite.ContactPointDt;
import ca.uhn.fhir.model.dstu2.valueset.ContentTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.Contract;
import ca.uhn.fhir.model.dstu2.resource.Coverage;
import ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum;
import ca.uhn.fhir.model.dstu2.valueset.DaysOfWeekEnum;
import ca.uhn.fhir.model.dstu2.valueset.DetectedIssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.resource.Device;
import ca.uhn.fhir.model.dstu2.resource.DeviceComponent;
import ca.uhn.fhir.model.dstu2.resource.DeviceMetric;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationStateEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricOperationalStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DigitalMediaTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu2.resource.DocumentReference;
import ca.uhn.fhir.model.dstu2.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt;
import ca.uhn.fhir.model.dstu2.resource.EligibilityRequest;
import ca.uhn.fhir.model.dstu2.resource.Encounter;
import ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterLocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest;
import ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare;
import ca.uhn.fhir.model.dstu2.valueset.EpisodeOfCareStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu2.valueset.FamilyHistoryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory;
import ca.uhn.fhir.model.dstu2.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu2.valueset.FlagStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Goal;
import ca.uhn.fhir.model.dstu2.valueset.GoalPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.GoalStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Group;
import ca.uhn.fhir.model.dstu2.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideDependencyTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuidePageKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum;
import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum;
import ca.uhn.fhir.model.dstu2.resource.HealthcareService;
import ca.uhn.fhir.model.dstu2.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu2.valueset.IdentifierTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.IdentityAssuranceLevelEnum;
import ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection;
import ca.uhn.fhir.model.dstu2.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu2.resource.Immunization;
import ca.uhn.fhir.model.dstu2.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.KOStitleEnum;
import ca.uhn.fhir.model.dstu2.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListOrderCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Location;
import ca.uhn.fhir.model.dstu2.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.MeasmntPrincipleEnum;
import ca.uhn.fhir.model.dstu2.resource.Media;
import ca.uhn.fhir.model.dstu2.resource.Medication;
import ca.uhn.fhir.model.dstu2.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationOrder;
import ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu2.valueset.MedicationStatementStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu2.resource.NamingSystem;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemIdentifierTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NoteTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.NutritionOrder;
import ca.uhn.fhir.model.dstu2.valueset.NutritionOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Observation;
import ca.uhn.fhir.model.dstu2.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationDefinition;
import ca.uhn.fhir.model.dstu2.valueset.OperationKindEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.valueset.OperationParameterUseEnum;
import ca.uhn.fhir.model.dstu2.resource.Order;
import ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Organization;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantRequiredEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Patient;
import ca.uhn.fhir.model.dstu2.valueset.PayeeTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.PeriodDt;
import ca.uhn.fhir.model.dstu2.resource.Person;
import ca.uhn.fhir.model.dstu2.resource.Practitioner;
import ca.uhn.fhir.model.dstu2.resource.Procedure;
import ca.uhn.fhir.model.dstu2.resource.ProcedureRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.ProcessRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
import ca.uhn.fhir.model.dstu2.resource.Questionnaire;
import ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireResponseStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.RangeDt;
import ca.uhn.fhir.model.dstu2.composite.RatioDt;
import ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum;
import ca.uhn.fhir.model.dstu2.resource.ReferralRequest;
import ca.uhn.fhir.model.dstu2.valueset.ReferralStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu2.valueset.RemittanceOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu2.resource.RiskAssessment;
import ca.uhn.fhir.model.dstu2.valueset.RulesetCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu2.resource.Schedule;
import ca.uhn.fhir.model.dstu2.valueset.SearchEntryModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchModifierCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ServiceProvisionConditionsEnum;
import ca.uhn.fhir.model.dstu2.composite.SignatureDt;
import ca.uhn.fhir.model.dstu2.resource.Slot;
import ca.uhn.fhir.model.dstu2.valueset.SlotStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Specimen;
import ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.StructureDefinition;
import ca.uhn.fhir.model.dstu2.valueset.StructureDefinitionKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Substance;
import ca.uhn.fhir.model.dstu2.valueset.SubstanceCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.SupplyDeliveryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.SupplyRequest;
import ca.uhn.fhir.model.dstu2.valueset.SupplyRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.SystemRestfulInteractionEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu2.composite.TimingDt;
import ca.uhn.fhir.model.dstu2.valueset.TransactionModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.TypeRestfulInteractionEnum;
import ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.UseEnum;
import ca.uhn.fhir.model.dstu2.resource.ValueSet;
import ca.uhn.fhir.model.dstu2.valueset.VisionBaseEnum;
import ca.uhn.fhir.model.dstu2.valueset.VisionEyesEnum;
import ca.uhn.fhir.model.dstu2.resource.VisionPrescription;
import ca.uhn.fhir.model.dstu2.valueset.XPathUsageTypeEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu2.composite.AgeDt;
import ca.uhn.fhir.model.dstu2.composite.BoundCodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.DurationDt;
import ca.uhn.fhir.model.dstu2.composite.MoneyDt;
import ca.uhn.fhir.model.dstu2.composite.NarrativeDt;
import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu2.composite.SimpleQuantityDt;
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.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.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.PositiveIntDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.TimeDt;
import ca.uhn.fhir.model.primitive.UnsignedIntDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR HealthcareService Resource
* (administrative.group)
*
*
* Definition:
* The details of a healthcare service available at a location.
*
*
*
* Requirements:
*
*
*
*
* Profile Definition:
* http://hl7.org/fhir/profiles/HealthcareService
*
*
*/
@ResourceDef(name="HealthcareService", profile="http://hl7.org/fhir/profiles/HealthcareService", id="healthcareservice")
public class HealthcareService extends ca.uhn.fhir.model.dstu2.resource.BaseResource
implements IResource
{
/**
* Search parameter constant for identifier
*
* Description:
* Type: token
* Path: HealthcareService.identifier
*
*/
@SearchParamDefinition(name="identifier", path="HealthcareService.identifier", description="", type="token"
)
public static final String SP_IDENTIFIER = "identifier";
/**
* Fluent Client search parameter constant for identifier
*
* Description:
* Type: token
* Path: HealthcareService.identifier
*
*/
public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER);
/**
* Search parameter constant for servicecategory
*
* Description: Service Category of the Healthcare Service
* Type: token
* Path: HealthcareService.serviceCategory
*
*/
@SearchParamDefinition(name="servicecategory", path="HealthcareService.serviceCategory", description="Service Category of the Healthcare Service", type="token"
)
public static final String SP_SERVICECATEGORY = "servicecategory";
/**
* Fluent Client search parameter constant for servicecategory
*
* Description: Service Category of the Healthcare Service
* Type: token
* Path: HealthcareService.serviceCategory
*
*/
public static final TokenClientParam SERVICECATEGORY = new TokenClientParam(SP_SERVICECATEGORY);
/**
* Search parameter constant for servicetype
*
* Description: The type of service provided by this healthcare service
* Type: token
* Path: HealthcareService.serviceType.type
*
*/
@SearchParamDefinition(name="servicetype", path="HealthcareService.serviceType.type", description="The type of service provided by this healthcare service", type="token"
)
public static final String SP_SERVICETYPE = "servicetype";
/**
* Fluent Client search parameter constant for servicetype
*
* Description: The type of service provided by this healthcare service
* Type: token
* Path: HealthcareService.serviceType.type
*
*/
public static final TokenClientParam SERVICETYPE = new TokenClientParam(SP_SERVICETYPE);
/**
* Search parameter constant for name
*
* Description: A portion of the Healthcare service name
* Type: string
* Path: HealthcareService.serviceName
*
*/
@SearchParamDefinition(name="name", path="HealthcareService.serviceName", description="A portion of the Healthcare service name", type="string"
)
public static final String SP_NAME = "name";
/**
* Fluent Client search parameter constant for name
*
* Description: A portion of the Healthcare service name
* Type: string
* Path: HealthcareService.serviceName
*
*/
public static final StringClientParam NAME = new StringClientParam(SP_NAME);
/**
* Search parameter constant for location
*
* Description: The location of the Healthcare Service
* Type: reference
* Path: HealthcareService.location
*
*/
@SearchParamDefinition(name="location", path="HealthcareService.location", description="The location of the Healthcare Service", type="reference"
)
public static final String SP_LOCATION = "location";
/**
* Fluent Client search parameter constant for location
*
* Description: The location of the Healthcare Service
* Type: reference
* Path: HealthcareService.location
*
*/
public static final ReferenceClientParam LOCATION = new ReferenceClientParam(SP_LOCATION);
/**
* Search parameter constant for organization
*
* Description: The organization that provides this Healthcare Service
* Type: reference
* Path: HealthcareService.providedBy
*
*/
@SearchParamDefinition(name="organization", path="HealthcareService.providedBy", description="The organization that provides this Healthcare Service", type="reference"
)
public static final String SP_ORGANIZATION = "organization";
/**
* Fluent Client search parameter constant for organization
*
* Description: The organization that provides this Healthcare Service
* Type: reference
* Path: HealthcareService.providedBy
*
*/
public static final ReferenceClientParam ORGANIZATION = new ReferenceClientParam(SP_ORGANIZATION);
/**
* Search parameter constant for programname
*
* Description: One of the Program Names serviced by this HealthcareService
* Type: string
* Path: HealthcareService.programName
*
*/
@SearchParamDefinition(name="programname", path="HealthcareService.programName", description="One of the Program Names serviced by this HealthcareService", type="string"
)
public static final String SP_PROGRAMNAME = "programname";
/**
* Fluent Client search parameter constant for programname
*
* Description: One of the Program Names serviced by this HealthcareService
* Type: string
* Path: HealthcareService.programName
*
*/
public static final StringClientParam PROGRAMNAME = new StringClientParam(SP_PROGRAMNAME);
/**
* Search parameter constant for characteristic
*
* Description: One of the HealthcareService's characteristics
* Type: token
* Path: HealthcareService.characteristic
*
*/
@SearchParamDefinition(name="characteristic", path="HealthcareService.characteristic", description="One of the HealthcareService's characteristics", type="token"
)
public static final String SP_CHARACTERISTIC = "characteristic";
/**
* Fluent Client search parameter constant for characteristic
*
* Description: One of the HealthcareService's characteristics
* Type: token
* Path: HealthcareService.characteristic
*
*/
public static final TokenClientParam CHARACTERISTIC = new TokenClientParam(SP_CHARACTERISTIC);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "HealthcareService:location".
*/
public static final Include INCLUDE_LOCATION = new Include("HealthcareService:location");
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "HealthcareService:organization".
*/
public static final Include INCLUDE_ORGANIZATION = new Include("HealthcareService:organization");
@Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)
@Description(
shortDefinition="id",
formalDefinition="External identifiers for this item"
)
private java.util.List myIdentifier;
@Child(name="providedBy", order=1, min=0, max=1, summary=true, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Organization.class
})
@Description(
shortDefinition="",
formalDefinition="The organization that provides this healthcare service"
)
private ResourceReferenceDt myProvidedBy;
@Child(name="serviceCategory", type=CodeableConceptDt.class, order=2, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="class",
formalDefinition="Identifies the broad category of service being performed or delivered"
)
private CodeableConceptDt myServiceCategory;
@Child(name="serviceType", order=3, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A specific type of service that may be delivered or performed"
)
private java.util.List myServiceType;
@Child(name="location", order=4, min=1, max=1, summary=true, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Location.class
})
@Description(
shortDefinition="where",
formalDefinition="The location where this healthcare service may be provided"
)
private ResourceReferenceDt myLocation;
@Child(name="serviceName", type=StringDt.class, order=5, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Further description of the service as it would be presented to a consumer while searching"
)
private StringDt myServiceName;
@Child(name="comment", type=StringDt.class, order=6, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName"
)
private StringDt myComment;
@Child(name="extraDetails", type=StringDt.class, order=7, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Extra details about the service that can't be placed in the other fields"
)
private StringDt myExtraDetails;
@Child(name="photo", type=AttachmentDt.class, order=8, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list"
)
private AttachmentDt myPhoto;
@Child(name="telecom", type=ContactPointDt.class, order=9, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="List of contacts related to this specific healthcare service"
)
private java.util.List myTelecom;
@Child(name="coverageArea", order=10, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Location.class
})
@Description(
shortDefinition="",
formalDefinition="The location(s) that this service is available to (not where the service is provided)"
)
private java.util.List myCoverageArea;
@Child(name="serviceProvisionCode", type=CodeableConceptDt.class, order=11, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The code(s) that detail the conditions under which the healthcare service is available/offered"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/service-provision-conditions")
private java.util.List> myServiceProvisionCode;
@Child(name="eligibility", type=CodeableConceptDt.class, order=12, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Does this service have specific eligibility requirements that need to be met in order to use the service?"
)
private CodeableConceptDt myEligibility;
@Child(name="eligibilityNote", type=StringDt.class, order=13, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Describes the eligibility conditions for the service"
)
private StringDt myEligibilityNote;
@Child(name="programName", type=StringDt.class, order=14, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Program Names that can be used to categorize the service"
)
private java.util.List myProgramName;
@Child(name="characteristic", type=CodeableConceptDt.class, order=15, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Collection of characteristics (attributes)"
)
private java.util.List myCharacteristic;
@Child(name="referralMethod", type=CodeableConceptDt.class, order=16, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/service-referral-method")
private java.util.List> myReferralMethod;
@Child(name="publicKey", type=StringDt.class, order=17, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available"
)
private StringDt myPublicKey;
@Child(name="appointmentRequired", type=BooleanDt.class, order=18, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service."
)
private BooleanDt myAppointmentRequired;
@Child(name="availableTime", order=19, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A collection of times that the Service Site is available"
)
private java.util.List myAvailableTime;
@Child(name="notAvailable", order=20, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The HealthcareService is not available during this period of time due to the provided reason"
)
private java.util.List myNotAvailable;
@Child(name="availabilityExceptions", type=StringDt.class, order=21, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times"
)
private StringDt myAvailabilityExceptions;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myProvidedBy, myServiceCategory, myServiceType, myLocation, myServiceName, myComment, myExtraDetails, myPhoto, myTelecom, myCoverageArea, myServiceProvisionCode, myEligibility, myEligibilityNote, myProgramName, myCharacteristic, myReferralMethod, myPublicKey, myAppointmentRequired, myAvailableTime, myNotAvailable, myAvailabilityExceptions);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myProvidedBy, myServiceCategory, myServiceType, myLocation, myServiceName, myComment, myExtraDetails, myPhoto, myTelecom, myCoverageArea, myServiceProvisionCode, myEligibility, myEligibilityNote, myProgramName, myCharacteristic, myReferralMethod, myPublicKey, myAppointmentRequired, myAvailableTime, myNotAvailable, myAvailabilityExceptions);
}
/**
* Gets the value(s) for identifier (id).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* External identifiers for this item
*
*/
public java.util.List getIdentifier() {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
return myIdentifier;
}
/**
* Sets the value(s) for identifier (id)
*
*
* Definition:
* External identifiers for this item
*
*/
public HealthcareService setIdentifier(java.util.List theValue) {
myIdentifier = theValue;
return this;
}
/**
* Adds and returns a new value for identifier (id)
*
*
* Definition:
* External identifiers for this item
*
*/
public IdentifierDt addIdentifier() {
IdentifierDt newType = new IdentifierDt();
getIdentifier().add(newType);
return newType;
}
/**
* Adds a given new value for identifier (id)
*
*
* Definition:
* External identifiers for this item
*
* @param theValue The identifier to add (must not be null
)
*/
public HealthcareService addIdentifier(IdentifierDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getIdentifier().add(theValue);
return this;
}
/**
* Gets the first repetition for identifier (id),
* creating it if it does not already exist.
*
*
* Definition:
* External identifiers for this item
*
*/
public IdentifierDt getIdentifierFirstRep() {
if (getIdentifier().isEmpty()) {
return addIdentifier();
}
return getIdentifier().get(0);
}
/**
* Gets the value(s) for providedBy ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The organization that provides this healthcare service
*
*/
public ResourceReferenceDt getProvidedBy() {
if (myProvidedBy == null) {
myProvidedBy = new ResourceReferenceDt();
}
return myProvidedBy;
}
/**
* Sets the value(s) for providedBy ()
*
*
* Definition:
* The organization that provides this healthcare service
*
*/
public HealthcareService setProvidedBy(ResourceReferenceDt theValue) {
myProvidedBy = theValue;
return this;
}
/**
* Gets the value(s) for serviceCategory (class).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Identifies the broad category of service being performed or delivered
*
*/
public CodeableConceptDt getServiceCategory() {
if (myServiceCategory == null) {
myServiceCategory = new CodeableConceptDt();
}
return myServiceCategory;
}
/**
* Sets the value(s) for serviceCategory (class)
*
*
* Definition:
* Identifies the broad category of service being performed or delivered
*
*/
public HealthcareService setServiceCategory(CodeableConceptDt theValue) {
myServiceCategory = theValue;
return this;
}
/**
* Gets the value(s) for serviceType ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A specific type of service that may be delivered or performed
*
*/
public java.util.List getServiceType() {
if (myServiceType == null) {
myServiceType = new java.util.ArrayList();
}
return myServiceType;
}
/**
* Sets the value(s) for serviceType ()
*
*
* Definition:
* A specific type of service that may be delivered or performed
*
*/
public HealthcareService setServiceType(java.util.List theValue) {
myServiceType = theValue;
return this;
}
/**
* Adds and returns a new value for serviceType ()
*
*
* Definition:
* A specific type of service that may be delivered or performed
*
*/
public ServiceType addServiceType() {
ServiceType newType = new ServiceType();
getServiceType().add(newType);
return newType;
}
/**
* Adds a given new value for serviceType ()
*
*
* Definition:
* A specific type of service that may be delivered or performed
*
* @param theValue The serviceType to add (must not be null
)
*/
public HealthcareService addServiceType(ServiceType theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getServiceType().add(theValue);
return this;
}
/**
* Gets the first repetition for serviceType (),
* creating it if it does not already exist.
*
*
* Definition:
* A specific type of service that may be delivered or performed
*
*/
public ServiceType getServiceTypeFirstRep() {
if (getServiceType().isEmpty()) {
return addServiceType();
}
return getServiceType().get(0);
}
/**
* Gets the value(s) for location (where).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The location where this healthcare service may be provided
*
*/
public ResourceReferenceDt getLocation() {
if (myLocation == null) {
myLocation = new ResourceReferenceDt();
}
return myLocation;
}
/**
* Sets the value(s) for location (where)
*
*
* Definition:
* The location where this healthcare service may be provided
*
*/
public HealthcareService setLocation(ResourceReferenceDt theValue) {
myLocation = theValue;
return this;
}
/**
* Gets the value(s) for serviceName ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Further description of the service as it would be presented to a consumer while searching
*
*/
public StringDt getServiceNameElement() {
if (myServiceName == null) {
myServiceName = new StringDt();
}
return myServiceName;
}
/**
* Gets the value(s) for serviceName ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Further description of the service as it would be presented to a consumer while searching
*
*/
public String getServiceName() {
return getServiceNameElement().getValue();
}
/**
* Sets the value(s) for serviceName ()
*
*
* Definition:
* Further description of the service as it would be presented to a consumer while searching
*
*/
public HealthcareService setServiceName(StringDt theValue) {
myServiceName = theValue;
return this;
}
/**
* Sets the value for serviceName ()
*
*
* Definition:
* Further description of the service as it would be presented to a consumer while searching
*
*/
public HealthcareService setServiceName( String theString) {
myServiceName = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for comment ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName
*
*/
public StringDt getCommentElement() {
if (myComment == null) {
myComment = new StringDt();
}
return myComment;
}
/**
* Gets the value(s) for comment ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName
*
*/
public String getComment() {
return getCommentElement().getValue();
}
/**
* Sets the value(s) for comment ()
*
*
* Definition:
* Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName
*
*/
public HealthcareService setComment(StringDt theValue) {
myComment = theValue;
return this;
}
/**
* Sets the value for comment ()
*
*
* Definition:
* Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName
*
*/
public HealthcareService setComment( String theString) {
myComment = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for extraDetails ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Extra details about the service that can't be placed in the other fields
*
*/
public StringDt getExtraDetailsElement() {
if (myExtraDetails == null) {
myExtraDetails = new StringDt();
}
return myExtraDetails;
}
/**
* Gets the value(s) for extraDetails ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Extra details about the service that can't be placed in the other fields
*
*/
public String getExtraDetails() {
return getExtraDetailsElement().getValue();
}
/**
* Sets the value(s) for extraDetails ()
*
*
* Definition:
* Extra details about the service that can't be placed in the other fields
*
*/
public HealthcareService setExtraDetails(StringDt theValue) {
myExtraDetails = theValue;
return this;
}
/**
* Sets the value for extraDetails ()
*
*
* Definition:
* Extra details about the service that can't be placed in the other fields
*
*/
public HealthcareService setExtraDetails( String theString) {
myExtraDetails = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for photo ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list
*
*/
public AttachmentDt getPhoto() {
if (myPhoto == null) {
myPhoto = new AttachmentDt();
}
return myPhoto;
}
/**
* Sets the value(s) for photo ()
*
*
* Definition:
* If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list
*
*/
public HealthcareService setPhoto(AttachmentDt theValue) {
myPhoto = theValue;
return this;
}
/**
* Gets the value(s) for telecom ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* List of contacts related to this specific healthcare service
*
*/
public java.util.List getTelecom() {
if (myTelecom == null) {
myTelecom = new java.util.ArrayList();
}
return myTelecom;
}
/**
* Sets the value(s) for telecom ()
*
*
* Definition:
* List of contacts related to this specific healthcare service
*
*/
public HealthcareService setTelecom(java.util.List theValue) {
myTelecom = theValue;
return this;
}
/**
* Adds and returns a new value for telecom ()
*
*
* Definition:
* List of contacts related to this specific healthcare service
*
*/
public ContactPointDt addTelecom() {
ContactPointDt newType = new ContactPointDt();
getTelecom().add(newType);
return newType;
}
/**
* Adds a given new value for telecom ()
*
*
* Definition:
* List of contacts related to this specific healthcare service
*
* @param theValue The telecom to add (must not be null
)
*/
public HealthcareService addTelecom(ContactPointDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getTelecom().add(theValue);
return this;
}
/**
* Gets the first repetition for telecom (),
* creating it if it does not already exist.
*
*
* Definition:
* List of contacts related to this specific healthcare service
*
*/
public ContactPointDt getTelecomFirstRep() {
if (getTelecom().isEmpty()) {
return addTelecom();
}
return getTelecom().get(0);
}
/**
* Gets the value(s) for coverageArea ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The location(s) that this service is available to (not where the service is provided)
*
*/
public java.util.List getCoverageArea() {
if (myCoverageArea == null) {
myCoverageArea = new java.util.ArrayList();
}
return myCoverageArea;
}
/**
* Sets the value(s) for coverageArea ()
*
*
* Definition:
* The location(s) that this service is available to (not where the service is provided)
*
*/
public HealthcareService setCoverageArea(java.util.List theValue) {
myCoverageArea = theValue;
return this;
}
/**
* Adds and returns a new value for coverageArea ()
*
*
* Definition:
* The location(s) that this service is available to (not where the service is provided)
*
*/
public ResourceReferenceDt addCoverageArea() {
ResourceReferenceDt newType = new ResourceReferenceDt();
getCoverageArea().add(newType);
return newType;
}
/**
* Gets the value(s) for serviceProvisionCode ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The code(s) that detail the conditions under which the healthcare service is available/offered
*
*/
public java.util.List> getServiceProvisionCode() {
if (myServiceProvisionCode == null) {
myServiceProvisionCode = new java.util.ArrayList>();
}
return myServiceProvisionCode;
}
/**
* Sets the value(s) for serviceProvisionCode ()
*
*
* Definition:
* The code(s) that detail the conditions under which the healthcare service is available/offered
*
*/
public HealthcareService setServiceProvisionCode(java.util.List> theValue) {
myServiceProvisionCode = theValue;
return this;
}
/**
* Add a value for serviceProvisionCode () using an enumerated type. This
* is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory
* or contain the desirable codes. If you wish to use codes other than those which are built-in,
* you may also use the {@link #addServiceProvisionCode()} method.
*
*
* Definition:
* The code(s) that detail the conditions under which the healthcare service is available/offered
*
*/
public BoundCodeableConceptDt addServiceProvisionCode(ServiceProvisionConditionsEnum theValue) {
BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(ServiceProvisionConditionsEnum.VALUESET_BINDER, theValue);
getServiceProvisionCode().add(retVal);
return retVal;
}
/**
* Gets the first repetition for serviceProvisionCode (),
* creating it if it does not already exist.
*
*
* Definition:
* The code(s) that detail the conditions under which the healthcare service is available/offered
*
*/
public BoundCodeableConceptDt getServiceProvisionCodeFirstRep() {
if (getServiceProvisionCode().size() == 0) {
addServiceProvisionCode();
}
return getServiceProvisionCode().get(0);
}
/**
* Add a value for serviceProvisionCode ()
*
*
* Definition:
* The code(s) that detail the conditions under which the healthcare service is available/offered
*
*/
public BoundCodeableConceptDt addServiceProvisionCode() {
BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(ServiceProvisionConditionsEnum.VALUESET_BINDER);
getServiceProvisionCode().add(retVal);
return retVal;
}
/**
* Sets the value(s), and clears any existing value(s) for serviceProvisionCode ()
*
*
* Definition:
* The code(s) that detail the conditions under which the healthcare service is available/offered
*
*/
public HealthcareService setServiceProvisionCode(ServiceProvisionConditionsEnum theValue) {
getServiceProvisionCode().clear();
addServiceProvisionCode(theValue);
return this;
}
/**
* Gets the value(s) for eligibility ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Does this service have specific eligibility requirements that need to be met in order to use the service?
*
*/
public CodeableConceptDt getEligibility() {
if (myEligibility == null) {
myEligibility = new CodeableConceptDt();
}
return myEligibility;
}
/**
* Sets the value(s) for eligibility ()
*
*
* Definition:
* Does this service have specific eligibility requirements that need to be met in order to use the service?
*
*/
public HealthcareService setEligibility(CodeableConceptDt theValue) {
myEligibility = theValue;
return this;
}
/**
* Gets the value(s) for eligibilityNote ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Describes the eligibility conditions for the service
*
*/
public StringDt getEligibilityNoteElement() {
if (myEligibilityNote == null) {
myEligibilityNote = new StringDt();
}
return myEligibilityNote;
}
/**
* Gets the value(s) for eligibilityNote ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Describes the eligibility conditions for the service
*
*/
public String getEligibilityNote() {
return getEligibilityNoteElement().getValue();
}
/**
* Sets the value(s) for eligibilityNote ()
*
*
* Definition:
* Describes the eligibility conditions for the service
*
*/
public HealthcareService setEligibilityNote(StringDt theValue) {
myEligibilityNote = theValue;
return this;
}
/**
* Sets the value for eligibilityNote ()
*
*
* Definition:
* Describes the eligibility conditions for the service
*
*/
public HealthcareService setEligibilityNote( String theString) {
myEligibilityNote = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for programName ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Program Names that can be used to categorize the service
*
*/
public java.util.List getProgramName() {
if (myProgramName == null) {
myProgramName = new java.util.ArrayList();
}
return myProgramName;
}
/**
* Sets the value(s) for programName ()
*
*
* Definition:
* Program Names that can be used to categorize the service
*
*/
public HealthcareService setProgramName(java.util.List theValue) {
myProgramName = theValue;
return this;
}
/**
* Adds and returns a new value for programName ()
*
*
* Definition:
* Program Names that can be used to categorize the service
*
*/
public StringDt addProgramName() {
StringDt newType = new StringDt();
getProgramName().add(newType);
return newType;
}
/**
* Adds a given new value for programName ()
*
*
* Definition:
* Program Names that can be used to categorize the service
*
* @param theValue The programName to add (must not be null
)
*/
public HealthcareService addProgramName(StringDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getProgramName().add(theValue);
return this;
}
/**
* Gets the first repetition for programName (),
* creating it if it does not already exist.
*
*
* Definition:
* Program Names that can be used to categorize the service
*
*/
public StringDt getProgramNameFirstRep() {
if (getProgramName().isEmpty()) {
return addProgramName();
}
return getProgramName().get(0);
}
/**
* Adds a new value for programName ()
*
*
* Definition:
* Program Names that can be used to categorize the service
*
*
* @return Returns a reference to this object, to allow for simple chaining.
*/
public HealthcareService addProgramName( String theString) {
if (myProgramName == null) {
myProgramName = new java.util.ArrayList();
}
myProgramName.add(new StringDt(theString));
return this;
}
/**
* Gets the value(s) for characteristic ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Collection of characteristics (attributes)
*
*/
public java.util.List getCharacteristic() {
if (myCharacteristic == null) {
myCharacteristic = new java.util.ArrayList();
}
return myCharacteristic;
}
/**
* Sets the value(s) for characteristic ()
*
*
* Definition:
* Collection of characteristics (attributes)
*
*/
public HealthcareService setCharacteristic(java.util.List theValue) {
myCharacteristic = theValue;
return this;
}
/**
* Adds and returns a new value for characteristic ()
*
*
* Definition:
* Collection of characteristics (attributes)
*
*/
public CodeableConceptDt addCharacteristic() {
CodeableConceptDt newType = new CodeableConceptDt();
getCharacteristic().add(newType);
return newType;
}
/**
* Adds a given new value for characteristic ()
*
*
* Definition:
* Collection of characteristics (attributes)
*
* @param theValue The characteristic to add (must not be null
)
*/
public HealthcareService addCharacteristic(CodeableConceptDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getCharacteristic().add(theValue);
return this;
}
/**
* Gets the first repetition for characteristic (),
* creating it if it does not already exist.
*
*
* Definition:
* Collection of characteristics (attributes)
*
*/
public CodeableConceptDt getCharacteristicFirstRep() {
if (getCharacteristic().isEmpty()) {
return addCharacteristic();
}
return getCharacteristic().get(0);
}
/**
* Gets the value(s) for referralMethod ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required
*
*/
public java.util.List> getReferralMethod() {
if (myReferralMethod == null) {
myReferralMethod = new java.util.ArrayList>();
}
return myReferralMethod;
}
/**
* Sets the value(s) for referralMethod ()
*
*
* Definition:
* Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required
*
*/
public HealthcareService setReferralMethod(java.util.List> theValue) {
myReferralMethod = theValue;
return this;
}
/**
* Add a value for referralMethod () using an enumerated type. This
* is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory
* or contain the desirable codes. If you wish to use codes other than those which are built-in,
* you may also use the {@link #addReferralMethod()} method.
*
*
* Definition:
* Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required
*
*/
public BoundCodeableConceptDt addReferralMethod(ReferralMethodEnum theValue) {
BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(ReferralMethodEnum.VALUESET_BINDER, theValue);
getReferralMethod().add(retVal);
return retVal;
}
/**
* Gets the first repetition for referralMethod (),
* creating it if it does not already exist.
*
*
* Definition:
* Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required
*
*/
public BoundCodeableConceptDt getReferralMethodFirstRep() {
if (getReferralMethod().size() == 0) {
addReferralMethod();
}
return getReferralMethod().get(0);
}
/**
* Add a value for referralMethod ()
*
*
* Definition:
* Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required
*
*/
public BoundCodeableConceptDt addReferralMethod() {
BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(ReferralMethodEnum.VALUESET_BINDER);
getReferralMethod().add(retVal);
return retVal;
}
/**
* Sets the value(s), and clears any existing value(s) for referralMethod ()
*
*
* Definition:
* Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required
*
*/
public HealthcareService setReferralMethod(ReferralMethodEnum theValue) {
getReferralMethod().clear();
addReferralMethod(theValue);
return this;
}
/**
* Gets the value(s) for publicKey ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available
*
*/
public StringDt getPublicKeyElement() {
if (myPublicKey == null) {
myPublicKey = new StringDt();
}
return myPublicKey;
}
/**
* Gets the value(s) for publicKey ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available
*
*/
public String getPublicKey() {
return getPublicKeyElement().getValue();
}
/**
* Sets the value(s) for publicKey ()
*
*
* Definition:
* The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available
*
*/
public HealthcareService setPublicKey(StringDt theValue) {
myPublicKey = theValue;
return this;
}
/**
* Sets the value for publicKey ()
*
*
* Definition:
* The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available
*
*/
public HealthcareService setPublicKey( String theString) {
myPublicKey = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for appointmentRequired ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service.
*
*/
public BooleanDt getAppointmentRequiredElement() {
if (myAppointmentRequired == null) {
myAppointmentRequired = new BooleanDt();
}
return myAppointmentRequired;
}
/**
* Gets the value(s) for appointmentRequired ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service.
*
*/
public Boolean getAppointmentRequired() {
return getAppointmentRequiredElement().getValue();
}
/**
* Sets the value(s) for appointmentRequired ()
*
*
* Definition:
* Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service.
*
*/
public HealthcareService setAppointmentRequired(BooleanDt theValue) {
myAppointmentRequired = theValue;
return this;
}
/**
* Sets the value for appointmentRequired ()
*
*
* Definition:
* Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service.
*
*/
public HealthcareService setAppointmentRequired( boolean theBoolean) {
myAppointmentRequired = new BooleanDt(theBoolean);
return this;
}
/**
* Gets the value(s) for availableTime ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A collection of times that the Service Site is available
*
*/
public java.util.List getAvailableTime() {
if (myAvailableTime == null) {
myAvailableTime = new java.util.ArrayList();
}
return myAvailableTime;
}
/**
* Sets the value(s) for availableTime ()
*
*
* Definition:
* A collection of times that the Service Site is available
*
*/
public HealthcareService setAvailableTime(java.util.List theValue) {
myAvailableTime = theValue;
return this;
}
/**
* Adds and returns a new value for availableTime ()
*
*
* Definition:
* A collection of times that the Service Site is available
*
*/
public AvailableTime addAvailableTime() {
AvailableTime newType = new AvailableTime();
getAvailableTime().add(newType);
return newType;
}
/**
* Adds a given new value for availableTime ()
*
*
* Definition:
* A collection of times that the Service Site is available
*
* @param theValue The availableTime to add (must not be null
)
*/
public HealthcareService addAvailableTime(AvailableTime theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getAvailableTime().add(theValue);
return this;
}
/**
* Gets the first repetition for availableTime (),
* creating it if it does not already exist.
*
*
* Definition:
* A collection of times that the Service Site is available
*
*/
public AvailableTime getAvailableTimeFirstRep() {
if (getAvailableTime().isEmpty()) {
return addAvailableTime();
}
return getAvailableTime().get(0);
}
/**
* Gets the value(s) for notAvailable ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The HealthcareService is not available during this period of time due to the provided reason
*
*/
public java.util.List getNotAvailable() {
if (myNotAvailable == null) {
myNotAvailable = new java.util.ArrayList();
}
return myNotAvailable;
}
/**
* Sets the value(s) for notAvailable ()
*
*
* Definition:
* The HealthcareService is not available during this period of time due to the provided reason
*
*/
public HealthcareService setNotAvailable(java.util.List theValue) {
myNotAvailable = theValue;
return this;
}
/**
* Adds and returns a new value for notAvailable ()
*
*
* Definition:
* The HealthcareService is not available during this period of time due to the provided reason
*
*/
public NotAvailable addNotAvailable() {
NotAvailable newType = new NotAvailable();
getNotAvailable().add(newType);
return newType;
}
/**
* Adds a given new value for notAvailable ()
*
*
* Definition:
* The HealthcareService is not available during this period of time due to the provided reason
*
* @param theValue The notAvailable to add (must not be null
)
*/
public HealthcareService addNotAvailable(NotAvailable theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getNotAvailable().add(theValue);
return this;
}
/**
* Gets the first repetition for notAvailable (),
* creating it if it does not already exist.
*
*
* Definition:
* The HealthcareService is not available during this period of time due to the provided reason
*
*/
public NotAvailable getNotAvailableFirstRep() {
if (getNotAvailable().isEmpty()) {
return addNotAvailable();
}
return getNotAvailable().get(0);
}
/**
* Gets the value(s) for availabilityExceptions ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times
*
*/
public StringDt getAvailabilityExceptionsElement() {
if (myAvailabilityExceptions == null) {
myAvailabilityExceptions = new StringDt();
}
return myAvailabilityExceptions;
}
/**
* Gets the value(s) for availabilityExceptions ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times
*
*/
public String getAvailabilityExceptions() {
return getAvailabilityExceptionsElement().getValue();
}
/**
* Sets the value(s) for availabilityExceptions ()
*
*
* Definition:
* A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times
*
*/
public HealthcareService setAvailabilityExceptions(StringDt theValue) {
myAvailabilityExceptions = theValue;
return this;
}
/**
* Sets the value for availabilityExceptions ()
*
*
* Definition:
* A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times
*
*/
public HealthcareService setAvailabilityExceptions( String theString) {
myAvailabilityExceptions = new StringDt(theString);
return this;
}
/**
* Block class for child element: HealthcareService.serviceType ()
*
*
* Definition:
* A specific type of service that may be delivered or performed
*
*/
@Block()
public static class ServiceType
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="type", type=CodeableConceptDt.class, order=0, min=1, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The specific type of service being delivered or performed"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/c80-practice-codes")
private CodeableConceptDt myType;
@Child(name="specialty", type=CodeableConceptDt.class, order=1, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Collection of specialties handled by the service site. This is more of a medical term"
)
private java.util.List mySpecialty;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, mySpecialty);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, mySpecialty);
}
/**
* Gets the value(s) for type ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The specific type of service being delivered or performed
*
*/
public CodeableConceptDt getType() {
if (myType == null) {
myType = new CodeableConceptDt();
}
return myType;
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* The specific type of service being delivered or performed
*
*/
public ServiceType setType(CodeableConceptDt theValue) {
myType = theValue;
return this;
}
/**
* Gets the value(s) for specialty ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Collection of specialties handled by the service site. This is more of a medical term
*
*/
public java.util.List getSpecialty() {
if (mySpecialty == null) {
mySpecialty = new java.util.ArrayList();
}
return mySpecialty;
}
/**
* Sets the value(s) for specialty ()
*
*
* Definition:
* Collection of specialties handled by the service site. This is more of a medical term
*
*/
public ServiceType setSpecialty(java.util.List theValue) {
mySpecialty = theValue;
return this;
}
/**
* Adds and returns a new value for specialty ()
*
*
* Definition:
* Collection of specialties handled by the service site. This is more of a medical term
*
*/
public CodeableConceptDt addSpecialty() {
CodeableConceptDt newType = new CodeableConceptDt();
getSpecialty().add(newType);
return newType;
}
/**
* Adds a given new value for specialty ()
*
*
* Definition:
* Collection of specialties handled by the service site. This is more of a medical term
*
* @param theValue The specialty to add (must not be null
)
*/
public ServiceType addSpecialty(CodeableConceptDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getSpecialty().add(theValue);
return this;
}
/**
* Gets the first repetition for specialty (),
* creating it if it does not already exist.
*
*
* Definition:
* Collection of specialties handled by the service site. This is more of a medical term
*
*/
public CodeableConceptDt getSpecialtyFirstRep() {
if (getSpecialty().isEmpty()) {
return addSpecialty();
}
return getSpecialty().get(0);
}
}
/**
* Block class for child element: HealthcareService.availableTime ()
*
*
* Definition:
* A collection of times that the Service Site is available
*
*/
@Block()
public static class AvailableTime
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="daysOfWeek", type=CodeDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Indicates which days of the week are available between the start and end Times"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/days-of-week")
private java.util.List> myDaysOfWeek;
@Child(name="allDay", type=BooleanDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Is this always available? (hence times are irrelevant) e.g. 24 hour service"
)
private BooleanDt myAllDay;
@Child(name="availableStartTime", type=TimeDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The opening time of day. Note: If the AllDay flag is set, then this time is ignored"
)
private TimeDt myAvailableStartTime;
@Child(name="availableEndTime", type=TimeDt.class, order=3, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The closing time of day. Note: If the AllDay flag is set, then this time is ignored"
)
private TimeDt myAvailableEndTime;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDaysOfWeek, myAllDay, myAvailableStartTime, myAvailableEndTime);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDaysOfWeek, myAllDay, myAvailableStartTime, myAvailableEndTime);
}
/**
* Gets the value(s) for daysOfWeek ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates which days of the week are available between the start and end Times
*
*/
public java.util.List> getDaysOfWeek() {
if (myDaysOfWeek == null) {
myDaysOfWeek = new java.util.ArrayList>();
}
return myDaysOfWeek;
}
/**
* Sets the value(s) for daysOfWeek ()
*
*
* Definition:
* Indicates which days of the week are available between the start and end Times
*
*/
public AvailableTime setDaysOfWeek(java.util.List> theValue) {
myDaysOfWeek = theValue;
return this;
}
/**
* Add a value for daysOfWeek () using an enumerated type. This
* is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory
* or contain the desirable codes. If you wish to use codes other than those which are built-in,
* you may also use the {@link #addDaysOfWeek()} method.
*
*
* Definition:
* Indicates which days of the week are available between the start and end Times
*
*/
public BoundCodeDt addDaysOfWeek(DaysOfWeekEnum theValue) {
BoundCodeDt retVal = new BoundCodeDt(DaysOfWeekEnum.VALUESET_BINDER, theValue);
getDaysOfWeek().add(retVal);
return retVal;
}
/**
* Gets the first repetition for daysOfWeek (),
* creating it if it does not already exist.
*
*
* Definition:
* Indicates which days of the week are available between the start and end Times
*
*/
public BoundCodeDt getDaysOfWeekFirstRep() {
if (getDaysOfWeek().size() == 0) {
addDaysOfWeek();
}
return getDaysOfWeek().get(0);
}
/**
* Add a value for daysOfWeek ()
*
*
* Definition:
* Indicates which days of the week are available between the start and end Times
*
*/
public BoundCodeDt addDaysOfWeek() {
BoundCodeDt retVal = new BoundCodeDt(DaysOfWeekEnum.VALUESET_BINDER);
getDaysOfWeek().add(retVal);
return retVal;
}
/**
* Sets the value(s), and clears any existing value(s) for daysOfWeek ()
*
*
* Definition:
* Indicates which days of the week are available between the start and end Times
*
*/
public AvailableTime setDaysOfWeek(DaysOfWeekEnum theValue) {
getDaysOfWeek().clear();
addDaysOfWeek(theValue);
return this;
}
/**
* Gets the value(s) for allDay ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Is this always available? (hence times are irrelevant) e.g. 24 hour service
*
*/
public BooleanDt getAllDayElement() {
if (myAllDay == null) {
myAllDay = new BooleanDt();
}
return myAllDay;
}
/**
* Gets the value(s) for allDay ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Is this always available? (hence times are irrelevant) e.g. 24 hour service
*
*/
public Boolean getAllDay() {
return getAllDayElement().getValue();
}
/**
* Sets the value(s) for allDay ()
*
*
* Definition:
* Is this always available? (hence times are irrelevant) e.g. 24 hour service
*
*/
public AvailableTime setAllDay(BooleanDt theValue) {
myAllDay = theValue;
return this;
}
/**
* Sets the value for allDay ()
*
*
* Definition:
* Is this always available? (hence times are irrelevant) e.g. 24 hour service
*
*/
public AvailableTime setAllDay( boolean theBoolean) {
myAllDay = new BooleanDt(theBoolean);
return this;
}
/**
* Gets the value(s) for availableStartTime ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The opening time of day. Note: If the AllDay flag is set, then this time is ignored
*
*/
public TimeDt getAvailableStartTimeElement() {
if (myAvailableStartTime == null) {
myAvailableStartTime = new TimeDt();
}
return myAvailableStartTime;
}
/**
* Gets the value(s) for availableStartTime ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The opening time of day. Note: If the AllDay flag is set, then this time is ignored
*
*/
public String getAvailableStartTime() {
return getAvailableStartTimeElement().getValue();
}
/**
* Sets the value(s) for availableStartTime ()
*
*
* Definition:
* The opening time of day. Note: If the AllDay flag is set, then this time is ignored
*
*/
public AvailableTime setAvailableStartTime(TimeDt theValue) {
myAvailableStartTime = theValue;
return this;
}
/**
* Sets the value for availableStartTime ()
*
*
* Definition:
* The opening time of day. Note: If the AllDay flag is set, then this time is ignored
*
*/
public AvailableTime setAvailableStartTime( String theString) {
myAvailableStartTime = new TimeDt(theString);
return this;
}
/**
* Gets the value(s) for availableEndTime ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The closing time of day. Note: If the AllDay flag is set, then this time is ignored
*
*/
public TimeDt getAvailableEndTimeElement() {
if (myAvailableEndTime == null) {
myAvailableEndTime = new TimeDt();
}
return myAvailableEndTime;
}
/**
* Gets the value(s) for availableEndTime ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The closing time of day. Note: If the AllDay flag is set, then this time is ignored
*
*/
public String getAvailableEndTime() {
return getAvailableEndTimeElement().getValue();
}
/**
* Sets the value(s) for availableEndTime ()
*
*
* Definition:
* The closing time of day. Note: If the AllDay flag is set, then this time is ignored
*
*/
public AvailableTime setAvailableEndTime(TimeDt theValue) {
myAvailableEndTime = theValue;
return this;
}
/**
* Sets the value for availableEndTime ()
*
*
* Definition:
* The closing time of day. Note: If the AllDay flag is set, then this time is ignored
*
*/
public AvailableTime setAvailableEndTime( String theString) {
myAvailableEndTime = new TimeDt(theString);
return this;
}
}
/**
* Block class for child element: HealthcareService.notAvailable ()
*
*
* Definition:
* The HealthcareService is not available during this period of time due to the provided reason
*
*/
@Block()
public static class NotAvailable
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="description", type=StringDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The reason that can be presented to the user as to why this time is not available"
)
private StringDt myDescription;
@Child(name="during", type=PeriodDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Service is not available (seasonally or for a public holiday) from this date"
)
private PeriodDt myDuring;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDescription, myDuring);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDescription, myDuring);
}
/**
* Gets the value(s) for description ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The reason that can be presented to the user as to why this time is not available
*
*/
public StringDt getDescriptionElement() {
if (myDescription == null) {
myDescription = new StringDt();
}
return myDescription;
}
/**
* Gets the value(s) for description ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The reason that can be presented to the user as to why this time is not available
*
*/
public String getDescription() {
return getDescriptionElement().getValue();
}
/**
* Sets the value(s) for description ()
*
*
* Definition:
* The reason that can be presented to the user as to why this time is not available
*
*/
public NotAvailable setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
* Sets the value for description ()
*
*
* Definition:
* The reason that can be presented to the user as to why this time is not available
*
*/
public NotAvailable setDescription( String theString) {
myDescription = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for during ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Service is not available (seasonally or for a public holiday) from this date
*
*/
public PeriodDt getDuring() {
if (myDuring == null) {
myDuring = new PeriodDt();
}
return myDuring;
}
/**
* Sets the value(s) for during ()
*
*
* Definition:
* Service is not available (seasonally or for a public holiday) from this date
*
*/
public NotAvailable setDuring(PeriodDt theValue) {
myDuring = theValue;
return this;
}
}
@Override
public String getResourceName() {
return "HealthcareService";
}
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
}
}