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

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

* Definition: * An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. *

* *

* Requirements: * *

* *

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

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

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

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

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

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

* Description:
* Type: token
* Path: Communication.category
*

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

* Description:
* Type: token
* Path: Communication.category
*

*/ public static final TokenClientParam CATEGORY = new TokenClientParam(SP_CATEGORY); /** * Search parameter constant for sender *

* Description:
* Type: reference
* Path: Communication.sender
*

*/ @SearchParamDefinition(name="sender", path="Communication.sender", description="", type="reference" , providesMembershipIn={ @Compartment(name="Patient") , @Compartment(name="RelatedPerson") , @Compartment(name="Practitioner") , @Compartment(name="Device") } ) public static final String SP_SENDER = "sender"; /** * Fluent Client search parameter constant for sender *

* Description:
* Type: reference
* Path: Communication.sender
*

*/ public static final ReferenceClientParam SENDER = new ReferenceClientParam(SP_SENDER); /** * Search parameter constant for recipient *

* Description:
* Type: reference
* Path: Communication.recipient
*

*/ @SearchParamDefinition(name="recipient", path="Communication.recipient", description="", type="reference" , providesMembershipIn={ @Compartment(name="Patient") , @Compartment(name="RelatedPerson") , @Compartment(name="Practitioner") , @Compartment(name="Device") } ) public static final String SP_RECIPIENT = "recipient"; /** * Fluent Client search parameter constant for recipient *

* Description:
* Type: reference
* Path: Communication.recipient
*

*/ public static final ReferenceClientParam RECIPIENT = new ReferenceClientParam(SP_RECIPIENT); /** * Search parameter constant for medium *

* Description:
* Type: token
* Path: Communication.medium
*

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

* Description:
* Type: token
* Path: Communication.medium
*

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

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

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

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

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

* Description:
* Type: reference
* Path: Communication.encounter
*

*/ @SearchParamDefinition(name="encounter", path="Communication.encounter", description="", type="reference" , providesMembershipIn={ @Compartment(name="Encounter") } ) public static final String SP_ENCOUNTER = "encounter"; /** * Fluent Client search parameter constant for encounter *

* Description:
* Type: reference
* Path: Communication.encounter
*

*/ public static final ReferenceClientParam ENCOUNTER = new ReferenceClientParam(SP_ENCOUNTER); /** * Search parameter constant for sent *

* Description:
* Type: date
* Path: Communication.sent
*

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

* Description:
* Type: date
* Path: Communication.sent
*

*/ public static final DateClientParam SENT = new DateClientParam(SP_SENT); /** * Search parameter constant for received *

* Description:
* Type: date
* Path: Communication.received
*

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

* Description:
* Type: date
* Path: Communication.received
*

*/ public static final DateClientParam RECEIVED = new DateClientParam(SP_RECEIVED); /** * Search parameter constant for subject *

* Description:
* Type: reference
* Path: Communication.subject
*

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

* Description:
* Type: reference
* Path: Communication.subject
*

*/ public static final ReferenceClientParam SUBJECT = new ReferenceClientParam(SP_SUBJECT); /** * Search parameter constant for patient *

* Description:
* Type: reference
* Path: Communication.subject
*

*/ @SearchParamDefinition(name="patient", path="Communication.subject", description="", type="reference" ) public static final String SP_PATIENT = "patient"; /** * Fluent Client search parameter constant for patient *

* Description:
* Type: reference
* Path: Communication.subject
*

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

* Description:
* Type: reference
* Path: Communication.requestDetail
*

*/ @SearchParamDefinition(name="request", path="Communication.requestDetail", description="", type="reference" ) public static final String SP_REQUEST = "request"; /** * Fluent Client search parameter constant for request *

* Description:
* Type: reference
* Path: Communication.requestDetail
*

*/ public static final ReferenceClientParam REQUEST = new ReferenceClientParam(SP_REQUEST); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Communication:encounter". */ public static final Include INCLUDE_ENCOUNTER = new Include("Communication:encounter"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Communication:patient". */ public static final Include INCLUDE_PATIENT = new Include("Communication:patient"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Communication:recipient". */ public static final Include INCLUDE_RECIPIENT = new Include("Communication:recipient"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Communication:request". */ public static final Include INCLUDE_REQUEST = new Include("Communication:request"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Communication:sender". */ public static final Include INCLUDE_SENDER = new Include("Communication:sender"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Communication:subject". */ public static final Include INCLUDE_SUBJECT = new Include("Communication:subject"); @Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)." ) private java.util.List myIdentifier; @Child(name="category", type=CodeableConceptDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The type of message conveyed such as alert, notification, reminder, instruction, etc." ) private CodeableConceptDt myCategory; @Child(name="sender", order=2, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Device.class, ca.uhn.fhir.model.dstu2.resource.Organization.class, ca.uhn.fhir.model.dstu2.resource.Patient.class, ca.uhn.fhir.model.dstu2.resource.Practitioner.class, ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class }) @Description( shortDefinition="", formalDefinition="The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication." ) private ResourceReferenceDt mySender; @Child(name="recipient", order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Device.class, ca.uhn.fhir.model.dstu2.resource.Organization.class, ca.uhn.fhir.model.dstu2.resource.Patient.class, ca.uhn.fhir.model.dstu2.resource.Practitioner.class, ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class, ca.uhn.fhir.model.dstu2.resource.Group.class }) @Description( shortDefinition="", formalDefinition="The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient.  Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time)." ) private java.util.List myRecipient; @Child(name="payload", order=4, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Text, attachment(s), or resource(s) that was communicated to the recipient." ) private java.util.List myPayload; @Child(name="medium", type=CodeableConceptDt.class, order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="A channel that was used for this communication (e.g. email, fax)." ) private java.util.List myMedium; @Child(name="status", type=CodeDt.class, order=6, min=0, max=1, summary=false, modifier=true) @Description( shortDefinition="", formalDefinition="The status of the transmission." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/communication-status") private BoundCodeDt myStatus; @Child(name="encounter", order=7, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Encounter.class }) @Description( shortDefinition="", formalDefinition="The encounter within which the communication was sent." ) private ResourceReferenceDt myEncounter; @Child(name="sent", type=DateTimeDt.class, order=8, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The time when this communication was sent." ) private DateTimeDt mySent; @Child(name="received", type=DateTimeDt.class, order=9, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The time when this communication arrived at the destination." ) private DateTimeDt myReceived; @Child(name="reason", type=CodeableConceptDt.class, order=10, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The reason or justification for the communication." ) private java.util.List myReason; @Child(name="subject", order=11, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Patient.class }) @Description( shortDefinition="", formalDefinition="The patient who was the focus of this communication." ) private ResourceReferenceDt mySubject; @Child(name="requestDetail", order=12, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.CommunicationRequest.class }) @Description( shortDefinition="", formalDefinition="The communication request that was responsible for producing this communication." ) private ResourceReferenceDt myRequestDetail; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myCategory, mySender, myRecipient, myPayload, myMedium, myStatus, myEncounter, mySent, myReceived, myReason, mySubject, myRequestDetail); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myCategory, mySender, myRecipient, myPayload, myMedium, myStatus, myEncounter, mySent, myReceived, myReason, mySubject, myRequestDetail); } /** * Gets the value(s) for identifier (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). *

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

* Definition: * Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). *

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

* Definition: * Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). *

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

* Definition: * Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). *

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

* Definition: * Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). *

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

* Definition: * The type of message conveyed such as alert, notification, reminder, instruction, etc. *

*/ public CodeableConceptDt getCategory() { if (myCategory == null) { myCategory = new CodeableConceptDt(); } return myCategory; } /** * Sets the value(s) for category () * *

* Definition: * The type of message conveyed such as alert, notification, reminder, instruction, etc. *

*/ public Communication setCategory(CodeableConceptDt theValue) { myCategory = theValue; return this; } /** * Gets the value(s) for sender (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication. *

*/ public ResourceReferenceDt getSender() { if (mySender == null) { mySender = new ResourceReferenceDt(); } return mySender; } /** * Sets the value(s) for sender () * *

* Definition: * The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication. *

*/ public Communication setSender(ResourceReferenceDt theValue) { mySender = theValue; return this; } /** * Gets the value(s) for recipient (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient.  Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time). *

*/ public java.util.List getRecipient() { if (myRecipient == null) { myRecipient = new java.util.ArrayList(); } return myRecipient; } /** * Sets the value(s) for recipient () * *

* Definition: * The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient.  Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time). *

*/ public Communication setRecipient(java.util.List theValue) { myRecipient = theValue; return this; } /** * Adds and returns a new value for recipient () * *

* Definition: * The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient.  Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time). *

*/ public ResourceReferenceDt addRecipient() { ResourceReferenceDt newType = new ResourceReferenceDt(); getRecipient().add(newType); return newType; } /** * Gets the value(s) for payload (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Text, attachment(s), or resource(s) that was communicated to the recipient. *

*/ public java.util.List getPayload() { if (myPayload == null) { myPayload = new java.util.ArrayList(); } return myPayload; } /** * Sets the value(s) for payload () * *

* Definition: * Text, attachment(s), or resource(s) that was communicated to the recipient. *

*/ public Communication setPayload(java.util.List theValue) { myPayload = theValue; return this; } /** * Adds and returns a new value for payload () * *

* Definition: * Text, attachment(s), or resource(s) that was communicated to the recipient. *

*/ public Payload addPayload() { Payload newType = new Payload(); getPayload().add(newType); return newType; } /** * Adds a given new value for payload () * *

* Definition: * Text, attachment(s), or resource(s) that was communicated to the recipient. *

* @param theValue The payload to add (must not be null) */ public Communication addPayload(Payload theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getPayload().add(theValue); return this; } /** * Gets the first repetition for payload (), * creating it if it does not already exist. * *

* Definition: * Text, attachment(s), or resource(s) that was communicated to the recipient. *

*/ public Payload getPayloadFirstRep() { if (getPayload().isEmpty()) { return addPayload(); } return getPayload().get(0); } /** * Gets the value(s) for medium (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A channel that was used for this communication (e.g. email, fax). *

*/ public java.util.List getMedium() { if (myMedium == null) { myMedium = new java.util.ArrayList(); } return myMedium; } /** * Sets the value(s) for medium () * *

* Definition: * A channel that was used for this communication (e.g. email, fax). *

*/ public Communication setMedium(java.util.List theValue) { myMedium = theValue; return this; } /** * Adds and returns a new value for medium () * *

* Definition: * A channel that was used for this communication (e.g. email, fax). *

*/ public CodeableConceptDt addMedium() { CodeableConceptDt newType = new CodeableConceptDt(); getMedium().add(newType); return newType; } /** * Adds a given new value for medium () * *

* Definition: * A channel that was used for this communication (e.g. email, fax). *

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

* Definition: * A channel that was used for this communication (e.g. email, fax). *

*/ public CodeableConceptDt getMediumFirstRep() { if (getMedium().isEmpty()) { return addMedium(); } return getMedium().get(0); } /** * Gets the value(s) for status (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The status of the transmission. *

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

* Definition: * The status of the transmission. *

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

* Definition: * The status of the transmission. *

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

* Definition: * The status of the transmission. *

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

* Definition: * The encounter within which the communication was sent. *

*/ public ResourceReferenceDt getEncounter() { if (myEncounter == null) { myEncounter = new ResourceReferenceDt(); } return myEncounter; } /** * Sets the value(s) for encounter () * *

* Definition: * The encounter within which the communication was sent. *

*/ public Communication setEncounter(ResourceReferenceDt theValue) { myEncounter = theValue; return this; } /** * Gets the value(s) for sent (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The time when this communication was sent. *

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

* Definition: * The time when this communication was sent. *

*/ public Date getSent() { return getSentElement().getValue(); } /** * Sets the value(s) for sent () * *

* Definition: * The time when this communication was sent. *

*/ public Communication setSent(DateTimeDt theValue) { mySent = theValue; return this; } /** * Sets the value for sent () * *

* Definition: * The time when this communication was sent. *

*/ public Communication setSentWithSecondsPrecision( Date theDate) { mySent = new DateTimeDt(theDate); return this; } /** * Sets the value for sent () * *

* Definition: * The time when this communication was sent. *

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

* Definition: * The time when this communication arrived at the destination. *

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

* Definition: * The time when this communication arrived at the destination. *

*/ public Date getReceived() { return getReceivedElement().getValue(); } /** * Sets the value(s) for received () * *

* Definition: * The time when this communication arrived at the destination. *

*/ public Communication setReceived(DateTimeDt theValue) { myReceived = theValue; return this; } /** * Sets the value for received () * *

* Definition: * The time when this communication arrived at the destination. *

*/ public Communication setReceivedWithSecondsPrecision( Date theDate) { myReceived = new DateTimeDt(theDate); return this; } /** * Sets the value for received () * *

* Definition: * The time when this communication arrived at the destination. *

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

* Definition: * The reason or justification for the communication. *

*/ public java.util.List getReason() { if (myReason == null) { myReason = new java.util.ArrayList(); } return myReason; } /** * Sets the value(s) for reason () * *

* Definition: * The reason or justification for the communication. *

*/ public Communication setReason(java.util.List theValue) { myReason = theValue; return this; } /** * Adds and returns a new value for reason () * *

* Definition: * The reason or justification for the communication. *

*/ public CodeableConceptDt addReason() { CodeableConceptDt newType = new CodeableConceptDt(); getReason().add(newType); return newType; } /** * Adds a given new value for reason () * *

* Definition: * The reason or justification for the communication. *

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

* Definition: * The reason or justification for the communication. *

*/ public CodeableConceptDt getReasonFirstRep() { if (getReason().isEmpty()) { return addReason(); } return getReason().get(0); } /** * Gets the value(s) for subject (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The patient who was the focus of this communication. *

*/ public ResourceReferenceDt getSubject() { if (mySubject == null) { mySubject = new ResourceReferenceDt(); } return mySubject; } /** * Sets the value(s) for subject () * *

* Definition: * The patient who was the focus of this communication. *

*/ public Communication setSubject(ResourceReferenceDt theValue) { mySubject = theValue; return this; } /** * Gets the value(s) for requestDetail (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The communication request that was responsible for producing this communication. *

*/ public ResourceReferenceDt getRequestDetail() { if (myRequestDetail == null) { myRequestDetail = new ResourceReferenceDt(); } return myRequestDetail; } /** * Sets the value(s) for requestDetail () * *

* Definition: * The communication request that was responsible for producing this communication. *

*/ public Communication setRequestDetail(ResourceReferenceDt theValue) { myRequestDetail = theValue; return this; } /** * Block class for child element: Communication.payload () * *

* Definition: * Text, attachment(s), or resource(s) that was communicated to the recipient. *

*/ @Block() public static class Payload extends BaseIdentifiableElement implements IResourceBlock { @Child(name="content", order=0, min=1, max=1, summary=false, modifier=false, type={ StringDt.class, AttachmentDt.class, IResource.class }) @Description( shortDefinition="", formalDefinition="A communicated content (or for multi-part communications, one portion of the communication)" ) private IDatatype myContent; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myContent); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myContent); } /** * Gets the value(s) for content[x] (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A communicated content (or for multi-part communications, one portion of the communication) *

*/ public IDatatype getContent() { return myContent; } /** * Sets the value(s) for content[x] () * *

* Definition: * A communicated content (or for multi-part communications, one portion of the communication) *

*/ public Payload setContent(IDatatype theValue) { myContent = theValue; return this; } } @Override public String getResourceName() { return "Communication"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy