ca.uhn.fhir.model.dstu2.resource.Device Maven / Gradle / Ivy
package ca.uhn.fhir.model.dstu2.resource;
import java.math.BigDecimal;
import java.net.URI;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.rest.gclient.*;
import ca.uhn.fhir.model.dstu2.valueset.AccountStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ActionListEnum;
import ca.uhn.fhir.model.dstu2.composite.AddressDt;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationErrorCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjustmentReasonCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdministrativeGenderEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCertaintyEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCriticalityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.AnnotationDt;
import ca.uhn.fhir.model.dstu2.valueset.AnswerFormatEnum;
import ca.uhn.fhir.model.dstu2.resource.Appointment;
import ca.uhn.fhir.model.dstu2.valueset.AppointmentStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionDirectionTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionOperatorTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionResponseTypesEnum;
import ca.uhn.fhir.model.dstu2.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventActionEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.BindingStrengthEnum;
import ca.uhn.fhir.model.dstu2.resource.BodySite;
import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.CarePlan;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanRelationshipEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Claim;
import ca.uhn.fhir.model.dstu2.resource.ClaimResponse;
import ca.uhn.fhir.model.dstu2.valueset.ClaimTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.ClinicalImpression;
import ca.uhn.fhir.model.dstu2.valueset.ClinicalImpressionStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.CodingDt;
import ca.uhn.fhir.model.dstu2.resource.CommunicationRequest;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Composition;
import ca.uhn.fhir.model.dstu2.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu2.resource.Condition;
import ca.uhn.fhir.model.dstu2.valueset.ConditionCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionClinicalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionVerificationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionalDeleteStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Conformance;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceResourceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceStatementKindEnum;
import ca.uhn.fhir.model.dstu2.composite.ContactPointDt;
import ca.uhn.fhir.model.dstu2.valueset.ContentTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.Contract;
import ca.uhn.fhir.model.dstu2.resource.Coverage;
import ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum;
import ca.uhn.fhir.model.dstu2.valueset.DaysOfWeekEnum;
import ca.uhn.fhir.model.dstu2.valueset.DetectedIssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.resource.Device;
import ca.uhn.fhir.model.dstu2.resource.DeviceComponent;
import ca.uhn.fhir.model.dstu2.resource.DeviceMetric;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationStateEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricOperationalStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DigitalMediaTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu2.resource.DocumentReference;
import ca.uhn.fhir.model.dstu2.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt;
import ca.uhn.fhir.model.dstu2.resource.EligibilityRequest;
import ca.uhn.fhir.model.dstu2.resource.Encounter;
import ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterLocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest;
import ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare;
import ca.uhn.fhir.model.dstu2.valueset.EpisodeOfCareStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu2.valueset.FamilyHistoryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory;
import ca.uhn.fhir.model.dstu2.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu2.valueset.FlagStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Goal;
import ca.uhn.fhir.model.dstu2.valueset.GoalPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.GoalStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Group;
import ca.uhn.fhir.model.dstu2.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideDependencyTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuidePageKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum;
import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum;
import ca.uhn.fhir.model.dstu2.resource.HealthcareService;
import ca.uhn.fhir.model.dstu2.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu2.valueset.IdentifierTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.IdentityAssuranceLevelEnum;
import ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection;
import ca.uhn.fhir.model.dstu2.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu2.resource.Immunization;
import ca.uhn.fhir.model.dstu2.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.KOStitleEnum;
import ca.uhn.fhir.model.dstu2.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListOrderCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Location;
import ca.uhn.fhir.model.dstu2.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.MeasmntPrincipleEnum;
import ca.uhn.fhir.model.dstu2.resource.Media;
import ca.uhn.fhir.model.dstu2.resource.Medication;
import ca.uhn.fhir.model.dstu2.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationOrder;
import ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu2.valueset.MedicationStatementStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu2.resource.NamingSystem;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemIdentifierTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NoteTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.NutritionOrder;
import ca.uhn.fhir.model.dstu2.valueset.NutritionOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Observation;
import ca.uhn.fhir.model.dstu2.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationDefinition;
import ca.uhn.fhir.model.dstu2.valueset.OperationKindEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.valueset.OperationParameterUseEnum;
import ca.uhn.fhir.model.dstu2.resource.Order;
import ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Organization;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantRequiredEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Patient;
import ca.uhn.fhir.model.dstu2.valueset.PayeeTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.PeriodDt;
import ca.uhn.fhir.model.dstu2.resource.Person;
import ca.uhn.fhir.model.dstu2.resource.Practitioner;
import ca.uhn.fhir.model.dstu2.resource.Procedure;
import ca.uhn.fhir.model.dstu2.resource.ProcedureRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.ProcessRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
import ca.uhn.fhir.model.dstu2.resource.Questionnaire;
import ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireResponseStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.RangeDt;
import ca.uhn.fhir.model.dstu2.composite.RatioDt;
import ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum;
import ca.uhn.fhir.model.dstu2.resource.ReferralRequest;
import ca.uhn.fhir.model.dstu2.valueset.ReferralStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu2.valueset.RemittanceOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu2.resource.RiskAssessment;
import ca.uhn.fhir.model.dstu2.valueset.RulesetCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu2.resource.Schedule;
import ca.uhn.fhir.model.dstu2.valueset.SearchEntryModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchModifierCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ServiceProvisionConditionsEnum;
import ca.uhn.fhir.model.dstu2.composite.SignatureDt;
import ca.uhn.fhir.model.dstu2.resource.Slot;
import ca.uhn.fhir.model.dstu2.valueset.SlotStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Specimen;
import ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.StructureDefinition;
import ca.uhn.fhir.model.dstu2.valueset.StructureDefinitionKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Substance;
import ca.uhn.fhir.model.dstu2.valueset.SubstanceCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.SupplyDeliveryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.SupplyRequest;
import ca.uhn.fhir.model.dstu2.valueset.SupplyRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.SystemRestfulInteractionEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu2.composite.TimingDt;
import ca.uhn.fhir.model.dstu2.valueset.TransactionModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.TypeRestfulInteractionEnum;
import ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.UseEnum;
import ca.uhn.fhir.model.dstu2.resource.ValueSet;
import ca.uhn.fhir.model.dstu2.valueset.VisionBaseEnum;
import ca.uhn.fhir.model.dstu2.valueset.VisionEyesEnum;
import ca.uhn.fhir.model.dstu2.resource.VisionPrescription;
import ca.uhn.fhir.model.dstu2.valueset.XPathUsageTypeEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu2.composite.AgeDt;
import ca.uhn.fhir.model.dstu2.composite.BoundCodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.DurationDt;
import ca.uhn.fhir.model.dstu2.composite.MoneyDt;
import ca.uhn.fhir.model.dstu2.composite.NarrativeDt;
import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu2.composite.SimpleQuantityDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.PositiveIntDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.TimeDt;
import ca.uhn.fhir.model.primitive.UnsignedIntDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR Device Resource
* ()
*
*
* Definition:
* This resource identifies an instance of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device. Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. Non-medical devices may include items such as a machine, cellphone, computer, application, etc.
*
*
*
* Requirements:
* Allows institutions to track their devices.
*
*
*
* Profile Definition:
* http://hl7.org/fhir/profiles/Device
*
*
*/
@ResourceDef(name="Device", profile="http://hl7.org/fhir/profiles/Device", id="device")
public class Device extends ca.uhn.fhir.model.dstu2.resource.BaseResource
implements IResource
{
/**
* Search parameter constant for type
*
* Description: The type of the device
* Type: token
* Path: Device.type
*
*/
@SearchParamDefinition(name="type", path="Device.type", description="The type of the device", type="token"
)
public static final String SP_TYPE = "type";
/**
* Fluent Client search parameter constant for type
*
* Description: The type of the device
* Type: token
* Path: Device.type
*
*/
public static final TokenClientParam TYPE = new TokenClientParam(SP_TYPE);
/**
* Search parameter constant for manufacturer
*
* Description: The manufacturer of the device
* Type: string
* Path: Device.manufacturer
*
*/
@SearchParamDefinition(name="manufacturer", path="Device.manufacturer", description="The manufacturer of the device", type="string"
)
public static final String SP_MANUFACTURER = "manufacturer";
/**
* Fluent Client search parameter constant for manufacturer
*
* Description: The manufacturer of the device
* Type: string
* Path: Device.manufacturer
*
*/
public static final StringClientParam MANUFACTURER = new StringClientParam(SP_MANUFACTURER);
/**
* Search parameter constant for model
*
* Description: The model of the device
* Type: string
* Path: Device.model
*
*/
@SearchParamDefinition(name="model", path="Device.model", description="The model of the device", type="string"
)
public static final String SP_MODEL = "model";
/**
* Fluent Client search parameter constant for model
*
* Description: The model of the device
* Type: string
* Path: Device.model
*
*/
public static final StringClientParam MODEL = new StringClientParam(SP_MODEL);
/**
* Search parameter constant for organization
*
* Description: The organization responsible for the device
* Type: reference
* Path: Device.owner
*
*/
@SearchParamDefinition(name="organization", path="Device.owner", description="The organization responsible for the device", type="reference"
)
public static final String SP_ORGANIZATION = "organization";
/**
* Fluent Client search parameter constant for organization
*
* Description: The organization responsible for the device
* Type: reference
* Path: Device.owner
*
*/
public static final ReferenceClientParam ORGANIZATION = new ReferenceClientParam(SP_ORGANIZATION);
/**
* Search parameter constant for identifier
*
* Description: Instance id from manufacturer, owner, and others
* Type: token
* Path: Device.identifier
*
*/
@SearchParamDefinition(name="identifier", path="Device.identifier", description="Instance id from manufacturer, owner, and others", type="token"
)
public static final String SP_IDENTIFIER = "identifier";
/**
* Fluent Client search parameter constant for identifier
*
* Description: Instance id from manufacturer, owner, and others
* Type: token
* Path: Device.identifier
*
*/
public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER);
/**
* Search parameter constant for location
*
* Description: A location, where the resource is found
* Type: reference
* Path: Device.location
*
*/
@SearchParamDefinition(name="location", path="Device.location", description="A location, where the resource is found", type="reference"
)
public static final String SP_LOCATION = "location";
/**
* Fluent Client search parameter constant for location
*
* Description: A location, where the resource is found
* Type: reference
* Path: Device.location
*
*/
public static final ReferenceClientParam LOCATION = new ReferenceClientParam(SP_LOCATION);
/**
* Search parameter constant for patient
*
* Description: Patient information, if the resource is affixed to a person
* Type: reference
* Path: Device.patient
*
*/
@SearchParamDefinition(name="patient", path="Device.patient", description="Patient information, if the resource is affixed to a person", type="reference"
)
public static final String SP_PATIENT = "patient";
/**
* Fluent Client search parameter constant for patient
*
* Description: Patient information, if the resource is affixed to a person
* Type: reference
* Path: Device.patient
*
*/
public static final ReferenceClientParam PATIENT = new ReferenceClientParam(SP_PATIENT);
/**
* Search parameter constant for udi
*
* Description: FDA mandated Unique Device Identifier
* Type: string
* Path: Device.udi
*
*/
@SearchParamDefinition(name="udi", path="Device.udi", description="FDA mandated Unique Device Identifier", type="string"
)
public static final String SP_UDI = "udi";
/**
* Fluent Client search parameter constant for udi
*
* Description: FDA mandated Unique Device Identifier
* Type: string
* Path: Device.udi
*
*/
public static final StringClientParam UDI = new StringClientParam(SP_UDI);
/**
* Search parameter constant for url
*
* Description: Network address to contact device
* Type: uri
* Path: Device.url
*
*/
@SearchParamDefinition(name="url", path="Device.url", description="Network address to contact device", type="uri"
)
public static final String SP_URL = "url";
/**
* Fluent Client search parameter constant for url
*
* Description: Network address to contact device
* Type: uri
* Path: Device.url
*
*/
public static final UriClientParam URL = new UriClientParam(SP_URL);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Device:location".
*/
public static final Include INCLUDE_LOCATION = new Include("Device:location");
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Device:organization".
*/
public static final Include INCLUDE_ORGANIZATION = new Include("Device:organization");
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "Device:patient".
*/
public static final Include INCLUDE_PATIENT = new Include("Device:patient");
@Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used."
)
private java.util.List myIdentifier;
@Child(name="type", type=CodeableConceptDt.class, order=1, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Code or identifier to identify a kind of device."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "https://www.gmdnagency.org/Info.aspx?pageid=1091")
private CodeableConceptDt myType;
@Child(name="note", type=AnnotationDt.class, order=2, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Descriptive information, usage information or implantation information that is not captured in an existing element."
)
private java.util.List myNote;
@Child(name="status", type=CodeDt.class, order=3, min=0, max=1, summary=true, modifier=true)
@Description(
shortDefinition="",
formalDefinition="Status of the Device availability."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/devicestatus")
private BoundCodeDt myStatus;
@Child(name="manufacturer", type=StringDt.class, order=4, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A name of the manufacturer"
)
private StringDt myManufacturer;
@Child(name="model", type=StringDt.class, order=5, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type."
)
private StringDt myModel;
@Child(name="version", type=StringDt.class, order=6, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware."
)
private StringDt myVersion;
@Child(name="manufactureDate", type=DateTimeDt.class, order=7, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The date and time when the device was manufactured."
)
private DateTimeDt myManufactureDate;
@Child(name="expiry", type=DateTimeDt.class, order=8, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The date and time beyond which this device is no longer valid or should not be used (if applicable)"
)
private DateTimeDt myExpiry;
@Child(name="udi", type=StringDt.class, order=9, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm"
)
private StringDt myUdi;
@Child(name="lotNumber", type=StringDt.class, order=10, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Lot number assigned by the manufacturer"
)
private StringDt myLotNumber;
@Child(name="owner", order=11, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Organization.class
})
@Description(
shortDefinition="",
formalDefinition="An organization that is responsible for the provision and ongoing maintenance of the device."
)
private ResourceReferenceDt myOwner;
@Child(name="location", order=12, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Location.class
})
@Description(
shortDefinition="",
formalDefinition="The place where the device can be found."
)
private ResourceReferenceDt myLocation;
@Child(name="patient", order=13, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Patient.class
})
@Description(
shortDefinition="",
formalDefinition="Patient information, if the resource is affixed to a person"
)
private ResourceReferenceDt myPatient;
@Child(name="contact", type=ContactPointDt.class, order=14, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Contact details for an organization or a particular human that is responsible for the device"
)
private java.util.List myContact;
@Child(name="url", type=UriDt.class, order=15, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A network address on which the device may be contacted directly"
)
private UriDt myUrl;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myType, myNote, myStatus, myManufacturer, myModel, myVersion, myManufactureDate, myExpiry, myUdi, myLotNumber, myOwner, myLocation, myPatient, myContact, myUrl);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myType, myNote, myStatus, myManufacturer, myModel, myVersion, myManufactureDate, myExpiry, myUdi, myLotNumber, myOwner, myLocation, myPatient, myContact, myUrl);
}
/**
* Gets the value(s) for identifier ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
*
*/
public java.util.List getIdentifier() {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
return myIdentifier;
}
/**
* Sets the value(s) for identifier ()
*
*
* Definition:
* Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
*
*/
public Device setIdentifier(java.util.List theValue) {
myIdentifier = theValue;
return this;
}
/**
* Adds and returns a new value for identifier ()
*
*
* Definition:
* Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
*
*/
public IdentifierDt addIdentifier() {
IdentifierDt newType = new IdentifierDt();
getIdentifier().add(newType);
return newType;
}
/**
* Adds a given new value for identifier ()
*
*
* Definition:
* Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
*
* @param theValue The identifier to add (must not be null
)
*/
public Device addIdentifier(IdentifierDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getIdentifier().add(theValue);
return this;
}
/**
* Gets the first repetition for identifier (),
* creating it if it does not already exist.
*
*
* Definition:
* Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
*
*/
public IdentifierDt getIdentifierFirstRep() {
if (getIdentifier().isEmpty()) {
return addIdentifier();
}
return getIdentifier().get(0);
}
/**
* Gets the value(s) for type ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Code or identifier to identify a kind of device.
*
*/
public CodeableConceptDt getType() {
if (myType == null) {
myType = new CodeableConceptDt();
}
return myType;
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* Code or identifier to identify a kind of device.
*
*/
public Device setType(CodeableConceptDt theValue) {
myType = theValue;
return this;
}
/**
* Gets the value(s) for note ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Descriptive information, usage information or implantation information that is not captured in an existing element.
*
*/
public java.util.List getNote() {
if (myNote == null) {
myNote = new java.util.ArrayList();
}
return myNote;
}
/**
* Sets the value(s) for note ()
*
*
* Definition:
* Descriptive information, usage information or implantation information that is not captured in an existing element.
*
*/
public Device setNote(java.util.List theValue) {
myNote = theValue;
return this;
}
/**
* Adds and returns a new value for note ()
*
*
* Definition:
* Descriptive information, usage information or implantation information that is not captured in an existing element.
*
*/
public AnnotationDt addNote() {
AnnotationDt newType = new AnnotationDt();
getNote().add(newType);
return newType;
}
/**
* Adds a given new value for note ()
*
*
* Definition:
* Descriptive information, usage information or implantation information that is not captured in an existing element.
*
* @param theValue The note to add (must not be null
)
*/
public Device addNote(AnnotationDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getNote().add(theValue);
return this;
}
/**
* Gets the first repetition for note (),
* creating it if it does not already exist.
*
*
* Definition:
* Descriptive information, usage information or implantation information that is not captured in an existing element.
*
*/
public AnnotationDt getNoteFirstRep() {
if (getNote().isEmpty()) {
return addNote();
}
return getNote().get(0);
}
/**
* Gets the value(s) for status ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Status of the Device availability.
*
*/
public BoundCodeDt getStatusElement() {
if (myStatus == null) {
myStatus = new BoundCodeDt(DeviceStatusEnum.VALUESET_BINDER);
}
return myStatus;
}
/**
* Gets the value(s) for status ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Status of the Device availability.
*
*/
public String getStatus() {
return getStatusElement().getValue();
}
/**
* Sets the value(s) for status ()
*
*
* Definition:
* Status of the Device availability.
*
*/
public Device setStatus(BoundCodeDt theValue) {
myStatus = theValue;
return this;
}
/**
* Sets the value(s) for status ()
*
*
* Definition:
* Status of the Device availability.
*
*/
public Device setStatus(DeviceStatusEnum theValue) {
setStatus(new BoundCodeDt(DeviceStatusEnum.VALUESET_BINDER, theValue));
/*
getStatusElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for manufacturer ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A name of the manufacturer
*
*/
public StringDt getManufacturerElement() {
if (myManufacturer == null) {
myManufacturer = new StringDt();
}
return myManufacturer;
}
/**
* Gets the value(s) for manufacturer ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A name of the manufacturer
*
*/
public String getManufacturer() {
return getManufacturerElement().getValue();
}
/**
* Sets the value(s) for manufacturer ()
*
*
* Definition:
* A name of the manufacturer
*
*/
public Device setManufacturer(StringDt theValue) {
myManufacturer = theValue;
return this;
}
/**
* Sets the value for manufacturer ()
*
*
* Definition:
* A name of the manufacturer
*
*/
public Device setManufacturer( String theString) {
myManufacturer = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for model ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
*
*/
public StringDt getModelElement() {
if (myModel == null) {
myModel = new StringDt();
}
return myModel;
}
/**
* Gets the value(s) for model ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
*
*/
public String getModel() {
return getModelElement().getValue();
}
/**
* Sets the value(s) for model ()
*
*
* Definition:
* The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
*
*/
public Device setModel(StringDt theValue) {
myModel = theValue;
return this;
}
/**
* Sets the value for model ()
*
*
* Definition:
* The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
*
*/
public Device setModel( String theString) {
myModel = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for version ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
*
*/
public StringDt getVersionElement() {
if (myVersion == null) {
myVersion = new StringDt();
}
return myVersion;
}
/**
* Gets the value(s) for version ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
*
*/
public String getVersion() {
return getVersionElement().getValue();
}
/**
* Sets the value(s) for version ()
*
*
* Definition:
* The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
*
*/
public Device setVersion(StringDt theValue) {
myVersion = theValue;
return this;
}
/**
* Sets the value for version ()
*
*
* Definition:
* The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
*
*/
public Device setVersion( String theString) {
myVersion = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for manufactureDate ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The date and time when the device was manufactured.
*
*/
public DateTimeDt getManufactureDateElement() {
if (myManufactureDate == null) {
myManufactureDate = new DateTimeDt();
}
return myManufactureDate;
}
/**
* Gets the value(s) for manufactureDate ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The date and time when the device was manufactured.
*
*/
public Date getManufactureDate() {
return getManufactureDateElement().getValue();
}
/**
* Sets the value(s) for manufactureDate ()
*
*
* Definition:
* The date and time when the device was manufactured.
*
*/
public Device setManufactureDate(DateTimeDt theValue) {
myManufactureDate = theValue;
return this;
}
/**
* Sets the value for manufactureDate ()
*
*
* Definition:
* The date and time when the device was manufactured.
*
*/
public Device setManufactureDateWithSecondsPrecision( Date theDate) {
myManufactureDate = new DateTimeDt(theDate);
return this;
}
/**
* Sets the value for manufactureDate ()
*
*
* Definition:
* The date and time when the device was manufactured.
*
*/
public Device setManufactureDate( Date theDate, TemporalPrecisionEnum thePrecision) {
myManufactureDate = new DateTimeDt(theDate, thePrecision);
return this;
}
/**
* Gets the value(s) for expiry ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The date and time beyond which this device is no longer valid or should not be used (if applicable)
*
*/
public DateTimeDt getExpiryElement() {
if (myExpiry == null) {
myExpiry = new DateTimeDt();
}
return myExpiry;
}
/**
* Gets the value(s) for expiry ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The date and time beyond which this device is no longer valid or should not be used (if applicable)
*
*/
public Date getExpiry() {
return getExpiryElement().getValue();
}
/**
* Sets the value(s) for expiry ()
*
*
* Definition:
* The date and time beyond which this device is no longer valid or should not be used (if applicable)
*
*/
public Device setExpiry(DateTimeDt theValue) {
myExpiry = theValue;
return this;
}
/**
* Sets the value for expiry ()
*
*
* Definition:
* The date and time beyond which this device is no longer valid or should not be used (if applicable)
*
*/
public Device setExpiryWithSecondsPrecision( Date theDate) {
myExpiry = new DateTimeDt(theDate);
return this;
}
/**
* Sets the value for expiry ()
*
*
* Definition:
* The date and time beyond which this device is no longer valid or should not be used (if applicable)
*
*/
public Device setExpiry( Date theDate, TemporalPrecisionEnum thePrecision) {
myExpiry = new DateTimeDt(theDate, thePrecision);
return this;
}
/**
* Gets the value(s) for udi ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
*
*/
public StringDt getUdiElement() {
if (myUdi == null) {
myUdi = new StringDt();
}
return myUdi;
}
/**
* Gets the value(s) for udi ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
*
*/
public String getUdi() {
return getUdiElement().getValue();
}
/**
* Sets the value(s) for udi ()
*
*
* Definition:
* United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
*
*/
public Device setUdi(StringDt theValue) {
myUdi = theValue;
return this;
}
/**
* Sets the value for udi ()
*
*
* Definition:
* United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
*
*/
public Device setUdi( String theString) {
myUdi = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for lotNumber ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Lot number assigned by the manufacturer
*
*/
public StringDt getLotNumberElement() {
if (myLotNumber == null) {
myLotNumber = new StringDt();
}
return myLotNumber;
}
/**
* Gets the value(s) for lotNumber ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Lot number assigned by the manufacturer
*
*/
public String getLotNumber() {
return getLotNumberElement().getValue();
}
/**
* Sets the value(s) for lotNumber ()
*
*
* Definition:
* Lot number assigned by the manufacturer
*
*/
public Device setLotNumber(StringDt theValue) {
myLotNumber = theValue;
return this;
}
/**
* Sets the value for lotNumber ()
*
*
* Definition:
* Lot number assigned by the manufacturer
*
*/
public Device setLotNumber( String theString) {
myLotNumber = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for owner ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* An organization that is responsible for the provision and ongoing maintenance of the device.
*
*/
public ResourceReferenceDt getOwner() {
if (myOwner == null) {
myOwner = new ResourceReferenceDt();
}
return myOwner;
}
/**
* Sets the value(s) for owner ()
*
*
* Definition:
* An organization that is responsible for the provision and ongoing maintenance of the device.
*
*/
public Device setOwner(ResourceReferenceDt theValue) {
myOwner = theValue;
return this;
}
/**
* Gets the value(s) for location ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The place where the device can be found.
*
*/
public ResourceReferenceDt getLocation() {
if (myLocation == null) {
myLocation = new ResourceReferenceDt();
}
return myLocation;
}
/**
* Sets the value(s) for location ()
*
*
* Definition:
* The place where the device can be found.
*
*/
public Device setLocation(ResourceReferenceDt theValue) {
myLocation = theValue;
return this;
}
/**
* Gets the value(s) for patient ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Patient information, if the resource is affixed to a person
*
*/
public ResourceReferenceDt getPatient() {
if (myPatient == null) {
myPatient = new ResourceReferenceDt();
}
return myPatient;
}
/**
* Sets the value(s) for patient ()
*
*
* Definition:
* Patient information, if the resource is affixed to a person
*
*/
public Device setPatient(ResourceReferenceDt theValue) {
myPatient = theValue;
return this;
}
/**
* Gets the value(s) for contact ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Contact details for an organization or a particular human that is responsible for the device
*
*/
public java.util.List getContact() {
if (myContact == null) {
myContact = new java.util.ArrayList();
}
return myContact;
}
/**
* Sets the value(s) for contact ()
*
*
* Definition:
* Contact details for an organization or a particular human that is responsible for the device
*
*/
public Device setContact(java.util.List theValue) {
myContact = theValue;
return this;
}
/**
* Adds and returns a new value for contact ()
*
*
* Definition:
* Contact details for an organization or a particular human that is responsible for the device
*
*/
public ContactPointDt addContact() {
ContactPointDt newType = new ContactPointDt();
getContact().add(newType);
return newType;
}
/**
* Adds a given new value for contact ()
*
*
* Definition:
* Contact details for an organization or a particular human that is responsible for the device
*
* @param theValue The contact to add (must not be null
)
*/
public Device addContact(ContactPointDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getContact().add(theValue);
return this;
}
/**
* Gets the first repetition for contact (),
* creating it if it does not already exist.
*
*
* Definition:
* Contact details for an organization or a particular human that is responsible for the device
*
*/
public ContactPointDt getContactFirstRep() {
if (getContact().isEmpty()) {
return addContact();
}
return getContact().get(0);
}
/**
* Gets the value(s) for url ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A network address on which the device may be contacted directly
*
*/
public UriDt getUrlElement() {
if (myUrl == null) {
myUrl = new UriDt();
}
return myUrl;
}
/**
* Gets the value(s) for url ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A network address on which the device may be contacted directly
*
*/
public String getUrl() {
return getUrlElement().getValue();
}
/**
* Sets the value(s) for url ()
*
*
* Definition:
* A network address on which the device may be contacted directly
*
*/
public Device setUrl(UriDt theValue) {
myUrl = theValue;
return this;
}
/**
* Sets the value for url ()
*
*
* Definition:
* A network address on which the device may be contacted directly
*
*/
public Device setUrl( String theUri) {
myUrl = new UriDt(theUri);
return this;
}
@Override
public String getResourceName() {
return "Device";
}
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
}
}