ca.uhn.fhir.model.dstu2.resource.Person 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 Person Resource
* (administrative.entity)
*
*
* Definition:
* Demographics and administrative information about a person independent of a specific health-related context.
*
*
*
* Requirements:
* Need to track persons potentially across multiple roles
*
*
*
* Profile Definition:
* http://hl7.org/fhir/profiles/Person
*
*
*/
@ResourceDef(name="Person", profile="http://hl7.org/fhir/profiles/Person", id="person")
public class Person extends ca.uhn.fhir.model.dstu2.resource.BaseResource
implements IResource
{
/**
* Search parameter constant for identifier
*
* Description: A person Identifier
* Type: token
* Path: Person.identifier
*
*/
@SearchParamDefinition(name="identifier", path="Person.identifier", description="A person Identifier", type="token"
)
public static final String SP_IDENTIFIER = "identifier";
/**
* Fluent Client search parameter constant for identifier
*
* Description: A person Identifier
* Type: token
* Path: Person.identifier
*
*/
public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER);
/**
* Search parameter constant for name
*
* Description: A portion of name in any name part
* Type: string
* Path: Person.name
*
*/
@SearchParamDefinition(name="name", path="Person.name", description="A portion of name in any name part", type="string"
)
public static final String SP_NAME = "name";
/**
* Fluent Client search parameter constant for name
*
* Description: A portion of name in any name part
* Type: string
* Path: Person.name
*
*/
public static final StringClientParam NAME = new StringClientParam(SP_NAME);
/**
* Search parameter constant for phonetic
*
* Description: A portion of name using some kind of phonetic matching algorithm
* Type: string
* Path: Person.name
*
*/
@SearchParamDefinition(name="phonetic", path="Person.name", description="A portion of name using some kind of phonetic matching algorithm", type="string"
)
public static final String SP_PHONETIC = "phonetic";
/**
* Fluent Client search parameter constant for phonetic
*
* Description: A portion of name using some kind of phonetic matching algorithm
* Type: string
* Path: Person.name
*
*/
public static final StringClientParam PHONETIC = new StringClientParam(SP_PHONETIC);
/**
* Search parameter constant for telecom
*
* Description: The value in any kind of contact
* Type: token
* Path: Person.telecom
*
*/
@SearchParamDefinition(name="telecom", path="Person.telecom", description="The value in any kind of contact", type="token"
)
public static final String SP_TELECOM = "telecom";
/**
* Fluent Client search parameter constant for telecom
*
* Description: The value in any kind of contact
* Type: token
* Path: Person.telecom
*
*/
public static final TokenClientParam TELECOM = new TokenClientParam(SP_TELECOM);
/**
* Search parameter constant for phone
*
* Description: A value in a phone contact
* Type: token
* Path: Person.telecom(system=phone)
*
*/
@SearchParamDefinition(name="phone", path="Person.telecom(system=phone)", description="A value in a phone contact", type="token"
)
public static final String SP_PHONE = "phone";
/**
* Fluent Client search parameter constant for phone
*
* Description: A value in a phone contact
* Type: token
* Path: Person.telecom(system=phone)
*
*/
public static final TokenClientParam PHONE = new TokenClientParam(SP_PHONE);
/**
* Search parameter constant for email
*
* Description: A value in an email contact
* Type: token
* Path: Person.telecom(system=email)
*
*/
@SearchParamDefinition(name="email", path="Person.telecom(system=email)", description="A value in an email contact", type="token"
)
public static final String SP_EMAIL = "email";
/**
* Fluent Client search parameter constant for email
*
* Description: A value in an email contact
* Type: token
* Path: Person.telecom(system=email)
*
*/
public static final TokenClientParam EMAIL = new TokenClientParam(SP_EMAIL);
/**
* Search parameter constant for address
*
* Description: An address in any kind of address/part
* Type: string
* Path: Person.address
*
*/
@SearchParamDefinition(name="address", path="Person.address", description="An address in any kind of address/part", type="string"
)
public static final String SP_ADDRESS = "address";
/**
* Fluent Client search parameter constant for address
*
* Description: An address in any kind of address/part
* Type: string
* Path: Person.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: Person.address.city
*
*/
@SearchParamDefinition(name="address-city", path="Person.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: Person.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: Person.address.state
*
*/
@SearchParamDefinition(name="address-state", path="Person.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: Person.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: Person.address.postalCode
*
*/
@SearchParamDefinition(name="address-postalcode", path="Person.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: Person.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: Person.address.country
*
*/
@SearchParamDefinition(name="address-country", path="Person.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: Person.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: Person.address.use
*
*/
@SearchParamDefinition(name="address-use", path="Person.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: Person.address.use
*
*/
public static final TokenClientParam ADDRESS_USE = new TokenClientParam(SP_ADDRESS_USE);
/**
* Search parameter constant for gender
*
* Description: The gender of the person
* Type: token
* Path: Person.gender
*
*/
@SearchParamDefinition(name="gender", path="Person.gender", description="The gender of the person", type="token"
)
public static final String SP_GENDER = "gender";
/**
* Fluent Client search parameter constant for gender
*
* Description: The gender of the person
* Type: token
* Path: Person.gender
*
*/
public static final TokenClientParam GENDER = new TokenClientParam(SP_GENDER);
/**
* Search parameter constant for birthdate
*
* Description: The person's date of birth
* Type: date
* Path: Person.birthDate
*
*/
@SearchParamDefinition(name="birthdate", path="Person.birthDate", description="The person's date of birth", type="date"
)
public static final String SP_BIRTHDATE = "birthdate";
/**
* Fluent Client search parameter constant for birthdate
*
* Description: The person's date of birth
* Type: date
* Path: Person.birthDate
*
*/
public static final DateClientParam BIRTHDATE = new DateClientParam(SP_BIRTHDATE);
/**
* Search parameter constant for organization
*
* Description: The organization at which this person record is being managed
* Type: reference
* Path: Person.managingOrganization
*
*/
@SearchParamDefinition(name="organization", path="Person.managingOrganization", description="The organization at which this person record is being managed", type="reference"
)
public static final String SP_ORGANIZATION = "organization";
/**
* Fluent Client search parameter constant for organization
*
* Description: The organization at which this person record is being managed
* Type: reference
* Path: Person.managingOrganization
*
*/
public static final ReferenceClientParam ORGANIZATION = new ReferenceClientParam(SP_ORGANIZATION);
/**
* Search parameter constant for link
*
* Description: Any link has this Patient, Person, RelatedPerson or Practitioner reference
* Type: reference
* Path: Person.link.target
*
*/
@SearchParamDefinition(name="link", path="Person.link.target", description="Any link has this Patient, Person, RelatedPerson or Practitioner reference", type="reference"
, providesMembershipIn={
@Compartment(name="Encounter") }
)
public static final String SP_LINK = "link";
/**
* Fluent Client search parameter constant for link
*
* Description: Any link has this Patient, Person, RelatedPerson or Practitioner reference
* Type: reference
* Path: Person.link.target
*
*/
public static final ReferenceClientParam LINK = new ReferenceClientParam(SP_LINK);
/**
* Search parameter constant for patient
*
* Description: The Person links to this Patient
* Type: reference
* Path: Person.link.target
*
*/
@SearchParamDefinition(name="patient", path="Person.link.target", description="The Person links to this Patient", type="reference"
, providesMembershipIn={
@Compartment(name="Patient") }
, target={
ca.uhn.fhir.model.dstu2.resource.Patient.class }
)
public static final String SP_PATIENT = "patient";
/**
* Fluent Client search parameter constant for patient
*
* Description: The Person links to this Patient
* Type: reference
* Path: Person.link.target
*
*/
public static final ReferenceClientParam PATIENT = new ReferenceClientParam(SP_PATIENT);
/**
* Search parameter constant for practitioner
*
* Description: The Person links to this Practitioner
* Type: reference
* Path: Person.link.target
*
*/
@SearchParamDefinition(name="practitioner", path="Person.link.target", description="The Person links to this Practitioner", type="reference"
, providesMembershipIn={
@Compartment(name="RelatedPerson") }
, target={
ca.uhn.fhir.model.dstu2.resource.Practitioner.class }
)
public static final String SP_PRACTITIONER = "practitioner";
/**
* Fluent Client search parameter constant for practitioner
*
* Description: The Person links to this Practitioner
* Type: reference
* Path: Person.link.target
*
*/
public static final ReferenceClientParam PRACTITIONER = new ReferenceClientParam(SP_PRACTITIONER);
/**
* Search parameter constant for relatedperson
*
* Description: The Person links to this RelatedPerson
* Type: reference
* Path: Person.link.target
*
*/
@SearchParamDefinition(name="relatedperson", path="Person.link.target", description="The Person links to this RelatedPerson", type="reference"
, target={
ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class }
)
public static final String SP_RELATEDPERSON = "relatedperson";
/**
* Fluent Client search parameter constant for relatedperson
*
* Description: The Person links to this RelatedPerson
* Type: reference
* Path: Person.link.target
*
*/
public static final ReferenceClientParam RELATEDPERSON = new ReferenceClientParam(SP_RELATEDPERSON);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Person:link".
*/
public static final Include INCLUDE_LINK = new Include("Person:link");
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Person:organization".
*/
public static final Include INCLUDE_ORGANIZATION = new Include("Person:organization");
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Person:patient".
*/
public static final Include INCLUDE_PATIENT = new Include("Person:patient");
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Person:practitioner".
*/
public static final Include INCLUDE_PRACTITIONER = new Include("Person:practitioner");
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Person:relatedperson".
*/
public static final Include INCLUDE_RELATEDPERSON = new Include("Person:relatedperson");
@Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="id",
formalDefinition="Identifier for a person within a particular scope."
)
private java.util.List myIdentifier;
@Child(name="name", type=HumanNameDt.class, order=1, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A name associated with the person"
)
private java.util.List myName;
@Child(name="telecom", type=ContactPointDt.class, order=2, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A contact detail for the person, e.g. a telephone number or an email address."
)
private java.util.List myTelecom;
@Child(name="gender", type=CodeDt.class, order=3, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Administrative Gender"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/administrative-gender")
private BoundCodeDt myGender;
@Child(name="birthDate", type=DateDt.class, order=4, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The birth date for the person."
)
private DateDt myBirthDate;
@Child(name="address", type=AddressDt.class, order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="One or more addresses for the person"
)
private java.util.List myAddress;
@Child(name="photo", type=AttachmentDt.class, order=6, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="An image that can be displayed as a thumbnail of the person to enhance the identification of the individual"
)
private AttachmentDt myPhoto;
@Child(name="managingOrganization", order=7, min=0, max=1, summary=true, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Organization.class
})
@Description(
shortDefinition="",
formalDefinition="The organization that is the custodian of the person record"
)
private ResourceReferenceDt myManagingOrganization;
@Child(name="active", type=BooleanDt.class, order=8, min=0, max=1, summary=true, modifier=true)
@Description(
shortDefinition="status",
formalDefinition="Whether this person's record is in active use"
)
private BooleanDt myActive;
@Child(name="link", order=9, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition=""
)
private java.util.List myLink;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myName, myTelecom, myGender, myBirthDate, myAddress, myPhoto, myManagingOrganization, myActive, myLink);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myName, myTelecom, myGender, myBirthDate, myAddress, myPhoto, myManagingOrganization, myActive, myLink);
}
/**
* Gets the value(s) for identifier (id).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Identifier for a person within a particular scope.
*
*/
public java.util.List getIdentifier() {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
return myIdentifier;
}
/**
* Sets the value(s) for identifier (id)
*
*
* Definition:
* Identifier for a person within a particular scope.
*
*/
public Person setIdentifier(java.util.List theValue) {
myIdentifier = theValue;
return this;
}
/**
* Adds and returns a new value for identifier (id)
*
*
* Definition:
* Identifier for a person within a particular scope.
*
*/
public IdentifierDt addIdentifier() {
IdentifierDt newType = new IdentifierDt();
getIdentifier().add(newType);
return newType;
}
/**
* Adds a given new value for identifier (id)
*
*
* Definition:
* Identifier for a person within a particular scope.
*
* @param theValue The identifier to add (must not be null
)
*/
public Person 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:
* Identifier for a person within a particular scope.
*
*/
public IdentifierDt getIdentifierFirstRep() {
if (getIdentifier().isEmpty()) {
return addIdentifier();
}
return getIdentifier().get(0);
}
/**
* Gets the value(s) for name ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A name associated with the person
*
*/
public java.util.List getName() {
if (myName == null) {
myName = new java.util.ArrayList();
}
return myName;
}
/**
* Sets the value(s) for name ()
*
*
* Definition:
* A name associated with the person
*
*/
public Person setName(java.util.List theValue) {
myName = theValue;
return this;
}
/**
* Adds and returns a new value for name ()
*
*
* Definition:
* A name associated with the person
*
*/
public HumanNameDt addName() {
HumanNameDt newType = new HumanNameDt();
getName().add(newType);
return newType;
}
/**
* Adds a given new value for name ()
*
*
* Definition:
* A name associated with the person
*
* @param theValue The name to add (must not be null
)
*/
public Person addName(HumanNameDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getName().add(theValue);
return this;
}
/**
* Gets the first repetition for name (),
* creating it if it does not already exist.
*
*
* Definition:
* A name associated with the person
*
*/
public HumanNameDt getNameFirstRep() {
if (getName().isEmpty()) {
return addName();
}
return getName().get(0);
}
/**
* Gets the value(s) for telecom ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A contact detail for the person, e.g. a telephone number or an email address.
*
*/
public java.util.List getTelecom() {
if (myTelecom == null) {
myTelecom = new java.util.ArrayList();
}
return myTelecom;
}
/**
* Sets the value(s) for telecom ()
*
*
* Definition:
* A contact detail for the person, e.g. a telephone number or an email address.
*
*/
public Person setTelecom(java.util.List theValue) {
myTelecom = theValue;
return this;
}
/**
* Adds and returns a new value for telecom ()
*
*
* Definition:
* A contact detail for the person, e.g. a telephone number or an email address.
*
*/
public ContactPointDt addTelecom() {
ContactPointDt newType = new ContactPointDt();
getTelecom().add(newType);
return newType;
}
/**
* Adds a given new value for telecom ()
*
*
* Definition:
* A contact detail for the person, e.g. a telephone number or an email address.
*
* @param theValue The telecom to add (must not be null
)
*/
public Person 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:
* A contact detail for the person, e.g. a telephone number or an email address.
*
*/
public ContactPointDt getTelecomFirstRep() {
if (getTelecom().isEmpty()) {
return addTelecom();
}
return getTelecom().get(0);
}
/**
* Gets the value(s) for gender ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Administrative Gender
*
*/
public BoundCodeDt getGenderElement() {
if (myGender == null) {
myGender = new BoundCodeDt(AdministrativeGenderEnum.VALUESET_BINDER);
}
return myGender;
}
/**
* Gets the value(s) for gender ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Administrative Gender
*
*/
public String getGender() {
return getGenderElement().getValue();
}
/**
* Sets the value(s) for gender ()
*
*
* Definition:
* Administrative Gender
*
*/
public Person setGender(BoundCodeDt theValue) {
myGender = theValue;
return this;
}
/**
* Sets the value(s) for gender ()
*
*
* Definition:
* Administrative Gender
*
*/
public Person setGender(AdministrativeGenderEnum theValue) {
setGender(new BoundCodeDt(AdministrativeGenderEnum.VALUESET_BINDER, theValue));
/*
getGenderElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for birthDate ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The birth date for the person.
*
*/
public DateDt getBirthDateElement() {
if (myBirthDate == null) {
myBirthDate = new DateDt();
}
return myBirthDate;
}
/**
* Gets the value(s) for birthDate ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The birth date for the person.
*
*/
public Date getBirthDate() {
return getBirthDateElement().getValue();
}
/**
* Sets the value(s) for birthDate ()
*
*
* Definition:
* The birth date for the person.
*
*/
public Person setBirthDate(DateDt theValue) {
myBirthDate = theValue;
return this;
}
/**
* Sets the value for birthDate ()
*
*
* Definition:
* The birth date for the person.
*
*/
public Person setBirthDateWithDayPrecision( Date theDate) {
myBirthDate = new DateDt(theDate);
return this;
}
/**
* Sets the value for birthDate ()
*
*
* Definition:
* The birth date for the person.
*
*/
public Person setBirthDate( Date theDate, TemporalPrecisionEnum thePrecision) {
myBirthDate = new DateDt(theDate, thePrecision);
return this;
}
/**
* Gets the value(s) for address ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* One or more addresses for the person
*
*/
public java.util.List getAddress() {
if (myAddress == null) {
myAddress = new java.util.ArrayList();
}
return myAddress;
}
/**
* Sets the value(s) for address ()
*
*
* Definition:
* One or more addresses for the person
*
*/
public Person setAddress(java.util.List theValue) {
myAddress = theValue;
return this;
}
/**
* Adds and returns a new value for address ()
*
*
* Definition:
* One or more addresses for the person
*
*/
public AddressDt addAddress() {
AddressDt newType = new AddressDt();
getAddress().add(newType);
return newType;
}
/**
* Adds a given new value for address ()
*
*
* Definition:
* One or more addresses for the person
*
* @param theValue The address to add (must not be null
)
*/
public Person addAddress(AddressDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getAddress().add(theValue);
return this;
}
/**
* Gets the first repetition for address (),
* creating it if it does not already exist.
*
*
* Definition:
* One or more addresses for the person
*
*/
public AddressDt getAddressFirstRep() {
if (getAddress().isEmpty()) {
return addAddress();
}
return getAddress().get(0);
}
/**
* Gets the value(s) for photo ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* An image that can be displayed as a thumbnail of the person to enhance the identification of the individual
*
*/
public AttachmentDt getPhoto() {
if (myPhoto == null) {
myPhoto = new AttachmentDt();
}
return myPhoto;
}
/**
* Sets the value(s) for photo ()
*
*
* Definition:
* An image that can be displayed as a thumbnail of the person to enhance the identification of the individual
*
*/
public Person setPhoto(AttachmentDt theValue) {
myPhoto = theValue;
return this;
}
/**
* Gets the value(s) for managingOrganization ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The organization that is the custodian of the person record
*
*/
public ResourceReferenceDt getManagingOrganization() {
if (myManagingOrganization == null) {
myManagingOrganization = new ResourceReferenceDt();
}
return myManagingOrganization;
}
/**
* Sets the value(s) for managingOrganization ()
*
*
* Definition:
* The organization that is the custodian of the person record
*
*/
public Person setManagingOrganization(ResourceReferenceDt theValue) {
myManagingOrganization = theValue;
return this;
}
/**
* Gets the value(s) for active (status).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Whether this person's record is in active use
*
*/
public BooleanDt getActiveElement() {
if (myActive == null) {
myActive = new BooleanDt();
}
return myActive;
}
/**
* Gets the value(s) for active (status).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Whether this person's record is in active use
*
*/
public Boolean getActive() {
return getActiveElement().getValue();
}
/**
* Sets the value(s) for active (status)
*
*
* Definition:
* Whether this person's record is in active use
*
*/
public Person setActive(BooleanDt theValue) {
myActive = theValue;
return this;
}
/**
* Sets the value for active (status)
*
*
* Definition:
* Whether this person's record is in active use
*
*/
public Person setActive( boolean theBoolean) {
myActive = new BooleanDt(theBoolean);
return this;
}
/**
* Gets the value(s) for link ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
*
*
*/
public java.util.List getLink() {
if (myLink == null) {
myLink = new java.util.ArrayList();
}
return myLink;
}
/**
* Sets the value(s) for link ()
*
*
* Definition:
*
*
*/
public Person setLink(java.util.List theValue) {
myLink = theValue;
return this;
}
/**
* Adds and returns a new value for link ()
*
*
* Definition:
*
*
*/
public Link addLink() {
Link newType = new Link();
getLink().add(newType);
return newType;
}
/**
* Adds a given new value for link ()
*
*
* Definition:
*
*
* @param theValue The link to add (must not be null
)
*/
public Person addLink(Link theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getLink().add(theValue);
return this;
}
/**
* Gets the first repetition for link (),
* creating it if it does not already exist.
*
*
* Definition:
*
*
*/
public Link getLinkFirstRep() {
if (getLink().isEmpty()) {
return addLink();
}
return getLink().get(0);
}
/**
* Block class for child element: Person.link ()
*
*
* Definition:
*
*
*/
@Block()
public static class Link
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="target", order=0, min=1, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Patient.class,
ca.uhn.fhir.model.dstu2.resource.Practitioner.class,
ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class,
ca.uhn.fhir.model.dstu2.resource.Person.class
})
@Description(
shortDefinition="",
formalDefinition=""
)
private ResourceReferenceDt myTarget;
@Child(name="assurance", type=CodeDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Level of assurance that this link is actually associated with the target resource"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/identity-assuranceLevel")
private BoundCodeDt myAssurance;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myTarget, myAssurance);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myTarget, myAssurance);
}
/**
* Gets the value(s) for target ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
*
*
*/
public ResourceReferenceDt getTarget() {
if (myTarget == null) {
myTarget = new ResourceReferenceDt();
}
return myTarget;
}
/**
* Sets the value(s) for target ()
*
*
* Definition:
*
*
*/
public Link setTarget(ResourceReferenceDt theValue) {
myTarget = theValue;
return this;
}
/**
* Gets the value(s) for assurance ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Level of assurance that this link is actually associated with the target resource
*
*/
public BoundCodeDt getAssuranceElement() {
if (myAssurance == null) {
myAssurance = new BoundCodeDt(IdentityAssuranceLevelEnum.VALUESET_BINDER);
}
return myAssurance;
}
/**
* Gets the value(s) for assurance ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Level of assurance that this link is actually associated with the target resource
*
*/
public String getAssurance() {
return getAssuranceElement().getValue();
}
/**
* Sets the value(s) for assurance ()
*
*
* Definition:
* Level of assurance that this link is actually associated with the target resource
*
*/
public Link setAssurance(BoundCodeDt theValue) {
myAssurance = theValue;
return this;
}
/**
* Sets the value(s) for assurance ()
*
*
* Definition:
* Level of assurance that this link is actually associated with the target resource
*
*/
public Link setAssurance(IdentityAssuranceLevelEnum theValue) {
setAssurance(new BoundCodeDt(IdentityAssuranceLevelEnum.VALUESET_BINDER, theValue));
/*
getAssuranceElement().setValueAsEnum(theValue);
*/
return this;
}
}
@Override
public String getResourceName() {
return "Person";
}
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
}
}