All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.uhn.fhir.model.dstu2.resource.Practitioner Maven / Gradle / Ivy

The newest version!
















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 Practitioner Resource
 * (administrative.individual)
 *
 * 

* Definition: * A person who is directly or indirectly involved in the provisioning of healthcare. *

* *

* Requirements: * Need to track doctors, staff, locums etc. for both healthcare practitioners, funders, etc. *

* *

* Profile Definition: * http://hl7.org/fhir/profiles/Practitioner *

* */ @ResourceDef(name="Practitioner", profile="http://hl7.org/fhir/profiles/Practitioner", id="practitioner") public class Practitioner extends ca.uhn.fhir.model.dstu2.resource.BaseResource implements IResource { /** * Search parameter constant for identifier *

* Description: A practitioner's Identifier
* Type: token
* Path: Practitioner.identifier
*

*/ @SearchParamDefinition(name="identifier", path="Practitioner.identifier", description="A practitioner's Identifier", type="token" ) public static final String SP_IDENTIFIER = "identifier"; /** * Fluent Client search parameter constant for identifier *

* Description: A practitioner's Identifier
* Type: token
* Path: Practitioner.identifier
*

*/ public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER); /** * Search parameter constant for name *

* Description: A portion of either family or given name
* Type: string
* Path: Practitioner.name
*

*/ @SearchParamDefinition(name="name", path="Practitioner.name", description="A portion of either family or given name", type="string" ) public static final String SP_NAME = "name"; /** * Fluent Client search parameter constant for name *

* Description: A portion of either family or given name
* Type: string
* Path: Practitioner.name
*

*/ public static final StringClientParam NAME = new StringClientParam(SP_NAME); /** * Search parameter constant for family *

* Description: A portion of the family name
* Type: string
* Path: Practitioner.name.family
*

*/ @SearchParamDefinition(name="family", path="Practitioner.name.family", description="A portion of the family name", type="string" ) public static final String SP_FAMILY = "family"; /** * Fluent Client search parameter constant for family *

* Description: A portion of the family name
* Type: string
* Path: Practitioner.name.family
*

*/ public static final StringClientParam FAMILY = new StringClientParam(SP_FAMILY); /** * Search parameter constant for given *

* Description: A portion of the given name
* Type: string
* Path: Practitioner.name.given
*

*/ @SearchParamDefinition(name="given", path="Practitioner.name.given", description="A portion of the given name", type="string" ) public static final String SP_GIVEN = "given"; /** * Fluent Client search parameter constant for given *

* Description: A portion of the given name
* Type: string
* Path: Practitioner.name.given
*

*/ public static final StringClientParam GIVEN = new StringClientParam(SP_GIVEN); /** * Search parameter constant for phonetic *

* Description: A portion of either family or given name using some kind of phonetic matching algorithm
* Type: string
* Path: Practitioner.name
*

*/ @SearchParamDefinition(name="phonetic", path="Practitioner.name", description="A portion of either family or given 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 either family or given name using some kind of phonetic matching algorithm
* Type: string
* Path: Practitioner.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: Practitioner.telecom
*

*/ @SearchParamDefinition(name="telecom", path="Practitioner.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: Practitioner.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: Practitioner.telecom(system=phone)
*

*/ @SearchParamDefinition(name="phone", path="Practitioner.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: Practitioner.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: Practitioner.telecom(system=email)
*

*/ @SearchParamDefinition(name="email", path="Practitioner.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: Practitioner.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: Practitioner.address
*

*/ @SearchParamDefinition(name="address", path="Practitioner.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: Practitioner.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: Practitioner.address.city
*

*/ @SearchParamDefinition(name="address-city", path="Practitioner.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: Practitioner.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: Practitioner.address.state
*

*/ @SearchParamDefinition(name="address-state", path="Practitioner.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: Practitioner.address.state
*

*/ public static final StringClientParam ADDRESS_STATE = new StringClientParam(SP_ADDRESS_STATE); /** * Search parameter constant for address-postalcode *

* Description: A postalCode specified in an address
* Type: string
* Path: Practitioner.address.postalCode
*

*/ @SearchParamDefinition(name="address-postalcode", path="Practitioner.address.postalCode", description="A postalCode 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 postalCode specified in an address
* Type: string
* Path: Practitioner.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: Practitioner.address.country
*

*/ @SearchParamDefinition(name="address-country", path="Practitioner.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: Practitioner.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: Practitioner.address.use
*

*/ @SearchParamDefinition(name="address-use", path="Practitioner.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: Practitioner.address.use
*

*/ public static final TokenClientParam ADDRESS_USE = new TokenClientParam(SP_ADDRESS_USE); /** * Search parameter constant for gender *

* Description: Gender of the practitioner
* Type: token
* Path: Practitioner.gender
*

*/ @SearchParamDefinition(name="gender", path="Practitioner.gender", description="Gender of the practitioner", type="token" ) public static final String SP_GENDER = "gender"; /** * Fluent Client search parameter constant for gender *

* Description: Gender of the practitioner
* Type: token
* Path: Practitioner.gender
*

*/ public static final TokenClientParam GENDER = new TokenClientParam(SP_GENDER); /** * Search parameter constant for organization *

* Description: The identity of the organization the practitioner represents / acts on behalf of
* Type: reference
* Path: Practitioner.practitionerRole.managingOrganization
*

*/ @SearchParamDefinition(name="organization", path="Practitioner.practitionerRole.managingOrganization", description="The identity of the organization the practitioner represents / acts on behalf of", type="reference" ) public static final String SP_ORGANIZATION = "organization"; /** * Fluent Client search parameter constant for organization *

* Description: The identity of the organization the practitioner represents / acts on behalf of
* Type: reference
* Path: Practitioner.practitionerRole.managingOrganization
*

*/ public static final ReferenceClientParam ORGANIZATION = new ReferenceClientParam(SP_ORGANIZATION); /** * Search parameter constant for communication *

* Description: One of the languages that the practitioner can communicate with
* Type: token
* Path: Practitioner.communication
*

*/ @SearchParamDefinition(name="communication", path="Practitioner.communication", description="One of the languages that the practitioner can communicate with", type="token" ) public static final String SP_COMMUNICATION = "communication"; /** * Fluent Client search parameter constant for communication *

* Description: One of the languages that the practitioner can communicate with
* Type: token
* Path: Practitioner.communication
*

*/ public static final TokenClientParam COMMUNICATION = new TokenClientParam(SP_COMMUNICATION); /** * Search parameter constant for location *

* Description: One of the locations at which this practitioner provides care
* Type: reference
* Path: Practitioner.practitionerRole.location
*

*/ @SearchParamDefinition(name="location", path="Practitioner.practitionerRole.location", description="One of the locations at which this practitioner provides care", type="reference" ) public static final String SP_LOCATION = "location"; /** * Fluent Client search parameter constant for location *

* Description: One of the locations at which this practitioner provides care
* Type: reference
* Path: Practitioner.practitionerRole.location
*

*/ public static final ReferenceClientParam LOCATION = new ReferenceClientParam(SP_LOCATION); /** * Search parameter constant for specialty *

* Description: The practitioner has this specialty at an organization
* Type: token
* Path: Practitioner.practitionerRole.specialty
*

*/ @SearchParamDefinition(name="specialty", path="Practitioner.practitionerRole.specialty", description="The practitioner has this specialty at an organization", type="token" ) public static final String SP_SPECIALTY = "specialty"; /** * Fluent Client search parameter constant for specialty *

* Description: The practitioner has this specialty at an organization
* Type: token
* Path: Practitioner.practitionerRole.specialty
*

*/ public static final TokenClientParam SPECIALTY = new TokenClientParam(SP_SPECIALTY); /** * Search parameter constant for role *

* Description: The practitioner can perform this role at for the organization
* Type: token
* Path: Practitioner.practitionerRole.role
*

*/ @SearchParamDefinition(name="role", path="Practitioner.practitionerRole.role", description="The practitioner can perform this role at for the organization", type="token" ) public static final String SP_ROLE = "role"; /** * Fluent Client search parameter constant for role *

* Description: The practitioner can perform this role at for the organization
* Type: token
* Path: Practitioner.practitionerRole.role
*

*/ public static final TokenClientParam ROLE = new TokenClientParam(SP_ROLE); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Practitioner:location". */ public static final Include INCLUDE_LOCATION = new Include("Practitioner:location"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Practitioner:organization". */ public static final Include INCLUDE_ORGANIZATION = new Include("Practitioner:organization"); @Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="id", formalDefinition="An identifier that applies to this person in this role" ) private java.util.List myIdentifier; @Child(name="active", type=BooleanDt.class, order=1, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="status", formalDefinition="Whether this practitioner's record is in active use" ) private BooleanDt myActive; @Child(name="name", type=HumanNameDt.class, order=2, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="A name associated with the person" ) private HumanNameDt myName; @Child(name="telecom", type=ContactPointDt.class, order=3, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="A contact detail for the practitioner, e.g. a telephone number or an email address." ) private java.util.List myTelecom; @Child(name="address", type=AddressDt.class, order=4, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The postal address where the practitioner can be found or visited or to which mail can be delivered" ) private java.util.List myAddress; @Child(name="gender", type=CodeDt.class, order=5, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes." ) @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=6, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The date of birth for the practitioner" ) private DateDt myBirthDate; @Child(name="photo", type=AttachmentDt.class, order=7, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Image of the person" ) private java.util.List myPhoto; @Child(name="practitionerRole", order=8, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The list of roles/organizations that the practitioner is associated with" ) private java.util.List myPractitionerRole; @Child(name="qualification", order=9, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="" ) private java.util.List myQualification; @Child(name="communication", type=CodeableConceptDt.class, order=10, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="A language the practitioner is able to use in patient communication" ) private java.util.List myCommunication; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myActive, myName, myTelecom, myAddress, myGender, myBirthDate, myPhoto, myPractitionerRole, myQualification, myCommunication); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myActive, myName, myTelecom, myAddress, myGender, myBirthDate, myPhoto, myPractitionerRole, myQualification, myCommunication); } /** * Gets the value(s) for identifier (id). * creating it if it does * not exist. Will not return null. * *

* Definition: * An identifier that applies to this person in this role *

*/ public java.util.List getIdentifier() { if (myIdentifier == null) { myIdentifier = new java.util.ArrayList(); } return myIdentifier; } /** * Sets the value(s) for identifier (id) * *

* Definition: * An identifier that applies to this person in this role *

*/ public Practitioner setIdentifier(java.util.List theValue) { myIdentifier = theValue; return this; } /** * Adds and returns a new value for identifier (id) * *

* Definition: * An identifier that applies to this person in this role *

*/ public IdentifierDt addIdentifier() { IdentifierDt newType = new IdentifierDt(); getIdentifier().add(newType); return newType; } /** * Adds a given new value for identifier (id) * *

* Definition: * An identifier that applies to this person in this role *

* @param theValue The identifier to add (must not be null) */ public Practitioner 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: * An identifier that applies to this person in this role *

*/ public IdentifierDt getIdentifierFirstRep() { if (getIdentifier().isEmpty()) { return addIdentifier(); } return getIdentifier().get(0); } /** * Gets the value(s) for active (status). * creating it if it does * not exist. Will not return null. * *

* Definition: * Whether this practitioner'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 practitioner's record is in active use *

*/ public Boolean getActive() { return getActiveElement().getValue(); } /** * Sets the value(s) for active (status) * *

* Definition: * Whether this practitioner's record is in active use *

*/ public Practitioner setActive(BooleanDt theValue) { myActive = theValue; return this; } /** * Sets the value for active (status) * *

* Definition: * Whether this practitioner's record is in active use *

*/ public Practitioner setActive( boolean theBoolean) { myActive = new BooleanDt(theBoolean); return this; } /** * 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 HumanNameDt getName() { if (myName == null) { myName = new HumanNameDt(); } return myName; } /** * Sets the value(s) for name () * *

* Definition: * A name associated with the person *

*/ public Practitioner setName(HumanNameDt theValue) { myName = theValue; return this; } /** * Gets the value(s) for telecom (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A contact detail for the practitioner, 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 practitioner, e.g. a telephone number or an email address. *

*/ public Practitioner setTelecom(java.util.List theValue) { myTelecom = theValue; return this; } /** * Adds and returns a new value for telecom () * *

* Definition: * A contact detail for the practitioner, 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 practitioner, e.g. a telephone number or an email address. *

* @param theValue The telecom to add (must not be null) */ public Practitioner 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 practitioner, 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 address (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The postal address where the practitioner can be found or visited or to which mail can be delivered *

*/ public java.util.List getAddress() { if (myAddress == null) { myAddress = new java.util.ArrayList(); } return myAddress; } /** * Sets the value(s) for address () * *

* Definition: * The postal address where the practitioner can be found or visited or to which mail can be delivered *

*/ public Practitioner setAddress(java.util.List theValue) { myAddress = theValue; return this; } /** * Adds and returns a new value for address () * *

* Definition: * The postal address where the practitioner can be found or visited or to which mail can be delivered *

*/ public AddressDt addAddress() { AddressDt newType = new AddressDt(); getAddress().add(newType); return newType; } /** * Adds a given new value for address () * *

* Definition: * The postal address where the practitioner can be found or visited or to which mail can be delivered *

* @param theValue The address to add (must not be null) */ public Practitioner 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: * The postal address where the practitioner can be found or visited or to which mail can be delivered *

*/ public AddressDt getAddressFirstRep() { if (getAddress().isEmpty()) { return addAddress(); } return getAddress().get(0); } /** * Gets the value(s) for gender (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. *

*/ 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 - the gender that the person is considered to have for administration and record keeping purposes. *

*/ public String getGender() { return getGenderElement().getValue(); } /** * Sets the value(s) for gender () * *

* Definition: * Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. *

*/ public Practitioner setGender(BoundCodeDt theValue) { myGender = theValue; return this; } /** * Sets the value(s) for gender () * *

* Definition: * Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. *

*/ public Practitioner 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 date of birth for the practitioner *

*/ 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 date of birth for the practitioner *

*/ public Date getBirthDate() { return getBirthDateElement().getValue(); } /** * Sets the value(s) for birthDate () * *

* Definition: * The date of birth for the practitioner *

*/ public Practitioner setBirthDate(DateDt theValue) { myBirthDate = theValue; return this; } /** * Sets the value for birthDate () * *

* Definition: * The date of birth for the practitioner *

*/ public Practitioner setBirthDateWithDayPrecision( Date theDate) { myBirthDate = new DateDt(theDate); return this; } /** * Sets the value for birthDate () * *

* Definition: * The date of birth for the practitioner *

*/ public Practitioner setBirthDate( Date theDate, TemporalPrecisionEnum thePrecision) { myBirthDate = new DateDt(theDate, thePrecision); return this; } /** * Gets the value(s) for photo (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Image of the person *

*/ public java.util.List getPhoto() { if (myPhoto == null) { myPhoto = new java.util.ArrayList(); } return myPhoto; } /** * Sets the value(s) for photo () * *

* Definition: * Image of the person *

*/ public Practitioner setPhoto(java.util.List theValue) { myPhoto = theValue; return this; } /** * Adds and returns a new value for photo () * *

* Definition: * Image of the person *

*/ public AttachmentDt addPhoto() { AttachmentDt newType = new AttachmentDt(); getPhoto().add(newType); return newType; } /** * Adds a given new value for photo () * *

* Definition: * Image of the person *

* @param theValue The photo to add (must not be null) */ public Practitioner addPhoto(AttachmentDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getPhoto().add(theValue); return this; } /** * Gets the first repetition for photo (), * creating it if it does not already exist. * *

* Definition: * Image of the person *

*/ public AttachmentDt getPhotoFirstRep() { if (getPhoto().isEmpty()) { return addPhoto(); } return getPhoto().get(0); } /** * Gets the value(s) for practitionerRole (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The list of roles/organizations that the practitioner is associated with *

*/ public java.util.List getPractitionerRole() { if (myPractitionerRole == null) { myPractitionerRole = new java.util.ArrayList(); } return myPractitionerRole; } /** * Sets the value(s) for practitionerRole () * *

* Definition: * The list of roles/organizations that the practitioner is associated with *

*/ public Practitioner setPractitionerRole(java.util.List theValue) { myPractitionerRole = theValue; return this; } /** * Adds and returns a new value for practitionerRole () * *

* Definition: * The list of roles/organizations that the practitioner is associated with *

*/ public PractitionerRole addPractitionerRole() { PractitionerRole newType = new PractitionerRole(); getPractitionerRole().add(newType); return newType; } /** * Adds a given new value for practitionerRole () * *

* Definition: * The list of roles/organizations that the practitioner is associated with *

* @param theValue The practitionerRole to add (must not be null) */ public Practitioner addPractitionerRole(PractitionerRole theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getPractitionerRole().add(theValue); return this; } /** * Gets the first repetition for practitionerRole (), * creating it if it does not already exist. * *

* Definition: * The list of roles/organizations that the practitioner is associated with *

*/ public PractitionerRole getPractitionerRoleFirstRep() { if (getPractitionerRole().isEmpty()) { return addPractitionerRole(); } return getPractitionerRole().get(0); } /** * Gets the value(s) for qualification (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getQualification() { if (myQualification == null) { myQualification = new java.util.ArrayList(); } return myQualification; } /** * Sets the value(s) for qualification () * *

* Definition: * *

*/ public Practitioner setQualification(java.util.List theValue) { myQualification = theValue; return this; } /** * Adds and returns a new value for qualification () * *

* Definition: * *

*/ public Qualification addQualification() { Qualification newType = new Qualification(); getQualification().add(newType); return newType; } /** * Adds a given new value for qualification () * *

* Definition: * *

* @param theValue The qualification to add (must not be null) */ public Practitioner addQualification(Qualification theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getQualification().add(theValue); return this; } /** * Gets the first repetition for qualification (), * creating it if it does not already exist. * *

* Definition: * *

*/ public Qualification getQualificationFirstRep() { if (getQualification().isEmpty()) { return addQualification(); } return getQualification().get(0); } /** * Gets the value(s) for communication (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A language the practitioner is able to use in patient communication *

*/ public java.util.List getCommunication() { if (myCommunication == null) { myCommunication = new java.util.ArrayList(); } return myCommunication; } /** * Sets the value(s) for communication () * *

* Definition: * A language the practitioner is able to use in patient communication *

*/ public Practitioner setCommunication(java.util.List theValue) { myCommunication = theValue; return this; } /** * Adds and returns a new value for communication () * *

* Definition: * A language the practitioner is able to use in patient communication *

*/ public CodeableConceptDt addCommunication() { CodeableConceptDt newType = new CodeableConceptDt(); getCommunication().add(newType); return newType; } /** * Adds a given new value for communication () * *

* Definition: * A language the practitioner is able to use in patient communication *

* @param theValue The communication to add (must not be null) */ public Practitioner addCommunication(CodeableConceptDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getCommunication().add(theValue); return this; } /** * Gets the first repetition for communication (), * creating it if it does not already exist. * *

* Definition: * A language the practitioner is able to use in patient communication *

*/ public CodeableConceptDt getCommunicationFirstRep() { if (getCommunication().isEmpty()) { return addCommunication(); } return getCommunication().get(0); } /** * Block class for child element: Practitioner.practitionerRole () * *

* Definition: * The list of roles/organizations that the practitioner is associated with *

*/ @Block() public static class PractitionerRole extends BaseIdentifiableElement implements IResourceBlock { @Child(name="managingOrganization", order=0, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Organization.class }) @Description( shortDefinition="", formalDefinition="The organization where the Practitioner performs the roles associated" ) private ResourceReferenceDt myManagingOrganization; @Child(name="role", type=CodeableConceptDt.class, order=1, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Roles which this practitioner is authorized to perform for the organization" ) private CodeableConceptDt myRole; @Child(name="specialty", type=CodeableConceptDt.class, order=2, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Specific specialty of the practitioner" ) private java.util.List mySpecialty; @Child(name="period", type=PeriodDt.class, order=3, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="when.done", formalDefinition="The period during which the person is authorized to act as a practitioner in these role(s) for the organization" ) private PeriodDt myPeriod; @Child(name="location", order=4, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Location.class }) @Description( shortDefinition="where", formalDefinition="The location(s) at which this practitioner provides care" ) private java.util.List myLocation; @Child(name="healthcareService", order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.HealthcareService.class }) @Description( shortDefinition="", formalDefinition="" ) private java.util.List myHealthcareService; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myManagingOrganization, myRole, mySpecialty, myPeriod, myLocation, myHealthcareService); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myManagingOrganization, myRole, mySpecialty, myPeriod, myLocation, myHealthcareService); } /** * Gets the value(s) for managingOrganization (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The organization where the Practitioner performs the roles associated *

*/ public ResourceReferenceDt getManagingOrganization() { if (myManagingOrganization == null) { myManagingOrganization = new ResourceReferenceDt(); } return myManagingOrganization; } /** * Sets the value(s) for managingOrganization () * *

* Definition: * The organization where the Practitioner performs the roles associated *

*/ public PractitionerRole setManagingOrganization(ResourceReferenceDt theValue) { myManagingOrganization = theValue; return this; } /** * Gets the value(s) for role (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Roles which this practitioner is authorized to perform for the organization *

*/ public CodeableConceptDt getRole() { if (myRole == null) { myRole = new CodeableConceptDt(); } return myRole; } /** * Sets the value(s) for role () * *

* Definition: * Roles which this practitioner is authorized to perform for the organization *

*/ public PractitionerRole setRole(CodeableConceptDt theValue) { myRole = theValue; return this; } /** * Gets the value(s) for specialty (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Specific specialty of the practitioner *

*/ public java.util.List getSpecialty() { if (mySpecialty == null) { mySpecialty = new java.util.ArrayList(); } return mySpecialty; } /** * Sets the value(s) for specialty () * *

* Definition: * Specific specialty of the practitioner *

*/ public PractitionerRole setSpecialty(java.util.List theValue) { mySpecialty = theValue; return this; } /** * Adds and returns a new value for specialty () * *

* Definition: * Specific specialty of the practitioner *

*/ public CodeableConceptDt addSpecialty() { CodeableConceptDt newType = new CodeableConceptDt(); getSpecialty().add(newType); return newType; } /** * Adds a given new value for specialty () * *

* Definition: * Specific specialty of the practitioner *

* @param theValue The specialty to add (must not be null) */ public PractitionerRole addSpecialty(CodeableConceptDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getSpecialty().add(theValue); return this; } /** * Gets the first repetition for specialty (), * creating it if it does not already exist. * *

* Definition: * Specific specialty of the practitioner *

*/ public CodeableConceptDt getSpecialtyFirstRep() { if (getSpecialty().isEmpty()) { return addSpecialty(); } return getSpecialty().get(0); } /** * Gets the value(s) for period (when.done). * creating it if it does * not exist. Will not return null. * *

* Definition: * The period during which the person is authorized to act as a practitioner in these role(s) for the organization *

*/ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; } /** * Sets the value(s) for period (when.done) * *

* Definition: * The period during which the person is authorized to act as a practitioner in these role(s) for the organization *

*/ public PractitionerRole setPeriod(PeriodDt theValue) { myPeriod = theValue; return this; } /** * Gets the value(s) for location (where). * creating it if it does * not exist. Will not return null. * *

* Definition: * The location(s) at which this practitioner provides care *

*/ public java.util.List getLocation() { if (myLocation == null) { myLocation = new java.util.ArrayList(); } return myLocation; } /** * Sets the value(s) for location (where) * *

* Definition: * The location(s) at which this practitioner provides care *

*/ public PractitionerRole setLocation(java.util.List theValue) { myLocation = theValue; return this; } /** * Adds and returns a new value for location (where) * *

* Definition: * The location(s) at which this practitioner provides care *

*/ public ResourceReferenceDt addLocation() { ResourceReferenceDt newType = new ResourceReferenceDt(); getLocation().add(newType); return newType; } /** * Gets the value(s) for healthcareService (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getHealthcareService() { if (myHealthcareService == null) { myHealthcareService = new java.util.ArrayList(); } return myHealthcareService; } /** * Sets the value(s) for healthcareService () * *

* Definition: * *

*/ public PractitionerRole setHealthcareService(java.util.List theValue) { myHealthcareService = theValue; return this; } /** * Adds and returns a new value for healthcareService () * *

* Definition: * *

*/ public ResourceReferenceDt addHealthcareService() { ResourceReferenceDt newType = new ResourceReferenceDt(); getHealthcareService().add(newType); return newType; } } /** * Block class for child element: Practitioner.qualification () * *

* Definition: * *

*/ @Block() public static class Qualification extends BaseIdentifiableElement implements IResourceBlock { @Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="An identifier that applies to this person's qualification in this role" ) private java.util.List myIdentifier; @Child(name="code", type=CodeableConceptDt.class, order=1, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="" ) private CodeableConceptDt myCode; @Child(name="period", type=PeriodDt.class, order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Period during which the qualification is valid" ) private PeriodDt myPeriod; @Child(name="issuer", order=3, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Organization.class }) @Description( shortDefinition="", formalDefinition="Organization that regulates and issues the qualification" ) private ResourceReferenceDt myIssuer; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myCode, myPeriod, myIssuer); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myCode, myPeriod, myIssuer); } /** * Gets the value(s) for identifier (). * creating it if it does * not exist. Will not return null. * *

* Definition: * An identifier that applies to this person's qualification in this role *

*/ public java.util.List getIdentifier() { if (myIdentifier == null) { myIdentifier = new java.util.ArrayList(); } return myIdentifier; } /** * Sets the value(s) for identifier () * *

* Definition: * An identifier that applies to this person's qualification in this role *

*/ public Qualification setIdentifier(java.util.List theValue) { myIdentifier = theValue; return this; } /** * Adds and returns a new value for identifier () * *

* Definition: * An identifier that applies to this person's qualification in this role *

*/ public IdentifierDt addIdentifier() { IdentifierDt newType = new IdentifierDt(); getIdentifier().add(newType); return newType; } /** * Adds a given new value for identifier () * *

* Definition: * An identifier that applies to this person's qualification in this role *

* @param theValue The identifier to add (must not be null) */ public Qualification 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 (), * creating it if it does not already exist. * *

* Definition: * An identifier that applies to this person's qualification in this role *

*/ public IdentifierDt getIdentifierFirstRep() { if (getIdentifier().isEmpty()) { return addIdentifier(); } return getIdentifier().get(0); } /** * Gets the value(s) for code (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public CodeableConceptDt getCode() { if (myCode == null) { myCode = new CodeableConceptDt(); } return myCode; } /** * Sets the value(s) for code () * *

* Definition: * *

*/ public Qualification setCode(CodeableConceptDt theValue) { myCode = theValue; return this; } /** * Gets the value(s) for period (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Period during which the qualification is valid *

*/ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; } /** * Sets the value(s) for period () * *

* Definition: * Period during which the qualification is valid *

*/ public Qualification setPeriod(PeriodDt theValue) { myPeriod = theValue; return this; } /** * Gets the value(s) for issuer (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Organization that regulates and issues the qualification *

*/ public ResourceReferenceDt getIssuer() { if (myIssuer == null) { myIssuer = new ResourceReferenceDt(); } return myIssuer; } /** * Sets the value(s) for issuer () * *

* Definition: * Organization that regulates and issues the qualification *

*/ public Qualification setIssuer(ResourceReferenceDt theValue) { myIssuer = theValue; return this; } } @Override public String getResourceName() { return "Practitioner"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy