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

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

* Definition: * A record of a request for a medication, substance or device used in the healthcare setting. *

* *

* Requirements: * *

* *

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

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

* Description:
* Type: token
* Path: SupplyRequest.kind
*

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

* Description:
* Type: token
* Path: SupplyRequest.kind
*

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

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

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

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

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

* Description:
* Type: token
* Path: SupplyRequest.status
*

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

* Description:
* Type: token
* Path: SupplyRequest.status
*

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

* Description:
* Type: reference
* Path: SupplyRequest.patient
*

*/ @SearchParamDefinition(name="patient", path="SupplyRequest.patient", description="", type="reference" , providesMembershipIn={ @Compartment(name="Patient") } ) public static final String SP_PATIENT = "patient"; /** * Fluent Client search parameter constant for patient *

* Description:
* Type: reference
* Path: SupplyRequest.patient
*

*/ public static final ReferenceClientParam PATIENT = new ReferenceClientParam(SP_PATIENT); /** * Search parameter constant for source *

* Description:
* Type: reference
* Path: SupplyRequest.source
*

*/ @SearchParamDefinition(name="source", path="SupplyRequest.source", description="", type="reference" ) public static final String SP_SOURCE = "source"; /** * Fluent Client search parameter constant for source *

* Description:
* Type: reference
* Path: SupplyRequest.source
*

*/ public static final ReferenceClientParam SOURCE = new ReferenceClientParam(SP_SOURCE); /** * Search parameter constant for date *

* Description:
* Type: date
* Path: SupplyRequest.date
*

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

* Description:
* Type: date
* Path: SupplyRequest.date
*

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

* Description:
* Type: reference
* Path: SupplyRequest.supplier
*

*/ @SearchParamDefinition(name="supplier", path="SupplyRequest.supplier", description="", type="reference" ) public static final String SP_SUPPLIER = "supplier"; /** * Fluent Client search parameter constant for supplier *

* Description:
* Type: reference
* Path: SupplyRequest.supplier
*

*/ public static final ReferenceClientParam SUPPLIER = new ReferenceClientParam(SP_SUPPLIER); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "SupplyRequest:patient". */ public static final Include INCLUDE_PATIENT = new Include("SupplyRequest:patient"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "SupplyRequest:source". */ public static final Include INCLUDE_SOURCE = new Include("SupplyRequest:source"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "SupplyRequest:supplier". */ public static final Include INCLUDE_SUPPLIER = new Include("SupplyRequest:supplier"); @Child(name="patient", order=0, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Patient.class }) @Description( shortDefinition="", formalDefinition="A link to a resource representing the person whom the ordered item is for" ) private ResourceReferenceDt myPatient; @Child(name="source", order=1, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Practitioner.class, ca.uhn.fhir.model.dstu2.resource.Organization.class, ca.uhn.fhir.model.dstu2.resource.Patient.class }) @Description( shortDefinition="", formalDefinition="The Practitioner , Organization or Patient who initiated this order for the supply" ) private ResourceReferenceDt mySource; @Child(name="date", type=DateTimeDt.class, order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="When the request was made" ) private DateTimeDt myDate; @Child(name="identifier", type=IdentifierDt.class, order=3, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Unique identifier for this supply request" ) private IdentifierDt myIdentifier; @Child(name="status", type=CodeDt.class, order=4, min=0, max=1, summary=false, modifier=true) @Description( shortDefinition="", formalDefinition="Status of the supply request" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/supplyrequest-status") private BoundCodeDt myStatus; @Child(name="kind", type=CodeableConceptDt.class, order=5, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-supplyrequest-kind") private CodeableConceptDt myKind; @Child(name="orderedItem", order=6, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Medication.class, ca.uhn.fhir.model.dstu2.resource.Substance.class, ca.uhn.fhir.model.dstu2.resource.Device.class }) @Description( shortDefinition="", formalDefinition="The item that is requested to be supplied" ) private ResourceReferenceDt myOrderedItem; @Child(name="supplier", order=7, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Organization.class }) @Description( shortDefinition="", formalDefinition="Who is intended to fulfill the request" ) private java.util.List mySupplier; @Child(name="reason", order=8, min=0, max=1, summary=false, modifier=false, type={ CodeableConceptDt.class, IResource.class }) @Description( shortDefinition="", formalDefinition="Why the supply item was requested" ) private IDatatype myReason; @Child(name="when", order=9, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="When the request should be fulfilled" ) private When myWhen; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myPatient, mySource, myDate, myIdentifier, myStatus, myKind, myOrderedItem, mySupplier, myReason, myWhen); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myPatient, mySource, myDate, myIdentifier, myStatus, myKind, myOrderedItem, mySupplier, myReason, myWhen); } /** * Gets the value(s) for patient (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A link to a resource representing the person whom the ordered item is for *

*/ public ResourceReferenceDt getPatient() { if (myPatient == null) { myPatient = new ResourceReferenceDt(); } return myPatient; } /** * Sets the value(s) for patient () * *

* Definition: * A link to a resource representing the person whom the ordered item is for *

*/ public SupplyRequest setPatient(ResourceReferenceDt theValue) { myPatient = theValue; return this; } /** * Gets the value(s) for source (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The Practitioner , Organization or Patient who initiated this order for the supply *

*/ public ResourceReferenceDt getSource() { if (mySource == null) { mySource = new ResourceReferenceDt(); } return mySource; } /** * Sets the value(s) for source () * *

* Definition: * The Practitioner , Organization or Patient who initiated this order for the supply *

*/ public SupplyRequest setSource(ResourceReferenceDt theValue) { mySource = theValue; return this; } /** * Gets the value(s) for date (). * creating it if it does * not exist. Will not return null. * *

* Definition: * When the request was made *

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

* Definition: * When the request was made *

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

* Definition: * When the request was made *

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

* Definition: * When the request was made *

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

* Definition: * When the request was made *

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

* Definition: * Unique identifier for this supply request *

*/ public IdentifierDt getIdentifier() { if (myIdentifier == null) { myIdentifier = new IdentifierDt(); } return myIdentifier; } /** * Sets the value(s) for identifier () * *

* Definition: * Unique identifier for this supply request *

*/ public SupplyRequest setIdentifier(IdentifierDt theValue) { myIdentifier = theValue; return this; } /** * Gets the value(s) for status (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Status of the supply request *

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

* Definition: * Status of the supply request *

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

* Definition: * Status of the supply request *

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

* Definition: * Status of the supply request *

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

* Definition: * Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process *

*/ public CodeableConceptDt getKind() { if (myKind == null) { myKind = new CodeableConceptDt(); } return myKind; } /** * Sets the value(s) for kind () * *

* Definition: * Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process *

*/ public SupplyRequest setKind(CodeableConceptDt theValue) { myKind = theValue; return this; } /** * Gets the value(s) for orderedItem (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The item that is requested to be supplied *

*/ public ResourceReferenceDt getOrderedItem() { if (myOrderedItem == null) { myOrderedItem = new ResourceReferenceDt(); } return myOrderedItem; } /** * Sets the value(s) for orderedItem () * *

* Definition: * The item that is requested to be supplied *

*/ public SupplyRequest setOrderedItem(ResourceReferenceDt theValue) { myOrderedItem = theValue; return this; } /** * Gets the value(s) for supplier (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Who is intended to fulfill the request *

*/ public java.util.List getSupplier() { if (mySupplier == null) { mySupplier = new java.util.ArrayList(); } return mySupplier; } /** * Sets the value(s) for supplier () * *

* Definition: * Who is intended to fulfill the request *

*/ public SupplyRequest setSupplier(java.util.List theValue) { mySupplier = theValue; return this; } /** * Adds and returns a new value for supplier () * *

* Definition: * Who is intended to fulfill the request *

*/ public ResourceReferenceDt addSupplier() { ResourceReferenceDt newType = new ResourceReferenceDt(); getSupplier().add(newType); return newType; } /** * Gets the value(s) for reason[x] (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Why the supply item was requested *

*/ public IDatatype getReason() { return myReason; } /** * Sets the value(s) for reason[x] () * *

* Definition: * Why the supply item was requested *

*/ public SupplyRequest setReason(IDatatype theValue) { myReason = theValue; return this; } /** * Gets the value(s) for when (). * creating it if it does * not exist. Will not return null. * *

* Definition: * When the request should be fulfilled *

*/ public When getWhen() { if (myWhen == null) { myWhen = new When(); } return myWhen; } /** * Sets the value(s) for when () * *

* Definition: * When the request should be fulfilled *

*/ public SupplyRequest setWhen(When theValue) { myWhen = theValue; return this; } /** * Block class for child element: SupplyRequest.when () * *

* Definition: * When the request should be fulfilled *

*/ @Block() public static class When extends BaseIdentifiableElement implements IResourceBlock { @Child(name="code", type=CodeableConceptDt.class, order=0, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Code indicating when the request should be fulfilled." ) private CodeableConceptDt myCode; @Child(name="schedule", type=TimingDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Formal fulfillment schedule" ) private TimingDt mySchedule; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, mySchedule); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, mySchedule); } /** * Gets the value(s) for code (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Code indicating when the request should be fulfilled. *

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

* Definition: * Code indicating when the request should be fulfilled. *

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

* Definition: * Formal fulfillment schedule *

*/ public TimingDt getSchedule() { if (mySchedule == null) { mySchedule = new TimingDt(); } return mySchedule; } /** * Sets the value(s) for schedule () * *

* Definition: * Formal fulfillment schedule *

*/ public When setSchedule(TimingDt theValue) { mySchedule = theValue; return this; } } @Override public String getResourceName() { return "SupplyRequest"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy