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

ca.uhn.fhir.model.dstu2.resource.Group 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 Group Resource
 * (administrative.group)
 *
 * 

* Definition: * Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized; i.e. a collection of entities that isn't an Organization. *

* *

* Requirements: * *

* *

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

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

* Description: The type of resources the group contains
* Type: token
* Path: Group.type
*

*/ @SearchParamDefinition(name="type", path="Group.type", description="The type of resources the group contains", type="token" ) public static final String SP_TYPE = "type"; /** * Fluent Client search parameter constant for type *

* Description: The type of resources the group contains
* Type: token
* Path: Group.type
*

*/ public static final TokenClientParam TYPE = new TokenClientParam(SP_TYPE); /** * Search parameter constant for code *

* Description: The kind of resources contained
* Type: token
* Path: Group.code
*

*/ @SearchParamDefinition(name="code", path="Group.code", description="The kind of resources contained", type="token" ) public static final String SP_CODE = "code"; /** * Fluent Client search parameter constant for code *

* Description: The kind of resources contained
* Type: token
* Path: Group.code
*

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

* Description:
* Type: token
* Path: Group.actual
*

*/ @SearchParamDefinition(name="actual", path="Group.actual", description="", type="token" ) public static final String SP_ACTUAL = "actual"; /** * Fluent Client search parameter constant for actual *

* Description:
* Type: token
* Path: Group.actual
*

*/ public static final TokenClientParam ACTUAL = new TokenClientParam(SP_ACTUAL); /** * Search parameter constant for identifier *

* Description:
* Type: token
* Path: Group.identifier
*

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

* Description:
* Type: token
* Path: Group.identifier
*

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

* Description:
* Type: reference
* Path: Group.member.entity
*

*/ @SearchParamDefinition(name="member", path="Group.member.entity", description="", type="reference" , providesMembershipIn={ @Compartment(name="Patient") , @Compartment(name="Encounter") , @Compartment(name="RelatedPerson") } ) public static final String SP_MEMBER = "member"; /** * Fluent Client search parameter constant for member *

* Description:
* Type: reference
* Path: Group.member.entity
*

*/ public static final ReferenceClientParam MEMBER = new ReferenceClientParam(SP_MEMBER); /** * Search parameter constant for characteristic *

* Description:
* Type: token
* Path: Group.characteristic.code
*

*/ @SearchParamDefinition(name="characteristic", path="Group.characteristic.code", description="", type="token" ) public static final String SP_CHARACTERISTIC = "characteristic"; /** * Fluent Client search parameter constant for characteristic *

* Description:
* Type: token
* Path: Group.characteristic.code
*

*/ public static final TokenClientParam CHARACTERISTIC = new TokenClientParam(SP_CHARACTERISTIC); /** * Search parameter constant for value *

* Description:
* Type: token
* Path: Group.characteristic.value[x]
*

*/ @SearchParamDefinition(name="value", path="Group.characteristic.value[x]", description="", type="token" ) public static final String SP_VALUE = "value"; /** * Fluent Client search parameter constant for value *

* Description:
* Type: token
* Path: Group.characteristic.value[x]
*

*/ public static final TokenClientParam VALUE = new TokenClientParam(SP_VALUE); /** * Search parameter constant for exclude *

* Description:
* Type: token
* Path: Group.characteristic.exclude
*

*/ @SearchParamDefinition(name="exclude", path="Group.characteristic.exclude", description="", type="token" ) public static final String SP_EXCLUDE = "exclude"; /** * Fluent Client search parameter constant for exclude *

* Description:
* Type: token
* Path: Group.characteristic.exclude
*

*/ public static final TokenClientParam EXCLUDE = new TokenClientParam(SP_EXCLUDE); /** * Search parameter constant for characteristic-value *

* Description: A composite of both characteristic and value
* Type: composite
* Path: characteristic & value
*

*/ @SearchParamDefinition(name="characteristic-value", path="characteristic & value", description="A composite of both characteristic and value", type="composite" , compositeOf={ "characteristic", "value" } ) public static final String SP_CHARACTERISTIC_VALUE = "characteristic-value"; /** * Fluent Client search parameter constant for characteristic-value *

* Description: A composite of both characteristic and value
* Type: composite
* Path: characteristic & value
*

*/ public static final CompositeClientParam CHARACTERISTIC_VALUE = new CompositeClientParam(SP_CHARACTERISTIC_VALUE); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Group:member". */ public static final Include INCLUDE_MEMBER = new Include("Group:member"); @Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="id", formalDefinition="A unique business identifier for this group" ) private java.util.List myIdentifier; @Child(name="type", type=CodeDt.class, order=1, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="class", formalDefinition="Identifies the broad classification of the kind of resources the group includes" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/group-type") private BoundCodeDt myType; @Child(name="actual", type=BooleanDt.class, order=2, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals" ) private BooleanDt myActual; @Child(name="code", type=CodeableConceptDt.class, order=3, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Provides a specific type of resource the group includes; e.g. \"cow\", \"syringe\", etc." ) private CodeableConceptDt myCode; @Child(name="name", type=StringDt.class, order=4, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="A label assigned to the group for human identification and communication" ) private StringDt myName; @Child(name="quantity", type=UnsignedIntDt.class, order=5, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="A count of the number of resource instances that are part of the group" ) private UnsignedIntDt myQuantity; @Child(name="characteristic", order=6, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Identifies the traits shared by members of the group" ) private java.util.List myCharacteristic; @Child(name="member", order=7, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Identifies the resource instances that are members of the group." ) private java.util.List myMember; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myType, myActual, myCode, myName, myQuantity, myCharacteristic, myMember); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myType, myActual, myCode, myName, myQuantity, myCharacteristic, myMember); } /** * Gets the value(s) for identifier (id). * creating it if it does * not exist. Will not return null. * *

* Definition: * A unique business identifier for this group *

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

* Definition: * A unique business identifier for this group *

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

* Definition: * A unique business identifier for this group *

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

* Definition: * A unique business identifier for this group *

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

* Definition: * A unique business identifier for this group *

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

* Definition: * Identifies the broad classification of the kind of resources the group includes *

*/ public BoundCodeDt getTypeElement() { if (myType == null) { myType = new BoundCodeDt(GroupTypeEnum.VALUESET_BINDER); } return myType; } /** * Gets the value(s) for type (class). * creating it if it does * not exist. This method may return null. * *

* Definition: * Identifies the broad classification of the kind of resources the group includes *

*/ public String getType() { return getTypeElement().getValue(); } /** * Sets the value(s) for type (class) * *

* Definition: * Identifies the broad classification of the kind of resources the group includes *

*/ public Group setType(BoundCodeDt theValue) { myType = theValue; return this; } /** * Sets the value(s) for type (class) * *

* Definition: * Identifies the broad classification of the kind of resources the group includes *

*/ public Group setType(GroupTypeEnum theValue) { setType(new BoundCodeDt(GroupTypeEnum.VALUESET_BINDER, theValue)); /* getTypeElement().setValueAsEnum(theValue); */ return this; } /** * Gets the value(s) for actual (). * creating it if it does * not exist. Will not return null. * *

* Definition: * If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals *

*/ public BooleanDt getActualElement() { if (myActual == null) { myActual = new BooleanDt(); } return myActual; } /** * Gets the value(s) for actual (). * creating it if it does * not exist. This method may return null. * *

* Definition: * If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals *

*/ public Boolean getActual() { return getActualElement().getValue(); } /** * Sets the value(s) for actual () * *

* Definition: * If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals *

*/ public Group setActual(BooleanDt theValue) { myActual = theValue; return this; } /** * Sets the value for actual () * *

* Definition: * If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals *

*/ public Group setActual( boolean theBoolean) { myActual = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for code (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Provides a specific type of resource the group includes; e.g. \"cow\", \"syringe\", etc. *

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

* Definition: * Provides a specific type of resource the group includes; e.g. \"cow\", \"syringe\", etc. *

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

* Definition: * A label assigned to the group for human identification and communication *

*/ 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 label assigned to the group for human identification and communication *

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

* Definition: * A label assigned to the group for human identification and communication *

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

* Definition: * A label assigned to the group for human identification and communication *

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

* Definition: * A count of the number of resource instances that are part of the group *

*/ public UnsignedIntDt getQuantityElement() { if (myQuantity == null) { myQuantity = new UnsignedIntDt(); } return myQuantity; } /** * Gets the value(s) for quantity (). * creating it if it does * not exist. This method may return null. * *

* Definition: * A count of the number of resource instances that are part of the group *

*/ public Integer getQuantity() { return getQuantityElement().getValue(); } /** * Sets the value(s) for quantity () * *

* Definition: * A count of the number of resource instances that are part of the group *

*/ public Group setQuantity(UnsignedIntDt theValue) { myQuantity = theValue; return this; } /** * Sets the value for quantity () * *

* Definition: * A count of the number of resource instances that are part of the group *

*/ public Group setQuantity( int theInteger) { myQuantity = new UnsignedIntDt(theInteger); return this; } /** * Gets the value(s) for characteristic (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies the traits shared by members of the group *

*/ public java.util.List getCharacteristic() { if (myCharacteristic == null) { myCharacteristic = new java.util.ArrayList(); } return myCharacteristic; } /** * Sets the value(s) for characteristic () * *

* Definition: * Identifies the traits shared by members of the group *

*/ public Group setCharacteristic(java.util.List theValue) { myCharacteristic = theValue; return this; } /** * Adds and returns a new value for characteristic () * *

* Definition: * Identifies the traits shared by members of the group *

*/ public Characteristic addCharacteristic() { Characteristic newType = new Characteristic(); getCharacteristic().add(newType); return newType; } /** * Adds a given new value for characteristic () * *

* Definition: * Identifies the traits shared by members of the group *

* @param theValue The characteristic to add (must not be null) */ public Group addCharacteristic(Characteristic theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getCharacteristic().add(theValue); return this; } /** * Gets the first repetition for characteristic (), * creating it if it does not already exist. * *

* Definition: * Identifies the traits shared by members of the group *

*/ public Characteristic getCharacteristicFirstRep() { if (getCharacteristic().isEmpty()) { return addCharacteristic(); } return getCharacteristic().get(0); } /** * Gets the value(s) for member (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies the resource instances that are members of the group. *

*/ public java.util.List getMember() { if (myMember == null) { myMember = new java.util.ArrayList(); } return myMember; } /** * Sets the value(s) for member () * *

* Definition: * Identifies the resource instances that are members of the group. *

*/ public Group setMember(java.util.List theValue) { myMember = theValue; return this; } /** * Adds and returns a new value for member () * *

* Definition: * Identifies the resource instances that are members of the group. *

*/ public Member addMember() { Member newType = new Member(); getMember().add(newType); return newType; } /** * Adds a given new value for member () * *

* Definition: * Identifies the resource instances that are members of the group. *

* @param theValue The member to add (must not be null) */ public Group addMember(Member theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getMember().add(theValue); return this; } /** * Gets the first repetition for member (), * creating it if it does not already exist. * *

* Definition: * Identifies the resource instances that are members of the group. *

*/ public Member getMemberFirstRep() { if (getMember().isEmpty()) { return addMember(); } return getMember().get(0); } /** * Block class for child element: Group.characteristic () * *

* Definition: * Identifies the traits shared by members of the group *

*/ @Block() public static class Characteristic extends BaseIdentifiableElement implements IResourceBlock { @Child(name="code", type=CodeableConceptDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="A code that identifies the kind of trait being asserted" ) private CodeableConceptDt myCode; @Child(name="value", order=1, min=1, max=1, summary=false, modifier=false, type={ CodeableConceptDt.class, BooleanDt.class, QuantityDt.class, RangeDt.class }) @Description( shortDefinition="", formalDefinition="The value of the trait that holds (or does not hold - see 'exclude') for members of the group" ) private IDatatype myValue; @Child(name="exclude", type=BooleanDt.class, order=2, min=1, max=1, summary=false, modifier=true) @Description( shortDefinition="", formalDefinition="If true, indicates the characteristic is one that is NOT held by members of the group" ) private BooleanDt myExclude; @Child(name="period", type=PeriodDt.class, order=3, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The period over which the characteristic is tested; e.g. the patient had an operation during the month of June" ) private PeriodDt myPeriod; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myValue, myExclude, myPeriod); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myValue, myExclude, myPeriod); } /** * Gets the value(s) for code (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A code that identifies the kind of trait being asserted *

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

* Definition: * A code that identifies the kind of trait being asserted *

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

* Definition: * The value of the trait that holds (or does not hold - see 'exclude') for members of the group *

*/ public IDatatype getValue() { return myValue; } /** * Sets the value(s) for value[x] () * *

* Definition: * The value of the trait that holds (or does not hold - see 'exclude') for members of the group *

*/ public Characteristic setValue(IDatatype theValue) { myValue = theValue; return this; } /** * Gets the value(s) for exclude (). * creating it if it does * not exist. Will not return null. * *

* Definition: * If true, indicates the characteristic is one that is NOT held by members of the group *

*/ public BooleanDt getExcludeElement() { if (myExclude == null) { myExclude = new BooleanDt(); } return myExclude; } /** * Gets the value(s) for exclude (). * creating it if it does * not exist. This method may return null. * *

* Definition: * If true, indicates the characteristic is one that is NOT held by members of the group *

*/ public Boolean getExclude() { return getExcludeElement().getValue(); } /** * Sets the value(s) for exclude () * *

* Definition: * If true, indicates the characteristic is one that is NOT held by members of the group *

*/ public Characteristic setExclude(BooleanDt theValue) { myExclude = theValue; return this; } /** * Sets the value for exclude () * *

* Definition: * If true, indicates the characteristic is one that is NOT held by members of the group *

*/ public Characteristic setExclude( boolean theBoolean) { myExclude = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for period (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The period over which the characteristic is tested; e.g. the patient had an operation during the month of June *

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

* Definition: * The period over which the characteristic is tested; e.g. the patient had an operation during the month of June *

*/ public Characteristic setPeriod(PeriodDt theValue) { myPeriod = theValue; return this; } } /** * Block class for child element: Group.member () * *

* Definition: * Identifies the resource instances that are members of the group. *

*/ @Block() public static class Member extends BaseIdentifiableElement implements IResourceBlock { @Child(name="entity", order=0, min=1, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Patient.class, ca.uhn.fhir.model.dstu2.resource.Practitioner.class, ca.uhn.fhir.model.dstu2.resource.Device.class, ca.uhn.fhir.model.dstu2.resource.Medication.class, ca.uhn.fhir.model.dstu2.resource.Substance.class }) @Description( shortDefinition="", formalDefinition="A reference to the entity that is a member of the group. Must be consistent with Group.type" ) private ResourceReferenceDt myEntity; @Child(name="period", type=PeriodDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The period that the member was in the group, if known" ) private PeriodDt myPeriod; @Child(name="inactive", type=BooleanDt.class, order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="A flag to indicate that the member is no longer in the group, but previously may have been a member" ) private BooleanDt myInactive; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myEntity, myPeriod, myInactive); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myEntity, myPeriod, myInactive); } /** * Gets the value(s) for entity (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A reference to the entity that is a member of the group. Must be consistent with Group.type *

*/ public ResourceReferenceDt getEntity() { if (myEntity == null) { myEntity = new ResourceReferenceDt(); } return myEntity; } /** * Sets the value(s) for entity () * *

* Definition: * A reference to the entity that is a member of the group. Must be consistent with Group.type *

*/ public Member setEntity(ResourceReferenceDt theValue) { myEntity = theValue; return this; } /** * Gets the value(s) for period (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The period that the member was in the group, if known *

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

* Definition: * The period that the member was in the group, if known *

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

* Definition: * A flag to indicate that the member is no longer in the group, but previously may have been a member *

*/ public BooleanDt getInactiveElement() { if (myInactive == null) { myInactive = new BooleanDt(); } return myInactive; } /** * Gets the value(s) for inactive (). * creating it if it does * not exist. This method may return null. * *

* Definition: * A flag to indicate that the member is no longer in the group, but previously may have been a member *

*/ public Boolean getInactive() { return getInactiveElement().getValue(); } /** * Sets the value(s) for inactive () * *

* Definition: * A flag to indicate that the member is no longer in the group, but previously may have been a member *

*/ public Member setInactive(BooleanDt theValue) { myInactive = theValue; return this; } /** * Sets the value for inactive () * *

* Definition: * A flag to indicate that the member is no longer in the group, but previously may have been a member *

*/ public Member setInactive( boolean theBoolean) { myInactive = new BooleanDt(theBoolean); return this; } } @Override public String getResourceName() { return "Group"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy