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

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

There is a newer version: 7.6.1
Show newest version
















package ca.uhn.fhir.model.dstu.resource;


import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.rest.gclient.*;

import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.resource.AdverseReaction;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AlertStatusEnum;
import ca.uhn.fhir.model.dstu.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.resource.Appointment;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.resource.Availability;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.resource.CarePlan;
import ca.uhn.fhir.model.dstu.valueset.CarePlanActivityCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanGoalStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CausalityExpectationEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu.resource.Condition;
import ca.uhn.fhir.model.dstu.valueset.ConditionRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConditionStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.CriticalityEnum;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DeviceObservationReport;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.resource.DocumentManifest;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.DocumentReference;
import ca.uhn.fhir.model.dstu.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExposureTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.resource.FamilyHistory;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.GVFMeta;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.resource.Immunization;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationReasonCodesEnum;
import ca.uhn.fhir.model.dstu.resource.ImmunizationRecommendation;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRecommendationDateCriterionCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRecommendationStatusCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRouteCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.resource.MedicationAdministration;
import ca.uhn.fhir.model.dstu.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationDispense;
import ca.uhn.fhir.model.dstu.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationPrescription;
import ca.uhn.fhir.model.dstu.valueset.MedicationPrescriptionStatusEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.resource.Microarray;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu.resource.Order;
import ca.uhn.fhir.model.dstu.valueset.OrderOutcomeStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Procedure;
import ca.uhn.fhir.model.dstu.valueset.ProcedureRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.valueset.QueryOutcomeEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireGroupNameEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireNameEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.valueset.ReactionSeverityEnum;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.composite.ScheduleDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventActionEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventOutcomeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SensitivityStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SensitivityTypeEnum;
import ca.uhn.fhir.model.dstu.resource.SequencingAnalysis;
import ca.uhn.fhir.model.dstu.resource.SequencingLab;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Slot;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SupplyDispenseStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyItemTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyTypeEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.ExtensionDt;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.AgeDt;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.resource.Binary;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.IdrefDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;


/**
 * HAPI/FHIR Practitioner Resource
 * (A person with a  formal responsibility in the provisioning of healthcare or related services)
 *
 * 

* 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.dstu.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
*

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

*/ 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
*

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

*/ 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: string
* Path: Practitioner.telecom
*

*/ @SearchParamDefinition(name="telecom", path="Practitioner.telecom", description="The value in any kind of contact", type="string" ) public static final String SP_TELECOM = "telecom"; /** * Fluent Client search parameter constant for telecom *

* Description: The value in any kind of contact
* Type: string
* Path: Practitioner.telecom
*

*/ public static final StringClientParam TELECOM = new StringClientParam(SP_TELECOM); /** * 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 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.organization
*

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

*/ public static final ReferenceClientParam ORGANIZATION = new ReferenceClientParam(SP_ORGANIZATION); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "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="A identifier for the person as this agent", formalDefinition="An identifier that applies to this person in this role" ) private java.util.List myIdentifier; @Child(name="name", type=HumanNameDt.class, order=1, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="A name associated with the person", formalDefinition="A name associated with the person" ) private HumanNameDt myName; @Child(name="telecom", type=ContactDt.class, order=2, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="A contact detail for the practitioner", 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=3, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Where practitioner can be found/visited", formalDefinition="The postal address where the practitioner can be found or visited or to which mail can be delivered" ) private AddressDt myAddress; @Child(name="gender", type=CodeableConceptDt.class, order=4, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Gender for administrative purposes", formalDefinition="Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes." ) private BoundCodeableConceptDt myGender; @Child(name="birthDate", type=DateTimeDt.class, order=5, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="The date and time of birth for the practitioner", formalDefinition="The date and time of birth for the practitioner" ) private DateTimeDt myBirthDate; @Child(name="photo", type=AttachmentDt.class, order=6, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Image of the person", formalDefinition="Image of the person" ) private java.util.List myPhoto; @Child(name="organization", order=7, min=0, max=1, summary=true, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.Organization.class }) @Description( shortDefinition="The represented organization", formalDefinition="The organization that the practitioner represents" ) private ResourceReferenceDt myOrganization; @Child(name="role", type=CodeableConceptDt.class, order=8, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="Roles which this practitioner may perform", formalDefinition="Roles which this practitioner is authorized to perform for the organization" ) private java.util.List> myRole; @Child(name="specialty", type=CodeableConceptDt.class, order=9, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="Specific specialty of the practitioner", formalDefinition="Specific specialty of the practitioner" ) private java.util.List> mySpecialty; @Child(name="period", type=PeriodDt.class, order=10, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="The period during which the practitioner is authorized to perform in these role(s)", 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=11, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.Location.class }) @Description( shortDefinition="The location(s) at which this practitioner provides care", formalDefinition="The location(s) at which this practitioner provides care" ) private java.util.List myLocation; @Child(name="qualification", order=12, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Qualifications obtained by training and certification", formalDefinition="" ) private java.util.List myQualification; @Child(name="communication", type=CodeableConceptDt.class, order=13, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="A language the practitioner is able to use in patient communication", 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, myName, myTelecom, myAddress, myGender, myBirthDate, myPhoto, myOrganization, myRole, mySpecialty, myPeriod, myLocation, myQualification, myCommunication); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myName, myTelecom, myAddress, myGender, myBirthDate, myPhoto, myOrganization, myRole, mySpecialty, myPeriod, myLocation, myQualification, myCommunication); } /** * Gets the value(s) for identifier (A identifier for the person as this agent). * 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; } /** * Gets the value(s) for identifier (A identifier for the person as this agent). * 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 getIdentifierElement() { if (myIdentifier == null) { myIdentifier = new java.util.ArrayList(); } return myIdentifier; } /** * Sets the value(s) for identifier (A identifier for the person as this agent) * *

* 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 (A identifier for the person as this agent) * *

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

*/ public IdentifierDt addIdentifier() { IdentifierDt newType = new IdentifierDt(); getIdentifier().add(newType); return newType; } /** * Gets the first repetition for identifier (A identifier for the person as this agent), * 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); } /** * Adds a new value for identifier (A identifier for the person as this agent) * *

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

* * @return Returns a reference to this object, to allow for simple chaining. */ public Practitioner addIdentifier( IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel) { if (myIdentifier == null) { myIdentifier = new java.util.ArrayList(); } myIdentifier.add(new IdentifierDt(theUse, theSystem, theValue, theLabel)); return this; } /** * Adds a new value for identifier (A identifier for the person as this agent) * *

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

* * @return Returns a reference to this object, to allow for simple chaining. */ public Practitioner addIdentifier( String theSystem, String theValue) { if (myIdentifier == null) { myIdentifier = new java.util.ArrayList(); } myIdentifier.add(new IdentifierDt(theSystem, theValue)); return this; } /** * Gets the value(s) for name (A name associated with the person). * 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; } /** * Gets the value(s) for name (A name associated with the person). * creating it if it does * not exist. Will not return null. * *

* Definition: * A name associated with the person *

*/ public HumanNameDt getNameElement() { if (myName == null) { myName = new HumanNameDt(); } return myName; } /** * Sets the value(s) for name (A name associated with the person) * *

* Definition: * A name associated with the person *

*/ public Practitioner setName(HumanNameDt theValue) { myName = theValue; return this; } /** * Gets the value(s) for telecom (A contact detail for the practitioner). * 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; } /** * Gets the value(s) for telecom (A contact detail for the practitioner). * 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 getTelecomElement() { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } return myTelecom; } /** * Sets the value(s) for telecom (A contact detail for the practitioner) * *

* 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 (A contact detail for the practitioner) * *

* Definition: * A contact detail for the practitioner, e.g. a telephone number or an email address. *

*/ public ContactDt addTelecom() { ContactDt newType = new ContactDt(); getTelecom().add(newType); return newType; } /** * Gets the first repetition for telecom (A contact detail for the practitioner), * 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 ContactDt getTelecomFirstRep() { if (getTelecom().isEmpty()) { return addTelecom(); } return getTelecom().get(0); } /** * Adds a new value for telecom (A contact detail for the practitioner) * *

* Definition: * A contact detail for the practitioner, e.g. a telephone number or an email address. *

* * @return Returns a reference to this object, to allow for simple chaining. */ public Practitioner addTelecom( ContactUseEnum theContactUse, String theValue) { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } myTelecom.add(new ContactDt(theContactUse, theValue)); return this; } /** * Adds a new value for telecom (A contact detail for the practitioner) * *

* Definition: * A contact detail for the practitioner, e.g. a telephone number or an email address. *

* * @return Returns a reference to this object, to allow for simple chaining. */ public Practitioner addTelecom( String theValue) { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } myTelecom.add(new ContactDt(theValue)); return this; } /** * Gets the value(s) for address (Where practitioner can be found/visited). * 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 AddressDt getAddress() { if (myAddress == null) { myAddress = new AddressDt(); } return myAddress; } /** * Gets the value(s) for address (Where practitioner can be found/visited). * 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 AddressDt getAddressElement() { if (myAddress == null) { myAddress = new AddressDt(); } return myAddress; } /** * Sets the value(s) for address (Where practitioner can be found/visited) * *

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

*/ public Practitioner setAddress(AddressDt theValue) { myAddress = theValue; return this; } /** * Gets the value(s) for gender (Gender for administrative purposes). * 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 BoundCodeableConceptDt getGender() { if (myGender == null) { myGender = new BoundCodeableConceptDt(AdministrativeGenderCodesEnum.VALUESET_BINDER); } return myGender; } /** * Gets the value(s) for gender (Gender for administrative purposes). * 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 BoundCodeableConceptDt getGenderElement() { if (myGender == null) { myGender = new BoundCodeableConceptDt(AdministrativeGenderCodesEnum.VALUESET_BINDER); } return myGender; } /** * Sets the value(s) for gender (Gender for administrative purposes) * *

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

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

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

*/ public Practitioner setGender(AdministrativeGenderCodesEnum theValue) { getGender().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for birthDate (The date and time of birth for the practitioner). * creating it if it does * not exist. Will not return null. * *

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

*/ public DateTimeDt getBirthDate() { if (myBirthDate == null) { myBirthDate = new DateTimeDt(); } return myBirthDate; } /** * Gets the value(s) for birthDate (The date and time of birth for the practitioner). * creating it if it does * not exist. Will not return null. * *

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

*/ public DateTimeDt getBirthDateElement() { if (myBirthDate == null) { myBirthDate = new DateTimeDt(); } return myBirthDate; } /** * Sets the value(s) for birthDate (The date and time of birth for the practitioner) * *

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

*/ public Practitioner setBirthDate(DateTimeDt theValue) { myBirthDate = theValue; return this; } /** * Sets the value for birthDate (The date and time of birth for the practitioner) * *

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

*/ public Practitioner setBirthDate( Date theDate, TemporalPrecisionEnum thePrecision) { myBirthDate = new DateTimeDt(theDate, thePrecision); return this; } /** * Sets the value for birthDate (The date and time of birth for the practitioner) * *

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

*/ public Practitioner setBirthDateWithSecondsPrecision( Date theDate) { myBirthDate = new DateTimeDt(theDate); return this; } /** * Gets the value(s) for photo (Image of the person). * 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; } /** * Gets the value(s) for photo (Image of the person). * creating it if it does * not exist. Will not return null. * *

* Definition: * Image of the person *

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

* Definition: * Image of the person *

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

* Definition: * Image of the person *

*/ public AttachmentDt addPhoto() { AttachmentDt newType = new AttachmentDt(); getPhoto().add(newType); return newType; } /** * Gets the first repetition for photo (Image of the person), * 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 organization (The represented organization). * creating it if it does * not exist. Will not return null. * *

* Definition: * The organization that the practitioner represents *

*/ public ResourceReferenceDt getOrganization() { if (myOrganization == null) { myOrganization = new ResourceReferenceDt(); } return myOrganization; } /** * Gets the value(s) for organization (The represented organization). * creating it if it does * not exist. Will not return null. * *

* Definition: * The organization that the practitioner represents *

*/ public ResourceReferenceDt getOrganizationElement() { if (myOrganization == null) { myOrganization = new ResourceReferenceDt(); } return myOrganization; } /** * Sets the value(s) for organization (The represented organization) * *

* Definition: * The organization that the practitioner represents *

*/ public Practitioner setOrganization(ResourceReferenceDt theValue) { myOrganization = theValue; return this; } /** * Gets the value(s) for role (Roles which this practitioner may perform). * creating it if it does * not exist. Will not return null. * *

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

*/ public java.util.List> getRole() { if (myRole == null) { myRole = new java.util.ArrayList>(); } return myRole; } /** * Gets the value(s) for role (Roles which this practitioner may perform). * creating it if it does * not exist. Will not return null. * *

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

*/ public java.util.List> getRoleElement() { if (myRole == null) { myRole = new java.util.ArrayList>(); } return myRole; } /** * Sets the value(s) for role (Roles which this practitioner may perform) * *

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

*/ public Practitioner setRole(java.util.List> theValue) { myRole = theValue; return this; } /** * Add a value for role (Roles which this practitioner may perform) using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addRole()} method. * *

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

*/ public BoundCodeableConceptDt addRole(PractitionerRoleEnum theValue) { BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(PractitionerRoleEnum.VALUESET_BINDER, theValue); getRole().add(retVal); return retVal; } /** * Gets the first repetition for role (Roles which this practitioner may perform), * creating it if it does not already exist. * *

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

*/ public BoundCodeableConceptDt getRoleFirstRep() { if (getRole().size() == 0) { addRole(); } return getRole().get(0); } /** * Add a value for role (Roles which this practitioner may perform) * *

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

*/ public BoundCodeableConceptDt addRole() { BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(PractitionerRoleEnum.VALUESET_BINDER); getRole().add(retVal); return retVal; } /** * Sets the value(s), and clears any existing value(s) for role (Roles which this practitioner may perform) * *

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

*/ public Practitioner setRole(PractitionerRoleEnum theValue) { getRole().clear(); addRole(theValue); return this; } /** * Gets the value(s) for specialty (Specific specialty of the practitioner). * 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; } /** * Gets the value(s) for specialty (Specific specialty of the practitioner). * creating it if it does * not exist. Will not return null. * *

* Definition: * Specific specialty of the practitioner *

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

* Definition: * Specific specialty of the practitioner *

*/ public Practitioner setSpecialty(java.util.List> theValue) { mySpecialty = theValue; return this; } /** * Add a value for specialty (Specific specialty of the practitioner) using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addSpecialty()} method. * *

* Definition: * Specific specialty of the practitioner *

*/ public BoundCodeableConceptDt addSpecialty(PractitionerSpecialtyEnum theValue) { BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(PractitionerSpecialtyEnum.VALUESET_BINDER, theValue); getSpecialty().add(retVal); return retVal; } /** * Gets the first repetition for specialty (Specific specialty of the practitioner), * creating it if it does not already exist. * *

* Definition: * Specific specialty of the practitioner *

*/ public BoundCodeableConceptDt getSpecialtyFirstRep() { if (getSpecialty().size() == 0) { addSpecialty(); } return getSpecialty().get(0); } /** * Add a value for specialty (Specific specialty of the practitioner) * *

* Definition: * Specific specialty of the practitioner *

*/ public BoundCodeableConceptDt addSpecialty() { BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(PractitionerSpecialtyEnum.VALUESET_BINDER); getSpecialty().add(retVal); return retVal; } /** * Sets the value(s), and clears any existing value(s) for specialty (Specific specialty of the practitioner) * *

* Definition: * Specific specialty of the practitioner *

*/ public Practitioner setSpecialty(PractitionerSpecialtyEnum theValue) { getSpecialty().clear(); addSpecialty(theValue); return this; } /** * Gets the value(s) for period (The period during which the practitioner is authorized to perform in these role(s)). * 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; } /** * Gets the value(s) for period (The period during which the practitioner is authorized to perform in these role(s)). * 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 getPeriodElement() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; } /** * Sets the value(s) for period (The period during which the practitioner is authorized to perform in these role(s)) * *

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

*/ public Practitioner setPeriod(PeriodDt theValue) { myPeriod = theValue; return this; } /** * Gets the value(s) for location (The location(s) at which this practitioner provides care). * 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; } /** * Gets the value(s) for location (The location(s) at which this practitioner provides care). * 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 getLocationElement() { if (myLocation == null) { myLocation = new java.util.ArrayList(); } return myLocation; } /** * Sets the value(s) for location (The location(s) at which this practitioner provides care) * *

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

*/ public Practitioner setLocation(java.util.List theValue) { myLocation = theValue; return this; } /** * Adds and returns a new value for location (The location(s) at which this practitioner provides care) * *

* 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 qualification (Qualifications obtained by training and certification). * 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; } /** * Gets the value(s) for qualification (Qualifications obtained by training and certification). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getQualificationElement() { if (myQualification == null) { myQualification = new java.util.ArrayList(); } return myQualification; } /** * Sets the value(s) for qualification (Qualifications obtained by training and certification) * *

* Definition: * *

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

* Definition: * *

*/ public Qualification addQualification() { Qualification newType = new Qualification(); getQualification().add(newType); return newType; } /** * Gets the first repetition for qualification (Qualifications obtained by training and certification), * 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 (A language the practitioner is able to use in patient 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; } /** * Gets the value(s) for communication (A language the practitioner is able to use in patient 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 getCommunicationElement() { if (myCommunication == null) { myCommunication = new java.util.ArrayList(); } return myCommunication; } /** * Sets the value(s) for communication (A language the practitioner is able to use in patient 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 (A language the practitioner is able to use in patient 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; } /** * Gets the first repetition for communication (A language the practitioner is able to use in patient 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.qualification (Qualifications obtained by training and certification) * *

* Definition: * *

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

* Definition: * *

*/ public CodeableConceptDt getCode() { if (myCode == null) { myCode = new CodeableConceptDt(); } return myCode; } /** * Gets the value(s) for code (Coded representation of the qualification). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public CodeableConceptDt getCodeElement() { if (myCode == null) { myCode = new CodeableConceptDt(); } return myCode; } /** * Sets the value(s) for code (Coded representation of the qualification) * *

* Definition: * *

*/ public Qualification setCode(CodeableConceptDt theValue) { myCode = theValue; return this; } /** * Gets the value(s) for period (Period during which the qualification is valid). * 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; } /** * Gets the value(s) for period (Period during which the qualification is valid). * creating it if it does * not exist. Will not return null. * *

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

*/ public PeriodDt getPeriodElement() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; } /** * Sets the value(s) for period (Period during which the qualification is valid) * *

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

*/ public Qualification setPeriod(PeriodDt theValue) { myPeriod = theValue; return this; } /** * Gets the value(s) for issuer (Organization that regulates and issues the qualification). * 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; } /** * Gets the value(s) for issuer (Organization that regulates and issues the qualification). * creating it if it does * not exist. Will not return null. * *

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

*/ public ResourceReferenceDt getIssuerElement() { if (myIssuer == null) { myIssuer = new ResourceReferenceDt(); } return myIssuer; } /** * Sets the value(s) for issuer (Organization that regulates and issues the qualification) * *

* 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.DSTU1; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy