ca.uhn.fhir.model.dstu2.resource.SearchParameter Maven / Gradle / Ivy
package ca.uhn.fhir.model.dstu2.resource;
import java.math.BigDecimal;
import java.net.URI;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.rest.gclient.*;
import ca.uhn.fhir.model.dstu2.valueset.AccountStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ActionListEnum;
import ca.uhn.fhir.model.dstu2.composite.AddressDt;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationErrorCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjustmentReasonCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdministrativeGenderEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCertaintyEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCriticalityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.AnnotationDt;
import ca.uhn.fhir.model.dstu2.valueset.AnswerFormatEnum;
import ca.uhn.fhir.model.dstu2.resource.Appointment;
import ca.uhn.fhir.model.dstu2.valueset.AppointmentStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionDirectionTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionOperatorTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionResponseTypesEnum;
import ca.uhn.fhir.model.dstu2.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventActionEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.BindingStrengthEnum;
import ca.uhn.fhir.model.dstu2.resource.BodySite;
import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.CarePlan;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanRelationshipEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Claim;
import ca.uhn.fhir.model.dstu2.resource.ClaimResponse;
import ca.uhn.fhir.model.dstu2.valueset.ClaimTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.ClinicalImpression;
import ca.uhn.fhir.model.dstu2.valueset.ClinicalImpressionStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.CodingDt;
import ca.uhn.fhir.model.dstu2.resource.CommunicationRequest;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Composition;
import ca.uhn.fhir.model.dstu2.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu2.resource.Condition;
import ca.uhn.fhir.model.dstu2.valueset.ConditionCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionClinicalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionVerificationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionalDeleteStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Conformance;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceResourceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceStatementKindEnum;
import ca.uhn.fhir.model.dstu2.composite.ContactPointDt;
import ca.uhn.fhir.model.dstu2.valueset.ContentTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.Contract;
import ca.uhn.fhir.model.dstu2.resource.Coverage;
import ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum;
import ca.uhn.fhir.model.dstu2.valueset.DaysOfWeekEnum;
import ca.uhn.fhir.model.dstu2.valueset.DetectedIssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.resource.Device;
import ca.uhn.fhir.model.dstu2.resource.DeviceComponent;
import ca.uhn.fhir.model.dstu2.resource.DeviceMetric;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationStateEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricOperationalStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DigitalMediaTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu2.resource.DocumentReference;
import ca.uhn.fhir.model.dstu2.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt;
import ca.uhn.fhir.model.dstu2.resource.EligibilityRequest;
import ca.uhn.fhir.model.dstu2.resource.Encounter;
import ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterLocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest;
import ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare;
import ca.uhn.fhir.model.dstu2.valueset.EpisodeOfCareStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu2.valueset.FamilyHistoryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory;
import ca.uhn.fhir.model.dstu2.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu2.valueset.FlagStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Goal;
import ca.uhn.fhir.model.dstu2.valueset.GoalPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.GoalStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Group;
import ca.uhn.fhir.model.dstu2.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideDependencyTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuidePageKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum;
import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum;
import ca.uhn.fhir.model.dstu2.resource.HealthcareService;
import ca.uhn.fhir.model.dstu2.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu2.valueset.IdentifierTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.IdentityAssuranceLevelEnum;
import ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection;
import ca.uhn.fhir.model.dstu2.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu2.resource.Immunization;
import ca.uhn.fhir.model.dstu2.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.KOStitleEnum;
import ca.uhn.fhir.model.dstu2.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListOrderCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Location;
import ca.uhn.fhir.model.dstu2.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.MeasmntPrincipleEnum;
import ca.uhn.fhir.model.dstu2.resource.Media;
import ca.uhn.fhir.model.dstu2.resource.Medication;
import ca.uhn.fhir.model.dstu2.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationOrder;
import ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu2.valueset.MedicationStatementStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu2.resource.NamingSystem;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemIdentifierTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NoteTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.NutritionOrder;
import ca.uhn.fhir.model.dstu2.valueset.NutritionOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Observation;
import ca.uhn.fhir.model.dstu2.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationDefinition;
import ca.uhn.fhir.model.dstu2.valueset.OperationKindEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.valueset.OperationParameterUseEnum;
import ca.uhn.fhir.model.dstu2.resource.Order;
import ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Organization;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantRequiredEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Patient;
import ca.uhn.fhir.model.dstu2.valueset.PayeeTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.PeriodDt;
import ca.uhn.fhir.model.dstu2.resource.Person;
import ca.uhn.fhir.model.dstu2.resource.Practitioner;
import ca.uhn.fhir.model.dstu2.resource.Procedure;
import ca.uhn.fhir.model.dstu2.resource.ProcedureRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.ProcessRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
import ca.uhn.fhir.model.dstu2.resource.Questionnaire;
import ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireResponseStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.RangeDt;
import ca.uhn.fhir.model.dstu2.composite.RatioDt;
import ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum;
import ca.uhn.fhir.model.dstu2.resource.ReferralRequest;
import ca.uhn.fhir.model.dstu2.valueset.ReferralStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu2.valueset.RemittanceOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu2.resource.RiskAssessment;
import ca.uhn.fhir.model.dstu2.valueset.RulesetCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu2.resource.Schedule;
import ca.uhn.fhir.model.dstu2.valueset.SearchEntryModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchModifierCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ServiceProvisionConditionsEnum;
import ca.uhn.fhir.model.dstu2.composite.SignatureDt;
import ca.uhn.fhir.model.dstu2.resource.Slot;
import ca.uhn.fhir.model.dstu2.valueset.SlotStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Specimen;
import ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.StructureDefinition;
import ca.uhn.fhir.model.dstu2.valueset.StructureDefinitionKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Substance;
import ca.uhn.fhir.model.dstu2.valueset.SubstanceCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.SupplyDeliveryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.SupplyRequest;
import ca.uhn.fhir.model.dstu2.valueset.SupplyRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.SystemRestfulInteractionEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu2.composite.TimingDt;
import ca.uhn.fhir.model.dstu2.valueset.TransactionModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.TypeRestfulInteractionEnum;
import ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.UseEnum;
import ca.uhn.fhir.model.dstu2.resource.ValueSet;
import ca.uhn.fhir.model.dstu2.valueset.VisionBaseEnum;
import ca.uhn.fhir.model.dstu2.valueset.VisionEyesEnum;
import ca.uhn.fhir.model.dstu2.resource.VisionPrescription;
import ca.uhn.fhir.model.dstu2.valueset.XPathUsageTypeEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu2.composite.AgeDt;
import ca.uhn.fhir.model.dstu2.composite.BoundCodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.DurationDt;
import ca.uhn.fhir.model.dstu2.composite.MoneyDt;
import ca.uhn.fhir.model.dstu2.composite.NarrativeDt;
import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu2.composite.SimpleQuantityDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.PositiveIntDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.TimeDt;
import ca.uhn.fhir.model.primitive.UnsignedIntDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR SearchParameter Resource
* (conformance.behavior)
*
*
* Definition:
* A search parameter that defines a named search item that can be used to search/filter on a resource.
*
*
*
* Requirements:
*
*
*
*
* Profile Definition:
* http://hl7.org/fhir/profiles/SearchParameter
*
*
*/
@ResourceDef(name="SearchParameter", profile="http://hl7.org/fhir/profiles/SearchParameter", id="searchparameter")
public class SearchParameter extends ca.uhn.fhir.model.dstu2.resource.BaseResource
implements IResource
{
/**
* Search parameter constant for url
*
* Description:
* Type: uri
* Path: SearchParameter.url
*
*/
@SearchParamDefinition(name="url", path="SearchParameter.url", description="", type="uri"
)
public static final String SP_URL = "url";
/**
* Fluent Client search parameter constant for url
*
* Description:
* Type: uri
* Path: SearchParameter.url
*
*/
public static final UriClientParam URL = new UriClientParam(SP_URL);
/**
* Search parameter constant for name
*
* Description:
* Type: string
* Path: SearchParameter.name
*
*/
@SearchParamDefinition(name="name", path="SearchParameter.name", description="", type="string"
)
public static final String SP_NAME = "name";
/**
* Fluent Client search parameter constant for name
*
* Description:
* Type: string
* Path: SearchParameter.name
*
*/
public static final StringClientParam NAME = new StringClientParam(SP_NAME);
/**
* Search parameter constant for base
*
* Description:
* Type: token
* Path: SearchParameter.base
*
*/
@SearchParamDefinition(name="base", path="SearchParameter.base", description="", type="token"
)
public static final String SP_BASE = "base";
/**
* Fluent Client search parameter constant for base
*
* Description:
* Type: token
* Path: SearchParameter.base
*
*/
public static final TokenClientParam BASE = new TokenClientParam(SP_BASE);
/**
* Search parameter constant for type
*
* Description:
* Type: token
* Path: SearchParameter.type
*
*/
@SearchParamDefinition(name="type", path="SearchParameter.type", description="", type="token"
)
public static final String SP_TYPE = "type";
/**
* Fluent Client search parameter constant for type
*
* Description:
* Type: token
* Path: SearchParameter.type
*
*/
public static final TokenClientParam TYPE = new TokenClientParam(SP_TYPE);
/**
* Search parameter constant for description
*
* Description:
* Type: string
* Path: SearchParameter.description
*
*/
@SearchParamDefinition(name="description", path="SearchParameter.description", description="", type="string"
)
public static final String SP_DESCRIPTION = "description";
/**
* Fluent Client search parameter constant for description
*
* Description:
* Type: string
* Path: SearchParameter.description
*
*/
public static final StringClientParam DESCRIPTION = new StringClientParam(SP_DESCRIPTION);
/**
* Search parameter constant for target
*
* Description:
* Type: token
* Path: SearchParameter.target
*
*/
@SearchParamDefinition(name="target", path="SearchParameter.target", description="", type="token"
)
public static final String SP_TARGET = "target";
/**
* Fluent Client search parameter constant for target
*
* Description:
* Type: token
* Path: SearchParameter.target
*
*/
public static final TokenClientParam TARGET = new TokenClientParam(SP_TARGET);
/**
* Search parameter constant for code
*
* Description:
* Type: token
* Path: SearchParameter.code
*
*/
@SearchParamDefinition(name="code", path="SearchParameter.code", description="", type="token"
)
public static final String SP_CODE = "code";
/**
* Fluent Client search parameter constant for code
*
* Description:
* Type: token
* Path: SearchParameter.code
*
*/
public static final TokenClientParam CODE = new TokenClientParam(SP_CODE);
@Child(name="url", type=UriDt.class, order=0, min=1, max=1, summary=true, modifier=false)
@Description(
shortDefinition="id",
formalDefinition="An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published"
)
private UriDt myUrl;
@Child(name="name", type=StringDt.class, order=1, min=1, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A free text natural language name identifying the search parameter"
)
private StringDt myName;
@Child(name="status", type=CodeDt.class, order=2, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="status",
formalDefinition="The status of this search parameter definition"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/conformance-resource-status")
private BoundCodeDt myStatus;
@Child(name="experimental", type=BooleanDt.class, order=3, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="class",
formalDefinition="A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage"
)
private BooleanDt myExperimental;
@Child(name="publisher", type=StringDt.class, order=4, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="who.witness",
formalDefinition="The name of the individual or organization that published the search parameter"
)
private StringDt myPublisher;
@Child(name="contact", order=5, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Contacts to assist a user in finding and communicating with the publisher"
)
private java.util.List myContact;
@Child(name="date", type=DateTimeDt.class, order=6, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="when.recorded",
formalDefinition="The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes"
)
private DateTimeDt myDate;
@Child(name="requirements", type=StringDt.class, order=7, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="why",
formalDefinition="The Scope and Usage that this search parameter was created to meet"
)
private StringDt myRequirements;
@Child(name="code", type=CodeDt.class, order=8, min=1, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The code used in the URL or the parameter name in a parameters resource for this search parameter"
)
private CodeDt myCode;
@Child(name="base", type=CodeDt.class, order=9, min=1, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The base resource type that this search parameter refers to"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/resource-types")
private BoundCodeDt myBase;
@Child(name="type", type=CodeDt.class, order=10, min=1, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The type of value a search parameter refers to, and how the content is interpreted"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/search-param-type")
private BoundCodeDt myType;
@Child(name="description", type=StringDt.class, order=11, min=1, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A description of the search parameters and how it used"
)
private StringDt myDescription;
@Child(name="xpath", type=StringDt.class, order=12, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="An XPath expression that returns a set of elements for the search parameter"
)
private StringDt myXpath;
@Child(name="xpathUsage", type=CodeDt.class, order=13, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="How the search parameter relates to the set of elements returned by evaluating the xpath query"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/search-xpath-usage")
private BoundCodeDt myXpathUsage;
@Child(name="target", type=CodeDt.class, order=14, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Types of resource (if a resource is referenced)"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/resource-types")
private java.util.List> myTarget;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myUrl, myName, myStatus, myExperimental, myPublisher, myContact, myDate, myRequirements, myCode, myBase, myType, myDescription, myXpath, myXpathUsage, myTarget);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUrl, myName, myStatus, myExperimental, myPublisher, myContact, myDate, myRequirements, myCode, myBase, myType, myDescription, myXpath, myXpathUsage, myTarget);
}
/**
* Gets the value(s) for url (id).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published
*
*/
public UriDt getUrlElement() {
if (myUrl == null) {
myUrl = new UriDt();
}
return myUrl;
}
/**
* Gets the value(s) for url (id).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published
*
*/
public String getUrl() {
return getUrlElement().getValue();
}
/**
* Sets the value(s) for url (id)
*
*
* Definition:
* An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published
*
*/
public SearchParameter setUrl(UriDt theValue) {
myUrl = theValue;
return this;
}
/**
* Sets the value for url (id)
*
*
* Definition:
* An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published
*
*/
public SearchParameter setUrl( String theUri) {
myUrl = new UriDt(theUri);
return this;
}
/**
* Gets the value(s) for name ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A free text natural language name identifying the search parameter
*
*/
public StringDt getNameElement() {
if (myName == null) {
myName = new StringDt();
}
return myName;
}
/**
* Gets the value(s) for name ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A free text natural language name identifying the search parameter
*
*/
public String getName() {
return getNameElement().getValue();
}
/**
* Sets the value(s) for name ()
*
*
* Definition:
* A free text natural language name identifying the search parameter
*
*/
public SearchParameter setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
* Sets the value for name ()
*
*
* Definition:
* A free text natural language name identifying the search parameter
*
*/
public SearchParameter setName( String theString) {
myName = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for status (status).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The status of this search parameter definition
*
*/
public BoundCodeDt getStatusElement() {
if (myStatus == null) {
myStatus = new BoundCodeDt(ConformanceResourceStatusEnum.VALUESET_BINDER);
}
return myStatus;
}
/**
* Gets the value(s) for status (status).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The status of this search parameter definition
*
*/
public String getStatus() {
return getStatusElement().getValue();
}
/**
* Sets the value(s) for status (status)
*
*
* Definition:
* The status of this search parameter definition
*
*/
public SearchParameter setStatus(BoundCodeDt theValue) {
myStatus = theValue;
return this;
}
/**
* Sets the value(s) for status (status)
*
*
* Definition:
* The status of this search parameter definition
*
*/
public SearchParameter setStatus(ConformanceResourceStatusEnum theValue) {
setStatus(new BoundCodeDt(ConformanceResourceStatusEnum.VALUESET_BINDER, theValue));
/*
getStatusElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for experimental (class).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
*
*/
public BooleanDt getExperimentalElement() {
if (myExperimental == null) {
myExperimental = new BooleanDt();
}
return myExperimental;
}
/**
* Gets the value(s) for experimental (class).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
*
*/
public Boolean getExperimental() {
return getExperimentalElement().getValue();
}
/**
* Sets the value(s) for experimental (class)
*
*
* Definition:
* A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
*
*/
public SearchParameter setExperimental(BooleanDt theValue) {
myExperimental = theValue;
return this;
}
/**
* Sets the value for experimental (class)
*
*
* Definition:
* A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
*
*/
public SearchParameter setExperimental( boolean theBoolean) {
myExperimental = new BooleanDt(theBoolean);
return this;
}
/**
* Gets the value(s) for publisher (who.witness).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The name of the individual or organization that published the search parameter
*
*/
public StringDt getPublisherElement() {
if (myPublisher == null) {
myPublisher = new StringDt();
}
return myPublisher;
}
/**
* Gets the value(s) for publisher (who.witness).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The name of the individual or organization that published the search parameter
*
*/
public String getPublisher() {
return getPublisherElement().getValue();
}
/**
* Sets the value(s) for publisher (who.witness)
*
*
* Definition:
* The name of the individual or organization that published the search parameter
*
*/
public SearchParameter setPublisher(StringDt theValue) {
myPublisher = theValue;
return this;
}
/**
* Sets the value for publisher (who.witness)
*
*
* Definition:
* The name of the individual or organization that published the search parameter
*
*/
public SearchParameter setPublisher( String theString) {
myPublisher = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for contact ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Contacts to assist a user in finding and communicating with the publisher
*
*/
public java.util.List getContact() {
if (myContact == null) {
myContact = new java.util.ArrayList();
}
return myContact;
}
/**
* Sets the value(s) for contact ()
*
*
* Definition:
* Contacts to assist a user in finding and communicating with the publisher
*
*/
public SearchParameter setContact(java.util.List theValue) {
myContact = theValue;
return this;
}
/**
* Adds and returns a new value for contact ()
*
*
* Definition:
* Contacts to assist a user in finding and communicating with the publisher
*
*/
public Contact addContact() {
Contact newType = new Contact();
getContact().add(newType);
return newType;
}
/**
* Adds a given new value for contact ()
*
*
* Definition:
* Contacts to assist a user in finding and communicating with the publisher
*
* @param theValue The contact to add (must not be null
)
*/
public SearchParameter addContact(Contact theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getContact().add(theValue);
return this;
}
/**
* Gets the first repetition for contact (),
* creating it if it does not already exist.
*
*
* Definition:
* Contacts to assist a user in finding and communicating with the publisher
*
*/
public Contact getContactFirstRep() {
if (getContact().isEmpty()) {
return addContact();
}
return getContact().get(0);
}
/**
* Gets the value(s) for date (when.recorded).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes
*
*/
public DateTimeDt getDateElement() {
if (myDate == null) {
myDate = new DateTimeDt();
}
return myDate;
}
/**
* Gets the value(s) for date (when.recorded).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes
*
*/
public Date getDate() {
return getDateElement().getValue();
}
/**
* Sets the value(s) for date (when.recorded)
*
*
* Definition:
* The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes
*
*/
public SearchParameter setDate(DateTimeDt theValue) {
myDate = theValue;
return this;
}
/**
* Sets the value for date (when.recorded)
*
*
* Definition:
* The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes
*
*/
public SearchParameter setDateWithSecondsPrecision( Date theDate) {
myDate = new DateTimeDt(theDate);
return this;
}
/**
* Sets the value for date (when.recorded)
*
*
* Definition:
* The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes
*
*/
public SearchParameter setDate( Date theDate, TemporalPrecisionEnum thePrecision) {
myDate = new DateTimeDt(theDate, thePrecision);
return this;
}
/**
* Gets the value(s) for requirements (why).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The Scope and Usage that this search parameter was created to meet
*
*/
public StringDt getRequirementsElement() {
if (myRequirements == null) {
myRequirements = new StringDt();
}
return myRequirements;
}
/**
* Gets the value(s) for requirements (why).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The Scope and Usage that this search parameter was created to meet
*
*/
public String getRequirements() {
return getRequirementsElement().getValue();
}
/**
* Sets the value(s) for requirements (why)
*
*
* Definition:
* The Scope and Usage that this search parameter was created to meet
*
*/
public SearchParameter setRequirements(StringDt theValue) {
myRequirements = theValue;
return this;
}
/**
* Sets the value for requirements (why)
*
*
* Definition:
* The Scope and Usage that this search parameter was created to meet
*
*/
public SearchParameter setRequirements( String theString) {
myRequirements = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for code ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The code used in the URL or the parameter name in a parameters resource for this search parameter
*
*/
public CodeDt getCodeElement() {
if (myCode == null) {
myCode = new CodeDt();
}
return myCode;
}
/**
* Gets the value(s) for code ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The code used in the URL or the parameter name in a parameters resource for this search parameter
*
*/
public String getCode() {
return getCodeElement().getValue();
}
/**
* Sets the value(s) for code ()
*
*
* Definition:
* The code used in the URL or the parameter name in a parameters resource for this search parameter
*
*/
public SearchParameter setCode(CodeDt theValue) {
myCode = theValue;
return this;
}
/**
* Sets the value for code ()
*
*
* Definition:
* The code used in the URL or the parameter name in a parameters resource for this search parameter
*
*/
public SearchParameter setCode( String theCode) {
myCode = new CodeDt(theCode);
return this;
}
/**
* Gets the value(s) for base ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The base resource type that this search parameter refers to
*
*/
public BoundCodeDt getBaseElement() {
if (myBase == null) {
myBase = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER);
}
return myBase;
}
/**
* Gets the value(s) for base ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The base resource type that this search parameter refers to
*
*/
public String getBase() {
return getBaseElement().getValue();
}
/**
* Sets the value(s) for base ()
*
*
* Definition:
* The base resource type that this search parameter refers to
*
*/
public SearchParameter setBase(BoundCodeDt theValue) {
myBase = theValue;
return this;
}
/**
* Sets the value(s) for base ()
*
*
* Definition:
* The base resource type that this search parameter refers to
*
*/
public SearchParameter setBase(ResourceTypeEnum theValue) {
setBase(new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER, theValue));
/*
getBaseElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for type ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The type of value a search parameter refers to, and how the content is interpreted
*
*/
public BoundCodeDt getTypeElement() {
if (myType == null) {
myType = new BoundCodeDt(SearchParamTypeEnum.VALUESET_BINDER);
}
return myType;
}
/**
* Gets the value(s) for type ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The type of value a search parameter refers to, and how the content is interpreted
*
*/
public String getType() {
return getTypeElement().getValue();
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* The type of value a search parameter refers to, and how the content is interpreted
*
*/
public SearchParameter setType(BoundCodeDt theValue) {
myType = theValue;
return this;
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* The type of value a search parameter refers to, and how the content is interpreted
*
*/
public SearchParameter setType(SearchParamTypeEnum theValue) {
setType(new BoundCodeDt(SearchParamTypeEnum.VALUESET_BINDER, theValue));
/*
getTypeElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for description ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A description of the search parameters and how it used
*
*/
public StringDt getDescriptionElement() {
if (myDescription == null) {
myDescription = new StringDt();
}
return myDescription;
}
/**
* Gets the value(s) for description ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A description of the search parameters and how it used
*
*/
public String getDescription() {
return getDescriptionElement().getValue();
}
/**
* Sets the value(s) for description ()
*
*
* Definition:
* A description of the search parameters and how it used
*
*/
public SearchParameter setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
* Sets the value for description ()
*
*
* Definition:
* A description of the search parameters and how it used
*
*/
public SearchParameter setDescription( String theString) {
myDescription = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for xpath ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* An XPath expression that returns a set of elements for the search parameter
*
*/
public StringDt getXpathElement() {
if (myXpath == null) {
myXpath = new StringDt();
}
return myXpath;
}
/**
* Gets the value(s) for xpath ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* An XPath expression that returns a set of elements for the search parameter
*
*/
public String getXpath() {
return getXpathElement().getValue();
}
/**
* Sets the value(s) for xpath ()
*
*
* Definition:
* An XPath expression that returns a set of elements for the search parameter
*
*/
public SearchParameter setXpath(StringDt theValue) {
myXpath = theValue;
return this;
}
/**
* Sets the value for xpath ()
*
*
* Definition:
* An XPath expression that returns a set of elements for the search parameter
*
*/
public SearchParameter setXpath( String theString) {
myXpath = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for xpathUsage ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* How the search parameter relates to the set of elements returned by evaluating the xpath query
*
*/
public BoundCodeDt getXpathUsageElement() {
if (myXpathUsage == null) {
myXpathUsage = new BoundCodeDt(XPathUsageTypeEnum.VALUESET_BINDER);
}
return myXpathUsage;
}
/**
* Gets the value(s) for xpathUsage ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* How the search parameter relates to the set of elements returned by evaluating the xpath query
*
*/
public String getXpathUsage() {
return getXpathUsageElement().getValue();
}
/**
* Sets the value(s) for xpathUsage ()
*
*
* Definition:
* How the search parameter relates to the set of elements returned by evaluating the xpath query
*
*/
public SearchParameter setXpathUsage(BoundCodeDt theValue) {
myXpathUsage = theValue;
return this;
}
/**
* Sets the value(s) for xpathUsage ()
*
*
* Definition:
* How the search parameter relates to the set of elements returned by evaluating the xpath query
*
*/
public SearchParameter setXpathUsage(XPathUsageTypeEnum theValue) {
setXpathUsage(new BoundCodeDt(XPathUsageTypeEnum.VALUESET_BINDER, theValue));
/*
getXpathUsageElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for target ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Types of resource (if a resource is referenced)
*
*/
public java.util.List> getTarget() {
if (myTarget == null) {
myTarget = new java.util.ArrayList>();
}
return myTarget;
}
/**
* Sets the value(s) for target ()
*
*
* Definition:
* Types of resource (if a resource is referenced)
*
*/
public SearchParameter setTarget(java.util.List> theValue) {
myTarget = theValue;
return this;
}
/**
* Add a value for target () 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 #addTarget()} method.
*
*
* Definition:
* Types of resource (if a resource is referenced)
*
*/
public BoundCodeDt addTarget(ResourceTypeEnum theValue) {
BoundCodeDt retVal = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER, theValue);
getTarget().add(retVal);
return retVal;
}
/**
* Gets the first repetition for target (),
* creating it if it does not already exist.
*
*
* Definition:
* Types of resource (if a resource is referenced)
*
*/
public BoundCodeDt getTargetFirstRep() {
if (getTarget().size() == 0) {
addTarget();
}
return getTarget().get(0);
}
/**
* Add a value for target ()
*
*
* Definition:
* Types of resource (if a resource is referenced)
*
*/
public BoundCodeDt addTarget() {
BoundCodeDt retVal = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER);
getTarget().add(retVal);
return retVal;
}
/**
* Sets the value(s), and clears any existing value(s) for target ()
*
*
* Definition:
* Types of resource (if a resource is referenced)
*
*/
public SearchParameter setTarget(ResourceTypeEnum theValue) {
getTarget().clear();
addTarget(theValue);
return this;
}
/**
* Block class for child element: SearchParameter.contact ()
*
*
* Definition:
* Contacts to assist a user in finding and communicating with the publisher
*
*/
@Block()
public static class Contact
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="name", type=StringDt.class, order=0, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The name of an individual to contact regarding the search parameter"
)
private StringDt myName;
@Child(name="telecom", type=ContactPointDt.class, order=1, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Contact details for individual (if a name was provided) or the publisher"
)
private java.util.List myTelecom;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myTelecom);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myTelecom);
}
/**
* Gets the value(s) for name ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The name of an individual to contact regarding the search parameter
*
*/
public StringDt getNameElement() {
if (myName == null) {
myName = new StringDt();
}
return myName;
}
/**
* Gets the value(s) for name ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The name of an individual to contact regarding the search parameter
*
*/
public String getName() {
return getNameElement().getValue();
}
/**
* Sets the value(s) for name ()
*
*
* Definition:
* The name of an individual to contact regarding the search parameter
*
*/
public Contact setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
* Sets the value for name ()
*
*
* Definition:
* The name of an individual to contact regarding the search parameter
*
*/
public Contact setName( String theString) {
myName = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for telecom ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Contact details for individual (if a name was provided) or the publisher
*
*/
public java.util.List getTelecom() {
if (myTelecom == null) {
myTelecom = new java.util.ArrayList();
}
return myTelecom;
}
/**
* Sets the value(s) for telecom ()
*
*
* Definition:
* Contact details for individual (if a name was provided) or the publisher
*
*/
public Contact setTelecom(java.util.List theValue) {
myTelecom = theValue;
return this;
}
/**
* Adds and returns a new value for telecom ()
*
*
* Definition:
* Contact details for individual (if a name was provided) or the publisher
*
*/
public ContactPointDt addTelecom() {
ContactPointDt newType = new ContactPointDt();
getTelecom().add(newType);
return newType;
}
/**
* Adds a given new value for telecom ()
*
*
* Definition:
* Contact details for individual (if a name was provided) or the publisher
*
* @param theValue The telecom to add (must not be null
)
*/
public Contact 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:
* Contact details for individual (if a name was provided) or the publisher
*
*/
public ContactPointDt getTelecomFirstRep() {
if (getTelecom().isEmpty()) {
return addTelecom();
}
return getTelecom().get(0);
}
}
@Override
public String getResourceName() {
return "SearchParameter";
}
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
}
}