ca.uhn.fhir.model.dstu2.resource.NamingSystem 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 NamingSystem Resource
* (conformance.terminology)
*
*
* Definition:
* A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a \"System\" used within the Identifier and Coding data types.
*
*
*
* Requirements:
*
*
*
*
* Profile Definition:
* http://hl7.org/fhir/profiles/NamingSystem
*
*
*/
@ResourceDef(name="NamingSystem", profile="http://hl7.org/fhir/profiles/NamingSystem", id="namingsystem")
public class NamingSystem extends ca.uhn.fhir.model.dstu2.resource.BaseResource
implements IResource
{
/**
* Search parameter constant for type
*
* Description:
* Type: token
* Path: NamingSystem.type
*
*/
@SearchParamDefinition(name="type", path="NamingSystem.type", description="", type="token"
)
public static final String SP_TYPE = "type";
/**
* Fluent Client search parameter constant for type
*
* Description:
* Type: token
* Path: NamingSystem.type
*
*/
public static final TokenClientParam TYPE = new TokenClientParam(SP_TYPE);
/**
* Search parameter constant for name
*
* Description:
* Type: string
* Path: NamingSystem.name
*
*/
@SearchParamDefinition(name="name", path="NamingSystem.name", description="", type="string"
)
public static final String SP_NAME = "name";
/**
* Fluent Client search parameter constant for name
*
* Description:
* Type: string
* Path: NamingSystem.name
*
*/
public static final StringClientParam NAME = new StringClientParam(SP_NAME);
/**
* Search parameter constant for date
*
* Description:
* Type: date
* Path: NamingSystem.date
*
*/
@SearchParamDefinition(name="date", path="NamingSystem.date", description="", type="date"
)
public static final String SP_DATE = "date";
/**
* Fluent Client search parameter constant for date
*
* Description:
* Type: date
* Path: NamingSystem.date
*
*/
public static final DateClientParam DATE = new DateClientParam(SP_DATE);
/**
* Search parameter constant for status
*
* Description:
* Type: token
* Path: NamingSystem.status
*
*/
@SearchParamDefinition(name="status", path="NamingSystem.status", description="", type="token"
)
public static final String SP_STATUS = "status";
/**
* Fluent Client search parameter constant for status
*
* Description:
* Type: token
* Path: NamingSystem.status
*
*/
public static final TokenClientParam STATUS = new TokenClientParam(SP_STATUS);
/**
* Search parameter constant for kind
*
* Description:
* Type: token
* Path: NamingSystem.kind
*
*/
@SearchParamDefinition(name="kind", path="NamingSystem.kind", description="", type="token"
)
public static final String SP_KIND = "kind";
/**
* Fluent Client search parameter constant for kind
*
* Description:
* Type: token
* Path: NamingSystem.kind
*
*/
public static final TokenClientParam KIND = new TokenClientParam(SP_KIND);
/**
* Search parameter constant for responsible
*
* Description:
* Type: string
* Path: NamingSystem.responsible
*
*/
@SearchParamDefinition(name="responsible", path="NamingSystem.responsible", description="", type="string"
)
public static final String SP_RESPONSIBLE = "responsible";
/**
* Fluent Client search parameter constant for responsible
*
* Description:
* Type: string
* Path: NamingSystem.responsible
*
*/
public static final StringClientParam RESPONSIBLE = new StringClientParam(SP_RESPONSIBLE);
/**
* Search parameter constant for id-type
*
* Description:
* Type: token
* Path: NamingSystem.uniqueId.type
*
*/
@SearchParamDefinition(name="id-type", path="NamingSystem.uniqueId.type", description="", type="token"
)
public static final String SP_ID_TYPE = "id-type";
/**
* Fluent Client search parameter constant for id-type
*
* Description:
* Type: token
* Path: NamingSystem.uniqueId.type
*
*/
public static final TokenClientParam ID_TYPE = new TokenClientParam(SP_ID_TYPE);
/**
* Search parameter constant for value
*
* Description:
* Type: string
* Path: NamingSystem.uniqueId.value
*
*/
@SearchParamDefinition(name="value", path="NamingSystem.uniqueId.value", description="", type="string"
)
public static final String SP_VALUE = "value";
/**
* Fluent Client search parameter constant for value
*
* Description:
* Type: string
* Path: NamingSystem.uniqueId.value
*
*/
public static final StringClientParam VALUE = new StringClientParam(SP_VALUE);
/**
* Search parameter constant for period
*
* Description:
* Type: date
* Path: NamingSystem.uniqueId.period
*
*/
@SearchParamDefinition(name="period", path="NamingSystem.uniqueId.period", description="", type="date"
)
public static final String SP_PERIOD = "period";
/**
* Fluent Client search parameter constant for period
*
* Description:
* Type: date
* Path: NamingSystem.uniqueId.period
*
*/
public static final DateClientParam PERIOD = new DateClientParam(SP_PERIOD);
/**
* Search parameter constant for publisher
*
* Description:
* Type: string
* Path: NamingSystem.publisher
*
*/
@SearchParamDefinition(name="publisher", path="NamingSystem.publisher", description="", type="string"
)
public static final String SP_PUBLISHER = "publisher";
/**
* Fluent Client search parameter constant for publisher
*
* Description:
* Type: string
* Path: NamingSystem.publisher
*
*/
public static final StringClientParam PUBLISHER = new StringClientParam(SP_PUBLISHER);
/**
* Search parameter constant for contact
*
* Description:
* Type: string
* Path: NamingSystem.contact.name
*
*/
@SearchParamDefinition(name="contact", path="NamingSystem.contact.name", description="", type="string"
)
public static final String SP_CONTACT = "contact";
/**
* Fluent Client search parameter constant for contact
*
* Description:
* Type: string
* Path: NamingSystem.contact.name
*
*/
public static final StringClientParam CONTACT = new StringClientParam(SP_CONTACT);
/**
* Search parameter constant for telecom
*
* Description:
* Type: token
* Path: NamingSystem.contact.telecom
*
*/
@SearchParamDefinition(name="telecom", path="NamingSystem.contact.telecom", description="", type="token"
)
public static final String SP_TELECOM = "telecom";
/**
* Fluent Client search parameter constant for telecom
*
* Description:
* Type: token
* Path: NamingSystem.contact.telecom
*
*/
public static final TokenClientParam TELECOM = new TokenClientParam(SP_TELECOM);
/**
* Search parameter constant for replaced-by
*
* Description:
* Type: reference
* Path: NamingSystem.replacedBy
*
*/
@SearchParamDefinition(name="replaced-by", path="NamingSystem.replacedBy", description="", type="reference"
)
public static final String SP_REPLACED_BY = "replaced-by";
/**
* Fluent Client search parameter constant for replaced-by
*
* Description:
* Type: reference
* Path: NamingSystem.replacedBy
*
*/
public static final ReferenceClientParam REPLACED_BY = new ReferenceClientParam(SP_REPLACED_BY);
/**
* Search parameter constant for context
*
* Description:
* Type: token
* Path: NamingSystem.useContext
*
*/
@SearchParamDefinition(name="context", path="NamingSystem.useContext", description="", type="token"
)
public static final String SP_CONTEXT = "context";
/**
* Fluent Client search parameter constant for context
*
* Description:
* Type: token
* Path: NamingSystem.useContext
*
*/
public static final TokenClientParam CONTEXT = new TokenClientParam(SP_CONTEXT);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "NamingSystem:replaced-by".
*/
public static final Include INCLUDE_REPLACED_BY = new Include("NamingSystem:replaced-by");
@Child(name="name", type=StringDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The descriptive name of this particular identifier type or code system"
)
private StringDt myName;
@Child(name="status", type=CodeDt.class, order=1, min=1, max=1, summary=false, modifier=true)
@Description(
shortDefinition="status",
formalDefinition="Indicates whether the naming system is \"ready for use\" or not."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/conformance-resource-status")
private BoundCodeDt myStatus;
@Child(name="kind", type=CodeDt.class, order=2, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="class",
formalDefinition="Indicates the purpose for the naming system - what kinds of things does it make unique?"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/namingsystem-type")
private BoundCodeDt myKind;
@Child(name="publisher", type=StringDt.class, order=3, min=0, max=1, summary=true, modifier=false)
@Description(
shortDefinition="who.witness",
formalDefinition="The name of the individual or organization that published the naming system"
)
private StringDt myPublisher;
@Child(name="contact", order=4, 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="responsible", type=StringDt.class, order=5, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="who.witness",
formalDefinition="The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision."
)
private StringDt myResponsible;
@Child(name="date", type=DateTimeDt.class, order=6, min=1, max=1, summary=true, modifier=false)
@Description(
shortDefinition="when.recorded",
formalDefinition="The date (and optionally time) when the system was registered or 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 registration changes"
)
private DateTimeDt myDate;
@Child(name="type", type=CodeableConceptDt.class, order=7, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Categorizes a naming system for easier search by grouping related naming systems."
)
private BoundCodeableConceptDt myType;
@Child(name="description", type=StringDt.class, order=8, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Details about what the namespace identifies including scope, granularity, version labeling, etc."
)
private StringDt myDescription;
@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 naming systems"
)
private java.util.List myUseContext;
@Child(name="usage", type=StringDt.class, order=10, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc."
)
private StringDt myUsage;
@Child(name="uniqueId", order=11, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Indicates how the system may be identified when referenced in electronic exchange"
)
private java.util.List myUniqueId;
@Child(name="replacedBy", order=12, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.NamingSystem.class
})
@Description(
shortDefinition="",
formalDefinition="For naming systems that are retired, indicates the naming system that should be used in their place (if any)"
)
private ResourceReferenceDt myReplacedBy;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myStatus, myKind, myPublisher, myContact, myResponsible, myDate, myType, myDescription, myUseContext, myUsage, myUniqueId, myReplacedBy);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myStatus, myKind, myPublisher, myContact, myResponsible, myDate, myType, myDescription, myUseContext, myUsage, myUniqueId, myReplacedBy);
}
/**
* Gets the value(s) for name ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The descriptive name of this particular identifier type or code system
*
*/
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 descriptive name of this particular identifier type or code system
*
*/
public String getName() {
return getNameElement().getValue();
}
/**
* Sets the value(s) for name ()
*
*
* Definition:
* The descriptive name of this particular identifier type or code system
*
*/
public NamingSystem setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
* Sets the value for name ()
*
*
* Definition:
* The descriptive name of this particular identifier type or code system
*
*/
public NamingSystem 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:
* Indicates whether the naming system is \"ready for use\" or not.
*
*/
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:
* Indicates whether the naming system is \"ready for use\" or not.
*
*/
public String getStatus() {
return getStatusElement().getValue();
}
/**
* Sets the value(s) for status (status)
*
*
* Definition:
* Indicates whether the naming system is \"ready for use\" or not.
*
*/
public NamingSystem setStatus(BoundCodeDt theValue) {
myStatus = theValue;
return this;
}
/**
* Sets the value(s) for status (status)
*
*
* Definition:
* Indicates whether the naming system is \"ready for use\" or not.
*
*/
public NamingSystem setStatus(ConformanceResourceStatusEnum theValue) {
setStatus(new BoundCodeDt(ConformanceResourceStatusEnum.VALUESET_BINDER, theValue));
/*
getStatusElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for kind (class).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates the purpose for the naming system - what kinds of things does it make unique?
*
*/
public BoundCodeDt getKindElement() {
if (myKind == null) {
myKind = new BoundCodeDt(NamingSystemTypeEnum.VALUESET_BINDER);
}
return myKind;
}
/**
* Gets the value(s) for kind (class).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Indicates the purpose for the naming system - what kinds of things does it make unique?
*
*/
public String getKind() {
return getKindElement().getValue();
}
/**
* Sets the value(s) for kind (class)
*
*
* Definition:
* Indicates the purpose for the naming system - what kinds of things does it make unique?
*
*/
public NamingSystem setKind(BoundCodeDt theValue) {
myKind = theValue;
return this;
}
/**
* Sets the value(s) for kind (class)
*
*
* Definition:
* Indicates the purpose for the naming system - what kinds of things does it make unique?
*
*/
public NamingSystem setKind(NamingSystemTypeEnum theValue) {
setKind(new BoundCodeDt(NamingSystemTypeEnum.VALUESET_BINDER, theValue));
/*
getKindElement().setValueAsEnum(theValue);
*/
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 naming system
*
*/
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 naming system
*
*/
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 naming system
*
*/
public NamingSystem 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 naming system
*
*/
public NamingSystem 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 NamingSystem 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 NamingSystem 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 responsible (who.witness).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision.
*
*/
public StringDt getResponsibleElement() {
if (myResponsible == null) {
myResponsible = new StringDt();
}
return myResponsible;
}
/**
* Gets the value(s) for responsible (who.witness).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision.
*
*/
public String getResponsible() {
return getResponsibleElement().getValue();
}
/**
* Sets the value(s) for responsible (who.witness)
*
*
* Definition:
* The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision.
*
*/
public NamingSystem setResponsible(StringDt theValue) {
myResponsible = theValue;
return this;
}
/**
* Sets the value for responsible (who.witness)
*
*
* Definition:
* The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision.
*
*/
public NamingSystem setResponsible( String theString) {
myResponsible = new StringDt(theString);
return this;
}
/**
* 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 system was registered or 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 registration 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 system was registered or 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 registration changes
*
*/
public Date getDate() {
return getDateElement().getValue();
}
/**
* Sets the value(s) for date (when.recorded)
*
*
* Definition:
* The date (and optionally time) when the system was registered or 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 registration changes
*
*/
public NamingSystem setDate(DateTimeDt theValue) {
myDate = theValue;
return this;
}
/**
* Sets the value for date (when.recorded)
*
*
* Definition:
* The date (and optionally time) when the system was registered or 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 registration changes
*
*/
public NamingSystem setDateWithSecondsPrecision( Date theDate) {
myDate = new DateTimeDt(theDate);
return this;
}
/**
* Sets the value for date (when.recorded)
*
*
* Definition:
* The date (and optionally time) when the system was registered or 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 registration changes
*
*/
public NamingSystem setDate( Date theDate, TemporalPrecisionEnum thePrecision) {
myDate = new DateTimeDt(theDate, thePrecision);
return this;
}
/**
* Gets the value(s) for type ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Categorizes a naming system for easier search by grouping related naming systems.
*
*/
public BoundCodeableConceptDt getType() {
if (myType == null) {
myType = new BoundCodeableConceptDt(IdentifierTypeCodesEnum.VALUESET_BINDER);
}
return myType;
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* Categorizes a naming system for easier search by grouping related naming systems.
*
*/
public NamingSystem setType(BoundCodeableConceptDt theValue) {
myType = theValue;
return this;
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* Categorizes a naming system for easier search by grouping related naming systems.
*
*/
public NamingSystem setType(IdentifierTypeCodesEnum theValue) {
setType(new BoundCodeableConceptDt(IdentifierTypeCodesEnum.VALUESET_BINDER, theValue));
/*
getType().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for description ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Details about what the namespace identifies including scope, granularity, version labeling, etc.
*
*/
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:
* Details about what the namespace identifies including scope, granularity, version labeling, etc.
*
*/
public String getDescription() {
return getDescriptionElement().getValue();
}
/**
* Sets the value(s) for description ()
*
*
* Definition:
* Details about what the namespace identifies including scope, granularity, version labeling, etc.
*
*/
public NamingSystem setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
* Sets the value for description ()
*
*
* Definition:
* Details about what the namespace identifies including scope, granularity, version labeling, etc.
*
*/
public NamingSystem setDescription( String theString) {
myDescription = new StringDt(theString);
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 naming systems
*
*/
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 naming systems
*
*/
public NamingSystem 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 naming systems
*
*/
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 naming systems
*
* @param theValue The useContext to add (must not be null
)
*/
public NamingSystem 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 naming systems
*
*/
public CodeableConceptDt getUseContextFirstRep() {
if (getUseContext().isEmpty()) {
return addUseContext();
}
return getUseContext().get(0);
}
/**
* Gets the value(s) for usage ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc.
*
*/
public StringDt getUsageElement() {
if (myUsage == null) {
myUsage = new StringDt();
}
return myUsage;
}
/**
* Gets the value(s) for usage ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc.
*
*/
public String getUsage() {
return getUsageElement().getValue();
}
/**
* Sets the value(s) for usage ()
*
*
* Definition:
* Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc.
*
*/
public NamingSystem setUsage(StringDt theValue) {
myUsage = theValue;
return this;
}
/**
* Sets the value for usage ()
*
*
* Definition:
* Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc.
*
*/
public NamingSystem setUsage( String theString) {
myUsage = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for uniqueId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates how the system may be identified when referenced in electronic exchange
*
*/
public java.util.List getUniqueId() {
if (myUniqueId == null) {
myUniqueId = new java.util.ArrayList();
}
return myUniqueId;
}
/**
* Sets the value(s) for uniqueId ()
*
*
* Definition:
* Indicates how the system may be identified when referenced in electronic exchange
*
*/
public NamingSystem setUniqueId(java.util.List theValue) {
myUniqueId = theValue;
return this;
}
/**
* Adds and returns a new value for uniqueId ()
*
*
* Definition:
* Indicates how the system may be identified when referenced in electronic exchange
*
*/
public UniqueId addUniqueId() {
UniqueId newType = new UniqueId();
getUniqueId().add(newType);
return newType;
}
/**
* Adds a given new value for uniqueId ()
*
*
* Definition:
* Indicates how the system may be identified when referenced in electronic exchange
*
* @param theValue The uniqueId to add (must not be null
)
*/
public NamingSystem addUniqueId(UniqueId theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getUniqueId().add(theValue);
return this;
}
/**
* Gets the first repetition for uniqueId (),
* creating it if it does not already exist.
*
*
* Definition:
* Indicates how the system may be identified when referenced in electronic exchange
*
*/
public UniqueId getUniqueIdFirstRep() {
if (getUniqueId().isEmpty()) {
return addUniqueId();
}
return getUniqueId().get(0);
}
/**
* Gets the value(s) for replacedBy ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* For naming systems that are retired, indicates the naming system that should be used in their place (if any)
*
*/
public ResourceReferenceDt getReplacedBy() {
if (myReplacedBy == null) {
myReplacedBy = new ResourceReferenceDt();
}
return myReplacedBy;
}
/**
* Sets the value(s) for replacedBy ()
*
*
* Definition:
* For naming systems that are retired, indicates the naming system that should be used in their place (if any)
*
*/
public NamingSystem setReplacedBy(ResourceReferenceDt theValue) {
myReplacedBy = theValue;
return this;
}
/**
* Block class for child element: NamingSystem.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 naming system"
)
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 naming system
*
*/
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 naming system
*
*/
public String getName() {
return getNameElement().getValue();
}
/**
* Sets the value(s) for name ()
*
*
* Definition:
* The name of an individual to contact regarding the naming system
*
*/
public Contact setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
* Sets the value for name ()
*
*
* Definition:
* The name of an individual to contact regarding the naming system
*
*/
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: NamingSystem.uniqueId ()
*
*
* Definition:
* Indicates how the system may be identified when referenced in electronic exchange
*
*/
@Block()
public static class UniqueId
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="type", type=CodeDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Identifies the unique identifier scheme used for this particular identifier."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/namingsystem-identifier-type")
private BoundCodeDt myType;
@Child(name="value", type=StringDt.class, order=1, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="id",
formalDefinition="The string that should be sent over the wire to identify the code system or identifier system"
)
private StringDt myValue;
@Child(name="preferred", type=BooleanDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Indicates whether this identifier is the \"preferred\" identifier of this type."
)
private BooleanDt myPreferred;
@Child(name="period", type=PeriodDt.class, order=3, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Identifies the period of time over which this identifier is considered appropriate to refer to the naming system. Outside of this window, the identifier might be non-deterministic"
)
private PeriodDt myPeriod;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myValue, myPreferred, myPeriod);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myValue, myPreferred, myPeriod);
}
/**
* Gets the value(s) for type ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Identifies the unique identifier scheme used for this particular identifier.
*
*/
public BoundCodeDt getTypeElement() {
if (myType == null) {
myType = new BoundCodeDt(NamingSystemIdentifierTypeEnum.VALUESET_BINDER);
}
return myType;
}
/**
* Gets the value(s) for type ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Identifies the unique identifier scheme used for this particular identifier.
*
*/
public String getType() {
return getTypeElement().getValue();
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* Identifies the unique identifier scheme used for this particular identifier.
*
*/
public UniqueId setType(BoundCodeDt theValue) {
myType = theValue;
return this;
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* Identifies the unique identifier scheme used for this particular identifier.
*
*/
public UniqueId setType(NamingSystemIdentifierTypeEnum theValue) {
setType(new BoundCodeDt(NamingSystemIdentifierTypeEnum.VALUESET_BINDER, theValue));
/*
getTypeElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for value (id).
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The string that should be sent over the wire to identify the code system or identifier system
*
*/
public StringDt getValueElement() {
if (myValue == null) {
myValue = new StringDt();
}
return myValue;
}
/**
* Gets the value(s) for value (id).
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The string that should be sent over the wire to identify the code system or identifier system
*
*/
public String getValue() {
return getValueElement().getValue();
}
/**
* Sets the value(s) for value (id)
*
*
* Definition:
* The string that should be sent over the wire to identify the code system or identifier system
*
*/
public UniqueId setValue(StringDt theValue) {
myValue = theValue;
return this;
}
/**
* Sets the value for value (id)
*
*
* Definition:
* The string that should be sent over the wire to identify the code system or identifier system
*
*/
public UniqueId setValue( String theString) {
myValue = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for preferred ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Indicates whether this identifier is the \"preferred\" identifier of this type.
*
*/
public BooleanDt getPreferredElement() {
if (myPreferred == null) {
myPreferred = new BooleanDt();
}
return myPreferred;
}
/**
* Gets the value(s) for preferred ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Indicates whether this identifier is the \"preferred\" identifier of this type.
*
*/
public Boolean getPreferred() {
return getPreferredElement().getValue();
}
/**
* Sets the value(s) for preferred ()
*
*
* Definition:
* Indicates whether this identifier is the \"preferred\" identifier of this type.
*
*/
public UniqueId setPreferred(BooleanDt theValue) {
myPreferred = theValue;
return this;
}
/**
* Sets the value for preferred ()
*
*
* Definition:
* Indicates whether this identifier is the \"preferred\" identifier of this type.
*
*/
public UniqueId setPreferred( boolean theBoolean) {
myPreferred = new BooleanDt(theBoolean);
return this;
}
/**
* Gets the value(s) for period ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Identifies the period of time over which this identifier is considered appropriate to refer to the naming system. Outside of this window, the identifier might be non-deterministic
*
*/
public PeriodDt getPeriod() {
if (myPeriod == null) {
myPeriod = new PeriodDt();
}
return myPeriod;
}
/**
* Sets the value(s) for period ()
*
*
* Definition:
* Identifies the period of time over which this identifier is considered appropriate to refer to the naming system. Outside of this window, the identifier might be non-deterministic
*
*/
public UniqueId setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}
}
@Override
public String getResourceName() {
return "NamingSystem";
}
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
}
}