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

ca.uhn.fhir.model.dstu.resource.Conformance Maven / Gradle / Ivy

There is a newer version: 7.6.1
Show newest version
















package ca.uhn.fhir.model.dstu.resource;


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.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.resource.AdverseReaction;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AlertStatusEnum;
import ca.uhn.fhir.model.dstu.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.resource.Appointment;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.resource.Availability;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.resource.CarePlan;
import ca.uhn.fhir.model.dstu.valueset.CarePlanActivityCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanGoalStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CausalityExpectationEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu.resource.Condition;
import ca.uhn.fhir.model.dstu.valueset.ConditionRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConditionStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.CriticalityEnum;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DeviceObservationReport;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.resource.DocumentManifest;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.DocumentReference;
import ca.uhn.fhir.model.dstu.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExposureTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.resource.FamilyHistory;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.GVFMeta;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.resource.Immunization;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationReasonCodesEnum;
import ca.uhn.fhir.model.dstu.resource.ImmunizationRecommendation;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRecommendationDateCriterionCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRecommendationStatusCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRouteCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.resource.MedicationAdministration;
import ca.uhn.fhir.model.dstu.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationDispense;
import ca.uhn.fhir.model.dstu.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationPrescription;
import ca.uhn.fhir.model.dstu.valueset.MedicationPrescriptionStatusEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.resource.Microarray;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu.resource.Order;
import ca.uhn.fhir.model.dstu.valueset.OrderOutcomeStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Procedure;
import ca.uhn.fhir.model.dstu.valueset.ProcedureRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.valueset.QueryOutcomeEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireGroupNameEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireNameEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.valueset.ReactionSeverityEnum;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.composite.ScheduleDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventActionEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventOutcomeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SensitivityStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SensitivityTypeEnum;
import ca.uhn.fhir.model.dstu.resource.SequencingAnalysis;
import ca.uhn.fhir.model.dstu.resource.SequencingLab;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Slot;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SupplyDispenseStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyItemTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyTypeEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.ExtensionDt;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.AgeDt;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.resource.Binary;
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.BoundCodeableConceptDt;
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.IdrefDt;
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.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;


/**
 * HAPI/FHIR Conformance Resource
 * (A conformance statement)
 *
 * 

* Definition: * A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation *

* *

* Requirements: * *

* *

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

* */ @ResourceDef(name="Conformance", profile="http://hl7.org/fhir/profiles/Conformance", id="conformance") public class Conformance extends ca.uhn.fhir.model.dstu.resource.BaseResource implements ca.uhn.fhir.model.base.resource.BaseConformance { /** * Search parameter constant for identifier *

* Description: The identifier of the conformance statement
* Type: token
* Path: Conformance.identifier
*

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

* Description: The identifier of the conformance statement
* Type: token
* Path: Conformance.identifier
*

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

* Description: The version identifier of the conformance statement
* Type: token
* Path: Conformance.version
*

*/ @SearchParamDefinition(name="version", path="Conformance.version", description="The version identifier of the conformance statement", type="token" ) public static final String SP_VERSION = "version"; /** * Fluent Client search parameter constant for version *

* Description: The version identifier of the conformance statement
* Type: token
* Path: Conformance.version
*

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

* Description: Name of the conformance statement
* Type: string
* Path: Conformance.name
*

*/ @SearchParamDefinition(name="name", path="Conformance.name", description="Name of the conformance statement", type="string" ) public static final String SP_NAME = "name"; /** * Fluent Client search parameter constant for name *

* Description: Name of the conformance statement
* Type: string
* Path: Conformance.name
*

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

* Description: Name of the publisher of the conformance statement
* Type: string
* Path: Conformance.publisher
*

*/ @SearchParamDefinition(name="publisher", path="Conformance.publisher", description="Name of the publisher of the conformance statement", type="string" ) public static final String SP_PUBLISHER = "publisher"; /** * Fluent Client search parameter constant for publisher *

* Description: Name of the publisher of the conformance statement
* Type: string
* Path: Conformance.publisher
*

*/ public static final StringClientParam PUBLISHER = new StringClientParam(SP_PUBLISHER); /** * Search parameter constant for description *

* Description: Text search in the description of the conformance statement
* Type: string
* Path: Conformance.description
*

*/ @SearchParamDefinition(name="description", path="Conformance.description", description="Text search in the description of the conformance statement", type="string" ) public static final String SP_DESCRIPTION = "description"; /** * Fluent Client search parameter constant for description *

* Description: Text search in the description of the conformance statement
* Type: string
* Path: Conformance.description
*

*/ public static final StringClientParam DESCRIPTION = new StringClientParam(SP_DESCRIPTION); /** * Search parameter constant for status *

* Description: The current status of the conformance statement
* Type: token
* Path: Conformance.status
*

*/ @SearchParamDefinition(name="status", path="Conformance.status", description="The current status of the conformance statement", type="token" ) public static final String SP_STATUS = "status"; /** * Fluent Client search parameter constant for status *

* Description: The current status of the conformance statement
* Type: token
* Path: Conformance.status
*

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

* Description: The conformance statement publication date
* Type: date
* Path: Conformance.date
*

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

* Description: The conformance statement publication date
* Type: date
* Path: Conformance.date
*

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

* Description: Part of a the name of a software application
* Type: string
* Path: Conformance.software.name
*

*/ @SearchParamDefinition(name="software", path="Conformance.software.name", description="Part of a the name of a software application", type="string" ) public static final String SP_SOFTWARE = "software"; /** * Fluent Client search parameter constant for software *

* Description: Part of a the name of a software application
* Type: string
* Path: Conformance.software.name
*

*/ public static final StringClientParam SOFTWARE = new StringClientParam(SP_SOFTWARE); /** * Search parameter constant for fhirversion *

* Description: The version of FHIR
* Type: token
* Path: Conformance.version
*

*/ @SearchParamDefinition(name="fhirversion", path="Conformance.version", description="The version of FHIR", type="token" ) public static final String SP_FHIRVERSION = "fhirversion"; /** * Fluent Client search parameter constant for fhirversion *

* Description: The version of FHIR
* Type: token
* Path: Conformance.version
*

*/ public static final TokenClientParam FHIRVERSION = new TokenClientParam(SP_FHIRVERSION); /** * Search parameter constant for resource *

* Description: Name of a resource mentioned in a conformance statement
* Type: token
* Path: Conformance.rest.resource.type
*

*/ @SearchParamDefinition(name="resource", path="Conformance.rest.resource.type", description="Name of a resource mentioned in a conformance statement", type="token" ) public static final String SP_RESOURCE = "resource"; /** * Fluent Client search parameter constant for resource *

* Description: Name of a resource mentioned in a conformance statement
* Type: token
* Path: Conformance.rest.resource.type
*

*/ public static final TokenClientParam RESOURCE = new TokenClientParam(SP_RESOURCE); /** * Search parameter constant for event *

* Description: Event code in a conformance statement
* Type: token
* Path: Conformance.messaging.event.code
*

*/ @SearchParamDefinition(name="event", path="Conformance.messaging.event.code", description="Event code in a conformance statement", type="token" ) public static final String SP_EVENT = "event"; /** * Fluent Client search parameter constant for event *

* Description: Event code in a conformance statement
* Type: token
* Path: Conformance.messaging.event.code
*

*/ public static final TokenClientParam EVENT = new TokenClientParam(SP_EVENT); /** * Search parameter constant for mode *

* Description: Mode - restful (server/client) or messaging (sender/receiver)
* Type: token
* Path: Conformance.rest.mode
*

*/ @SearchParamDefinition(name="mode", path="Conformance.rest.mode", description="Mode - restful (server/client) or messaging (sender/receiver)", type="token" ) public static final String SP_MODE = "mode"; /** * Fluent Client search parameter constant for mode *

* Description: Mode - restful (server/client) or messaging (sender/receiver)
* Type: token
* Path: Conformance.rest.mode
*

*/ public static final TokenClientParam MODE = new TokenClientParam(SP_MODE); /** * Search parameter constant for profile *

* Description: A profile id invoked in a conformance statement
* Type: reference
* Path: Conformance.rest.resource.profile
*

*/ @SearchParamDefinition(name="profile", path="Conformance.rest.resource.profile", description="A profile id invoked in a conformance statement", type="reference" ) public static final String SP_PROFILE = "profile"; /** * Fluent Client search parameter constant for profile *

* Description: A profile id invoked in a conformance statement
* Type: reference
* Path: Conformance.rest.resource.profile
*

*/ public static final ReferenceClientParam PROFILE = new ReferenceClientParam(SP_PROFILE); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Conformance.rest.resource.profile". */ public static final Include INCLUDE_REST_RESOURCE_PROFILE = new Include("Conformance.rest.resource.profile"); /** * Search parameter constant for format *

* Description:
* Type: token
* Path: Conformance.format
*

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

* Description:
* Type: token
* Path: Conformance.format
*

*/ public static final TokenClientParam FORMAT = new TokenClientParam(SP_FORMAT); /** * Search parameter constant for security *

* Description:
* Type: token
* Path: Conformance.rest.security
*

*/ @SearchParamDefinition(name="security", path="Conformance.rest.security", description="", type="token" ) public static final String SP_SECURITY = "security"; /** * Fluent Client search parameter constant for security *

* Description:
* Type: token
* Path: Conformance.rest.security
*

*/ public static final TokenClientParam SECURITY = new TokenClientParam(SP_SECURITY); /** * Search parameter constant for supported-profile *

* Description:
* Type: reference
* Path: Conformance.profile
*

*/ @SearchParamDefinition(name="supported-profile", path="Conformance.profile", description="", type="reference" ) public static final String SP_SUPPORTED_PROFILE = "supported-profile"; /** * Fluent Client search parameter constant for supported-profile *

* Description:
* Type: reference
* Path: Conformance.profile
*

*/ public static final ReferenceClientParam SUPPORTED_PROFILE = new ReferenceClientParam(SP_SUPPORTED_PROFILE); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "Conformance.profile". */ public static final Include INCLUDE_PROFILE = new Include("Conformance.profile"); @Child(name="identifier", type=StringDt.class, order=0, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Logical id to reference this statement", formalDefinition="The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI)" ) private StringDt myIdentifier; @Child(name="version", type=StringDt.class, order=1, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Logical id for this version of the statement", formalDefinition="The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp" ) private StringDt myVersion; @Child(name="name", type=StringDt.class, order=2, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Informal name for this conformance statement", formalDefinition="A free text natural language name identifying the conformance statement" ) private StringDt myName; @Child(name="publisher", type=StringDt.class, order=3, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="Publishing Organization", formalDefinition="Name of Organization publishing this conformance statement" ) private StringDt myPublisher; @Child(name="telecom", type=ContactDt.class, order=4, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="Contacts for Organization", formalDefinition="Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc." ) private java.util.List myTelecom; @Child(name="description", type=StringDt.class, order=5, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Human description of the conformance statement", formalDefinition="A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP" ) private StringDt myDescription; @Child(name="status", type=CodeDt.class, order=6, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="draft | active | retired", formalDefinition="The status of this conformance statement" ) private BoundCodeDt myStatus; @Child(name="experimental", type=BooleanDt.class, order=7, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="If for testing purposes, not real usage", formalDefinition="A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage" ) private BooleanDt myExperimental; @Child(name="date", type=DateTimeDt.class, order=8, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="Publication Date", formalDefinition="The date when the conformance statement was published" ) private DateTimeDt myDate; @Child(name="software", order=9, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Software that is covered by this conformance statement", formalDefinition="Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation." ) private Software mySoftware; @Child(name="implementation", order=10, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="If this describes a specific instance", formalDefinition="Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program" ) private Implementation myImplementation; @Child(name="fhirVersion", type=IdDt.class, order=11, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="FHIR Version", formalDefinition="The version of the FHIR specification on which this conformance statement is based" ) private IdDt myFhirVersion; @Child(name="acceptUnknown", type=BooleanDt.class, order=12, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="True if application accepts unknown elements", formalDefinition="A flag that indicates whether the application accepts unknown elements as part of a resource." ) private BooleanDt myAcceptUnknown; @Child(name="format", type=CodeDt.class, order=13, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="formats supported (xml | json | mime type)", formalDefinition="A list of the formats supported by this implementation" ) private java.util.List myFormat; @Child(name="profile", order=14, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.Profile.class }) @Description( shortDefinition="Profiles supported by the system", formalDefinition="A list of profiles supported by the system. For a server, \"supported by the system\" means the system hosts/produces a set of recourses, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile." ) private java.util.List myProfile; @Child(name="rest", order=15, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="If the endpoint is a RESTful one", formalDefinition="A definition of the restful capabilities of the solution, if any" ) private java.util.List myRest; @Child(name="messaging", order=16, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="If messaging is supported", formalDefinition="A description of the messaging capabilities of the solution" ) private java.util.List myMessaging; @Child(name="document", order=17, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Document definition", formalDefinition="A document definition" ) private java.util.List myDocument; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myStatus, myExperimental, myDate, mySoftware, myImplementation, myFhirVersion, myAcceptUnknown, myFormat, myProfile, myRest, myMessaging, myDocument); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myStatus, myExperimental, myDate, mySoftware, myImplementation, myFhirVersion, myAcceptUnknown, myFormat, myProfile, myRest, myMessaging, myDocument); } /** * Gets the value(s) for identifier (Logical id to reference this statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI) *

*/ public StringDt getIdentifier() { if (myIdentifier == null) { myIdentifier = new StringDt(); } return myIdentifier; } /** * Gets the value(s) for identifier (Logical id to reference this statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI) *

*/ public StringDt getIdentifierElement() { if (myIdentifier == null) { myIdentifier = new StringDt(); } return myIdentifier; } /** * Sets the value(s) for identifier (Logical id to reference this statement) * *

* Definition: * The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI) *

*/ public Conformance setIdentifier(StringDt theValue) { myIdentifier = theValue; return this; } /** * Sets the value for identifier (Logical id to reference this statement) * *

* Definition: * The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI) *

*/ public Conformance setIdentifier( String theString) { myIdentifier = new StringDt(theString); return this; } /** * Gets the value(s) for version (Logical id for this version of the statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp *

*/ public StringDt getVersion() { if (myVersion == null) { myVersion = new StringDt(); } return myVersion; } /** * Gets the value(s) for version (Logical id for this version of the statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp *

*/ public StringDt getVersionElement() { if (myVersion == null) { myVersion = new StringDt(); } return myVersion; } /** * Sets the value(s) for version (Logical id for this version of the statement) * *

* Definition: * The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp *

*/ public Conformance setVersion(StringDt theValue) { myVersion = theValue; return this; } /** * Sets the value for version (Logical id for this version of the statement) * *

* Definition: * The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp *

*/ public Conformance setVersion( String theString) { myVersion = new StringDt(theString); return this; } /** * Gets the value(s) for name (Informal name for this conformance statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text natural language name identifying the conformance statement *

*/ public StringDt getName() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Gets the value(s) for name (Informal name for this conformance statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text natural language name identifying the conformance statement *

*/ public StringDt getNameElement() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Sets the value(s) for name (Informal name for this conformance statement) * *

* Definition: * A free text natural language name identifying the conformance statement *

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

* Definition: * A free text natural language name identifying the conformance statement *

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

* Definition: * Name of Organization publishing this conformance statement *

*/ public StringDt getPublisher() { if (myPublisher == null) { myPublisher = new StringDt(); } return myPublisher; } /** * Gets the value(s) for publisher (Publishing Organization). * creating it if it does * not exist. Will not return null. * *

* Definition: * Name of Organization publishing this conformance statement *

*/ public StringDt getPublisherElement() { if (myPublisher == null) { myPublisher = new StringDt(); } return myPublisher; } /** * Sets the value(s) for publisher (Publishing Organization) * *

* Definition: * Name of Organization publishing this conformance statement *

*/ public Conformance setPublisher(StringDt theValue) { myPublisher = theValue; return this; } /** * Sets the value for publisher (Publishing Organization) * *

* Definition: * Name of Organization publishing this conformance statement *

*/ public Conformance setPublisher( String theString) { myPublisher = new StringDt(theString); return this; } /** * Gets the value(s) for telecom (Contacts for Organization). * creating it if it does * not exist. Will not return null. * *

* Definition: * Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. *

*/ public java.util.List getTelecom() { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } return myTelecom; } /** * Gets the value(s) for telecom (Contacts for Organization). * creating it if it does * not exist. Will not return null. * *

* Definition: * Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. *

*/ public java.util.List getTelecomElement() { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } return myTelecom; } /** * Sets the value(s) for telecom (Contacts for Organization) * *

* Definition: * Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. *

*/ public Conformance setTelecom(java.util.List theValue) { myTelecom = theValue; return this; } /** * Adds and returns a new value for telecom (Contacts for Organization) * *

* Definition: * Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. *

*/ public ContactDt addTelecom() { ContactDt newType = new ContactDt(); getTelecom().add(newType); return newType; } /** * Gets the first repetition for telecom (Contacts for Organization), * creating it if it does not already exist. * *

* Definition: * Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. *

*/ public ContactDt getTelecomFirstRep() { if (getTelecom().isEmpty()) { return addTelecom(); } return getTelecom().get(0); } /** * Adds a new value for telecom (Contacts for Organization) * *

* Definition: * Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. *

* * @return Returns a reference to this object, to allow for simple chaining. */ public Conformance addTelecom( ContactUseEnum theContactUse, String theValue) { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } myTelecom.add(new ContactDt(theContactUse, theValue)); return this; } /** * Adds a new value for telecom (Contacts for Organization) * *

* Definition: * Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. *

* * @return Returns a reference to this object, to allow for simple chaining. */ public Conformance addTelecom( String theValue) { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } myTelecom.add(new ContactDt(theValue)); return this; } /** * Gets the value(s) for description (Human description of the conformance statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP *

*/ public StringDt getDescription() { if (myDescription == null) { myDescription = new StringDt(); } return myDescription; } /** * Gets the value(s) for description (Human description of the conformance statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP *

*/ public StringDt getDescriptionElement() { if (myDescription == null) { myDescription = new StringDt(); } return myDescription; } /** * Sets the value(s) for description (Human description of the conformance statement) * *

* Definition: * A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP *

*/ public Conformance setDescription(StringDt theValue) { myDescription = theValue; return this; } /** * Sets the value for description (Human description of the conformance statement) * *

* Definition: * A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP *

*/ public Conformance setDescription( String theString) { myDescription = new StringDt(theString); return this; } /** * Gets the value(s) for status (draft | active | retired). * creating it if it does * not exist. Will not return null. * *

* Definition: * The status of this conformance statement *

*/ public BoundCodeDt getStatus() { if (myStatus == null) { myStatus = new BoundCodeDt(ConformanceStatementStatusEnum.VALUESET_BINDER); } return myStatus; } /** * Gets the value(s) for status (draft | active | retired). * creating it if it does * not exist. Will not return null. * *

* Definition: * The status of this conformance statement *

*/ public BoundCodeDt getStatusElement() { if (myStatus == null) { myStatus = new BoundCodeDt(ConformanceStatementStatusEnum.VALUESET_BINDER); } return myStatus; } /** * Sets the value(s) for status (draft | active | retired) * *

* Definition: * The status of this conformance statement *

*/ public Conformance setStatus(BoundCodeDt theValue) { myStatus = theValue; return this; } /** * Sets the value(s) for status (draft | active | retired) * *

* Definition: * The status of this conformance statement *

*/ public Conformance setStatus(ConformanceStatementStatusEnum theValue) { getStatus().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for experimental (If for testing purposes, not real usage). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public BooleanDt getExperimental() { if (myExperimental == null) { myExperimental = new BooleanDt(); } return myExperimental; } /** * Gets the value(s) for experimental (If for testing purposes, not real usage). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public BooleanDt getExperimentalElement() { if (myExperimental == null) { myExperimental = new BooleanDt(); } return myExperimental; } /** * Sets the value(s) for experimental (If for testing purposes, not real usage) * *

* Definition: * A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public Conformance setExperimental(BooleanDt theValue) { myExperimental = theValue; return this; } /** * Sets the value for experimental (If for testing purposes, not real usage) * *

* Definition: * A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public Conformance setExperimental( boolean theBoolean) { myExperimental = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for date (Publication Date). * creating it if it does * not exist. Will not return null. * *

* Definition: * The date when the conformance statement was published *

*/ public DateTimeDt getDate() { if (myDate == null) { myDate = new DateTimeDt(); } return myDate; } /** * Gets the value(s) for date (Publication Date). * creating it if it does * not exist. Will not return null. * *

* Definition: * The date when the conformance statement was published *

*/ public DateTimeDt getDateElement() { if (myDate == null) { myDate = new DateTimeDt(); } return myDate; } /** * Sets the value(s) for date (Publication Date) * *

* Definition: * The date when the conformance statement was published *

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

* Definition: * The date when the conformance statement was published *

*/ public Conformance setDate( Date theDate, TemporalPrecisionEnum thePrecision) { myDate = new DateTimeDt(theDate, thePrecision); return this; } /** * Sets the value for date (Publication Date) * *

* Definition: * The date when the conformance statement was published *

*/ public Conformance setDateWithSecondsPrecision( Date theDate) { myDate = new DateTimeDt(theDate); return this; } /** * Gets the value(s) for software (Software that is covered by this conformance statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation. *

*/ public Software getSoftware() { if (mySoftware == null) { mySoftware = new Software(); } return mySoftware; } /** * Gets the value(s) for software (Software that is covered by this conformance statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation. *

*/ public Software getSoftwareElement() { if (mySoftware == null) { mySoftware = new Software(); } return mySoftware; } /** * Sets the value(s) for software (Software that is covered by this conformance statement) * *

* Definition: * Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation. *

*/ public Conformance setSoftware(Software theValue) { mySoftware = theValue; return this; } /** * Gets the value(s) for implementation (If this describes a specific instance). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program *

*/ public Implementation getImplementation() { if (myImplementation == null) { myImplementation = new Implementation(); } return myImplementation; } /** * Gets the value(s) for implementation (If this describes a specific instance). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program *

*/ public Implementation getImplementationElement() { if (myImplementation == null) { myImplementation = new Implementation(); } return myImplementation; } /** * Sets the value(s) for implementation (If this describes a specific instance) * *

* Definition: * Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program *

*/ public Conformance setImplementation(Implementation theValue) { myImplementation = theValue; return this; } /** * Gets the value(s) for fhirVersion (FHIR Version). * creating it if it does * not exist. Will not return null. * *

* Definition: * The version of the FHIR specification on which this conformance statement is based *

*/ public IdDt getFhirVersion() { if (myFhirVersion == null) { myFhirVersion = new IdDt(); } return myFhirVersion; } /** * Gets the value(s) for fhirVersion (FHIR Version). * creating it if it does * not exist. Will not return null. * *

* Definition: * The version of the FHIR specification on which this conformance statement is based *

*/ public IdDt getFhirVersionElement() { if (myFhirVersion == null) { myFhirVersion = new IdDt(); } return myFhirVersion; } /** * Sets the value(s) for fhirVersion (FHIR Version) * *

* Definition: * The version of the FHIR specification on which this conformance statement is based *

*/ public Conformance setFhirVersion(IdDt theValue) { myFhirVersion = theValue; return this; } /** * Sets the value for fhirVersion (FHIR Version) * *

* Definition: * The version of the FHIR specification on which this conformance statement is based *

*/ public Conformance setFhirVersion( String theId) { myFhirVersion = new IdDt(theId); return this; } /** * Gets the value(s) for acceptUnknown (True if application accepts unknown elements). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag that indicates whether the application accepts unknown elements as part of a resource. *

*/ public BooleanDt getAcceptUnknown() { if (myAcceptUnknown == null) { myAcceptUnknown = new BooleanDt(); } return myAcceptUnknown; } /** * Gets the value(s) for acceptUnknown (True if application accepts unknown elements). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag that indicates whether the application accepts unknown elements as part of a resource. *

*/ public BooleanDt getAcceptUnknownElement() { if (myAcceptUnknown == null) { myAcceptUnknown = new BooleanDt(); } return myAcceptUnknown; } /** * Sets the value(s) for acceptUnknown (True if application accepts unknown elements) * *

* Definition: * A flag that indicates whether the application accepts unknown elements as part of a resource. *

*/ public Conformance setAcceptUnknown(BooleanDt theValue) { myAcceptUnknown = theValue; return this; } /** * Sets the value for acceptUnknown (True if application accepts unknown elements) * *

* Definition: * A flag that indicates whether the application accepts unknown elements as part of a resource. *

*/ public Conformance setAcceptUnknown( boolean theBoolean) { myAcceptUnknown = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for format (formats supported (xml | json | mime type)). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of the formats supported by this implementation *

*/ public java.util.List getFormat() { if (myFormat == null) { myFormat = new java.util.ArrayList(); } return myFormat; } /** * Gets the value(s) for format (formats supported (xml | json | mime type)). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of the formats supported by this implementation *

*/ public java.util.List getFormatElement() { if (myFormat == null) { myFormat = new java.util.ArrayList(); } return myFormat; } /** * Sets the value(s) for format (formats supported (xml | json | mime type)) * *

* Definition: * A list of the formats supported by this implementation *

*/ public Conformance setFormat(java.util.List theValue) { myFormat = theValue; return this; } /** * Adds and returns a new value for format (formats supported (xml | json | mime type)) * *

* Definition: * A list of the formats supported by this implementation *

*/ public CodeDt addFormat() { CodeDt newType = new CodeDt(); getFormat().add(newType); return newType; } /** * Gets the first repetition for format (formats supported (xml | json | mime type)), * creating it if it does not already exist. * *

* Definition: * A list of the formats supported by this implementation *

*/ public CodeDt getFormatFirstRep() { if (getFormat().isEmpty()) { return addFormat(); } return getFormat().get(0); } /** * Adds a new value for format (formats supported (xml | json | mime type)) * *

* Definition: * A list of the formats supported by this implementation *

* * @return Returns a reference to this object, to allow for simple chaining. */ public Conformance addFormat( String theCode) { if (myFormat == null) { myFormat = new java.util.ArrayList(); } myFormat.add(new CodeDt(theCode)); return this; } /** * Gets the value(s) for profile (Profiles supported by the system). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of profiles supported by the system. For a server, \"supported by the system\" means the system hosts/produces a set of recourses, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. *

*/ public java.util.List getProfile() { if (myProfile == null) { myProfile = new java.util.ArrayList(); } return myProfile; } /** * Gets the value(s) for profile (Profiles supported by the system). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of profiles supported by the system. For a server, \"supported by the system\" means the system hosts/produces a set of recourses, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. *

*/ public java.util.List getProfileElement() { if (myProfile == null) { myProfile = new java.util.ArrayList(); } return myProfile; } /** * Sets the value(s) for profile (Profiles supported by the system) * *

* Definition: * A list of profiles supported by the system. For a server, \"supported by the system\" means the system hosts/produces a set of recourses, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. *

*/ public Conformance setProfile(java.util.List theValue) { myProfile = theValue; return this; } /** * Adds and returns a new value for profile (Profiles supported by the system) * *

* Definition: * A list of profiles supported by the system. For a server, \"supported by the system\" means the system hosts/produces a set of recourses, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. *

*/ public ResourceReferenceDt addProfile() { ResourceReferenceDt newType = new ResourceReferenceDt(); getProfile().add(newType); return newType; } /** * Gets the value(s) for rest (If the endpoint is a RESTful one). * creating it if it does * not exist. Will not return null. * *

* Definition: * A definition of the restful capabilities of the solution, if any *

*/ public java.util.List getRest() { if (myRest == null) { myRest = new java.util.ArrayList(); } return myRest; } /** * Gets the value(s) for rest (If the endpoint is a RESTful one). * creating it if it does * not exist. Will not return null. * *

* Definition: * A definition of the restful capabilities of the solution, if any *

*/ public java.util.List getRestElement() { if (myRest == null) { myRest = new java.util.ArrayList(); } return myRest; } /** * Sets the value(s) for rest (If the endpoint is a RESTful one) * *

* Definition: * A definition of the restful capabilities of the solution, if any *

*/ public Conformance setRest(java.util.List theValue) { myRest = theValue; return this; } /** * Adds and returns a new value for rest (If the endpoint is a RESTful one) * *

* Definition: * A definition of the restful capabilities of the solution, if any *

*/ public Rest addRest() { Rest newType = new Rest(); getRest().add(newType); return newType; } /** * Gets the first repetition for rest (If the endpoint is a RESTful one), * creating it if it does not already exist. * *

* Definition: * A definition of the restful capabilities of the solution, if any *

*/ public Rest getRestFirstRep() { if (getRest().isEmpty()) { return addRest(); } return getRest().get(0); } /** * Gets the value(s) for messaging (If messaging is supported). * creating it if it does * not exist. Will not return null. * *

* Definition: * A description of the messaging capabilities of the solution *

*/ public java.util.List getMessaging() { if (myMessaging == null) { myMessaging = new java.util.ArrayList(); } return myMessaging; } /** * Gets the value(s) for messaging (If messaging is supported). * creating it if it does * not exist. Will not return null. * *

* Definition: * A description of the messaging capabilities of the solution *

*/ public java.util.List getMessagingElement() { if (myMessaging == null) { myMessaging = new java.util.ArrayList(); } return myMessaging; } /** * Sets the value(s) for messaging (If messaging is supported) * *

* Definition: * A description of the messaging capabilities of the solution *

*/ public Conformance setMessaging(java.util.List theValue) { myMessaging = theValue; return this; } /** * Adds and returns a new value for messaging (If messaging is supported) * *

* Definition: * A description of the messaging capabilities of the solution *

*/ public Messaging addMessaging() { Messaging newType = new Messaging(); getMessaging().add(newType); return newType; } /** * Gets the first repetition for messaging (If messaging is supported), * creating it if it does not already exist. * *

* Definition: * A description of the messaging capabilities of the solution *

*/ public Messaging getMessagingFirstRep() { if (getMessaging().isEmpty()) { return addMessaging(); } return getMessaging().get(0); } /** * Gets the value(s) for document (Document definition). * creating it if it does * not exist. Will not return null. * *

* Definition: * A document definition *

*/ public java.util.List getDocument() { if (myDocument == null) { myDocument = new java.util.ArrayList(); } return myDocument; } /** * Gets the value(s) for document (Document definition). * creating it if it does * not exist. Will not return null. * *

* Definition: * A document definition *

*/ public java.util.List getDocumentElement() { if (myDocument == null) { myDocument = new java.util.ArrayList(); } return myDocument; } /** * Sets the value(s) for document (Document definition) * *

* Definition: * A document definition *

*/ public Conformance setDocument(java.util.List theValue) { myDocument = theValue; return this; } /** * Adds and returns a new value for document (Document definition) * *

* Definition: * A document definition *

*/ public Document addDocument() { Document newType = new Document(); getDocument().add(newType); return newType; } /** * Gets the first repetition for document (Document definition), * creating it if it does not already exist. * *

* Definition: * A document definition *

*/ public Document getDocumentFirstRep() { if (getDocument().isEmpty()) { return addDocument(); } return getDocument().get(0); } /** * Block class for child element: Conformance.software (Software that is covered by this conformance statement) * *

* Definition: * Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation. *

*/ @Block() public static class Software extends BaseIdentifiableElement implements IResourceBlock { @Child(name="name", type=StringDt.class, order=0, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="A name the software is known by", formalDefinition="Name software is known by" ) private StringDt myName; @Child(name="version", type=StringDt.class, order=1, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Version covered by this statement", formalDefinition="The version identifier for the software covered by this statement" ) private StringDt myVersion; @Child(name="releaseDate", type=DateTimeDt.class, order=2, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Date this version released", formalDefinition="Date this version of the software released" ) private DateTimeDt myReleaseDate; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myVersion, myReleaseDate); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myVersion, myReleaseDate); } /** * Gets the value(s) for name (A name the software is known by). * creating it if it does * not exist. Will not return null. * *

* Definition: * Name software is known by *

*/ public StringDt getName() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Gets the value(s) for name (A name the software is known by). * creating it if it does * not exist. Will not return null. * *

* Definition: * Name software is known by *

*/ public StringDt getNameElement() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Sets the value(s) for name (A name the software is known by) * *

* Definition: * Name software is known by *

*/ public Software setName(StringDt theValue) { myName = theValue; return this; } /** * Sets the value for name (A name the software is known by) * *

* Definition: * Name software is known by *

*/ public Software setName( String theString) { myName = new StringDt(theString); return this; } /** * Gets the value(s) for version (Version covered by this statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * The version identifier for the software covered by this statement *

*/ public StringDt getVersion() { if (myVersion == null) { myVersion = new StringDt(); } return myVersion; } /** * Gets the value(s) for version (Version covered by this statement). * creating it if it does * not exist. Will not return null. * *

* Definition: * The version identifier for the software covered by this statement *

*/ public StringDt getVersionElement() { if (myVersion == null) { myVersion = new StringDt(); } return myVersion; } /** * Sets the value(s) for version (Version covered by this statement) * *

* Definition: * The version identifier for the software covered by this statement *

*/ public Software setVersion(StringDt theValue) { myVersion = theValue; return this; } /** * Sets the value for version (Version covered by this statement) * *

* Definition: * The version identifier for the software covered by this statement *

*/ public Software setVersion( String theString) { myVersion = new StringDt(theString); return this; } /** * Gets the value(s) for releaseDate (Date this version released). * creating it if it does * not exist. Will not return null. * *

* Definition: * Date this version of the software released *

*/ public DateTimeDt getReleaseDate() { if (myReleaseDate == null) { myReleaseDate = new DateTimeDt(); } return myReleaseDate; } /** * Gets the value(s) for releaseDate (Date this version released). * creating it if it does * not exist. Will not return null. * *

* Definition: * Date this version of the software released *

*/ public DateTimeDt getReleaseDateElement() { if (myReleaseDate == null) { myReleaseDate = new DateTimeDt(); } return myReleaseDate; } /** * Sets the value(s) for releaseDate (Date this version released) * *

* Definition: * Date this version of the software released *

*/ public Software setReleaseDate(DateTimeDt theValue) { myReleaseDate = theValue; return this; } /** * Sets the value for releaseDate (Date this version released) * *

* Definition: * Date this version of the software released *

*/ public Software setReleaseDate( Date theDate, TemporalPrecisionEnum thePrecision) { myReleaseDate = new DateTimeDt(theDate, thePrecision); return this; } /** * Sets the value for releaseDate (Date this version released) * *

* Definition: * Date this version of the software released *

*/ public Software setReleaseDateWithSecondsPrecision( Date theDate) { myReleaseDate = new DateTimeDt(theDate); return this; } } /** * Block class for child element: Conformance.implementation (If this describes a specific instance) * *

* Definition: * Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program *

*/ @Block() public static class Implementation extends BaseIdentifiableElement implements IResourceBlock { @Child(name="description", type=StringDt.class, order=0, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="Describes this specific instance", formalDefinition="Information about the specific installation that this conformance statement relates to" ) private StringDt myDescription; @Child(name="url", type=UriDt.class, order=1, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Base URL for the installation", formalDefinition="A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces." ) private UriDt myUrl; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDescription, myUrl); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDescription, myUrl); } /** * Gets the value(s) for description (Describes this specific instance). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about the specific installation that this conformance statement relates to *

*/ public StringDt getDescription() { if (myDescription == null) { myDescription = new StringDt(); } return myDescription; } /** * Gets the value(s) for description (Describes this specific instance). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about the specific installation that this conformance statement relates to *

*/ public StringDt getDescriptionElement() { if (myDescription == null) { myDescription = new StringDt(); } return myDescription; } /** * Sets the value(s) for description (Describes this specific instance) * *

* Definition: * Information about the specific installation that this conformance statement relates to *

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

* Definition: * Information about the specific installation that this conformance statement relates to *

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

* Definition: * A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. *

*/ public UriDt getUrl() { if (myUrl == null) { myUrl = new UriDt(); } return myUrl; } /** * Gets the value(s) for url (Base URL for the installation). * creating it if it does * not exist. Will not return null. * *

* Definition: * A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. *

*/ public UriDt getUrlElement() { if (myUrl == null) { myUrl = new UriDt(); } return myUrl; } /** * Sets the value(s) for url (Base URL for the installation) * *

* Definition: * A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. *

*/ public Implementation setUrl(UriDt theValue) { myUrl = theValue; return this; } /** * Sets the value for url (Base URL for the installation) * *

* Definition: * A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. *

*/ public Implementation setUrl( String theUri) { myUrl = new UriDt(theUri); return this; } } /** * Block class for child element: Conformance.rest (If the endpoint is a RESTful one) * *

* Definition: * A definition of the restful capabilities of the solution, if any *

*/ @Block() public static class Rest extends BaseIdentifiableElement implements IResourceBlock { @Child(name="mode", type=CodeDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="client | server", formalDefinition="Identifies whether this portion of the statement is describing ability to initiate or receive restful operations" ) private BoundCodeDt myMode; @Child(name="documentation", type=StringDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="General description of implementation", formalDefinition="Information about the system's restful capabilities that apply across all applications, such as security" ) private StringDt myDocumentation; @Child(name="security", order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Information about security of implementation", formalDefinition="Information about security of implementation" ) private RestSecurity mySecurity; @Child(name="resource", order=3, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Resource served on the REST interface", formalDefinition="A specification of the restful capabilities of the solution for a specific resource type" ) private java.util.List myResource; @Child(name="operation", order=4, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="What operations are supported?", formalDefinition="A specification of restful operations supported by the system" ) private java.util.List myOperation; @Child(name="query", order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Definition of a named query", formalDefinition="Definition of a named query and its parameters and their meaning" ) private java.util.List myQuery; @Child(name="documentMailbox", type=UriDt.class, order=6, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="How documents are accepted in /Mailbox", formalDefinition="A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose" ) private java.util.List myDocumentMailbox; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myMode, myDocumentation, mySecurity, myResource, myOperation, myQuery, myDocumentMailbox); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myMode, myDocumentation, mySecurity, myResource, myOperation, myQuery, myDocumentMailbox); } /** * Gets the value(s) for mode (client | server). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies whether this portion of the statement is describing ability to initiate or receive restful operations *

*/ public BoundCodeDt getMode() { if (myMode == null) { myMode = new BoundCodeDt(RestfulConformanceModeEnum.VALUESET_BINDER); } return myMode; } /** * Gets the value(s) for mode (client | server). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies whether this portion of the statement is describing ability to initiate or receive restful operations *

*/ public BoundCodeDt getModeElement() { if (myMode == null) { myMode = new BoundCodeDt(RestfulConformanceModeEnum.VALUESET_BINDER); } return myMode; } /** * Sets the value(s) for mode (client | server) * *

* Definition: * Identifies whether this portion of the statement is describing ability to initiate or receive restful operations *

*/ public Rest setMode(BoundCodeDt theValue) { myMode = theValue; return this; } /** * Sets the value(s) for mode (client | server) * *

* Definition: * Identifies whether this portion of the statement is describing ability to initiate or receive restful operations *

*/ public Rest setMode(RestfulConformanceModeEnum theValue) { getMode().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for documentation (General description of implementation). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about the system's restful capabilities that apply across all applications, such as security *

*/ public StringDt getDocumentation() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Gets the value(s) for documentation (General description of implementation). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about the system's restful capabilities that apply across all applications, such as security *

*/ public StringDt getDocumentationElement() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Sets the value(s) for documentation (General description of implementation) * *

* Definition: * Information about the system's restful capabilities that apply across all applications, such as security *

*/ public Rest setDocumentation(StringDt theValue) { myDocumentation = theValue; return this; } /** * Sets the value for documentation (General description of implementation) * *

* Definition: * Information about the system's restful capabilities that apply across all applications, such as security *

*/ public Rest setDocumentation( String theString) { myDocumentation = new StringDt(theString); return this; } /** * Gets the value(s) for security (Information about security of implementation). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about security of implementation *

*/ public RestSecurity getSecurity() { if (mySecurity == null) { mySecurity = new RestSecurity(); } return mySecurity; } /** * Gets the value(s) for security (Information about security of implementation). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about security of implementation *

*/ public RestSecurity getSecurityElement() { if (mySecurity == null) { mySecurity = new RestSecurity(); } return mySecurity; } /** * Sets the value(s) for security (Information about security of implementation) * *

* Definition: * Information about security of implementation *

*/ public Rest setSecurity(RestSecurity theValue) { mySecurity = theValue; return this; } /** * Gets the value(s) for resource (Resource served on the REST interface). * creating it if it does * not exist. Will not return null. * *

* Definition: * A specification of the restful capabilities of the solution for a specific resource type *

*/ public java.util.List getResource() { if (myResource == null) { myResource = new java.util.ArrayList(); } return myResource; } /** * Gets the value(s) for resource (Resource served on the REST interface). * creating it if it does * not exist. Will not return null. * *

* Definition: * A specification of the restful capabilities of the solution for a specific resource type *

*/ public java.util.List getResourceElement() { if (myResource == null) { myResource = new java.util.ArrayList(); } return myResource; } /** * Sets the value(s) for resource (Resource served on the REST interface) * *

* Definition: * A specification of the restful capabilities of the solution for a specific resource type *

*/ public Rest setResource(java.util.List theValue) { myResource = theValue; return this; } /** * Adds and returns a new value for resource (Resource served on the REST interface) * *

* Definition: * A specification of the restful capabilities of the solution for a specific resource type *

*/ public RestResource addResource() { RestResource newType = new RestResource(); getResource().add(newType); return newType; } /** * Gets the first repetition for resource (Resource served on the REST interface), * creating it if it does not already exist. * *

* Definition: * A specification of the restful capabilities of the solution for a specific resource type *

*/ public RestResource getResourceFirstRep() { if (getResource().isEmpty()) { return addResource(); } return getResource().get(0); } /** * Gets the value(s) for operation (What operations are supported?). * creating it if it does * not exist. Will not return null. * *

* Definition: * A specification of restful operations supported by the system *

*/ public java.util.List getOperation() { if (myOperation == null) { myOperation = new java.util.ArrayList(); } return myOperation; } /** * Gets the value(s) for operation (What operations are supported?). * creating it if it does * not exist. Will not return null. * *

* Definition: * A specification of restful operations supported by the system *

*/ public java.util.List getOperationElement() { if (myOperation == null) { myOperation = new java.util.ArrayList(); } return myOperation; } /** * Sets the value(s) for operation (What operations are supported?) * *

* Definition: * A specification of restful operations supported by the system *

*/ public Rest setOperation(java.util.List theValue) { myOperation = theValue; return this; } /** * Adds and returns a new value for operation (What operations are supported?) * *

* Definition: * A specification of restful operations supported by the system *

*/ public RestOperation addOperation() { RestOperation newType = new RestOperation(); getOperation().add(newType); return newType; } /** * Gets the first repetition for operation (What operations are supported?), * creating it if it does not already exist. * *

* Definition: * A specification of restful operations supported by the system *

*/ public RestOperation getOperationFirstRep() { if (getOperation().isEmpty()) { return addOperation(); } return getOperation().get(0); } /** * Gets the value(s) for query (Definition of a named query). * creating it if it does * not exist. Will not return null. * *

* Definition: * Definition of a named query and its parameters and their meaning *

*/ public java.util.List getQuery() { if (myQuery == null) { myQuery = new java.util.ArrayList(); } return myQuery; } /** * Gets the value(s) for query (Definition of a named query). * creating it if it does * not exist. Will not return null. * *

* Definition: * Definition of a named query and its parameters and their meaning *

*/ public java.util.List getQueryElement() { if (myQuery == null) { myQuery = new java.util.ArrayList(); } return myQuery; } /** * Sets the value(s) for query (Definition of a named query) * *

* Definition: * Definition of a named query and its parameters and their meaning *

*/ public Rest setQuery(java.util.List theValue) { myQuery = theValue; return this; } /** * Adds and returns a new value for query (Definition of a named query) * *

* Definition: * Definition of a named query and its parameters and their meaning *

*/ public RestQuery addQuery() { RestQuery newType = new RestQuery(); getQuery().add(newType); return newType; } /** * Gets the first repetition for query (Definition of a named query), * creating it if it does not already exist. * *

* Definition: * Definition of a named query and its parameters and their meaning *

*/ public RestQuery getQueryFirstRep() { if (getQuery().isEmpty()) { return addQuery(); } return getQuery().get(0); } /** * Gets the value(s) for documentMailbox (How documents are accepted in /Mailbox). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose *

*/ public java.util.List getDocumentMailbox() { if (myDocumentMailbox == null) { myDocumentMailbox = new java.util.ArrayList(); } return myDocumentMailbox; } /** * Gets the value(s) for documentMailbox (How documents are accepted in /Mailbox). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose *

*/ public java.util.List getDocumentMailboxElement() { if (myDocumentMailbox == null) { myDocumentMailbox = new java.util.ArrayList(); } return myDocumentMailbox; } /** * Sets the value(s) for documentMailbox (How documents are accepted in /Mailbox) * *

* Definition: * A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose *

*/ public Rest setDocumentMailbox(java.util.List theValue) { myDocumentMailbox = theValue; return this; } /** * Adds and returns a new value for documentMailbox (How documents are accepted in /Mailbox) * *

* Definition: * A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose *

*/ public UriDt addDocumentMailbox() { UriDt newType = new UriDt(); getDocumentMailbox().add(newType); return newType; } /** * Gets the first repetition for documentMailbox (How documents are accepted in /Mailbox), * creating it if it does not already exist. * *

* Definition: * A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose *

*/ public UriDt getDocumentMailboxFirstRep() { if (getDocumentMailbox().isEmpty()) { return addDocumentMailbox(); } return getDocumentMailbox().get(0); } /** * Adds a new value for documentMailbox (How documents are accepted in /Mailbox) * *

* Definition: * A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose *

* * @return Returns a reference to this object, to allow for simple chaining. */ public Rest addDocumentMailbox( String theUri) { if (myDocumentMailbox == null) { myDocumentMailbox = new java.util.ArrayList(); } myDocumentMailbox.add(new UriDt(theUri)); return this; } } /** * Block class for child element: Conformance.rest.security (Information about security of implementation) * *

* Definition: * Information about security of implementation *

*/ @Block() public static class RestSecurity extends BaseIdentifiableElement implements IResourceBlock { @Child(name="cors", type=BooleanDt.class, order=0, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Adds CORS Headers (http://enable-cors.org/)", formalDefinition="Server adds CORS headers when responding to requests - this enables javascript applications to yuse the server" ) private BooleanDt myCors; @Child(name="service", type=CodeableConceptDt.class, order=1, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="OAuth | OAuth2 | NTLM | Basic | Kerberos", formalDefinition="Types of security services are supported/required by the system" ) private java.util.List> myService; @Child(name="description", type=StringDt.class, order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="General description of how security works", formalDefinition="General description of how security works" ) private StringDt myDescription; @Child(name="certificate", order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Certificates associated with security profiles", formalDefinition="Certificates associated with security profiles" ) private java.util.List myCertificate; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCors, myService, myDescription, myCertificate); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCors, myService, myDescription, myCertificate); } /** * Gets the value(s) for cors (Adds CORS Headers (http://enable-cors.org/)). * creating it if it does * not exist. Will not return null. * *

* Definition: * Server adds CORS headers when responding to requests - this enables javascript applications to yuse the server *

*/ public BooleanDt getCors() { if (myCors == null) { myCors = new BooleanDt(); } return myCors; } /** * Gets the value(s) for cors (Adds CORS Headers (http://enable-cors.org/)). * creating it if it does * not exist. Will not return null. * *

* Definition: * Server adds CORS headers when responding to requests - this enables javascript applications to yuse the server *

*/ public BooleanDt getCorsElement() { if (myCors == null) { myCors = new BooleanDt(); } return myCors; } /** * Sets the value(s) for cors (Adds CORS Headers (http://enable-cors.org/)) * *

* Definition: * Server adds CORS headers when responding to requests - this enables javascript applications to yuse the server *

*/ public RestSecurity setCors(BooleanDt theValue) { myCors = theValue; return this; } /** * Sets the value for cors (Adds CORS Headers (http://enable-cors.org/)) * *

* Definition: * Server adds CORS headers when responding to requests - this enables javascript applications to yuse the server *

*/ public RestSecurity setCors( boolean theBoolean) { myCors = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for service (OAuth | OAuth2 | NTLM | Basic | Kerberos). * creating it if it does * not exist. Will not return null. * *

* Definition: * Types of security services are supported/required by the system *

*/ public java.util.List> getService() { if (myService == null) { myService = new java.util.ArrayList>(); } return myService; } /** * Gets the value(s) for service (OAuth | OAuth2 | NTLM | Basic | Kerberos). * creating it if it does * not exist. Will not return null. * *

* Definition: * Types of security services are supported/required by the system *

*/ public java.util.List> getServiceElement() { if (myService == null) { myService = new java.util.ArrayList>(); } return myService; } /** * Sets the value(s) for service (OAuth | OAuth2 | NTLM | Basic | Kerberos) * *

* Definition: * Types of security services are supported/required by the system *

*/ public RestSecurity setService(java.util.List> theValue) { myService = theValue; return this; } /** * Add a value for service (OAuth | OAuth2 | NTLM | Basic | Kerberos) using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addService()} method. * *

* Definition: * Types of security services are supported/required by the system *

*/ public BoundCodeableConceptDt addService(RestfulSecurityServiceEnum theValue) { BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(RestfulSecurityServiceEnum.VALUESET_BINDER, theValue); getService().add(retVal); return retVal; } /** * Gets the first repetition for service (OAuth | OAuth2 | NTLM | Basic | Kerberos), * creating it if it does not already exist. * *

* Definition: * Types of security services are supported/required by the system *

*/ public BoundCodeableConceptDt getServiceFirstRep() { if (getService().size() == 0) { addService(); } return getService().get(0); } /** * Add a value for service (OAuth | OAuth2 | NTLM | Basic | Kerberos) * *

* Definition: * Types of security services are supported/required by the system *

*/ public BoundCodeableConceptDt addService() { BoundCodeableConceptDt retVal = new BoundCodeableConceptDt(RestfulSecurityServiceEnum.VALUESET_BINDER); getService().add(retVal); return retVal; } /** * Sets the value(s), and clears any existing value(s) for service (OAuth | OAuth2 | NTLM | Basic | Kerberos) * *

* Definition: * Types of security services are supported/required by the system *

*/ public RestSecurity setService(RestfulSecurityServiceEnum theValue) { getService().clear(); addService(theValue); return this; } /** * Gets the value(s) for description (General description of how security works). * creating it if it does * not exist. Will not return null. * *

* Definition: * General description of how security works *

*/ public StringDt getDescription() { if (myDescription == null) { myDescription = new StringDt(); } return myDescription; } /** * Gets the value(s) for description (General description of how security works). * creating it if it does * not exist. Will not return null. * *

* Definition: * General description of how security works *

*/ public StringDt getDescriptionElement() { if (myDescription == null) { myDescription = new StringDt(); } return myDescription; } /** * Sets the value(s) for description (General description of how security works) * *

* Definition: * General description of how security works *

*/ public RestSecurity setDescription(StringDt theValue) { myDescription = theValue; return this; } /** * Sets the value for description (General description of how security works) * *

* Definition: * General description of how security works *

*/ public RestSecurity setDescription( String theString) { myDescription = new StringDt(theString); return this; } /** * Gets the value(s) for certificate (Certificates associated with security profiles). * creating it if it does * not exist. Will not return null. * *

* Definition: * Certificates associated with security profiles *

*/ public java.util.List getCertificate() { if (myCertificate == null) { myCertificate = new java.util.ArrayList(); } return myCertificate; } /** * Gets the value(s) for certificate (Certificates associated with security profiles). * creating it if it does * not exist. Will not return null. * *

* Definition: * Certificates associated with security profiles *

*/ public java.util.List getCertificateElement() { if (myCertificate == null) { myCertificate = new java.util.ArrayList(); } return myCertificate; } /** * Sets the value(s) for certificate (Certificates associated with security profiles) * *

* Definition: * Certificates associated with security profiles *

*/ public RestSecurity setCertificate(java.util.List theValue) { myCertificate = theValue; return this; } /** * Adds and returns a new value for certificate (Certificates associated with security profiles) * *

* Definition: * Certificates associated with security profiles *

*/ public RestSecurityCertificate addCertificate() { RestSecurityCertificate newType = new RestSecurityCertificate(); getCertificate().add(newType); return newType; } /** * Gets the first repetition for certificate (Certificates associated with security profiles), * creating it if it does not already exist. * *

* Definition: * Certificates associated with security profiles *

*/ public RestSecurityCertificate getCertificateFirstRep() { if (getCertificate().isEmpty()) { return addCertificate(); } return getCertificate().get(0); } } /** * Block class for child element: Conformance.rest.security.certificate (Certificates associated with security profiles) * *

* Definition: * Certificates associated with security profiles *

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

* Definition: * Mime type for certificate *

*/ public CodeDt getType() { if (myType == null) { myType = new CodeDt(); } return myType; } /** * Gets the value(s) for type (Mime type for certificate). * creating it if it does * not exist. Will not return null. * *

* Definition: * Mime type for certificate *

*/ public CodeDt getTypeElement() { if (myType == null) { myType = new CodeDt(); } return myType; } /** * Sets the value(s) for type (Mime type for certificate) * *

* Definition: * Mime type for certificate *

*/ public RestSecurityCertificate setType(CodeDt theValue) { myType = theValue; return this; } /** * Sets the value for type (Mime type for certificate) * *

* Definition: * Mime type for certificate *

*/ public RestSecurityCertificate setType( String theCode) { myType = new CodeDt(theCode); return this; } /** * Gets the value(s) for blob (Actual certificate). * creating it if it does * not exist. Will not return null. * *

* Definition: * Actual certificate *

*/ public Base64BinaryDt getBlob() { if (myBlob == null) { myBlob = new Base64BinaryDt(); } return myBlob; } /** * Gets the value(s) for blob (Actual certificate). * creating it if it does * not exist. Will not return null. * *

* Definition: * Actual certificate *

*/ public Base64BinaryDt getBlobElement() { if (myBlob == null) { myBlob = new Base64BinaryDt(); } return myBlob; } /** * Sets the value(s) for blob (Actual certificate) * *

* Definition: * Actual certificate *

*/ public RestSecurityCertificate setBlob(Base64BinaryDt theValue) { myBlob = theValue; return this; } /** * Sets the value for blob (Actual certificate) * *

* Definition: * Actual certificate *

*/ public RestSecurityCertificate setBlob( byte[] theBytes) { myBlob = new Base64BinaryDt(theBytes); return this; } } /** * Block class for child element: Conformance.rest.resource (Resource served on the REST interface) * *

* Definition: * A specification of the restful capabilities of the solution for a specific resource type *

*/ @Block() public static class RestResource extends BaseIdentifiableElement implements IResourceBlock { @Child(name="type", type=CodeDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="A resource type that is supported", formalDefinition="A type of resource exposed via the restful interface" ) private BoundCodeDt myType; @Child(name="profile", order=1, min=0, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.Profile.class }) @Description( shortDefinition="What structural features are supported", formalDefinition="A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations" ) private ResourceReferenceDt myProfile; @Child(name="operation", order=2, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="What operations are supported?", formalDefinition="Identifies a restful operation supported by the solution" ) private java.util.List myOperation; @Child(name="readHistory", type=BooleanDt.class, order=3, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Whether vRead can return past versions", formalDefinition="A flag for whether the server is able to return past versions as part of the vRead operation" ) private BooleanDt myReadHistory; @Child(name="updateCreate", type=BooleanDt.class, order=4, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="If allows/uses update to a new location", formalDefinition="A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server" ) private BooleanDt myUpdateCreate; @Child(name="searchInclude", type=StringDt.class, order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="_include values supported by the server", formalDefinition="A list of _include values supported by the server" ) private java.util.List mySearchInclude; @Child(name="searchParam", order=6, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Additional search params defined", formalDefinition="Additional search parameters for implementations to support and/or make use of" ) private java.util.List mySearchParam; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myProfile, myOperation, myReadHistory, myUpdateCreate, mySearchInclude, mySearchParam); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myProfile, myOperation, myReadHistory, myUpdateCreate, mySearchInclude, mySearchParam); } /** * Gets the value(s) for type (A resource type that is supported). * creating it if it does * not exist. Will not return null. * *

* Definition: * A type of resource exposed via the restful interface *

*/ public BoundCodeDt getType() { if (myType == null) { myType = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER); } return myType; } /** * Gets the value(s) for type (A resource type that is supported). * creating it if it does * not exist. Will not return null. * *

* Definition: * A type of resource exposed via the restful interface *

*/ public BoundCodeDt getTypeElement() { if (myType == null) { myType = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER); } return myType; } /** * Sets the value(s) for type (A resource type that is supported) * *

* Definition: * A type of resource exposed via the restful interface *

*/ public RestResource setType(BoundCodeDt theValue) { myType = theValue; return this; } /** * Sets the value(s) for type (A resource type that is supported) * *

* Definition: * A type of resource exposed via the restful interface *

*/ public RestResource setType(ResourceTypeEnum theValue) { getType().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for profile (What structural features are supported). * creating it if it does * not exist. Will not return null. * *

* Definition: * A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations *

*/ public ResourceReferenceDt getProfile() { if (myProfile == null) { myProfile = new ResourceReferenceDt(); } return myProfile; } /** * Gets the value(s) for profile (What structural features are supported). * creating it if it does * not exist. Will not return null. * *

* Definition: * A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations *

*/ public ResourceReferenceDt getProfileElement() { if (myProfile == null) { myProfile = new ResourceReferenceDt(); } return myProfile; } /** * Sets the value(s) for profile (What structural features are supported) * *

* Definition: * A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations *

*/ public RestResource setProfile(ResourceReferenceDt theValue) { myProfile = theValue; return this; } /** * Gets the value(s) for operation (What operations are supported?). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies a restful operation supported by the solution *

*/ public java.util.List getOperation() { if (myOperation == null) { myOperation = new java.util.ArrayList(); } return myOperation; } /** * Gets the value(s) for operation (What operations are supported?). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies a restful operation supported by the solution *

*/ public java.util.List getOperationElement() { if (myOperation == null) { myOperation = new java.util.ArrayList(); } return myOperation; } /** * Sets the value(s) for operation (What operations are supported?) * *

* Definition: * Identifies a restful operation supported by the solution *

*/ public RestResource setOperation(java.util.List theValue) { myOperation = theValue; return this; } /** * Adds and returns a new value for operation (What operations are supported?) * *

* Definition: * Identifies a restful operation supported by the solution *

*/ public RestResourceOperation addOperation() { RestResourceOperation newType = new RestResourceOperation(); getOperation().add(newType); return newType; } /** * Gets the first repetition for operation (What operations are supported?), * creating it if it does not already exist. * *

* Definition: * Identifies a restful operation supported by the solution *

*/ public RestResourceOperation getOperationFirstRep() { if (getOperation().isEmpty()) { return addOperation(); } return getOperation().get(0); } /** * Gets the value(s) for readHistory (Whether vRead can return past versions). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag for whether the server is able to return past versions as part of the vRead operation *

*/ public BooleanDt getReadHistory() { if (myReadHistory == null) { myReadHistory = new BooleanDt(); } return myReadHistory; } /** * Gets the value(s) for readHistory (Whether vRead can return past versions). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag for whether the server is able to return past versions as part of the vRead operation *

*/ public BooleanDt getReadHistoryElement() { if (myReadHistory == null) { myReadHistory = new BooleanDt(); } return myReadHistory; } /** * Sets the value(s) for readHistory (Whether vRead can return past versions) * *

* Definition: * A flag for whether the server is able to return past versions as part of the vRead operation *

*/ public RestResource setReadHistory(BooleanDt theValue) { myReadHistory = theValue; return this; } /** * Sets the value for readHistory (Whether vRead can return past versions) * *

* Definition: * A flag for whether the server is able to return past versions as part of the vRead operation *

*/ public RestResource setReadHistory( boolean theBoolean) { myReadHistory = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for updateCreate (If allows/uses update to a new location). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server *

*/ public BooleanDt getUpdateCreate() { if (myUpdateCreate == null) { myUpdateCreate = new BooleanDt(); } return myUpdateCreate; } /** * Gets the value(s) for updateCreate (If allows/uses update to a new location). * creating it if it does * not exist. Will not return null. * *

* Definition: * A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server *

*/ public BooleanDt getUpdateCreateElement() { if (myUpdateCreate == null) { myUpdateCreate = new BooleanDt(); } return myUpdateCreate; } /** * Sets the value(s) for updateCreate (If allows/uses update to a new location) * *

* Definition: * A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server *

*/ public RestResource setUpdateCreate(BooleanDt theValue) { myUpdateCreate = theValue; return this; } /** * Sets the value for updateCreate (If allows/uses update to a new location) * *

* Definition: * A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server *

*/ public RestResource setUpdateCreate( boolean theBoolean) { myUpdateCreate = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for searchInclude (_include values supported by the server). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of _include values supported by the server *

*/ public java.util.List getSearchInclude() { if (mySearchInclude == null) { mySearchInclude = new java.util.ArrayList(); } return mySearchInclude; } /** * Gets the value(s) for searchInclude (_include values supported by the server). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of _include values supported by the server *

*/ public java.util.List getSearchIncludeElement() { if (mySearchInclude == null) { mySearchInclude = new java.util.ArrayList(); } return mySearchInclude; } /** * Sets the value(s) for searchInclude (_include values supported by the server) * *

* Definition: * A list of _include values supported by the server *

*/ public RestResource setSearchInclude(java.util.List theValue) { mySearchInclude = theValue; return this; } /** * Adds and returns a new value for searchInclude (_include values supported by the server) * *

* Definition: * A list of _include values supported by the server *

*/ public StringDt addSearchInclude() { StringDt newType = new StringDt(); getSearchInclude().add(newType); return newType; } /** * Gets the first repetition for searchInclude (_include values supported by the server), * creating it if it does not already exist. * *

* Definition: * A list of _include values supported by the server *

*/ public StringDt getSearchIncludeFirstRep() { if (getSearchInclude().isEmpty()) { return addSearchInclude(); } return getSearchInclude().get(0); } /** * Adds a new value for searchInclude (_include values supported by the server) * *

* Definition: * A list of _include values supported by the server *

* * @return Returns a reference to this object, to allow for simple chaining. */ public RestResource addSearchInclude( String theString) { if (mySearchInclude == null) { mySearchInclude = new java.util.ArrayList(); } mySearchInclude.add(new StringDt(theString)); return this; } /** * Gets the value(s) for searchParam (Additional search params defined). * creating it if it does * not exist. Will not return null. * *

* Definition: * Additional search parameters for implementations to support and/or make use of *

*/ public java.util.List getSearchParam() { if (mySearchParam == null) { mySearchParam = new java.util.ArrayList(); } return mySearchParam; } /** * Gets the value(s) for searchParam (Additional search params defined). * creating it if it does * not exist. Will not return null. * *

* Definition: * Additional search parameters for implementations to support and/or make use of *

*/ public java.util.List getSearchParamElement() { if (mySearchParam == null) { mySearchParam = new java.util.ArrayList(); } return mySearchParam; } /** * Sets the value(s) for searchParam (Additional search params defined) * *

* Definition: * Additional search parameters for implementations to support and/or make use of *

*/ public RestResource setSearchParam(java.util.List theValue) { mySearchParam = theValue; return this; } /** * Adds and returns a new value for searchParam (Additional search params defined) * *

* Definition: * Additional search parameters for implementations to support and/or make use of *

*/ public RestResourceSearchParam addSearchParam() { RestResourceSearchParam newType = new RestResourceSearchParam(); getSearchParam().add(newType); return newType; } /** * Gets the first repetition for searchParam (Additional search params defined), * creating it if it does not already exist. * *

* Definition: * Additional search parameters for implementations to support and/or make use of *

*/ public RestResourceSearchParam getSearchParamFirstRep() { if (getSearchParam().isEmpty()) { return addSearchParam(); } return getSearchParam().get(0); } } /** * Block class for child element: Conformance.rest.resource.operation (What operations are supported?) * *

* Definition: * Identifies a restful operation supported by the solution *

*/ @Block() public static class RestResourceOperation extends BaseIdentifiableElement implements IResourceBlock { @Child(name="code", type=CodeDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="read | vread | update | delete | history-instance | validate | history-type | create | search-type", formalDefinition="Coded identifier of the operation, supported by the system resource" ) private BoundCodeDt myCode; @Child(name="documentation", type=StringDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Anything special about operation behavior", formalDefinition="Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'" ) private StringDt myDocumentation; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myDocumentation); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myDocumentation); } /** * Gets the value(s) for code (read | vread | update | delete | history-instance | validate | history-type | create | search-type). * creating it if it does * not exist. Will not return null. * *

* Definition: * Coded identifier of the operation, supported by the system resource *

*/ public BoundCodeDt getCode() { if (myCode == null) { myCode = new BoundCodeDt(RestfulOperationTypeEnum.VALUESET_BINDER); } return myCode; } /** * Gets the value(s) for code (read | vread | update | delete | history-instance | validate | history-type | create | search-type). * creating it if it does * not exist. Will not return null. * *

* Definition: * Coded identifier of the operation, supported by the system resource *

*/ public BoundCodeDt getCodeElement() { if (myCode == null) { myCode = new BoundCodeDt(RestfulOperationTypeEnum.VALUESET_BINDER); } return myCode; } /** * Sets the value(s) for code (read | vread | update | delete | history-instance | validate | history-type | create | search-type) * *

* Definition: * Coded identifier of the operation, supported by the system resource *

*/ public RestResourceOperation setCode(BoundCodeDt theValue) { myCode = theValue; return this; } /** * Sets the value(s) for code (read | vread | update | delete | history-instance | validate | history-type | create | search-type) * *

* Definition: * Coded identifier of the operation, supported by the system resource *

*/ public RestResourceOperation setCode(RestfulOperationTypeEnum theValue) { getCode().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for documentation (Anything special about operation behavior). * creating it if it does * not exist. Will not return null. * *

* Definition: * Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only' *

*/ public StringDt getDocumentation() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Gets the value(s) for documentation (Anything special about operation behavior). * creating it if it does * not exist. Will not return null. * *

* Definition: * Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only' *

*/ public StringDt getDocumentationElement() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Sets the value(s) for documentation (Anything special about operation behavior) * *

* Definition: * Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only' *

*/ public RestResourceOperation setDocumentation(StringDt theValue) { myDocumentation = theValue; return this; } /** * Sets the value for documentation (Anything special about operation behavior) * *

* Definition: * Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only' *

*/ public RestResourceOperation setDocumentation( String theString) { myDocumentation = new StringDt(theString); return this; } } /** * Block class for child element: Conformance.rest.resource.searchParam (Additional search params defined) * *

* Definition: * Additional search parameters for implementations to support and/or make use of *

*/ @Block() public static class RestResourceSearchParam extends BaseIdentifiableElement implements IResourceBlock { @Child(name="name", type=StringDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="Name of search parameter", formalDefinition="The name of the search parameter used in the interface" ) private StringDt myName; @Child(name="definition", type=UriDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Source of definition for parameter", formalDefinition="A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter" ) private UriDt myDefinition; @Child(name="type", type=CodeDt.class, order=2, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="number | date | string | token | reference | composite | quantity", formalDefinition="The type of value a search parameter refers to, and how the content is interpreted" ) private BoundCodeDt myType; @Child(name="documentation", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Server-specific usage", formalDefinition="This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms." ) private StringDt myDocumentation; @Child(name="target", type=CodeDt.class, order=4, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Types of resource (if a resource reference)", formalDefinition="Types of resource (if a resource is referenced)" ) private java.util.List> myTarget; @Child(name="chain", type=StringDt.class, order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Chained names supported", formalDefinition="" ) private java.util.List myChain; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myDefinition, myType, myDocumentation, myTarget, myChain); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myDefinition, myType, myDocumentation, myTarget, myChain); } /** * Gets the value(s) for name (Name of search parameter). * creating it if it does * not exist. Will not return null. * *

* Definition: * The name of the search parameter used in the interface *

*/ public StringDt getName() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Gets the value(s) for name (Name of search parameter). * creating it if it does * not exist. Will not return null. * *

* Definition: * The name of the search parameter used in the interface *

*/ public StringDt getNameElement() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Sets the value(s) for name (Name of search parameter) * *

* Definition: * The name of the search parameter used in the interface *

*/ public RestResourceSearchParam setName(StringDt theValue) { myName = theValue; return this; } /** * Sets the value for name (Name of search parameter) * *

* Definition: * The name of the search parameter used in the interface *

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

* Definition: * A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter *

*/ public UriDt getDefinition() { if (myDefinition == null) { myDefinition = new UriDt(); } return myDefinition; } /** * Gets the value(s) for definition (Source of definition for parameter). * creating it if it does * not exist. Will not return null. * *

* Definition: * A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter *

*/ public UriDt getDefinitionElement() { if (myDefinition == null) { myDefinition = new UriDt(); } return myDefinition; } /** * Sets the value(s) for definition (Source of definition for parameter) * *

* Definition: * A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter *

*/ public RestResourceSearchParam setDefinition(UriDt theValue) { myDefinition = theValue; return this; } /** * Sets the value for definition (Source of definition for parameter) * *

* Definition: * A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter *

*/ public RestResourceSearchParam setDefinition( String theUri) { myDefinition = new UriDt(theUri); return this; } /** * Gets the value(s) for type (number | date | string | token | reference | composite | quantity). * creating it if it does * not exist. Will not return null. * *

* Definition: * The type of value a search parameter refers to, and how the content is interpreted *

*/ public BoundCodeDt getType() { if (myType == null) { myType = new BoundCodeDt(SearchParamTypeEnum.VALUESET_BINDER); } return myType; } /** * Gets the value(s) for type (number | date | string | token | reference | composite | quantity). * creating it if it does * not exist. Will not return null. * *

* Definition: * The type of value a search parameter refers to, and how the content is interpreted *

*/ public BoundCodeDt getTypeElement() { if (myType == null) { myType = new BoundCodeDt(SearchParamTypeEnum.VALUESET_BINDER); } return myType; } /** * Sets the value(s) for type (number | date | string | token | reference | composite | quantity) * *

* Definition: * The type of value a search parameter refers to, and how the content is interpreted *

*/ public RestResourceSearchParam setType(BoundCodeDt theValue) { myType = theValue; return this; } /** * Sets the value(s) for type (number | date | string | token | reference | composite | quantity) * *

* Definition: * The type of value a search parameter refers to, and how the content is interpreted *

*/ public RestResourceSearchParam setType(SearchParamTypeEnum theValue) { getType().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for documentation (Server-specific usage). * creating it if it does * not exist. Will not return null. * *

* Definition: * This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms. *

*/ public StringDt getDocumentation() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Gets the value(s) for documentation (Server-specific usage). * creating it if it does * not exist. Will not return null. * *

* Definition: * This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms. *

*/ public StringDt getDocumentationElement() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Sets the value(s) for documentation (Server-specific usage) * *

* Definition: * This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms. *

*/ public RestResourceSearchParam setDocumentation(StringDt theValue) { myDocumentation = theValue; return this; } /** * Sets the value for documentation (Server-specific usage) * *

* Definition: * This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms. *

*/ public RestResourceSearchParam setDocumentation( String theString) { myDocumentation = new StringDt(theString); return this; } /** * Gets the value(s) for target (Types of resource (if a resource reference)). * creating it if it does * not exist. Will not return null. * *

* Definition: * Types of resource (if a resource is referenced) *

*/ public java.util.List> getTarget() { if (myTarget == null) { myTarget = new java.util.ArrayList>(); } return myTarget; } /** * Gets the value(s) for target (Types of resource (if a resource reference)). * creating it if it does * not exist. Will not return null. * *

* Definition: * Types of resource (if a resource is referenced) *

*/ public java.util.List> getTargetElement() { if (myTarget == null) { myTarget = new java.util.ArrayList>(); } return myTarget; } /** * Sets the value(s) for target (Types of resource (if a resource reference)) * *

* Definition: * Types of resource (if a resource is referenced) *

*/ public RestResourceSearchParam setTarget(java.util.List> theValue) { myTarget = theValue; return this; } /** * Add a value for target (Types of resource (if a resource reference)) using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addTarget()} method. * *

* Definition: * Types of resource (if a resource is referenced) *

*/ public BoundCodeDt addTarget(ResourceTypeEnum theValue) { BoundCodeDt retVal = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER, theValue); getTarget().add(retVal); return retVal; } /** * Gets the first repetition for target (Types of resource (if a resource reference)), * creating it if it does not already exist. * *

* Definition: * Types of resource (if a resource is referenced) *

*/ public BoundCodeDt getTargetFirstRep() { if (getTarget().size() == 0) { addTarget(); } return getTarget().get(0); } /** * Add a value for target (Types of resource (if a resource reference)) * *

* Definition: * Types of resource (if a resource is referenced) *

*/ public BoundCodeDt addTarget() { BoundCodeDt retVal = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER); getTarget().add(retVal); return retVal; } /** * Sets the value(s), and clears any existing value(s) for target (Types of resource (if a resource reference)) * *

* Definition: * Types of resource (if a resource is referenced) *

*/ public RestResourceSearchParam setTarget(ResourceTypeEnum theValue) { getTarget().clear(); addTarget(theValue); return this; } /** * Gets the value(s) for chain (Chained names supported). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getChain() { if (myChain == null) { myChain = new java.util.ArrayList(); } return myChain; } /** * Gets the value(s) for chain (Chained names supported). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getChainElement() { if (myChain == null) { myChain = new java.util.ArrayList(); } return myChain; } /** * Sets the value(s) for chain (Chained names supported) * *

* Definition: * *

*/ public RestResourceSearchParam setChain(java.util.List theValue) { myChain = theValue; return this; } /** * Adds and returns a new value for chain (Chained names supported) * *

* Definition: * *

*/ public StringDt addChain() { StringDt newType = new StringDt(); getChain().add(newType); return newType; } /** * Gets the first repetition for chain (Chained names supported), * creating it if it does not already exist. * *

* Definition: * *

*/ public StringDt getChainFirstRep() { if (getChain().isEmpty()) { return addChain(); } return getChain().get(0); } /** * Adds a new value for chain (Chained names supported) * *

* Definition: * *

* * @return Returns a reference to this object, to allow for simple chaining. */ public RestResourceSearchParam addChain( String theString) { if (myChain == null) { myChain = new java.util.ArrayList(); } myChain.add(new StringDt(theString)); return this; } } /** * Block class for child element: Conformance.rest.operation (What operations are supported?) * *

* Definition: * A specification of restful operations supported by the system *

*/ @Block() public static class RestOperation extends BaseIdentifiableElement implements IResourceBlock { @Child(name="code", type=CodeDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="transaction | search-system | history-system", formalDefinition="A coded identifier of the operation, supported by the system" ) private BoundCodeDt myCode; @Child(name="documentation", type=StringDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Anything special about operation behavior", formalDefinition="Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented" ) private StringDt myDocumentation; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myDocumentation); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myDocumentation); } /** * Gets the value(s) for code (transaction | search-system | history-system). * creating it if it does * not exist. Will not return null. * *

* Definition: * A coded identifier of the operation, supported by the system *

*/ public BoundCodeDt getCode() { if (myCode == null) { myCode = new BoundCodeDt(RestfulOperationSystemEnum.VALUESET_BINDER); } return myCode; } /** * Gets the value(s) for code (transaction | search-system | history-system). * creating it if it does * not exist. Will not return null. * *

* Definition: * A coded identifier of the operation, supported by the system *

*/ public BoundCodeDt getCodeElement() { if (myCode == null) { myCode = new BoundCodeDt(RestfulOperationSystemEnum.VALUESET_BINDER); } return myCode; } /** * Sets the value(s) for code (transaction | search-system | history-system) * *

* Definition: * A coded identifier of the operation, supported by the system *

*/ public RestOperation setCode(BoundCodeDt theValue) { myCode = theValue; return this; } /** * Sets the value(s) for code (transaction | search-system | history-system) * *

* Definition: * A coded identifier of the operation, supported by the system *

*/ public RestOperation setCode(RestfulOperationSystemEnum theValue) { getCode().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for documentation (Anything special about operation behavior). * creating it if it does * not exist. Will not return null. * *

* Definition: * Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented *

*/ public StringDt getDocumentation() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Gets the value(s) for documentation (Anything special about operation behavior). * creating it if it does * not exist. Will not return null. * *

* Definition: * Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented *

*/ public StringDt getDocumentationElement() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Sets the value(s) for documentation (Anything special about operation behavior) * *

* Definition: * Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented *

*/ public RestOperation setDocumentation(StringDt theValue) { myDocumentation = theValue; return this; } /** * Sets the value for documentation (Anything special about operation behavior) * *

* Definition: * Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented *

*/ public RestOperation setDocumentation( String theString) { myDocumentation = new StringDt(theString); return this; } } /** * Block class for child element: Conformance.rest.query (Definition of a named query) * *

* Definition: * Definition of a named query and its parameters and their meaning *

*/ @Block() public static class RestQuery extends BaseIdentifiableElement implements IResourceBlock { @Child(name="name", type=StringDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="Special named queries (_query=)", formalDefinition="The name of a query, which is used in the _query parameter when the query is called" ) private StringDt myName; @Child(name="definition", type=UriDt.class, order=1, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="Where query is defined", formalDefinition="Identifies the custom query, defined either in FHIR core or another profile" ) private UriDt myDefinition; @Child(name="documentation", type=StringDt.class, order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Additional usage guidance", formalDefinition="Additional information about how the query functions in this particular implementation" ) private StringDt myDocumentation; @Child(name="parameter", type=RestResourceSearchParam.class, order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Parameter for the named query", formalDefinition="Identifies which of the parameters for the named query are supported" ) private java.util.List myParameter; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myDefinition, myDocumentation, myParameter); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myDefinition, myDocumentation, myParameter); } /** * Gets the value(s) for name (Special named queries (_query=)). * creating it if it does * not exist. Will not return null. * *

* Definition: * The name of a query, which is used in the _query parameter when the query is called *

*/ public StringDt getName() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Gets the value(s) for name (Special named queries (_query=)). * creating it if it does * not exist. Will not return null. * *

* Definition: * The name of a query, which is used in the _query parameter when the query is called *

*/ public StringDt getNameElement() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Sets the value(s) for name (Special named queries (_query=)) * *

* Definition: * The name of a query, which is used in the _query parameter when the query is called *

*/ public RestQuery setName(StringDt theValue) { myName = theValue; return this; } /** * Sets the value for name (Special named queries (_query=)) * *

* Definition: * The name of a query, which is used in the _query parameter when the query is called *

*/ public RestQuery setName( String theString) { myName = new StringDt(theString); return this; } /** * Gets the value(s) for definition (Where query is defined). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies the custom query, defined either in FHIR core or another profile *

*/ public UriDt getDefinition() { if (myDefinition == null) { myDefinition = new UriDt(); } return myDefinition; } /** * Gets the value(s) for definition (Where query is defined). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies the custom query, defined either in FHIR core or another profile *

*/ public UriDt getDefinitionElement() { if (myDefinition == null) { myDefinition = new UriDt(); } return myDefinition; } /** * Sets the value(s) for definition (Where query is defined) * *

* Definition: * Identifies the custom query, defined either in FHIR core or another profile *

*/ public RestQuery setDefinition(UriDt theValue) { myDefinition = theValue; return this; } /** * Sets the value for definition (Where query is defined) * *

* Definition: * Identifies the custom query, defined either in FHIR core or another profile *

*/ public RestQuery setDefinition( String theUri) { myDefinition = new UriDt(theUri); return this; } /** * Gets the value(s) for documentation (Additional usage guidance). * creating it if it does * not exist. Will not return null. * *

* Definition: * Additional information about how the query functions in this particular implementation *

*/ public StringDt getDocumentation() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Gets the value(s) for documentation (Additional usage guidance). * creating it if it does * not exist. Will not return null. * *

* Definition: * Additional information about how the query functions in this particular implementation *

*/ public StringDt getDocumentationElement() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Sets the value(s) for documentation (Additional usage guidance) * *

* Definition: * Additional information about how the query functions in this particular implementation *

*/ public RestQuery setDocumentation(StringDt theValue) { myDocumentation = theValue; return this; } /** * Sets the value for documentation (Additional usage guidance) * *

* Definition: * Additional information about how the query functions in this particular implementation *

*/ public RestQuery setDocumentation( String theString) { myDocumentation = new StringDt(theString); return this; } /** * Gets the value(s) for parameter (Parameter for the named query). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies which of the parameters for the named query are supported *

*/ public java.util.List getParameter() { if (myParameter == null) { myParameter = new java.util.ArrayList(); } return myParameter; } /** * Gets the value(s) for parameter (Parameter for the named query). * creating it if it does * not exist. Will not return null. * *

* Definition: * Identifies which of the parameters for the named query are supported *

*/ public java.util.List getParameterElement() { if (myParameter == null) { myParameter = new java.util.ArrayList(); } return myParameter; } /** * Sets the value(s) for parameter (Parameter for the named query) * *

* Definition: * Identifies which of the parameters for the named query are supported *

*/ public RestQuery setParameter(java.util.List theValue) { myParameter = theValue; return this; } /** * Adds and returns a new value for parameter (Parameter for the named query) * *

* Definition: * Identifies which of the parameters for the named query are supported *

*/ public RestResourceSearchParam addParameter() { RestResourceSearchParam newType = new RestResourceSearchParam(); getParameter().add(newType); return newType; } /** * Gets the first repetition for parameter (Parameter for the named query), * creating it if it does not already exist. * *

* Definition: * Identifies which of the parameters for the named query are supported *

*/ public RestResourceSearchParam getParameterFirstRep() { if (getParameter().isEmpty()) { return addParameter(); } return getParameter().get(0); } } /** * Block class for child element: Conformance.messaging (If messaging is supported) * *

* Definition: * A description of the messaging capabilities of the solution *

*/ @Block() public static class Messaging extends BaseIdentifiableElement implements IResourceBlock { @Child(name="endpoint", type=UriDt.class, order=0, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Actual endpoint being described", formalDefinition="An address to which messages and/or replies are to be sent." ) private UriDt myEndpoint; @Child(name="reliableCache", type=IntegerDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Reliable Message Cache Length", formalDefinition="Length if the receiver's reliable messaging cache (if a receiver) or how long the cache length on the receiver should be (if a sender)" ) private IntegerDt myReliableCache; @Child(name="documentation", type=StringDt.class, order=2, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Messaging interface behavior details", formalDefinition="Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner." ) private StringDt myDocumentation; @Child(name="event", order=3, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Declare support for this event", formalDefinition="A description of the solution's support for an event at this end point." ) private java.util.List myEvent; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myEndpoint, myReliableCache, myDocumentation, myEvent); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myEndpoint, myReliableCache, myDocumentation, myEvent); } /** * Gets the value(s) for endpoint (Actual endpoint being described). * creating it if it does * not exist. Will not return null. * *

* Definition: * An address to which messages and/or replies are to be sent. *

*/ public UriDt getEndpoint() { if (myEndpoint == null) { myEndpoint = new UriDt(); } return myEndpoint; } /** * Gets the value(s) for endpoint (Actual endpoint being described). * creating it if it does * not exist. Will not return null. * *

* Definition: * An address to which messages and/or replies are to be sent. *

*/ public UriDt getEndpointElement() { if (myEndpoint == null) { myEndpoint = new UriDt(); } return myEndpoint; } /** * Sets the value(s) for endpoint (Actual endpoint being described) * *

* Definition: * An address to which messages and/or replies are to be sent. *

*/ public Messaging setEndpoint(UriDt theValue) { myEndpoint = theValue; return this; } /** * Sets the value for endpoint (Actual endpoint being described) * *

* Definition: * An address to which messages and/or replies are to be sent. *

*/ public Messaging setEndpoint( String theUri) { myEndpoint = new UriDt(theUri); return this; } /** * Gets the value(s) for reliableCache (Reliable Message Cache Length). * creating it if it does * not exist. Will not return null. * *

* Definition: * Length if the receiver's reliable messaging cache (if a receiver) or how long the cache length on the receiver should be (if a sender) *

*/ public IntegerDt getReliableCache() { if (myReliableCache == null) { myReliableCache = new IntegerDt(); } return myReliableCache; } /** * Gets the value(s) for reliableCache (Reliable Message Cache Length). * creating it if it does * not exist. Will not return null. * *

* Definition: * Length if the receiver's reliable messaging cache (if a receiver) or how long the cache length on the receiver should be (if a sender) *

*/ public IntegerDt getReliableCacheElement() { if (myReliableCache == null) { myReliableCache = new IntegerDt(); } return myReliableCache; } /** * Sets the value(s) for reliableCache (Reliable Message Cache Length) * *

* Definition: * Length if the receiver's reliable messaging cache (if a receiver) or how long the cache length on the receiver should be (if a sender) *

*/ public Messaging setReliableCache(IntegerDt theValue) { myReliableCache = theValue; return this; } /** * Sets the value for reliableCache (Reliable Message Cache Length) * *

* Definition: * Length if the receiver's reliable messaging cache (if a receiver) or how long the cache length on the receiver should be (if a sender) *

*/ public Messaging setReliableCache( int theInteger) { myReliableCache = new IntegerDt(theInteger); return this; } /** * Gets the value(s) for documentation (Messaging interface behavior details). * creating it if it does * not exist. Will not return null. * *

* Definition: * Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner. *

*/ public StringDt getDocumentation() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Gets the value(s) for documentation (Messaging interface behavior details). * creating it if it does * not exist. Will not return null. * *

* Definition: * Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner. *

*/ public StringDt getDocumentationElement() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Sets the value(s) for documentation (Messaging interface behavior details) * *

* Definition: * Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner. *

*/ public Messaging setDocumentation(StringDt theValue) { myDocumentation = theValue; return this; } /** * Sets the value for documentation (Messaging interface behavior details) * *

* Definition: * Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner. *

*/ public Messaging setDocumentation( String theString) { myDocumentation = new StringDt(theString); return this; } /** * Gets the value(s) for event (Declare support for this event). * creating it if it does * not exist. Will not return null. * *

* Definition: * A description of the solution's support for an event at this end point. *

*/ public java.util.List getEvent() { if (myEvent == null) { myEvent = new java.util.ArrayList(); } return myEvent; } /** * Gets the value(s) for event (Declare support for this event). * creating it if it does * not exist. Will not return null. * *

* Definition: * A description of the solution's support for an event at this end point. *

*/ public java.util.List getEventElement() { if (myEvent == null) { myEvent = new java.util.ArrayList(); } return myEvent; } /** * Sets the value(s) for event (Declare support for this event) * *

* Definition: * A description of the solution's support for an event at this end point. *

*/ public Messaging setEvent(java.util.List theValue) { myEvent = theValue; return this; } /** * Adds and returns a new value for event (Declare support for this event) * *

* Definition: * A description of the solution's support for an event at this end point. *

*/ public MessagingEvent addEvent() { MessagingEvent newType = new MessagingEvent(); getEvent().add(newType); return newType; } /** * Gets the first repetition for event (Declare support for this event), * creating it if it does not already exist. * *

* Definition: * A description of the solution's support for an event at this end point. *

*/ public MessagingEvent getEventFirstRep() { if (getEvent().isEmpty()) { return addEvent(); } return getEvent().get(0); } } /** * Block class for child element: Conformance.messaging.event (Declare support for this event) * *

* Definition: * A description of the solution's support for an event at this end point. *

*/ @Block() public static class MessagingEvent extends BaseIdentifiableElement implements IResourceBlock { @Child(name="code", type=CodingDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="Event type", formalDefinition="A coded identifier of a supported messaging event" ) private CodingDt myCode; @Child(name="category", type=CodeDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Consequence | Currency | Notification", formalDefinition="The impact of the content of the message" ) private BoundCodeDt myCategory; @Child(name="mode", type=CodeDt.class, order=2, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="sender | receiver", formalDefinition="The mode of this event declaration - whether application is sender or receiver" ) private BoundCodeDt myMode; @Child(name="protocol", type=CodingDt.class, order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="http | ftp | mllp +", formalDefinition="A list of the messaging transport protocol(s) identifiers, supported by this endpoint" ) private java.util.List myProtocol; @Child(name="focus", type=CodeDt.class, order=4, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="Resource that's focus of message", formalDefinition="A resource associated with the event. This is the resource that defines the event." ) private BoundCodeDt myFocus; @Child(name="request", order=5, min=1, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.Profile.class }) @Description( shortDefinition="Profile that describes the request", formalDefinition="Information about the request for this event" ) private ResourceReferenceDt myRequest; @Child(name="response", order=6, min=1, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.Profile.class }) @Description( shortDefinition="Profile that describes the response", formalDefinition="Information about the response for this event" ) private ResourceReferenceDt myResponse; @Child(name="documentation", type=StringDt.class, order=7, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Endpoint-specific event documentation", formalDefinition="Guidance on how this event is handled, such as internal system trigger points, business rules, etc." ) private StringDt myDocumentation; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myCategory, myMode, myProtocol, myFocus, myRequest, myResponse, myDocumentation); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myCategory, myMode, myProtocol, myFocus, myRequest, myResponse, myDocumentation); } /** * Gets the value(s) for code (Event type). * creating it if it does * not exist. Will not return null. * *

* Definition: * A coded identifier of a supported messaging event *

*/ public CodingDt getCode() { if (myCode == null) { myCode = new CodingDt(); } return myCode; } /** * Gets the value(s) for code (Event type). * creating it if it does * not exist. Will not return null. * *

* Definition: * A coded identifier of a supported messaging event *

*/ public CodingDt getCodeElement() { if (myCode == null) { myCode = new CodingDt(); } return myCode; } /** * Sets the value(s) for code (Event type) * *

* Definition: * A coded identifier of a supported messaging event *

*/ public MessagingEvent setCode(CodingDt theValue) { myCode = theValue; return this; } /** * Gets the value(s) for category (Consequence | Currency | Notification). * creating it if it does * not exist. Will not return null. * *

* Definition: * The impact of the content of the message *

*/ public BoundCodeDt getCategory() { if (myCategory == null) { myCategory = new BoundCodeDt(MessageSignificanceCategoryEnum.VALUESET_BINDER); } return myCategory; } /** * Gets the value(s) for category (Consequence | Currency | Notification). * creating it if it does * not exist. Will not return null. * *

* Definition: * The impact of the content of the message *

*/ public BoundCodeDt getCategoryElement() { if (myCategory == null) { myCategory = new BoundCodeDt(MessageSignificanceCategoryEnum.VALUESET_BINDER); } return myCategory; } /** * Sets the value(s) for category (Consequence | Currency | Notification) * *

* Definition: * The impact of the content of the message *

*/ public MessagingEvent setCategory(BoundCodeDt theValue) { myCategory = theValue; return this; } /** * Sets the value(s) for category (Consequence | Currency | Notification) * *

* Definition: * The impact of the content of the message *

*/ public MessagingEvent setCategory(MessageSignificanceCategoryEnum theValue) { getCategory().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for mode (sender | receiver). * creating it if it does * not exist. Will not return null. * *

* Definition: * The mode of this event declaration - whether application is sender or receiver *

*/ public BoundCodeDt getMode() { if (myMode == null) { myMode = new BoundCodeDt(ConformanceEventModeEnum.VALUESET_BINDER); } return myMode; } /** * Gets the value(s) for mode (sender | receiver). * creating it if it does * not exist. Will not return null. * *

* Definition: * The mode of this event declaration - whether application is sender or receiver *

*/ public BoundCodeDt getModeElement() { if (myMode == null) { myMode = new BoundCodeDt(ConformanceEventModeEnum.VALUESET_BINDER); } return myMode; } /** * Sets the value(s) for mode (sender | receiver) * *

* Definition: * The mode of this event declaration - whether application is sender or receiver *

*/ public MessagingEvent setMode(BoundCodeDt theValue) { myMode = theValue; return this; } /** * Sets the value(s) for mode (sender | receiver) * *

* Definition: * The mode of this event declaration - whether application is sender or receiver *

*/ public MessagingEvent setMode(ConformanceEventModeEnum theValue) { getMode().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for protocol (http | ftp | mllp +). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of the messaging transport protocol(s) identifiers, supported by this endpoint *

*/ public java.util.List getProtocol() { if (myProtocol == null) { myProtocol = new java.util.ArrayList(); } return myProtocol; } /** * Gets the value(s) for protocol (http | ftp | mllp +). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of the messaging transport protocol(s) identifiers, supported by this endpoint *

*/ public java.util.List getProtocolElement() { if (myProtocol == null) { myProtocol = new java.util.ArrayList(); } return myProtocol; } /** * Sets the value(s) for protocol (http | ftp | mllp +) * *

* Definition: * A list of the messaging transport protocol(s) identifiers, supported by this endpoint *

*/ public MessagingEvent setProtocol(java.util.List theValue) { myProtocol = theValue; return this; } /** * Adds and returns a new value for protocol (http | ftp | mllp +) * *

* Definition: * A list of the messaging transport protocol(s) identifiers, supported by this endpoint *

*/ public CodingDt addProtocol() { CodingDt newType = new CodingDt(); getProtocol().add(newType); return newType; } /** * Gets the first repetition for protocol (http | ftp | mllp +), * creating it if it does not already exist. * *

* Definition: * A list of the messaging transport protocol(s) identifiers, supported by this endpoint *

*/ public CodingDt getProtocolFirstRep() { if (getProtocol().isEmpty()) { return addProtocol(); } return getProtocol().get(0); } /** * Gets the value(s) for focus (Resource that's focus of message). * creating it if it does * not exist. Will not return null. * *

* Definition: * A resource associated with the event. This is the resource that defines the event. *

*/ public BoundCodeDt getFocus() { if (myFocus == null) { myFocus = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER); } return myFocus; } /** * Gets the value(s) for focus (Resource that's focus of message). * creating it if it does * not exist. Will not return null. * *

* Definition: * A resource associated with the event. This is the resource that defines the event. *

*/ public BoundCodeDt getFocusElement() { if (myFocus == null) { myFocus = new BoundCodeDt(ResourceTypeEnum.VALUESET_BINDER); } return myFocus; } /** * Sets the value(s) for focus (Resource that's focus of message) * *

* Definition: * A resource associated with the event. This is the resource that defines the event. *

*/ public MessagingEvent setFocus(BoundCodeDt theValue) { myFocus = theValue; return this; } /** * Sets the value(s) for focus (Resource that's focus of message) * *

* Definition: * A resource associated with the event. This is the resource that defines the event. *

*/ public MessagingEvent setFocus(ResourceTypeEnum theValue) { getFocus().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for request (Profile that describes the request). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about the request for this event *

*/ public ResourceReferenceDt getRequest() { if (myRequest == null) { myRequest = new ResourceReferenceDt(); } return myRequest; } /** * Gets the value(s) for request (Profile that describes the request). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about the request for this event *

*/ public ResourceReferenceDt getRequestElement() { if (myRequest == null) { myRequest = new ResourceReferenceDt(); } return myRequest; } /** * Sets the value(s) for request (Profile that describes the request) * *

* Definition: * Information about the request for this event *

*/ public MessagingEvent setRequest(ResourceReferenceDt theValue) { myRequest = theValue; return this; } /** * Gets the value(s) for response (Profile that describes the response). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about the response for this event *

*/ public ResourceReferenceDt getResponse() { if (myResponse == null) { myResponse = new ResourceReferenceDt(); } return myResponse; } /** * Gets the value(s) for response (Profile that describes the response). * creating it if it does * not exist. Will not return null. * *

* Definition: * Information about the response for this event *

*/ public ResourceReferenceDt getResponseElement() { if (myResponse == null) { myResponse = new ResourceReferenceDt(); } return myResponse; } /** * Sets the value(s) for response (Profile that describes the response) * *

* Definition: * Information about the response for this event *

*/ public MessagingEvent setResponse(ResourceReferenceDt theValue) { myResponse = theValue; return this; } /** * Gets the value(s) for documentation (Endpoint-specific event documentation). * creating it if it does * not exist. Will not return null. * *

* Definition: * Guidance on how this event is handled, such as internal system trigger points, business rules, etc. *

*/ public StringDt getDocumentation() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Gets the value(s) for documentation (Endpoint-specific event documentation). * creating it if it does * not exist. Will not return null. * *

* Definition: * Guidance on how this event is handled, such as internal system trigger points, business rules, etc. *

*/ public StringDt getDocumentationElement() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Sets the value(s) for documentation (Endpoint-specific event documentation) * *

* Definition: * Guidance on how this event is handled, such as internal system trigger points, business rules, etc. *

*/ public MessagingEvent setDocumentation(StringDt theValue) { myDocumentation = theValue; return this; } /** * Sets the value for documentation (Endpoint-specific event documentation) * *

* Definition: * Guidance on how this event is handled, such as internal system trigger points, business rules, etc. *

*/ public MessagingEvent setDocumentation( String theString) { myDocumentation = new StringDt(theString); return this; } } /** * Block class for child element: Conformance.document (Document definition) * *

* Definition: * A document definition *

*/ @Block() public static class Document extends BaseIdentifiableElement implements IResourceBlock { @Child(name="mode", type=CodeDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="producer | consumer", formalDefinition="Mode of this document declaration - whether application is producer or consumer" ) private BoundCodeDt myMode; @Child(name="documentation", type=StringDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Description of document support", formalDefinition="A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc." ) private StringDt myDocumentation; @Child(name="profile", order=2, min=1, max=1, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.Profile.class }) @Description( shortDefinition="Constraint on a resource used in the document", formalDefinition="A constraint on a resource used in the document" ) private ResourceReferenceDt myProfile; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myMode, myDocumentation, myProfile); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myMode, myDocumentation, myProfile); } /** * Gets the value(s) for mode (producer | consumer). * creating it if it does * not exist. Will not return null. * *

* Definition: * Mode of this document declaration - whether application is producer or consumer *

*/ public BoundCodeDt getMode() { if (myMode == null) { myMode = new BoundCodeDt(DocumentModeEnum.VALUESET_BINDER); } return myMode; } /** * Gets the value(s) for mode (producer | consumer). * creating it if it does * not exist. Will not return null. * *

* Definition: * Mode of this document declaration - whether application is producer or consumer *

*/ public BoundCodeDt getModeElement() { if (myMode == null) { myMode = new BoundCodeDt(DocumentModeEnum.VALUESET_BINDER); } return myMode; } /** * Sets the value(s) for mode (producer | consumer) * *

* Definition: * Mode of this document declaration - whether application is producer or consumer *

*/ public Document setMode(BoundCodeDt theValue) { myMode = theValue; return this; } /** * Sets the value(s) for mode (producer | consumer) * *

* Definition: * Mode of this document declaration - whether application is producer or consumer *

*/ public Document setMode(DocumentModeEnum theValue) { getMode().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for documentation (Description of document support). * creating it if it does * not exist. Will not return null. * *

* Definition: * A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc. *

*/ public StringDt getDocumentation() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Gets the value(s) for documentation (Description of document support). * creating it if it does * not exist. Will not return null. * *

* Definition: * A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc. *

*/ public StringDt getDocumentationElement() { if (myDocumentation == null) { myDocumentation = new StringDt(); } return myDocumentation; } /** * Sets the value(s) for documentation (Description of document support) * *

* Definition: * A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc. *

*/ public Document setDocumentation(StringDt theValue) { myDocumentation = theValue; return this; } /** * Sets the value for documentation (Description of document support) * *

* Definition: * A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc. *

*/ public Document setDocumentation( String theString) { myDocumentation = new StringDt(theString); return this; } /** * Gets the value(s) for profile (Constraint on a resource used in the document). * creating it if it does * not exist. Will not return null. * *

* Definition: * A constraint on a resource used in the document *

*/ public ResourceReferenceDt getProfile() { if (myProfile == null) { myProfile = new ResourceReferenceDt(); } return myProfile; } /** * Gets the value(s) for profile (Constraint on a resource used in the document). * creating it if it does * not exist. Will not return null. * *

* Definition: * A constraint on a resource used in the document *

*/ public ResourceReferenceDt getProfileElement() { if (myProfile == null) { myProfile = new ResourceReferenceDt(); } return myProfile; } /** * Sets the value(s) for profile (Constraint on a resource used in the document) * *

* Definition: * A constraint on a resource used in the document *

*/ public Document setProfile(ResourceReferenceDt theValue) { myProfile = theValue; return this; } } @Override public String getResourceName() { return "Conformance"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU1; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy