ca.uhn.fhir.model.dstu2.resource.Location 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 Location Resource
* (administrative.entity)
*
*
* Definition:
* Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated.
*
*
*
* Requirements:
*
*
*
*
* Profile Definition:
* http://hl7.org/fhir/profiles/Location
*
*
*/
@ResourceDef(name="Location", profile="http://hl7.org/fhir/profiles/Location", id="location")
public class Location extends ca.uhn.fhir.model.dstu2.resource.BaseResource
implements IResource
{
/**
* Search parameter constant for identifier
*
* Description:
* Type: token
* Path: Location.identifier
*
*/
@SearchParamDefinition(name="identifier", path="Location.identifier", description="", type="token"
)
public static final String SP_IDENTIFIER = "identifier";
/**
* Fluent Client search parameter constant for identifier
*
* Description:
* Type: token
* Path: Location.identifier
*
*/
public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER);
/**
* Search parameter constant for name
*
* Description: A (portion of the) name of the location
* Type: string
* Path: Location.name
*
*/
@SearchParamDefinition(name="name", path="Location.name", description="A (portion of the) name of the location", type="string"
)
public static final String SP_NAME = "name";
/**
* Fluent Client search parameter constant for name
*
* Description: A (portion of the) name of the location
* Type: string
* Path: Location.name
*
*/
public static final StringClientParam NAME = new StringClientParam(SP_NAME);
/**
* Search parameter constant for type
*
* Description: A code for the type of location
* Type: token
* Path: Location.type
*
*/
@SearchParamDefinition(name="type", path="Location.type", description="A code for the type of location", type="token"
)
public static final String SP_TYPE = "type";
/**
* Fluent Client search parameter constant for type
*
* Description: A code for the type of location
* Type: token
* Path: Location.type
*
*/
public static final TokenClientParam TYPE = new TokenClientParam(SP_TYPE);
/**
* Search parameter constant for address
*
* Description: A (part of the) address of the location
* Type: string
* Path: Location.address
*
*/
@SearchParamDefinition(name="address", path="Location.address", description="A (part of the) address of the location", type="string"
)
public static final String SP_ADDRESS = "address";
/**
* Fluent Client search parameter constant for address
*
* Description: A (part of the) address of the location
* Type: string
* Path: Location.address
*
*/
public static final StringClientParam ADDRESS = new StringClientParam(SP_ADDRESS);
/**
* Search parameter constant for address-city
*
* Description: A city specified in an address
* Type: string
* Path: Location.address.city
*
*/
@SearchParamDefinition(name="address-city", path="Location.address.city", description="A city specified in an address", type="string"
)
public static final String SP_ADDRESS_CITY = "address-city";
/**
* Fluent Client search parameter constant for address-city
*
* Description: A city specified in an address
* Type: string
* Path: Location.address.city
*
*/
public static final StringClientParam ADDRESS_CITY = new StringClientParam(SP_ADDRESS_CITY);
/**
* Search parameter constant for address-state
*
* Description: A state specified in an address
* Type: string
* Path: Location.address.state
*
*/
@SearchParamDefinition(name="address-state", path="Location.address.state", description="A state specified in an address", type="string"
)
public static final String SP_ADDRESS_STATE = "address-state";
/**
* Fluent Client search parameter constant for address-state
*
* Description: A state specified in an address
* Type: string
* Path: Location.address.state
*
*/
public static final StringClientParam ADDRESS_STATE = new StringClientParam(SP_ADDRESS_STATE);
/**
* Search parameter constant for address-postalcode
*
* Description: A postal code specified in an address
* Type: string
* Path: Location.address.postalCode
*
*/
@SearchParamDefinition(name="address-postalcode", path="Location.address.postalCode", description="A postal code specified in an address", type="string"
)
public static final String SP_ADDRESS_POSTALCODE = "address-postalcode";
/**
* Fluent Client search parameter constant for address-postalcode
*
* Description: A postal code specified in an address
* Type: string
* Path: Location.address.postalCode
*
*/
public static final StringClientParam ADDRESS_POSTALCODE = new StringClientParam(SP_ADDRESS_POSTALCODE);
/**
* Search parameter constant for address-country
*
* Description: A country specified in an address
* Type: string
* Path: Location.address.country
*
*/
@SearchParamDefinition(name="address-country", path="Location.address.country", description="A country specified in an address", type="string"
)
public static final String SP_ADDRESS_COUNTRY = "address-country";
/**
* Fluent Client search parameter constant for address-country
*
* Description: A country specified in an address
* Type: string
* Path: Location.address.country
*
*/
public static final StringClientParam ADDRESS_COUNTRY = new StringClientParam(SP_ADDRESS_COUNTRY);
/**
* Search parameter constant for address-use
*
* Description: A use code specified in an address
* Type: token
* Path: Location.address.use
*
*/
@SearchParamDefinition(name="address-use", path="Location.address.use", description="A use code specified in an address", type="token"
)
public static final String SP_ADDRESS_USE = "address-use";
/**
* Fluent Client search parameter constant for address-use
*
* Description: A use code specified in an address
* Type: token
* Path: Location.address.use
*
*/
public static final TokenClientParam ADDRESS_USE = new TokenClientParam(SP_ADDRESS_USE);
/**
* Search parameter constant for status
*
* Description: Searches for locations with a specific kind of status
* Type: token
* Path: Location.status
*
*/
@SearchParamDefinition(name="status", path="Location.status", description="Searches for locations with a specific kind of status", type="token"
)
public static final String SP_STATUS = "status";
/**
* Fluent Client search parameter constant for status
*
* Description: Searches for locations with a specific kind of status
* Type: token
* Path: Location.status
*
*/
public static final TokenClientParam STATUS = new TokenClientParam(SP_STATUS);
/**
* Search parameter constant for partof
*
* Description: The location of which this location is a part
* Type: reference
* Path: Location.partOf
*
*/
@SearchParamDefinition(name="partof", path="Location.partOf", description="The location of which this location is a part", type="reference"
)
public static final String SP_PARTOF = "partof";
/**
* Fluent Client search parameter constant for partof
*
* Description: The location of which this location is a part
* Type: reference
* Path: Location.partOf
*
*/
public static final ReferenceClientParam PARTOF = new ReferenceClientParam(SP_PARTOF);
/**
* Search parameter constant for near
*
* Description: The coordinates expressed as [lat],[long] (using the WGS84 datum, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)
* Type: token
* Path: Location.position
*
*/
@SearchParamDefinition(name="near", path="Location.position", description="The coordinates expressed as [lat],[long] (using the WGS84 datum, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)", type="token"
)
public static final String SP_NEAR = "near";
/**
* Fluent Client search parameter constant for near
*
* Description: The coordinates expressed as [lat],[long] (using the WGS84 datum, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)
* Type: token
* Path: Location.position
*
*/
public static final TokenClientParam NEAR = new TokenClientParam(SP_NEAR);
/**
* Search parameter constant for near-distance
*
* Description: A distance quantity to limit the near search to locations within a specific distance
* Type: token
* Path: Location.position
*
*/
@SearchParamDefinition(name="near-distance", path="Location.position", description="A distance quantity to limit the near search to locations within a specific distance", type="token"
)
public static final String SP_NEAR_DISTANCE = "near-distance";
/**
* Fluent Client search parameter constant for near-distance
*
* Description: A distance quantity to limit the near search to locations within a specific distance
* Type: token
* Path: Location.position
*
*/
public static final TokenClientParam NEAR_DISTANCE = new TokenClientParam(SP_NEAR_DISTANCE);
/**
* Search parameter constant for organization
*
* Description: Searches for locations that are managed by the provided organization
* Type: reference
* Path: Location.managingOrganization
*
*/
@SearchParamDefinition(name="organization", path="Location.managingOrganization", description="Searches for locations that are managed by the provided organization", type="reference"
)
public static final String SP_ORGANIZATION = "organization";
/**
* Fluent Client search parameter constant for organization
*
* Description: Searches for locations that are managed by the provided organization
* Type: reference
* Path: Location.managingOrganization
*
*/
public static final ReferenceClientParam ORGANIZATION = new ReferenceClientParam(SP_ORGANIZATION);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Location:organization".
*/
public static final Include INCLUDE_ORGANIZATION = new Include("Location:organization");
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Location:partof".
*/
public static final Include INCLUDE_PARTOF = new Include("Location:partof");
@Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)
@Description(
shortDefinition="id",
formalDefinition="Unique code or number identifying the location to its users"
)
private java.util.List myIdentifier;
@Child(name="status", type=CodeDt.class, order=1, min=0, max=1, summary=true, modifier=true)
@Description(
shortDefinition="status",
formalDefinition=""
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/location-status")
private BoundCodeDt myStatus;
@Child(name="name", type=StringDt.class, order=2, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Name of the location as used by humans. Does not need to be unique."
)
private StringDt myName;
@Child(name="description", type=StringDt.class, order=3, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Description of the Location, which helps in finding or referencing the place"
)
private StringDt myDescription;
@Child(name="mode", type=CodeDt.class, order=4, min=0, max=1, summary=true, modifier=true)
@Description(
shortDefinition="class",
formalDefinition="Indicates whether a resource instance represents a specific location or a class of locations"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/location-mode")
private BoundCodeDt myMode;
@Child(name="type", type=CodeableConceptDt.class, order=5, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="class",
formalDefinition="Indicates the type of function performed at the location"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType")
private BoundCodeableConceptDt myType;
@Child(name="telecom", type=ContactPointDt.class, order=6, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites"
)
private java.util.List myTelecom;
@Child(name="address", type=AddressDt.class, order=7, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition=""
)
private AddressDt myAddress;
@Child(name="physicalType", type=CodeableConceptDt.class, order=8, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="class",
formalDefinition="Physical form of the location, e.g. building, room, vehicle, road"
)
private CodeableConceptDt myPhysicalType;
@Child(name="position", order=9, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML)"
)
private Position myPosition;
@Child(name="managingOrganization", order=10, min=0, max=1, summary=true, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Organization.class
})
@Description(
shortDefinition="",
formalDefinition="The organization responsible for the provisioning and upkeep of the location"
)
private ResourceReferenceDt myManagingOrganization;
@Child(name="partOf", order=11, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Location.class
})
@Description(
shortDefinition="",
formalDefinition="Another Location which this Location is physically part of"
)
private ResourceReferenceDt myPartOf;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myStatus, myName, myDescription, myMode, myType, myTelecom, myAddress, myPhysicalType, myPosition, myManagingOrganization, myPartOf);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myStatus, myName, myDescription, myMode, myType, myTelecom, myAddress, myPhysicalType, myPosition, myManagingOrganization, myPartOf);
}
/**
* Gets the value(s) for identifier (id).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Unique code or number identifying the location to its users
*
*/
public java.util.List getIdentifier() {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
return myIdentifier;
}
/**
* Sets the value(s) for identifier (id)
*
*
* Definition:
* Unique code or number identifying the location to its users
*
*/
public Location setIdentifier(java.util.List theValue) {
myIdentifier = theValue;
return this;
}
/**
* Adds and returns a new value for identifier (id)
*
*
* Definition:
* Unique code or number identifying the location to its users
*
*/
public IdentifierDt addIdentifier() {
IdentifierDt newType = new IdentifierDt();
getIdentifier().add(newType);
return newType;
}
/**
* Adds a given new value for identifier (id)
*
*
* Definition:
* Unique code or number identifying the location to its users
*
* @param theValue The identifier to add (must not be null
)
*/
public Location 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:
* Unique code or number identifying the location to its users
*
*/
public IdentifierDt getIdentifierFirstRep() {
if (getIdentifier().isEmpty()) {
return addIdentifier();
}
return getIdentifier().get(0);
}
/**
* Gets the value(s) for status (status).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
*
*
*/
public BoundCodeDt getStatusElement() {
if (myStatus == null) {
myStatus = new BoundCodeDt(LocationStatusEnum.VALUESET_BINDER);
}
return myStatus;
}
/**
* Gets the value(s) for status (status).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
*
*
*/
public String getStatus() {
return getStatusElement().getValue();
}
/**
* Sets the value(s) for status (status)
*
*
* Definition:
*
*
*/
public Location setStatus(BoundCodeDt theValue) {
myStatus = theValue;
return this;
}
/**
* Sets the value(s) for status (status)
*
*
* Definition:
*
*
*/
public Location setStatus(LocationStatusEnum theValue) {
setStatus(new BoundCodeDt(LocationStatusEnum.VALUESET_BINDER, theValue));
/*
getStatusElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for name ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Name of the location as used by humans. Does not need to be unique.
*
*/
public StringDt getNameElement() {
if (myName == null) {
myName = new StringDt();
}
return myName;
}
/**
* Gets the value(s) for name ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Name of the location as used by humans. Does not need to be unique.
*
*/
public String getName() {
return getNameElement().getValue();
}
/**
* Sets the value(s) for name ()
*
*
* Definition:
* Name of the location as used by humans. Does not need to be unique.
*
*/
public Location setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
* Sets the value for name ()
*
*
* Definition:
* Name of the location as used by humans. Does not need to be unique.
*
*/
public Location setName( String theString) {
myName = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for description ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Description of the Location, which helps in finding or referencing the place
*
*/
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:
* Description of the Location, which helps in finding or referencing the place
*
*/
public String getDescription() {
return getDescriptionElement().getValue();
}
/**
* Sets the value(s) for description ()
*
*
* Definition:
* Description of the Location, which helps in finding or referencing the place
*
*/
public Location setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
* Sets the value for description ()
*
*
* Definition:
* Description of the Location, which helps in finding or referencing the place
*
*/
public Location setDescription( String theString) {
myDescription = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for mode (class).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates whether a resource instance represents a specific location or a class of locations
*
*/
public BoundCodeDt getModeElement() {
if (myMode == null) {
myMode = new BoundCodeDt(LocationModeEnum.VALUESET_BINDER);
}
return myMode;
}
/**
* Gets the value(s) for mode (class).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Indicates whether a resource instance represents a specific location or a class of locations
*
*/
public String getMode() {
return getModeElement().getValue();
}
/**
* Sets the value(s) for mode (class)
*
*
* Definition:
* Indicates whether a resource instance represents a specific location or a class of locations
*
*/
public Location setMode(BoundCodeDt theValue) {
myMode = theValue;
return this;
}
/**
* Sets the value(s) for mode (class)
*
*
* Definition:
* Indicates whether a resource instance represents a specific location or a class of locations
*
*/
public Location setMode(LocationModeEnum theValue) {
setMode(new BoundCodeDt(LocationModeEnum.VALUESET_BINDER, theValue));
/*
getModeElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for type (class).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates the type of function performed at the location
*
*/
public BoundCodeableConceptDt getType() {
if (myType == null) {
myType = new BoundCodeableConceptDt(LocationTypeEnum.VALUESET_BINDER);
}
return myType;
}
/**
* Sets the value(s) for type (class)
*
*
* Definition:
* Indicates the type of function performed at the location
*
*/
public Location setType(BoundCodeableConceptDt theValue) {
myType = theValue;
return this;
}
/**
* Sets the value(s) for type (class)
*
*
* Definition:
* Indicates the type of function performed at the location
*
*/
public Location setType(LocationTypeEnum theValue) {
setType(new BoundCodeableConceptDt(LocationTypeEnum.VALUESET_BINDER, theValue));
/*
getType().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for telecom ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
*
*/
public java.util.List getTelecom() {
if (myTelecom == null) {
myTelecom = new java.util.ArrayList();
}
return myTelecom;
}
/**
* Sets the value(s) for telecom ()
*
*
* Definition:
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
*
*/
public Location setTelecom(java.util.List theValue) {
myTelecom = theValue;
return this;
}
/**
* Adds and returns a new value for telecom ()
*
*
* Definition:
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
*
*/
public ContactPointDt addTelecom() {
ContactPointDt newType = new ContactPointDt();
getTelecom().add(newType);
return newType;
}
/**
* Adds a given new value for telecom ()
*
*
* Definition:
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
*
* @param theValue The telecom to add (must not be null
)
*/
public Location 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:
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
*
*/
public ContactPointDt getTelecomFirstRep() {
if (getTelecom().isEmpty()) {
return addTelecom();
}
return getTelecom().get(0);
}
/**
* Gets the value(s) for address ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
*
*
*/
public AddressDt getAddress() {
if (myAddress == null) {
myAddress = new AddressDt();
}
return myAddress;
}
/**
* Sets the value(s) for address ()
*
*
* Definition:
*
*
*/
public Location setAddress(AddressDt theValue) {
myAddress = theValue;
return this;
}
/**
* Gets the value(s) for physicalType (class).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Physical form of the location, e.g. building, room, vehicle, road
*
*/
public CodeableConceptDt getPhysicalType() {
if (myPhysicalType == null) {
myPhysicalType = new CodeableConceptDt();
}
return myPhysicalType;
}
/**
* Sets the value(s) for physicalType (class)
*
*
* Definition:
* Physical form of the location, e.g. building, room, vehicle, road
*
*/
public Location setPhysicalType(CodeableConceptDt theValue) {
myPhysicalType = theValue;
return this;
}
/**
* Gets the value(s) for position ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML)
*
*/
public Position getPosition() {
if (myPosition == null) {
myPosition = new Position();
}
return myPosition;
}
/**
* Sets the value(s) for position ()
*
*
* Definition:
* The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML)
*
*/
public Location setPosition(Position theValue) {
myPosition = theValue;
return this;
}
/**
* Gets the value(s) for managingOrganization ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The organization responsible for the provisioning and upkeep of the location
*
*/
public ResourceReferenceDt getManagingOrganization() {
if (myManagingOrganization == null) {
myManagingOrganization = new ResourceReferenceDt();
}
return myManagingOrganization;
}
/**
* Sets the value(s) for managingOrganization ()
*
*
* Definition:
* The organization responsible for the provisioning and upkeep of the location
*
*/
public Location setManagingOrganization(ResourceReferenceDt theValue) {
myManagingOrganization = theValue;
return this;
}
/**
* Gets the value(s) for partOf ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Another Location which this Location is physically part of
*
*/
public ResourceReferenceDt getPartOf() {
if (myPartOf == null) {
myPartOf = new ResourceReferenceDt();
}
return myPartOf;
}
/**
* Sets the value(s) for partOf ()
*
*
* Definition:
* Another Location which this Location is physically part of
*
*/
public Location setPartOf(ResourceReferenceDt theValue) {
myPartOf = theValue;
return this;
}
/**
* Block class for child element: Location.position ()
*
*
* Definition:
* The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML)
*
*/
@Block()
public static class Position
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="longitude", type=DecimalDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)"
)
private DecimalDt myLongitude;
@Child(name="latitude", type=DecimalDt.class, order=1, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)"
)
private DecimalDt myLatitude;
@Child(name="altitude", type=DecimalDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)"
)
private DecimalDt myAltitude;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myLongitude, myLatitude, myAltitude);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myLongitude, myLatitude, myAltitude);
}
/**
* Gets the value(s) for longitude ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
*
*/
public DecimalDt getLongitudeElement() {
if (myLongitude == null) {
myLongitude = new DecimalDt();
}
return myLongitude;
}
/**
* Gets the value(s) for longitude ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
*
*/
public BigDecimal getLongitude() {
return getLongitudeElement().getValue();
}
/**
* Sets the value(s) for longitude ()
*
*
* Definition:
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
*
*/
public Position setLongitude(DecimalDt theValue) {
myLongitude = theValue;
return this;
}
/**
* Sets the value for longitude ()
*
*
* Definition:
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
*
*/
public Position setLongitude( double theValue) {
myLongitude = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for longitude ()
*
*
* Definition:
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
*
*/
public Position setLongitude( long theValue) {
myLongitude = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for longitude ()
*
*
* Definition:
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
*
*/
public Position setLongitude( java.math.BigDecimal theValue) {
myLongitude = new DecimalDt(theValue);
return this;
}
/**
* Gets the value(s) for latitude ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
*
*/
public DecimalDt getLatitudeElement() {
if (myLatitude == null) {
myLatitude = new DecimalDt();
}
return myLatitude;
}
/**
* Gets the value(s) for latitude ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
*
*/
public BigDecimal getLatitude() {
return getLatitudeElement().getValue();
}
/**
* Sets the value(s) for latitude ()
*
*
* Definition:
* Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
*
*/
public Position setLatitude(DecimalDt theValue) {
myLatitude = theValue;
return this;
}
/**
* Sets the value for latitude ()
*
*
* Definition:
* Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
*
*/
public Position setLatitude( double theValue) {
myLatitude = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for latitude ()
*
*
* Definition:
* Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
*
*/
public Position setLatitude( long theValue) {
myLatitude = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for latitude ()
*
*
* Definition:
* Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
*
*/
public Position setLatitude( java.math.BigDecimal theValue) {
myLatitude = new DecimalDt(theValue);
return this;
}
/**
* Gets the value(s) for altitude ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
*
*/
public DecimalDt getAltitudeElement() {
if (myAltitude == null) {
myAltitude = new DecimalDt();
}
return myAltitude;
}
/**
* Gets the value(s) for altitude ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
*
*/
public BigDecimal getAltitude() {
return getAltitudeElement().getValue();
}
/**
* Sets the value(s) for altitude ()
*
*
* Definition:
* Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
*
*/
public Position setAltitude(DecimalDt theValue) {
myAltitude = theValue;
return this;
}
/**
* Sets the value for altitude ()
*
*
* Definition:
* Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
*
*/
public Position setAltitude( double theValue) {
myAltitude = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for altitude ()
*
*
* Definition:
* Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
*
*/
public Position setAltitude( long theValue) {
myAltitude = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for altitude ()
*
*
* Definition:
* Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
*
*/
public Position setAltitude( java.math.BigDecimal theValue) {
myAltitude = new DecimalDt(theValue);
return this;
}
}
@Override
public String getResourceName() {
return "Location";
}
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
}
}