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

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

The newest version!
















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

import java.math.BigDecimal;
import java.net.URI;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.rest.gclient.*;

import ca.uhn.fhir.model.dstu2.valueset.AccountStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ActionListEnum;
import ca.uhn.fhir.model.dstu2.composite.AddressDt;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationErrorCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjustmentReasonCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdministrativeGenderEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCertaintyEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCriticalityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.AnnotationDt;
import ca.uhn.fhir.model.dstu2.valueset.AnswerFormatEnum;
import ca.uhn.fhir.model.dstu2.resource.Appointment;
import ca.uhn.fhir.model.dstu2.valueset.AppointmentStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionDirectionTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionOperatorTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionResponseTypesEnum;
import ca.uhn.fhir.model.dstu2.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventActionEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.BindingStrengthEnum;
import ca.uhn.fhir.model.dstu2.resource.BodySite;
import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.CarePlan;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanRelationshipEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Claim;
import ca.uhn.fhir.model.dstu2.resource.ClaimResponse;
import ca.uhn.fhir.model.dstu2.valueset.ClaimTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.ClinicalImpression;
import ca.uhn.fhir.model.dstu2.valueset.ClinicalImpressionStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.CodingDt;
import ca.uhn.fhir.model.dstu2.resource.CommunicationRequest;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Composition;
import ca.uhn.fhir.model.dstu2.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu2.resource.Condition;
import ca.uhn.fhir.model.dstu2.valueset.ConditionCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionClinicalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionVerificationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionalDeleteStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Conformance;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceResourceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceStatementKindEnum;
import ca.uhn.fhir.model.dstu2.composite.ContactPointDt;
import ca.uhn.fhir.model.dstu2.valueset.ContentTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.Contract;
import ca.uhn.fhir.model.dstu2.resource.Coverage;
import ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum;
import ca.uhn.fhir.model.dstu2.valueset.DaysOfWeekEnum;
import ca.uhn.fhir.model.dstu2.valueset.DetectedIssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.resource.Device;
import ca.uhn.fhir.model.dstu2.resource.DeviceComponent;
import ca.uhn.fhir.model.dstu2.resource.DeviceMetric;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationStateEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricOperationalStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DigitalMediaTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu2.resource.DocumentReference;
import ca.uhn.fhir.model.dstu2.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt;
import ca.uhn.fhir.model.dstu2.resource.EligibilityRequest;
import ca.uhn.fhir.model.dstu2.resource.Encounter;
import ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterLocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest;
import ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare;
import ca.uhn.fhir.model.dstu2.valueset.EpisodeOfCareStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu2.valueset.FamilyHistoryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory;
import ca.uhn.fhir.model.dstu2.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu2.valueset.FlagStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Goal;
import ca.uhn.fhir.model.dstu2.valueset.GoalPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.GoalStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Group;
import ca.uhn.fhir.model.dstu2.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideDependencyTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuidePageKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum;
import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum;
import ca.uhn.fhir.model.dstu2.resource.HealthcareService;
import ca.uhn.fhir.model.dstu2.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu2.valueset.IdentifierTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.IdentityAssuranceLevelEnum;
import ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection;
import ca.uhn.fhir.model.dstu2.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu2.resource.Immunization;
import ca.uhn.fhir.model.dstu2.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.KOStitleEnum;
import ca.uhn.fhir.model.dstu2.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListOrderCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Location;
import ca.uhn.fhir.model.dstu2.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.MeasmntPrincipleEnum;
import ca.uhn.fhir.model.dstu2.resource.Media;
import ca.uhn.fhir.model.dstu2.resource.Medication;
import ca.uhn.fhir.model.dstu2.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationOrder;
import ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu2.valueset.MedicationStatementStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu2.resource.NamingSystem;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemIdentifierTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NoteTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.NutritionOrder;
import ca.uhn.fhir.model.dstu2.valueset.NutritionOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Observation;
import ca.uhn.fhir.model.dstu2.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationDefinition;
import ca.uhn.fhir.model.dstu2.valueset.OperationKindEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.valueset.OperationParameterUseEnum;
import ca.uhn.fhir.model.dstu2.resource.Order;
import ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Organization;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantRequiredEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Patient;
import ca.uhn.fhir.model.dstu2.valueset.PayeeTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.PeriodDt;
import ca.uhn.fhir.model.dstu2.resource.Person;
import ca.uhn.fhir.model.dstu2.resource.Practitioner;
import ca.uhn.fhir.model.dstu2.resource.Procedure;
import ca.uhn.fhir.model.dstu2.resource.ProcedureRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.ProcessRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
import ca.uhn.fhir.model.dstu2.resource.Questionnaire;
import ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireResponseStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.RangeDt;
import ca.uhn.fhir.model.dstu2.composite.RatioDt;
import ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum;
import ca.uhn.fhir.model.dstu2.resource.ReferralRequest;
import ca.uhn.fhir.model.dstu2.valueset.ReferralStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu2.valueset.RemittanceOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu2.resource.RiskAssessment;
import ca.uhn.fhir.model.dstu2.valueset.RulesetCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu2.resource.Schedule;
import ca.uhn.fhir.model.dstu2.valueset.SearchEntryModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchModifierCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ServiceProvisionConditionsEnum;
import ca.uhn.fhir.model.dstu2.composite.SignatureDt;
import ca.uhn.fhir.model.dstu2.resource.Slot;
import ca.uhn.fhir.model.dstu2.valueset.SlotStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Specimen;
import ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.StructureDefinition;
import ca.uhn.fhir.model.dstu2.valueset.StructureDefinitionKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Substance;
import ca.uhn.fhir.model.dstu2.valueset.SubstanceCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.SupplyDeliveryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.SupplyRequest;
import ca.uhn.fhir.model.dstu2.valueset.SupplyRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.SystemRestfulInteractionEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu2.composite.TimingDt;
import ca.uhn.fhir.model.dstu2.valueset.TransactionModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.TypeRestfulInteractionEnum;
import ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.UseEnum;
import ca.uhn.fhir.model.dstu2.resource.ValueSet;
import ca.uhn.fhir.model.dstu2.valueset.VisionBaseEnum;
import ca.uhn.fhir.model.dstu2.valueset.VisionEyesEnum;
import ca.uhn.fhir.model.dstu2.resource.VisionPrescription;
import ca.uhn.fhir.model.dstu2.valueset.XPathUsageTypeEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu2.composite.AgeDt;
import ca.uhn.fhir.model.dstu2.composite.BoundCodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.DurationDt;
import ca.uhn.fhir.model.dstu2.composite.MoneyDt;
import ca.uhn.fhir.model.dstu2.composite.NarrativeDt;
import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu2.composite.SimpleQuantityDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.PositiveIntDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.TimeDt;
import ca.uhn.fhir.model.primitive.UnsignedIntDt;
import ca.uhn.fhir.model.primitive.UriDt;


/**
 * HAPI/FHIR DataElement Resource
 * ()
 *
 * 

* Definition: * The formal description of a single piece of information that can be gathered and reported. *

* *

* Requirements: * *

* *

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

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

* Description: The identifier of the data element
* Type: token
* Path: DataElement.identifier
*

*/ @SearchParamDefinition(name="identifier", path="DataElement.identifier", description="The identifier of the data element", type="token" ) public static final String SP_IDENTIFIER = "identifier"; /** * Fluent Client search parameter constant for identifier *

* Description: The identifier of the data element
* Type: token
* Path: DataElement.identifier
*

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

* Description: The version identifier of the data element
* Type: string
* Path: DataElement.version
*

*/ @SearchParamDefinition(name="version", path="DataElement.version", description="The version identifier of the data element", type="string" ) public static final String SP_VERSION = "version"; /** * Fluent Client search parameter constant for version *

* Description: The version identifier of the data element
* Type: string
* Path: DataElement.version
*

*/ public static final StringClientParam VERSION = new StringClientParam(SP_VERSION); /** * Search parameter constant for name *

* Description: Name of the data element
* Type: string
* Path: DataElement.name
*

*/ @SearchParamDefinition(name="name", path="DataElement.name", description="Name of the data element", type="string" ) public static final String SP_NAME = "name"; /** * Fluent Client search parameter constant for name *

* Description: Name of the data element
* Type: string
* Path: DataElement.name
*

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

* Description: Name of the publisher of the data element
* Type: string
* Path: DataElement.publisher
*

*/ @SearchParamDefinition(name="publisher", path="DataElement.publisher", description="Name of the publisher of the data element", type="string" ) public static final String SP_PUBLISHER = "publisher"; /** * Fluent Client search parameter constant for publisher *

* Description: Name of the publisher of the data element
* Type: string
* Path: DataElement.publisher
*

*/ public static final StringClientParam PUBLISHER = new StringClientParam(SP_PUBLISHER); /** * Search parameter constant for description *

* Description: Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.
* Type: string
* Path: DataElement.element.definition
*

*/ @SearchParamDefinition(name="description", path="DataElement.element.definition", description="Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.", type="string" ) public static final String SP_DESCRIPTION = "description"; /** * Fluent Client search parameter constant for description *

* Description: Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.
* Type: string
* Path: DataElement.element.definition
*

*/ public static final StringClientParam DESCRIPTION = new StringClientParam(SP_DESCRIPTION); /** * Search parameter constant for status *

* Description: The current status of the data element
* Type: token
* Path: DataElement.status
*

*/ @SearchParamDefinition(name="status", path="DataElement.status", description="The current status of the data element", type="token" ) public static final String SP_STATUS = "status"; /** * Fluent Client search parameter constant for status *

* Description: The current status of the data element
* Type: token
* Path: DataElement.status
*

*/ public static final TokenClientParam STATUS = new TokenClientParam(SP_STATUS); /** * Search parameter constant for date *

* Description: The data element publication date
* Type: date
* Path: DataElement.date
*

*/ @SearchParamDefinition(name="date", path="DataElement.date", description="The data element publication date", type="date" ) public static final String SP_DATE = "date"; /** * Fluent Client search parameter constant for date *

* Description: The data element publication date
* Type: date
* Path: DataElement.date
*

*/ public static final DateClientParam DATE = new DateClientParam(SP_DATE); /** * Search parameter constant for code *

* Description: A code for the data element (server may choose to do subsumption)
* Type: token
* Path: DataElement.element.code
*

*/ @SearchParamDefinition(name="code", path="DataElement.element.code", description="A code for the data element (server may choose to do subsumption)", type="token" ) public static final String SP_CODE = "code"; /** * Fluent Client search parameter constant for code *

* Description: A code for the data element (server may choose to do subsumption)
* Type: token
* Path: DataElement.element.code
*

*/ public static final TokenClientParam CODE = new TokenClientParam(SP_CODE); /** * Search parameter constant for context *

* Description: A use context assigned to the data element
* Type: token
* Path: DataElement.useContext
*

*/ @SearchParamDefinition(name="context", path="DataElement.useContext", description="A use context assigned to the data element", type="token" ) public static final String SP_CONTEXT = "context"; /** * Fluent Client search parameter constant for context *

* Description: A use context assigned to the data element
* Type: token
* Path: DataElement.useContext
*

*/ public static final TokenClientParam CONTEXT = new TokenClientParam(SP_CONTEXT); /** * Search parameter constant for url *

* Description: The official URL for the data element
* Type: uri
* Path: DataElement.url
*

*/ @SearchParamDefinition(name="url", path="DataElement.url", description="The official URL for the data element", type="uri" ) public static final String SP_URL = "url"; /** * Fluent Client search parameter constant for url *

* Description: The official URL for the data element
* Type: uri
* Path: DataElement.url
*

*/ public static final UriClientParam URL = new UriClientParam(SP_URL); /** * Search parameter constant for stringency *

* Description: The stringency of the data element definition
* Type: token
* Path: DataElement.stringency
*

*/ @SearchParamDefinition(name="stringency", path="DataElement.stringency", description="The stringency of the data element definition", type="token" ) public static final String SP_STRINGENCY = "stringency"; /** * Fluent Client search parameter constant for stringency *

* Description: The stringency of the data element definition
* Type: token
* Path: DataElement.stringency
*

*/ public static final TokenClientParam STRINGENCY = new TokenClientParam(SP_STRINGENCY); @Child(name="url", type=UriDt.class, order=0, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="An absolute URL that is used to identify this data element 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 data element is (or will be) published" ) private UriDt myUrl; @Child(name="identifier", type=IdentifierDt.class, order=1, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance." ) private java.util.List myIdentifier; @Child(name="version", type=StringDt.class, order=2, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually." ) private StringDt myVersion; @Child(name="name", type=StringDt.class, order=3, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used." ) private StringDt myName; @Child(name="status", type=CodeDt.class, order=4, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The status of the data element" ) @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=5, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="A flag to indicate that this search data element 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=6, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The name of the individual or organization that published the data element" ) private StringDt myPublisher; @Child(name="contact", order=7, 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=8, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The date this version of the data element 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 data element changes" ) private DateTimeDt myDate; @Child(name="useContext", type=CodeableConceptDt.class, order=9, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions." ) private java.util.List myUseContext; @Child(name="copyright", type=StringDt.class, order=10, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element" ) private StringDt myCopyright; @Child(name="stringency", type=CodeDt.class, order=11, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Identifies how precise the data element is in its definition" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/dataelement-stringency") private BoundCodeDt myStringency; @Child(name="mapping", order=12, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with" ) private java.util.List myMapping; @Child(name="element", type=ElementDefinitionDt.class, order=13, min=1, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Defines the structure, type, allowed values and other constraining characteristics of the data element" ) private java.util.List myElement; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myUrl, myIdentifier, myVersion, myName, myStatus, myExperimental, myPublisher, myContact, myDate, myUseContext, myCopyright, myStringency, myMapping, myElement); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUrl, myIdentifier, myVersion, myName, myStatus, myExperimental, myPublisher, myContact, myDate, myUseContext, myCopyright, myStringency, myMapping, myElement); } /** * Gets the value(s) for url (). * creating it if it does * not exist. Will not return null. * *

* Definition: * An absolute URL that is used to identify this data element 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 data element is (or will be) published *

*/ public UriDt getUrlElement() { if (myUrl == null) { myUrl = new UriDt(); } return myUrl; } /** * Gets the value(s) for url (). * creating it if it does * not exist. This method may return null. * *

* Definition: * An absolute URL that is used to identify this data element 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 data element is (or will be) published *

*/ public String getUrl() { return getUrlElement().getValue(); } /** * Sets the value(s) for url () * *

* Definition: * An absolute URL that is used to identify this data element 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 data element is (or will be) published *

*/ public DataElement setUrl(UriDt theValue) { myUrl = theValue; return this; } /** * Sets the value for url () * *

* Definition: * An absolute URL that is used to identify this data element 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 data element is (or will be) published *

*/ public DataElement setUrl( String theUri) { myUrl = new UriDt(theUri); return this; } /** * Gets the value(s) for identifier (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance. *

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

* Definition: * Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance. *

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

* Definition: * Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance. *

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

* Definition: * Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance. *

* @param theValue The identifier to add (must not be null) */ public DataElement addIdentifier(IdentifierDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getIdentifier().add(theValue); return this; } /** * Gets the first repetition for identifier (), * creating it if it does not already exist. * *

* Definition: * Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance. *

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

* Definition: * The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. *

*/ public StringDt getVersionElement() { if (myVersion == null) { myVersion = new StringDt(); } return myVersion; } /** * Gets the value(s) for version (). * creating it if it does * not exist. This method may return null. * *

* Definition: * The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. *

*/ public String getVersion() { return getVersionElement().getValue(); } /** * Sets the value(s) for version () * *

* Definition: * The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. *

*/ public DataElement setVersion(StringDt theValue) { myVersion = theValue; return this; } /** * Sets the value for version () * *

* Definition: * The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. *

*/ public DataElement setVersion( String theString) { myVersion = new StringDt(theString); return this; } /** * Gets the value(s) for name (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. *

*/ 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 term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. *

*/ public String getName() { return getNameElement().getValue(); } /** * Sets the value(s) for name () * *

* Definition: * The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. *

*/ public DataElement setName(StringDt theValue) { myName = theValue; return this; } /** * Sets the value for name () * *

* Definition: * The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. *

*/ public DataElement setName( String theString) { myName = new StringDt(theString); return this; } /** * Gets the value(s) for status (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The status of the data element *

*/ public BoundCodeDt getStatusElement() { if (myStatus == null) { myStatus = new BoundCodeDt(ConformanceResourceStatusEnum.VALUESET_BINDER); } return myStatus; } /** * Gets the value(s) for status (). * creating it if it does * not exist. This method may return null. * *

* Definition: * The status of the data element *

*/ public String getStatus() { return getStatusElement().getValue(); } /** * Sets the value(s) for status () * *

* Definition: * The status of the data element *

*/ public DataElement setStatus(BoundCodeDt theValue) { myStatus = theValue; return this; } /** * Sets the value(s) for status () * *

* Definition: * The status of the data element *

*/ public DataElement setStatus(ConformanceResourceStatusEnum theValue) { setStatus(new BoundCodeDt(ConformanceResourceStatusEnum.VALUESET_BINDER, theValue)); /* getStatusElement().setValueAsEnum(theValue); */ return this; } /** * Gets the value(s) for experimental (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag to indicate that this search data element 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 (). * creating it if it does * not exist. This method may return null. * *

* Definition: * A flag to indicate that this search data element 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 () * *

* Definition: * A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public DataElement setExperimental(BooleanDt theValue) { myExperimental = theValue; return this; } /** * Sets the value for experimental () * *

* Definition: * A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public DataElement setExperimental( boolean theBoolean) { myExperimental = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for publisher (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The name of the individual or organization that published the data element *

*/ public StringDt getPublisherElement() { if (myPublisher == null) { myPublisher = new StringDt(); } return myPublisher; } /** * Gets the value(s) for publisher (). * creating it if it does * not exist. This method may return null. * *

* Definition: * The name of the individual or organization that published the data element *

*/ public String getPublisher() { return getPublisherElement().getValue(); } /** * Sets the value(s) for publisher () * *

* Definition: * The name of the individual or organization that published the data element *

*/ public DataElement setPublisher(StringDt theValue) { myPublisher = theValue; return this; } /** * Sets the value for publisher () * *

* Definition: * The name of the individual or organization that published the data element *

*/ public DataElement 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 DataElement 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 DataElement 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 (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The date this version of the data element 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 data element changes *

*/ public DateTimeDt getDateElement() { if (myDate == null) { myDate = new DateTimeDt(); } return myDate; } /** * Gets the value(s) for date (). * creating it if it does * not exist. This method may return null. * *

* Definition: * The date this version of the data element 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 data element changes *

*/ public Date getDate() { return getDateElement().getValue(); } /** * Sets the value(s) for date () * *

* Definition: * The date this version of the data element 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 data element changes *

*/ public DataElement setDate(DateTimeDt theValue) { myDate = theValue; return this; } /** * Sets the value for date () * *

* Definition: * The date this version of the data element 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 data element changes *

*/ public DataElement setDateWithSecondsPrecision( Date theDate) { myDate = new DateTimeDt(theDate); return this; } /** * Sets the value for date () * *

* Definition: * The date this version of the data element 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 data element changes *

*/ public DataElement setDate( Date theDate, TemporalPrecisionEnum thePrecision) { myDate = new DateTimeDt(theDate, thePrecision); return this; } /** * Gets the value(s) for useContext (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions. *

*/ public java.util.List getUseContext() { if (myUseContext == null) { myUseContext = new java.util.ArrayList(); } return myUseContext; } /** * Sets the value(s) for useContext () * *

* Definition: * The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions. *

*/ public DataElement setUseContext(java.util.List theValue) { myUseContext = theValue; return this; } /** * Adds and returns a new value for useContext () * *

* Definition: * The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions. *

*/ public CodeableConceptDt addUseContext() { CodeableConceptDt newType = new CodeableConceptDt(); getUseContext().add(newType); return newType; } /** * Adds a given new value for useContext () * *

* Definition: * The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions. *

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

* Definition: * The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions. *

*/ public CodeableConceptDt getUseContextFirstRep() { if (getUseContext().isEmpty()) { return addUseContext(); } return getUseContext().get(0); } /** * Gets the value(s) for copyright (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element *

*/ public StringDt getCopyrightElement() { if (myCopyright == null) { myCopyright = new StringDt(); } return myCopyright; } /** * Gets the value(s) for copyright (). * creating it if it does * not exist. This method may return null. * *

* Definition: * A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element *

*/ public String getCopyright() { return getCopyrightElement().getValue(); } /** * Sets the value(s) for copyright () * *

* Definition: * A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element *

*/ public DataElement setCopyright(StringDt theValue) { myCopyright = theValue; return this; } /** * Sets the value for copyright () * *

* Definition: * A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element *

*/ public DataElement setCopyright( String theString) { myCopyright = new StringDt(theString); return this; } /** * Gets the value(s) for stringency (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies how precise the data element is in its definition *

*/ public BoundCodeDt getStringencyElement() { if (myStringency == null) { myStringency = new BoundCodeDt(DataElementStringencyEnum.VALUESET_BINDER); } return myStringency; } /** * Gets the value(s) for stringency (). * creating it if it does * not exist. This method may return null. * *

* Definition: * Identifies how precise the data element is in its definition *

*/ public String getStringency() { return getStringencyElement().getValue(); } /** * Sets the value(s) for stringency () * *

* Definition: * Identifies how precise the data element is in its definition *

*/ public DataElement setStringency(BoundCodeDt theValue) { myStringency = theValue; return this; } /** * Sets the value(s) for stringency () * *

* Definition: * Identifies how precise the data element is in its definition *

*/ public DataElement setStringency(DataElementStringencyEnum theValue) { setStringency(new BoundCodeDt(DataElementStringencyEnum.VALUESET_BINDER, theValue)); /* getStringencyElement().setValueAsEnum(theValue); */ return this; } /** * Gets the value(s) for mapping (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with *

*/ public java.util.List getMapping() { if (myMapping == null) { myMapping = new java.util.ArrayList(); } return myMapping; } /** * Sets the value(s) for mapping () * *

* Definition: * Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with *

*/ public DataElement setMapping(java.util.List theValue) { myMapping = theValue; return this; } /** * Adds and returns a new value for mapping () * *

* Definition: * Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with *

*/ public Mapping addMapping() { Mapping newType = new Mapping(); getMapping().add(newType); return newType; } /** * Adds a given new value for mapping () * *

* Definition: * Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with *

* @param theValue The mapping to add (must not be null) */ public DataElement addMapping(Mapping theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getMapping().add(theValue); return this; } /** * Gets the first repetition for mapping (), * creating it if it does not already exist. * *

* Definition: * Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with *

*/ public Mapping getMappingFirstRep() { if (getMapping().isEmpty()) { return addMapping(); } return getMapping().get(0); } /** * Gets the value(s) for element (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Defines the structure, type, allowed values and other constraining characteristics of the data element *

*/ public java.util.List getElement() { if (myElement == null) { myElement = new java.util.ArrayList(); } return myElement; } /** * Sets the value(s) for element () * *

* Definition: * Defines the structure, type, allowed values and other constraining characteristics of the data element *

*/ public DataElement setElement(java.util.List theValue) { myElement = theValue; return this; } /** * Adds and returns a new value for element () * *

* Definition: * Defines the structure, type, allowed values and other constraining characteristics of the data element *

*/ public ElementDefinitionDt addElement() { ElementDefinitionDt newType = new ElementDefinitionDt(); getElement().add(newType); return newType; } /** * Adds a given new value for element () * *

* Definition: * Defines the structure, type, allowed values and other constraining characteristics of the data element *

* @param theValue The element to add (must not be null) */ public DataElement addElement(ElementDefinitionDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getElement().add(theValue); return this; } /** * Gets the first repetition for element (), * creating it if it does not already exist. * *

* Definition: * Defines the structure, type, allowed values and other constraining characteristics of the data element *

*/ public ElementDefinitionDt getElementFirstRep() { if (getElement().isEmpty()) { return addElement(); } return getElement().get(0); } /** * Block class for child element: DataElement.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 data element" ) 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 data element *

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

*/ public String getName() { return getNameElement().getValue(); } /** * Sets the value(s) for name () * *

* Definition: * The name of an individual to contact regarding the data element *

*/ public Contact setName(StringDt theValue) { myName = theValue; return this; } /** * Sets the value for name () * *

* Definition: * The name of an individual to contact regarding the data element *

*/ 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); } } /** * Block class for child element: DataElement.mapping () * *

* Definition: * Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with *

*/ @Block() public static class Mapping extends BaseIdentifiableElement implements IResourceBlock { @Child(name="identity", type=IdDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="An internal id that is used to identify this mapping set when specific mappings are made on a per-element basis" ) private IdDt myIdentity; @Child(name="uri", type=UriDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="An absolute URI that identifies the specification that this mapping is expressed to" ) private UriDt myUri; @Child(name="name", type=StringDt.class, order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="A name for the specification that is being mapped to" ) private StringDt myName; @Child(name="comments", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage" ) private StringDt myComments; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentity, myUri, myName, myComments); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentity, myUri, myName, myComments); } /** * Gets the value(s) for identity (). * creating it if it does * not exist. Will not return null. * *

* Definition: * An internal id that is used to identify this mapping set when specific mappings are made on a per-element basis *

*/ public IdDt getIdentityElement() { if (myIdentity == null) { myIdentity = new IdDt(); } return myIdentity; } /** * Gets the value(s) for identity (). * creating it if it does * not exist. This method may return null. * *

* Definition: * An internal id that is used to identify this mapping set when specific mappings are made on a per-element basis *

*/ public String getIdentity() { return getIdentityElement().getValue(); } /** * Sets the value(s) for identity () * *

* Definition: * An internal id that is used to identify this mapping set when specific mappings are made on a per-element basis *

*/ public Mapping setIdentity(IdDt theValue) { myIdentity = theValue; return this; } /** * Sets the value for identity () * *

* Definition: * An internal id that is used to identify this mapping set when specific mappings are made on a per-element basis *

*/ public Mapping setIdentity( String theId) { myIdentity = new IdDt(theId); return this; } /** * Gets the value(s) for uri (). * creating it if it does * not exist. Will not return null. * *

* Definition: * An absolute URI that identifies the specification that this mapping is expressed to *

*/ public UriDt getUriElement() { if (myUri == null) { myUri = new UriDt(); } return myUri; } /** * Gets the value(s) for uri (). * creating it if it does * not exist. This method may return null. * *

* Definition: * An absolute URI that identifies the specification that this mapping is expressed to *

*/ public String getUri() { return getUriElement().getValue(); } /** * Sets the value(s) for uri () * *

* Definition: * An absolute URI that identifies the specification that this mapping is expressed to *

*/ public Mapping setUri(UriDt theValue) { myUri = theValue; return this; } /** * Sets the value for uri () * *

* Definition: * An absolute URI that identifies the specification that this mapping is expressed to *

*/ public Mapping setUri( String theUri) { myUri = new UriDt(theUri); return this; } /** * Gets the value(s) for name (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A name for the specification that is being mapped to *

*/ 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 name for the specification that is being mapped to *

*/ public String getName() { return getNameElement().getValue(); } /** * Sets the value(s) for name () * *

* Definition: * A name for the specification that is being mapped to *

*/ public Mapping setName(StringDt theValue) { myName = theValue; return this; } /** * Sets the value for name () * *

* Definition: * A name for the specification that is being mapped to *

*/ public Mapping setName( String theString) { myName = new StringDt(theString); return this; } /** * Gets the value(s) for comments (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage *

*/ public StringDt getCommentsElement() { if (myComments == null) { myComments = new StringDt(); } return myComments; } /** * Gets the value(s) for comments (). * creating it if it does * not exist. This method may return null. * *

* Definition: * Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage *

*/ public String getComments() { return getCommentsElement().getValue(); } /** * Sets the value(s) for comments () * *

* Definition: * Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage *

*/ public Mapping setComments(StringDt theValue) { myComments = theValue; return this; } /** * Sets the value for comments () * *

* Definition: * Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage *

*/ public Mapping setComments( String theString) { myComments = new StringDt(theString); return this; } } @Override public String getResourceName() { return "DataElement"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy