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

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

* Definition: * A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage *

* *

* Requirements: * *

* *

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

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

* Description:
* Type: token
* Path: AuditEvent.event.type
*

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

* Description:
* Type: token
* Path: AuditEvent.event.type
*

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

* Description:
* Type: token
* Path: AuditEvent.event.action
*

*/ @SearchParamDefinition(name="action", path="AuditEvent.event.action", description="", type="token" ) public static final String SP_ACTION = "action"; /** * Fluent Client search parameter constant for action *

* Description:
* Type: token
* Path: AuditEvent.event.action
*

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

* Description:
* Type: date
* Path: AuditEvent.event.dateTime
*

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

* Description:
* Type: date
* Path: AuditEvent.event.dateTime
*

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

* Description:
* Type: token
* Path: AuditEvent.event.subtype
*

*/ @SearchParamDefinition(name="subtype", path="AuditEvent.event.subtype", description="", type="token" ) public static final String SP_SUBTYPE = "subtype"; /** * Fluent Client search parameter constant for subtype *

* Description:
* Type: token
* Path: AuditEvent.event.subtype
*

*/ public static final TokenClientParam SUBTYPE = new TokenClientParam(SP_SUBTYPE); /** * Search parameter constant for user *

* Description:
* Type: token
* Path: AuditEvent.participant.userId
*

*/ @SearchParamDefinition(name="user", path="AuditEvent.participant.userId", description="", type="token" ) public static final String SP_USER = "user"; /** * Fluent Client search parameter constant for user *

* Description:
* Type: token
* Path: AuditEvent.participant.userId
*

*/ public static final TokenClientParam USER = new TokenClientParam(SP_USER); /** * Search parameter constant for name *

* Description:
* Type: string
* Path: AuditEvent.participant.name
*

*/ @SearchParamDefinition(name="name", path="AuditEvent.participant.name", description="", type="string" ) public static final String SP_NAME = "name"; /** * Fluent Client search parameter constant for name *

* Description:
* Type: string
* Path: AuditEvent.participant.name
*

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

* Description:
* Type: token
* Path: AuditEvent.participant.network.address
*

*/ @SearchParamDefinition(name="address", path="AuditEvent.participant.network.address", description="", type="token" ) public static final String SP_ADDRESS = "address"; /** * Fluent Client search parameter constant for address *

* Description:
* Type: token
* Path: AuditEvent.participant.network.address
*

*/ public static final TokenClientParam ADDRESS = new TokenClientParam(SP_ADDRESS); /** * Search parameter constant for source *

* Description:
* Type: token
* Path: AuditEvent.source.identifier
*

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

* Description:
* Type: token
* Path: AuditEvent.source.identifier
*

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

* Description:
* Type: token
* Path: AuditEvent.source.site
*

*/ @SearchParamDefinition(name="site", path="AuditEvent.source.site", description="", type="token" ) public static final String SP_SITE = "site"; /** * Fluent Client search parameter constant for site *

* Description:
* Type: token
* Path: AuditEvent.source.site
*

*/ public static final TokenClientParam SITE = new TokenClientParam(SP_SITE); /** * Search parameter constant for object-type *

* Description:
* Type: token
* Path: AuditEvent.object.type
*

*/ @SearchParamDefinition(name="object-type", path="AuditEvent.object.type", description="", type="token" ) public static final String SP_OBJECT_TYPE = "object-type"; /** * Fluent Client search parameter constant for object-type *

* Description:
* Type: token
* Path: AuditEvent.object.type
*

*/ public static final TokenClientParam OBJECT_TYPE = new TokenClientParam(SP_OBJECT_TYPE); /** * Search parameter constant for identity *

* Description:
* Type: token
* Path: AuditEvent.object.identifier
*

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

* Description:
* Type: token
* Path: AuditEvent.object.identifier
*

*/ public static final TokenClientParam IDENTITY = new TokenClientParam(SP_IDENTITY); /** * Search parameter constant for reference *

* Description:
* Type: reference
* Path: AuditEvent.object.reference
*

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

* Description:
* Type: reference
* Path: AuditEvent.object.reference
*

*/ public static final ReferenceClientParam REFERENCE = new ReferenceClientParam(SP_REFERENCE); /** * Search parameter constant for desc *

* Description:
* Type: string
* Path: AuditEvent.object.name
*

*/ @SearchParamDefinition(name="desc", path="AuditEvent.object.name", description="", type="string" ) public static final String SP_DESC = "desc"; /** * Fluent Client search parameter constant for desc *

* Description:
* Type: string
* Path: AuditEvent.object.name
*

*/ public static final StringClientParam DESC = new StringClientParam(SP_DESC); /** * Search parameter constant for patient *

* Description:
* Type: reference
* Path: AuditEvent.participant.reference | AuditEvent.object.reference
*

*/ @SearchParamDefinition(name="patient", path="AuditEvent.participant.reference | AuditEvent.object.reference", description="", type="reference" , providesMembershipIn={ @Compartment(name="Patient") } , target={ ca.uhn.fhir.model.dstu2.resource.Patient.class } ) public static final String SP_PATIENT = "patient"; /** * Fluent Client search parameter constant for patient *

* Description:
* Type: reference
* Path: AuditEvent.participant.reference | AuditEvent.object.reference
*

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

* Description:
* Type: token
* Path: AuditEvent.participant.altId
*

*/ @SearchParamDefinition(name="altid", path="AuditEvent.participant.altId", description="", type="token" ) public static final String SP_ALTID = "altid"; /** * Fluent Client search parameter constant for altid *

* Description:
* Type: token
* Path: AuditEvent.participant.altId
*

*/ public static final TokenClientParam ALTID = new TokenClientParam(SP_ALTID); /** * Search parameter constant for participant *

* Description:
* Type: reference
* Path: AuditEvent.participant.reference
*

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

* Description:
* Type: reference
* Path: AuditEvent.participant.reference
*

*/ public static final ReferenceClientParam PARTICIPANT = new ReferenceClientParam(SP_PARTICIPANT); /** * Search parameter constant for policy *

* Description:
* Type: uri
* Path: AuditEvent.participant.policy
*

*/ @SearchParamDefinition(name="policy", path="AuditEvent.participant.policy", description="", type="uri" ) public static final String SP_POLICY = "policy"; /** * Fluent Client search parameter constant for policy *

* Description:
* Type: uri
* Path: AuditEvent.participant.policy
*

*/ public static final UriClientParam POLICY = new UriClientParam(SP_POLICY); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "AuditEvent:participant". */ public static final Include INCLUDE_PARTICIPANT = new Include("AuditEvent:participant"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "AuditEvent:patient". */ public static final Include INCLUDE_PATIENT = new Include("AuditEvent:patient"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "AuditEvent:reference". */ public static final Include INCLUDE_REFERENCE = new Include("AuditEvent:reference"); @Child(name="event", order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Identifies the name, action type, time, and disposition of the audited event" ) private Event myEvent; @Child(name="participant", order=1, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="" ) private java.util.List myParticipant; @Child(name="source", order=2, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="" ) private Source mySource; @Child(name="object", order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Specific instances of data or objects that have been accessed" ) private java.util.List myObject; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myEvent, myParticipant, mySource, myObject); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myEvent, myParticipant, mySource, myObject); } /** * Gets the value(s) for event (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies the name, action type, time, and disposition of the audited event *

*/ public Event getEvent() { if (myEvent == null) { myEvent = new Event(); } return myEvent; } /** * Sets the value(s) for event () * *

* Definition: * Identifies the name, action type, time, and disposition of the audited event *

*/ public AuditEvent setEvent(Event theValue) { myEvent = theValue; return this; } /** * Gets the value(s) for participant (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getParticipant() { if (myParticipant == null) { myParticipant = new java.util.ArrayList(); } return myParticipant; } /** * Sets the value(s) for participant () * *

* Definition: * *

*/ public AuditEvent setParticipant(java.util.List theValue) { myParticipant = theValue; return this; } /** * Adds and returns a new value for participant () * *

* Definition: * *

*/ public Participant addParticipant() { Participant newType = new Participant(); getParticipant().add(newType); return newType; } /** * Adds a given new value for participant () * *

* Definition: * *

* @param theValue The participant to add (must not be null) */ public AuditEvent addParticipant(Participant theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getParticipant().add(theValue); return this; } /** * Gets the first repetition for participant (), * creating it if it does not already exist. * *

* Definition: * *

*/ public Participant getParticipantFirstRep() { if (getParticipant().isEmpty()) { return addParticipant(); } return getParticipant().get(0); } /** * Gets the value(s) for source (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

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

* Definition: * *

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

* Definition: * Specific instances of data or objects that have been accessed *

*/ public java.util.List getObject() { if (myObject == null) { myObject = new java.util.ArrayList(); } return myObject; } /** * Sets the value(s) for object () * *

* Definition: * Specific instances of data or objects that have been accessed *

*/ public AuditEvent setObject(java.util.List theValue) { myObject = theValue; return this; } /** * Adds and returns a new value for object () * *

* Definition: * Specific instances of data or objects that have been accessed *

*/ public ObjectElement addObject() { ObjectElement newType = new ObjectElement(); getObject().add(newType); return newType; } /** * Adds a given new value for object () * *

* Definition: * Specific instances of data or objects that have been accessed *

* @param theValue The object to add (must not be null) */ public AuditEvent addObject(ObjectElement theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getObject().add(theValue); return this; } /** * Gets the first repetition for object (), * creating it if it does not already exist. * *

* Definition: * Specific instances of data or objects that have been accessed *

*/ public ObjectElement getObjectFirstRep() { if (getObject().isEmpty()) { return addObject(); } return getObject().get(0); } /** * Block class for child element: AuditEvent.event () * *

* Definition: * Identifies the name, action type, time, and disposition of the audited event *

*/ @Block() public static class Event extends BaseIdentifiableElement implements IResourceBlock { @Child(name="type", type=CodingDt.class, order=0, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-audit-event-type") private CodingDt myType; @Child(name="subtype", type=CodingDt.class, order=1, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Identifier for the category of event" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-audit-event-sub-type") private java.util.List mySubtype; @Child(name="action", type=CodeDt.class, order=2, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Indicator for type of action performed during the event that generated the audit" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/audit-event-action") private BoundCodeDt myAction; @Child(name="dateTime", type=InstantDt.class, order=3, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The time when the event occurred on the source" ) private InstantDt myDateTime; @Child(name="outcome", type=CodeDt.class, order=4, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Indicates whether the event succeeded or failed" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/audit-event-outcome") private BoundCodeDt myOutcome; @Child(name="outcomeDesc", type=StringDt.class, order=5, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="A free text description of the outcome of the event" ) private StringDt myOutcomeDesc; @Child(name="purposeOfEvent", type=CodingDt.class, order=6, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The purposeOfUse (reason) that was used during the event being recorded." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse") private java.util.List myPurposeOfEvent; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, mySubtype, myAction, myDateTime, myOutcome, myOutcomeDesc, myPurposeOfEvent); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, mySubtype, myAction, myDateTime, myOutcome, myOutcomeDesc, myPurposeOfEvent); } /** * Gets the value(s) for type (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function *

*/ public CodingDt getType() { if (myType == null) { myType = new CodingDt(); } return myType; } /** * Sets the value(s) for type () * *

* Definition: * Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function *

*/ public Event setType(CodingDt theValue) { myType = theValue; return this; } /** * Gets the value(s) for subtype (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifier for the category of event *

*/ public java.util.List getSubtype() { if (mySubtype == null) { mySubtype = new java.util.ArrayList(); } return mySubtype; } /** * Sets the value(s) for subtype () * *

* Definition: * Identifier for the category of event *

*/ public Event setSubtype(java.util.List theValue) { mySubtype = theValue; return this; } /** * Adds and returns a new value for subtype () * *

* Definition: * Identifier for the category of event *

*/ public CodingDt addSubtype() { CodingDt newType = new CodingDt(); getSubtype().add(newType); return newType; } /** * Adds a given new value for subtype () * *

* Definition: * Identifier for the category of event *

* @param theValue The subtype to add (must not be null) */ public Event addSubtype(CodingDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getSubtype().add(theValue); return this; } /** * Gets the first repetition for subtype (), * creating it if it does not already exist. * *

* Definition: * Identifier for the category of event *

*/ public CodingDt getSubtypeFirstRep() { if (getSubtype().isEmpty()) { return addSubtype(); } return getSubtype().get(0); } /** * Gets the value(s) for action (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Indicator for type of action performed during the event that generated the audit *

*/ public BoundCodeDt getActionElement() { if (myAction == null) { myAction = new BoundCodeDt(AuditEventActionEnum.VALUESET_BINDER); } return myAction; } /** * Gets the value(s) for action (). * creating it if it does * not exist. This method may return null. * *

* Definition: * Indicator for type of action performed during the event that generated the audit *

*/ public String getAction() { return getActionElement().getValue(); } /** * Sets the value(s) for action () * *

* Definition: * Indicator for type of action performed during the event that generated the audit *

*/ public Event setAction(BoundCodeDt theValue) { myAction = theValue; return this; } /** * Sets the value(s) for action () * *

* Definition: * Indicator for type of action performed during the event that generated the audit *

*/ public Event setAction(AuditEventActionEnum theValue) { setAction(new BoundCodeDt(AuditEventActionEnum.VALUESET_BINDER, theValue)); /* getActionElement().setValueAsEnum(theValue); */ return this; } /** * Gets the value(s) for dateTime (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The time when the event occurred on the source *

*/ public InstantDt getDateTimeElement() { if (myDateTime == null) { myDateTime = new InstantDt(); } return myDateTime; } /** * Gets the value(s) for dateTime (). * creating it if it does * not exist. This method may return null. * *

* Definition: * The time when the event occurred on the source *

*/ public Date getDateTime() { return getDateTimeElement().getValue(); } /** * Sets the value(s) for dateTime () * *

* Definition: * The time when the event occurred on the source *

*/ public Event setDateTime(InstantDt theValue) { myDateTime = theValue; return this; } /** * Sets the value for dateTime () * *

* Definition: * The time when the event occurred on the source *

*/ public Event setDateTimeWithMillisPrecision( Date theDate) { myDateTime = new InstantDt(theDate); return this; } /** * Sets the value for dateTime () * *

* Definition: * The time when the event occurred on the source *

*/ public Event setDateTime( Date theDate, TemporalPrecisionEnum thePrecision) { myDateTime = new InstantDt(theDate, thePrecision); return this; } /** * Gets the value(s) for outcome (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Indicates whether the event succeeded or failed *

*/ public BoundCodeDt getOutcomeElement() { if (myOutcome == null) { myOutcome = new BoundCodeDt(AuditEventOutcomeEnum.VALUESET_BINDER); } return myOutcome; } /** * Gets the value(s) for outcome (). * creating it if it does * not exist. This method may return null. * *

* Definition: * Indicates whether the event succeeded or failed *

*/ public String getOutcome() { return getOutcomeElement().getValue(); } /** * Sets the value(s) for outcome () * *

* Definition: * Indicates whether the event succeeded or failed *

*/ public Event setOutcome(BoundCodeDt theValue) { myOutcome = theValue; return this; } /** * Sets the value(s) for outcome () * *

* Definition: * Indicates whether the event succeeded or failed *

*/ public Event setOutcome(AuditEventOutcomeEnum theValue) { setOutcome(new BoundCodeDt(AuditEventOutcomeEnum.VALUESET_BINDER, theValue)); /* getOutcomeElement().setValueAsEnum(theValue); */ return this; } /** * Gets the value(s) for outcomeDesc (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text description of the outcome of the event *

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

* Definition: * A free text description of the outcome of the event *

*/ public String getOutcomeDesc() { return getOutcomeDescElement().getValue(); } /** * Sets the value(s) for outcomeDesc () * *

* Definition: * A free text description of the outcome of the event *

*/ public Event setOutcomeDesc(StringDt theValue) { myOutcomeDesc = theValue; return this; } /** * Sets the value for outcomeDesc () * *

* Definition: * A free text description of the outcome of the event *

*/ public Event setOutcomeDesc( String theString) { myOutcomeDesc = new StringDt(theString); return this; } /** * Gets the value(s) for purposeOfEvent (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The purposeOfUse (reason) that was used during the event being recorded. *

*/ public java.util.List getPurposeOfEvent() { if (myPurposeOfEvent == null) { myPurposeOfEvent = new java.util.ArrayList(); } return myPurposeOfEvent; } /** * Sets the value(s) for purposeOfEvent () * *

* Definition: * The purposeOfUse (reason) that was used during the event being recorded. *

*/ public Event setPurposeOfEvent(java.util.List theValue) { myPurposeOfEvent = theValue; return this; } /** * Adds and returns a new value for purposeOfEvent () * *

* Definition: * The purposeOfUse (reason) that was used during the event being recorded. *

*/ public CodingDt addPurposeOfEvent() { CodingDt newType = new CodingDt(); getPurposeOfEvent().add(newType); return newType; } /** * Adds a given new value for purposeOfEvent () * *

* Definition: * The purposeOfUse (reason) that was used during the event being recorded. *

* @param theValue The purposeOfEvent to add (must not be null) */ public Event addPurposeOfEvent(CodingDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getPurposeOfEvent().add(theValue); return this; } /** * Gets the first repetition for purposeOfEvent (), * creating it if it does not already exist. * *

* Definition: * The purposeOfUse (reason) that was used during the event being recorded. *

*/ public CodingDt getPurposeOfEventFirstRep() { if (getPurposeOfEvent().isEmpty()) { return addPurposeOfEvent(); } return getPurposeOfEvent().get(0); } } /** * Block class for child element: AuditEvent.participant () * *

* Definition: * *

*/ @Block() public static class Participant extends BaseIdentifiableElement implements IResourceBlock { @Child(name="role", type=CodeableConceptDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-dicm-402-roleid") private java.util.List myRole; @Child(name="reference", order=1, min=0, max=1, summary=true, 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.Device.class, ca.uhn.fhir.model.dstu2.resource.Patient.class, ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class }) @Description( shortDefinition="", formalDefinition="Direct reference to a resource that identifies the participant" ) private ResourceReferenceDt myReference; @Child(name="userId", type=IdentifierDt.class, order=2, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Unique identifier for the user actively participating in the event" ) private IdentifierDt myUserId; @Child(name="altId", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available" ) private StringDt myAltId; @Child(name="name", type=StringDt.class, order=4, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Human-meaningful name for the user" ) private StringDt myName; @Child(name="requestor", type=BooleanDt.class, order=5, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Indicator that the user is or is not the requestor, or initiator, for the event being audited." ) private BooleanDt myRequestor; @Child(name="location", order=6, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Location.class }) @Description( shortDefinition="", formalDefinition="Where the event occurred" ) private ResourceReferenceDt myLocation; @Child(name="policy", type=UriDt.class, order=7, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used." ) private java.util.List myPolicy; @Child(name="media", type=CodingDt.class, order=8, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Type of media involved. Used when the event is about exporting/importing onto media" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-dicm-405-mediatype") private CodingDt myMedia; @Child(name="network", order=9, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Logical network location for application activity, if the activity has a network location" ) private ParticipantNetwork myNetwork; @Child(name="purposeOfUse", type=CodingDt.class, order=10, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The reason (purpose of use), specific to this participant, that was used during the event being recorded." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse") private java.util.List myPurposeOfUse; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myRole, myReference, myUserId, myAltId, myName, myRequestor, myLocation, myPolicy, myMedia, myNetwork, myPurposeOfUse); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myRole, myReference, myUserId, myAltId, myName, myRequestor, myLocation, myPolicy, myMedia, myNetwork, myPurposeOfUse); } /** * Gets the value(s) for role (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context *

*/ public java.util.List getRole() { if (myRole == null) { myRole = new java.util.ArrayList(); } return myRole; } /** * Sets the value(s) for role () * *

* Definition: * Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context *

*/ public Participant setRole(java.util.List theValue) { myRole = theValue; return this; } /** * Adds and returns a new value for role () * *

* Definition: * Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context *

*/ public CodeableConceptDt addRole() { CodeableConceptDt newType = new CodeableConceptDt(); getRole().add(newType); return newType; } /** * Adds a given new value for role () * *

* Definition: * Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context *

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

* Definition: * Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context *

*/ public CodeableConceptDt getRoleFirstRep() { if (getRole().isEmpty()) { return addRole(); } return getRole().get(0); } /** * Gets the value(s) for reference (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Direct reference to a resource that identifies the participant *

*/ public ResourceReferenceDt getReference() { if (myReference == null) { myReference = new ResourceReferenceDt(); } return myReference; } /** * Sets the value(s) for reference () * *

* Definition: * Direct reference to a resource that identifies the participant *

*/ public Participant setReference(ResourceReferenceDt theValue) { myReference = theValue; return this; } /** * Gets the value(s) for userId (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Unique identifier for the user actively participating in the event *

*/ public IdentifierDt getUserId() { if (myUserId == null) { myUserId = new IdentifierDt(); } return myUserId; } /** * Sets the value(s) for userId () * *

* Definition: * Unique identifier for the user actively participating in the event *

*/ public Participant setUserId(IdentifierDt theValue) { myUserId = theValue; return this; } /** * Gets the value(s) for altId (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available *

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

* Definition: * Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available *

*/ public String getAltId() { return getAltIdElement().getValue(); } /** * Sets the value(s) for altId () * *

* Definition: * Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available *

*/ public Participant setAltId(StringDt theValue) { myAltId = theValue; return this; } /** * Sets the value for altId () * *

* Definition: * Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available *

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

* Definition: * Human-meaningful name for the user *

*/ 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: * Human-meaningful name for the user *

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

* Definition: * Human-meaningful name for the user *

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

* Definition: * Human-meaningful name for the user *

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

* Definition: * Indicator that the user is or is not the requestor, or initiator, for the event being audited. *

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

* Definition: * Indicator that the user is or is not the requestor, or initiator, for the event being audited. *

*/ public Boolean getRequestor() { return getRequestorElement().getValue(); } /** * Sets the value(s) for requestor () * *

* Definition: * Indicator that the user is or is not the requestor, or initiator, for the event being audited. *

*/ public Participant setRequestor(BooleanDt theValue) { myRequestor = theValue; return this; } /** * Sets the value for requestor () * *

* Definition: * Indicator that the user is or is not the requestor, or initiator, for the event being audited. *

*/ public Participant setRequestor( boolean theBoolean) { myRequestor = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for location (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Where the event occurred *

*/ public ResourceReferenceDt getLocation() { if (myLocation == null) { myLocation = new ResourceReferenceDt(); } return myLocation; } /** * Sets the value(s) for location () * *

* Definition: * Where the event occurred *

*/ public Participant setLocation(ResourceReferenceDt theValue) { myLocation = theValue; return this; } /** * Gets the value(s) for policy (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. *

*/ public java.util.List getPolicy() { if (myPolicy == null) { myPolicy = new java.util.ArrayList(); } return myPolicy; } /** * Sets the value(s) for policy () * *

* Definition: * The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. *

*/ public Participant setPolicy(java.util.List theValue) { myPolicy = theValue; return this; } /** * Adds and returns a new value for policy () * *

* Definition: * The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. *

*/ public UriDt addPolicy() { UriDt newType = new UriDt(); getPolicy().add(newType); return newType; } /** * Adds a given new value for policy () * *

* Definition: * The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. *

* @param theValue The policy to add (must not be null) */ public Participant addPolicy(UriDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getPolicy().add(theValue); return this; } /** * Gets the first repetition for policy (), * creating it if it does not already exist. * *

* Definition: * The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. *

*/ public UriDt getPolicyFirstRep() { if (getPolicy().isEmpty()) { return addPolicy(); } return getPolicy().get(0); } /** * Adds a new value for policy () * *

* Definition: * The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. *

* * @return Returns a reference to this object, to allow for simple chaining. */ public Participant addPolicy( String theUri) { if (myPolicy == null) { myPolicy = new java.util.ArrayList(); } myPolicy.add(new UriDt(theUri)); return this; } /** * Gets the value(s) for media (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Type of media involved. Used when the event is about exporting/importing onto media *

*/ public CodingDt getMedia() { if (myMedia == null) { myMedia = new CodingDt(); } return myMedia; } /** * Sets the value(s) for media () * *

* Definition: * Type of media involved. Used when the event is about exporting/importing onto media *

*/ public Participant setMedia(CodingDt theValue) { myMedia = theValue; return this; } /** * Gets the value(s) for network (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Logical network location for application activity, if the activity has a network location *

*/ public ParticipantNetwork getNetwork() { if (myNetwork == null) { myNetwork = new ParticipantNetwork(); } return myNetwork; } /** * Sets the value(s) for network () * *

* Definition: * Logical network location for application activity, if the activity has a network location *

*/ public Participant setNetwork(ParticipantNetwork theValue) { myNetwork = theValue; return this; } /** * Gets the value(s) for purposeOfUse (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The reason (purpose of use), specific to this participant, that was used during the event being recorded. *

*/ public java.util.List getPurposeOfUse() { if (myPurposeOfUse == null) { myPurposeOfUse = new java.util.ArrayList(); } return myPurposeOfUse; } /** * Sets the value(s) for purposeOfUse () * *

* Definition: * The reason (purpose of use), specific to this participant, that was used during the event being recorded. *

*/ public Participant setPurposeOfUse(java.util.List theValue) { myPurposeOfUse = theValue; return this; } /** * Adds and returns a new value for purposeOfUse () * *

* Definition: * The reason (purpose of use), specific to this participant, that was used during the event being recorded. *

*/ public CodingDt addPurposeOfUse() { CodingDt newType = new CodingDt(); getPurposeOfUse().add(newType); return newType; } /** * Adds a given new value for purposeOfUse () * *

* Definition: * The reason (purpose of use), specific to this participant, that was used during the event being recorded. *

* @param theValue The purposeOfUse to add (must not be null) */ public Participant addPurposeOfUse(CodingDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getPurposeOfUse().add(theValue); return this; } /** * Gets the first repetition for purposeOfUse (), * creating it if it does not already exist. * *

* Definition: * The reason (purpose of use), specific to this participant, that was used during the event being recorded. *

*/ public CodingDt getPurposeOfUseFirstRep() { if (getPurposeOfUse().isEmpty()) { return addPurposeOfUse(); } return getPurposeOfUse().get(0); } } /** * Block class for child element: AuditEvent.participant.network () * *

* Definition: * Logical network location for application activity, if the activity has a network location *

*/ @Block() public static class ParticipantNetwork extends BaseIdentifiableElement implements IResourceBlock { @Child(name="address", type=StringDt.class, order=0, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="An identifier for the network access point of the user device for the audit event" ) private StringDt myAddress; @Child(name="type", type=CodeDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="An identifier for the type of network access point that originated the audit event" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/network-type") private BoundCodeDt myType; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myAddress, myType); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myAddress, myType); } /** * Gets the value(s) for address (). * creating it if it does * not exist. Will not return null. * *

* Definition: * An identifier for the network access point of the user device for the audit event *

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

* Definition: * An identifier for the network access point of the user device for the audit event *

*/ public String getAddress() { return getAddressElement().getValue(); } /** * Sets the value(s) for address () * *

* Definition: * An identifier for the network access point of the user device for the audit event *

*/ public ParticipantNetwork setAddress(StringDt theValue) { myAddress = theValue; return this; } /** * Sets the value for address () * *

* Definition: * An identifier for the network access point of the user device for the audit event *

*/ public ParticipantNetwork setAddress( String theString) { myAddress = new StringDt(theString); return this; } /** * Gets the value(s) for type (). * creating it if it does * not exist. Will not return null. * *

* Definition: * An identifier for the type of network access point that originated the audit event *

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

* Definition: * An identifier for the type of network access point that originated the audit event *

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

* Definition: * An identifier for the type of network access point that originated the audit event *

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

* Definition: * An identifier for the type of network access point that originated the audit event *

*/ public ParticipantNetwork setType(AuditEventParticipantNetworkTypeEnum theValue) { setType(new BoundCodeDt(AuditEventParticipantNetworkTypeEnum.VALUESET_BINDER, theValue)); /* getTypeElement().setValueAsEnum(theValue); */ return this; } } /** * Block class for child element: AuditEvent.source () * *

* Definition: * *

*/ @Block() public static class Source extends BaseIdentifiableElement implements IResourceBlock { @Child(name="site", type=StringDt.class, order=0, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group" ) private StringDt mySite; @Child(name="identifier", type=IdentifierDt.class, order=1, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Identifier of the source where the event was detected" ) private IdentifierDt myIdentifier; @Child(name="type", type=CodingDt.class, order=2, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Code specifying the type of source where event originated" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-audit-source-type") private java.util.List myType; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySite, myIdentifier, myType); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySite, myIdentifier, myType); } /** * Gets the value(s) for site (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group *

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

* Definition: * Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group *

*/ public String getSite() { return getSiteElement().getValue(); } /** * Sets the value(s) for site () * *

* Definition: * Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group *

*/ public Source setSite(StringDt theValue) { mySite = theValue; return this; } /** * Sets the value for site () * *

* Definition: * Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group *

*/ public Source setSite( String theString) { mySite = new StringDt(theString); return this; } /** * Gets the value(s) for identifier (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifier of the source where the event was detected *

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

* Definition: * Identifier of the source where the event was detected *

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

* Definition: * Code specifying the type of source where event originated *

*/ public java.util.List getType() { if (myType == null) { myType = new java.util.ArrayList(); } return myType; } /** * Sets the value(s) for type () * *

* Definition: * Code specifying the type of source where event originated *

*/ public Source setType(java.util.List theValue) { myType = theValue; return this; } /** * Adds and returns a new value for type () * *

* Definition: * Code specifying the type of source where event originated *

*/ public CodingDt addType() { CodingDt newType = new CodingDt(); getType().add(newType); return newType; } /** * Adds a given new value for type () * *

* Definition: * Code specifying the type of source where event originated *

* @param theValue The type to add (must not be null) */ public Source addType(CodingDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getType().add(theValue); return this; } /** * Gets the first repetition for type (), * creating it if it does not already exist. * *

* Definition: * Code specifying the type of source where event originated *

*/ public CodingDt getTypeFirstRep() { if (getType().isEmpty()) { return addType(); } return getType().get(0); } } /** * Block class for child element: AuditEvent.object () * *

* Definition: * Specific instances of data or objects that have been accessed *

*/ @Block() public static class ObjectElement extends BaseIdentifiableElement implements IResourceBlock { @Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="Identifies a specific instance of the participant object. The reference should always be version specific" ) private IdentifierDt myIdentifier; @Child(name="reference", order=1, min=0, max=1, summary=true, modifier=false, type={ IResource.class }) @Description( shortDefinition="", formalDefinition="Identifies a specific instance of the participant object. The reference should always be version specific" ) private ResourceReferenceDt myReference; @Child(name="type", type=CodingDt.class, order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="The type of the object that was involved in this audit event." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/object-type") private CodingDt myType; @Child(name="role", type=CodingDt.class, order=3, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Code representing the functional application role of Participant Object being audited" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/object-role") private CodingDt myRole; @Child(name="lifecycle", type=CodingDt.class, order=4, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Identifier for the data life-cycle stage for the participant object" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/object-lifecycle") private CodingDt myLifecycle; @Child(name="securityLabel", type=CodingDt.class, order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Denotes security labels for the identified object." ) private java.util.List mySecurityLabel; @Child(name="name", type=StringDt.class, order=6, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="An instance-specific descriptor of the Participant Object ID audited, such as a person's name" ) private StringDt myName; @Child(name="description", type=StringDt.class, order=7, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Text that describes the object in more detail" ) private StringDt myDescription; @Child(name="query", type=Base64BinaryDt.class, order=8, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="The actual query for a query-type participant object" ) private Base64BinaryDt myQuery; @Child(name="detail", order=9, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="" ) private java.util.List myDetail; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myReference, myType, myRole, myLifecycle, mySecurityLabel, myName, myDescription, myQuery, myDetail); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myReference, myType, myRole, myLifecycle, mySecurityLabel, myName, myDescription, myQuery, myDetail); } /** * Gets the value(s) for identifier (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies a specific instance of the participant object. The reference should always be version specific *

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

* Definition: * Identifies a specific instance of the participant object. The reference should always be version specific *

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

* Definition: * Identifies a specific instance of the participant object. The reference should always be version specific *

*/ public ResourceReferenceDt getReference() { if (myReference == null) { myReference = new ResourceReferenceDt(); } return myReference; } /** * Sets the value(s) for reference () * *

* Definition: * Identifies a specific instance of the participant object. The reference should always be version specific *

*/ public ObjectElement setReference(ResourceReferenceDt theValue) { myReference = theValue; return this; } /** * Gets the value(s) for type (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The type of the object that was involved in this audit event. *

*/ public CodingDt getType() { if (myType == null) { myType = new CodingDt(); } return myType; } /** * Sets the value(s) for type () * *

* Definition: * The type of the object that was involved in this audit event. *

*/ public ObjectElement setType(CodingDt theValue) { myType = theValue; return this; } /** * Gets the value(s) for role (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Code representing the functional application role of Participant Object being audited *

*/ public CodingDt getRole() { if (myRole == null) { myRole = new CodingDt(); } return myRole; } /** * Sets the value(s) for role () * *

* Definition: * Code representing the functional application role of Participant Object being audited *

*/ public ObjectElement setRole(CodingDt theValue) { myRole = theValue; return this; } /** * Gets the value(s) for lifecycle (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifier for the data life-cycle stage for the participant object *

*/ public CodingDt getLifecycle() { if (myLifecycle == null) { myLifecycle = new CodingDt(); } return myLifecycle; } /** * Sets the value(s) for lifecycle () * *

* Definition: * Identifier for the data life-cycle stage for the participant object *

*/ public ObjectElement setLifecycle(CodingDt theValue) { myLifecycle = theValue; return this; } /** * Gets the value(s) for securityLabel (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Denotes security labels for the identified object. *

*/ public java.util.List getSecurityLabel() { if (mySecurityLabel == null) { mySecurityLabel = new java.util.ArrayList(); } return mySecurityLabel; } /** * Sets the value(s) for securityLabel () * *

* Definition: * Denotes security labels for the identified object. *

*/ public ObjectElement setSecurityLabel(java.util.List theValue) { mySecurityLabel = theValue; return this; } /** * Adds and returns a new value for securityLabel () * *

* Definition: * Denotes security labels for the identified object. *

*/ public CodingDt addSecurityLabel() { CodingDt newType = new CodingDt(); getSecurityLabel().add(newType); return newType; } /** * Adds a given new value for securityLabel () * *

* Definition: * Denotes security labels for the identified object. *

* @param theValue The securityLabel to add (must not be null) */ public ObjectElement addSecurityLabel(CodingDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getSecurityLabel().add(theValue); return this; } /** * Gets the first repetition for securityLabel (), * creating it if it does not already exist. * *

* Definition: * Denotes security labels for the identified object. *

*/ public CodingDt getSecurityLabelFirstRep() { if (getSecurityLabel().isEmpty()) { return addSecurityLabel(); } return getSecurityLabel().get(0); } /** * Gets the value(s) for name (). * creating it if it does * not exist. Will not return null. * *

* Definition: * An instance-specific descriptor of the Participant Object ID audited, such as a person's name *

*/ 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: * An instance-specific descriptor of the Participant Object ID audited, such as a person's name *

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

* Definition: * An instance-specific descriptor of the Participant Object ID audited, such as a person's name *

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

* Definition: * An instance-specific descriptor of the Participant Object ID audited, such as a person's name *

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

* Definition: * Text that describes the object in more detail *

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

* Definition: * Text that describes the object in more detail *

*/ public String getDescription() { return getDescriptionElement().getValue(); } /** * Sets the value(s) for description () * *

* Definition: * Text that describes the object in more detail *

*/ public ObjectElement setDescription(StringDt theValue) { myDescription = theValue; return this; } /** * Sets the value for description () * *

* Definition: * Text that describes the object in more detail *

*/ public ObjectElement setDescription( String theString) { myDescription = new StringDt(theString); return this; } /** * Gets the value(s) for query (). * creating it if it does * not exist. Will not return null. * *

* Definition: * The actual query for a query-type participant object *

*/ public Base64BinaryDt getQueryElement() { if (myQuery == null) { myQuery = new Base64BinaryDt(); } return myQuery; } /** * Gets the value(s) for query (). * creating it if it does * not exist. This method may return null. * *

* Definition: * The actual query for a query-type participant object *

*/ public byte[] getQuery() { return getQueryElement().getValue(); } /** * Sets the value(s) for query () * *

* Definition: * The actual query for a query-type participant object *

*/ public ObjectElement setQuery(Base64BinaryDt theValue) { myQuery = theValue; return this; } /** * Sets the value for query () * *

* Definition: * The actual query for a query-type participant object *

*/ public ObjectElement setQuery( byte[] theBytes) { myQuery = new Base64BinaryDt(theBytes); return this; } /** * Gets the value(s) for detail (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getDetail() { if (myDetail == null) { myDetail = new java.util.ArrayList(); } return myDetail; } /** * Sets the value(s) for detail () * *

* Definition: * *

*/ public ObjectElement setDetail(java.util.List theValue) { myDetail = theValue; return this; } /** * Adds and returns a new value for detail () * *

* Definition: * *

*/ public ObjectDetail addDetail() { ObjectDetail newType = new ObjectDetail(); getDetail().add(newType); return newType; } /** * Adds a given new value for detail () * *

* Definition: * *

* @param theValue The detail to add (must not be null) */ public ObjectElement addDetail(ObjectDetail theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getDetail().add(theValue); return this; } /** * Gets the first repetition for detail (), * creating it if it does not already exist. * *

* Definition: * *

*/ public ObjectDetail getDetailFirstRep() { if (getDetail().isEmpty()) { return addDetail(); } return getDetail().get(0); } } /** * Block class for child element: AuditEvent.object.detail () * *

* Definition: * *

*/ @Block() public static class ObjectDetail extends BaseIdentifiableElement implements IResourceBlock { @Child(name="type", type=StringDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="" ) private StringDt myType; @Child(name="value", type=Base64BinaryDt.class, order=1, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="" ) private Base64BinaryDt myValue; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myValue); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myValue); } /** * Gets the value(s) for type (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

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

* Definition: * *

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

* Definition: * *

*/ public ObjectDetail setType(StringDt theValue) { myType = theValue; return this; } /** * Sets the value for type () * *

* Definition: * *

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

* Definition: * *

*/ public Base64BinaryDt getValueElement() { if (myValue == null) { myValue = new Base64BinaryDt(); } return myValue; } /** * Gets the value(s) for value (). * creating it if it does * not exist. This method may return null. * *

* Definition: * *

*/ public byte[] getValue() { return getValueElement().getValue(); } /** * Sets the value(s) for value () * *

* Definition: * *

*/ public ObjectDetail setValue(Base64BinaryDt theValue) { myValue = theValue; return this; } /** * Sets the value for value () * *

* Definition: * *

*/ public ObjectDetail setValue( byte[] theBytes) { myValue = new Base64BinaryDt(theBytes); return this; } } @Override public String getResourceName() { return "AuditEvent"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy