001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017package ca.uhn.fhir.model.dstu2.resource; 018 019import java.math.BigDecimal; 020import java.net.URI; 021import java.util.*; 022import ca.uhn.fhir.model.api.*; 023import ca.uhn.fhir.model.api.annotation.*; 024import ca.uhn.fhir.rest.gclient.*; 025 026import ca.uhn.fhir.model.dstu2.valueset.AccountStatusEnum; 027import ca.uhn.fhir.model.dstu2.valueset.ActionListEnum; 028import ca.uhn.fhir.model.dstu2.composite.AddressDt; 029import ca.uhn.fhir.model.dstu2.valueset.AdjudicationCodesEnum; 030import ca.uhn.fhir.model.dstu2.valueset.AdjudicationErrorCodesEnum; 031import ca.uhn.fhir.model.dstu2.valueset.AdjustmentReasonCodesEnum; 032import ca.uhn.fhir.model.dstu2.valueset.AdministrativeGenderEnum; 033import ca.uhn.fhir.model.dstu2.valueset.AdmitSourceEnum; 034import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance; 035import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCategoryEnum; 036import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCertaintyEnum; 037import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCriticalityEnum; 038import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceSeverityEnum; 039import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceStatusEnum; 040import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceTypeEnum; 041import ca.uhn.fhir.model.dstu2.composite.AnnotationDt; 042import ca.uhn.fhir.model.dstu2.valueset.AnswerFormatEnum; 043import ca.uhn.fhir.model.dstu2.resource.Appointment; 044import ca.uhn.fhir.model.dstu2.valueset.AppointmentStatusEnum; 045import ca.uhn.fhir.model.dstu2.valueset.AssertionDirectionTypeEnum; 046import ca.uhn.fhir.model.dstu2.valueset.AssertionOperatorTypeEnum; 047import ca.uhn.fhir.model.dstu2.valueset.AssertionResponseTypesEnum; 048import ca.uhn.fhir.model.dstu2.composite.AttachmentDt; 049import ca.uhn.fhir.model.dstu2.valueset.AuditEventActionEnum; 050import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectLifecycleEnum; 051import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectRoleEnum; 052import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectTypeEnum; 053import ca.uhn.fhir.model.dstu2.valueset.AuditEventOutcomeEnum; 054import ca.uhn.fhir.model.dstu2.valueset.AuditEventParticipantNetworkTypeEnum; 055import ca.uhn.fhir.model.dstu2.valueset.AuditEventSourceTypeEnum; 056import ca.uhn.fhir.model.dstu2.valueset.BindingStrengthEnum; 057import ca.uhn.fhir.model.dstu2.resource.BodySite; 058import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum; 059import ca.uhn.fhir.model.dstu2.resource.CarePlan; 060import ca.uhn.fhir.model.dstu2.valueset.CarePlanActivityStatusEnum; 061import ca.uhn.fhir.model.dstu2.valueset.CarePlanRelationshipEnum; 062import ca.uhn.fhir.model.dstu2.valueset.CarePlanStatusEnum; 063import ca.uhn.fhir.model.dstu2.resource.Claim; 064import ca.uhn.fhir.model.dstu2.resource.ClaimResponse; 065import ca.uhn.fhir.model.dstu2.valueset.ClaimTypeEnum; 066import ca.uhn.fhir.model.dstu2.resource.ClinicalImpression; 067import ca.uhn.fhir.model.dstu2.valueset.ClinicalImpressionStatusEnum; 068import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt; 069import ca.uhn.fhir.model.dstu2.composite.CodingDt; 070import ca.uhn.fhir.model.dstu2.resource.CommunicationRequest; 071import ca.uhn.fhir.model.dstu2.valueset.CommunicationRequestStatusEnum; 072import ca.uhn.fhir.model.dstu2.valueset.CommunicationStatusEnum; 073import ca.uhn.fhir.model.dstu2.resource.Composition; 074import ca.uhn.fhir.model.dstu2.valueset.CompositionAttestationModeEnum; 075import ca.uhn.fhir.model.dstu2.valueset.CompositionStatusEnum; 076import ca.uhn.fhir.model.dstu2.valueset.ConceptMapEquivalenceEnum; 077import ca.uhn.fhir.model.dstu2.resource.Condition; 078import ca.uhn.fhir.model.dstu2.valueset.ConditionCategoryCodesEnum; 079import ca.uhn.fhir.model.dstu2.valueset.ConditionClinicalStatusCodesEnum; 080import ca.uhn.fhir.model.dstu2.valueset.ConditionVerificationStatusEnum; 081import ca.uhn.fhir.model.dstu2.valueset.ConditionalDeleteStatusEnum; 082import ca.uhn.fhir.model.dstu2.resource.Conformance; 083import ca.uhn.fhir.model.dstu2.valueset.ConformanceEventModeEnum; 084import ca.uhn.fhir.model.dstu2.valueset.ConformanceResourceStatusEnum; 085import ca.uhn.fhir.model.dstu2.valueset.ConformanceStatementKindEnum; 086import ca.uhn.fhir.model.dstu2.composite.ContactPointDt; 087import ca.uhn.fhir.model.dstu2.valueset.ContentTypeEnum; 088import ca.uhn.fhir.model.dstu2.resource.Contract; 089import ca.uhn.fhir.model.dstu2.resource.Coverage; 090import ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum; 091import ca.uhn.fhir.model.dstu2.valueset.DaysOfWeekEnum; 092import ca.uhn.fhir.model.dstu2.valueset.DetectedIssueSeverityEnum; 093import ca.uhn.fhir.model.dstu2.resource.Device; 094import ca.uhn.fhir.model.dstu2.resource.DeviceComponent; 095import ca.uhn.fhir.model.dstu2.resource.DeviceMetric; 096import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationStateEnum; 097import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationTypeEnum; 098import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCategoryEnum; 099import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum; 100import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricOperationalStatusEnum; 101import ca.uhn.fhir.model.dstu2.valueset.DeviceStatusEnum; 102import ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest; 103import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestPriorityEnum; 104import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestStatusEnum; 105import ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder; 106import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderPriorityEnum; 107import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderStatusEnum; 108import ca.uhn.fhir.model.dstu2.resource.DiagnosticReport; 109import ca.uhn.fhir.model.dstu2.valueset.DiagnosticReportStatusEnum; 110import ca.uhn.fhir.model.dstu2.valueset.DigitalMediaTypeEnum; 111import ca.uhn.fhir.model.dstu2.valueset.DocumentModeEnum; 112import ca.uhn.fhir.model.dstu2.resource.DocumentReference; 113import ca.uhn.fhir.model.dstu2.valueset.DocumentReferenceStatusEnum; 114import ca.uhn.fhir.model.dstu2.valueset.DocumentRelationshipTypeEnum; 115import ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt; 116import ca.uhn.fhir.model.dstu2.resource.EligibilityRequest; 117import ca.uhn.fhir.model.dstu2.resource.Encounter; 118import ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum; 119import ca.uhn.fhir.model.dstu2.valueset.EncounterLocationStatusEnum; 120import ca.uhn.fhir.model.dstu2.valueset.EncounterStateEnum; 121import ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest; 122import ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare; 123import ca.uhn.fhir.model.dstu2.valueset.EpisodeOfCareStatusEnum; 124import ca.uhn.fhir.model.dstu2.valueset.ExtensionContextEnum; 125import ca.uhn.fhir.model.dstu2.valueset.FamilyHistoryStatusEnum; 126import ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory; 127import ca.uhn.fhir.model.dstu2.valueset.FilterOperatorEnum; 128import ca.uhn.fhir.model.dstu2.valueset.FlagStatusEnum; 129import ca.uhn.fhir.model.dstu2.resource.Goal; 130import ca.uhn.fhir.model.dstu2.valueset.GoalPriorityEnum; 131import ca.uhn.fhir.model.dstu2.valueset.GoalStatusEnum; 132import ca.uhn.fhir.model.dstu2.resource.Group; 133import ca.uhn.fhir.model.dstu2.valueset.GroupTypeEnum; 134import ca.uhn.fhir.model.dstu2.valueset.GuideDependencyTypeEnum; 135import ca.uhn.fhir.model.dstu2.valueset.GuidePageKindEnum; 136import ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum; 137import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum; 138import ca.uhn.fhir.model.dstu2.resource.HealthcareService; 139import ca.uhn.fhir.model.dstu2.composite.HumanNameDt; 140import ca.uhn.fhir.model.dstu2.composite.IdentifierDt; 141import ca.uhn.fhir.model.dstu2.valueset.IdentifierTypeCodesEnum; 142import ca.uhn.fhir.model.dstu2.valueset.IdentityAssuranceLevelEnum; 143import ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection; 144import ca.uhn.fhir.model.dstu2.resource.ImagingStudy; 145import ca.uhn.fhir.model.dstu2.resource.Immunization; 146import ca.uhn.fhir.model.dstu2.valueset.InstanceAvailabilityEnum; 147import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum; 148import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum; 149import ca.uhn.fhir.model.dstu2.valueset.KOStitleEnum; 150import ca.uhn.fhir.model.dstu2.valueset.LinkTypeEnum; 151import ca.uhn.fhir.model.dstu2.valueset.ListModeEnum; 152import ca.uhn.fhir.model.dstu2.valueset.ListOrderCodesEnum; 153import ca.uhn.fhir.model.dstu2.valueset.ListStatusEnum; 154import ca.uhn.fhir.model.dstu2.resource.Location; 155import ca.uhn.fhir.model.dstu2.valueset.LocationModeEnum; 156import ca.uhn.fhir.model.dstu2.valueset.LocationStatusEnum; 157import ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum; 158import ca.uhn.fhir.model.dstu2.valueset.MaritalStatusCodesEnum; 159import ca.uhn.fhir.model.dstu2.valueset.MeasmntPrincipleEnum; 160import ca.uhn.fhir.model.dstu2.resource.Media; 161import ca.uhn.fhir.model.dstu2.resource.Medication; 162import ca.uhn.fhir.model.dstu2.valueset.MedicationAdministrationStatusEnum; 163import ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum; 164import ca.uhn.fhir.model.dstu2.resource.MedicationOrder; 165import ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum; 166import ca.uhn.fhir.model.dstu2.resource.MedicationStatement; 167import ca.uhn.fhir.model.dstu2.valueset.MedicationStatementStatusEnum; 168import ca.uhn.fhir.model.dstu2.valueset.MessageEventEnum; 169import ca.uhn.fhir.model.dstu2.valueset.MessageSignificanceCategoryEnum; 170import ca.uhn.fhir.model.dstu2.valueset.MessageTransportEnum; 171import ca.uhn.fhir.model.dstu2.resource.NamingSystem; 172import ca.uhn.fhir.model.dstu2.valueset.NamingSystemIdentifierTypeEnum; 173import ca.uhn.fhir.model.dstu2.valueset.NamingSystemTypeEnum; 174import ca.uhn.fhir.model.dstu2.valueset.NoteTypeEnum; 175import ca.uhn.fhir.model.dstu2.resource.NutritionOrder; 176import ca.uhn.fhir.model.dstu2.valueset.NutritionOrderStatusEnum; 177import ca.uhn.fhir.model.dstu2.resource.Observation; 178import ca.uhn.fhir.model.dstu2.valueset.ObservationRelationshipTypeEnum; 179import ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum; 180import ca.uhn.fhir.model.dstu2.resource.OperationDefinition; 181import ca.uhn.fhir.model.dstu2.valueset.OperationKindEnum; 182import ca.uhn.fhir.model.dstu2.resource.OperationOutcome; 183import ca.uhn.fhir.model.dstu2.valueset.OperationParameterUseEnum; 184import ca.uhn.fhir.model.dstu2.resource.Order; 185import ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum; 186import ca.uhn.fhir.model.dstu2.resource.Organization; 187import ca.uhn.fhir.model.dstu2.valueset.ParticipantRequiredEnum; 188import ca.uhn.fhir.model.dstu2.valueset.ParticipantStatusEnum; 189import ca.uhn.fhir.model.dstu2.valueset.ParticipantTypeEnum; 190import ca.uhn.fhir.model.dstu2.valueset.ParticipationStatusEnum; 191import ca.uhn.fhir.model.dstu2.resource.Patient; 192import ca.uhn.fhir.model.dstu2.valueset.PayeeTypeCodesEnum; 193import ca.uhn.fhir.model.dstu2.composite.PeriodDt; 194import ca.uhn.fhir.model.dstu2.resource.Person; 195import ca.uhn.fhir.model.dstu2.resource.Practitioner; 196import ca.uhn.fhir.model.dstu2.resource.Procedure; 197import ca.uhn.fhir.model.dstu2.resource.ProcedureRequest; 198import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestPriorityEnum; 199import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestStatusEnum; 200import ca.uhn.fhir.model.dstu2.valueset.ProcedureStatusEnum; 201import ca.uhn.fhir.model.dstu2.resource.ProcessRequest; 202import ca.uhn.fhir.model.dstu2.valueset.ProvenanceEntityRoleEnum; 203import ca.uhn.fhir.model.dstu2.composite.QuantityDt; 204import ca.uhn.fhir.model.dstu2.resource.Questionnaire; 205import ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse; 206import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireResponseStatusEnum; 207import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireStatusEnum; 208import ca.uhn.fhir.model.dstu2.composite.RangeDt; 209import ca.uhn.fhir.model.dstu2.composite.RatioDt; 210import ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum; 211import ca.uhn.fhir.model.dstu2.resource.ReferralRequest; 212import ca.uhn.fhir.model.dstu2.valueset.ReferralStatusEnum; 213import ca.uhn.fhir.model.dstu2.resource.RelatedPerson; 214import ca.uhn.fhir.model.dstu2.valueset.RemittanceOutcomeEnum; 215import ca.uhn.fhir.model.dstu2.valueset.ResourceTypeEnum; 216import ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum; 217import ca.uhn.fhir.model.dstu2.valueset.ResponseTypeEnum; 218import ca.uhn.fhir.model.dstu2.valueset.RestfulConformanceModeEnum; 219import ca.uhn.fhir.model.dstu2.valueset.RestfulSecurityServiceEnum; 220import ca.uhn.fhir.model.dstu2.resource.RiskAssessment; 221import ca.uhn.fhir.model.dstu2.valueset.RulesetCodesEnum; 222import ca.uhn.fhir.model.dstu2.composite.SampledDataDt; 223import ca.uhn.fhir.model.dstu2.resource.Schedule; 224import ca.uhn.fhir.model.dstu2.valueset.SearchEntryModeEnum; 225import ca.uhn.fhir.model.dstu2.valueset.SearchModifierCodeEnum; 226import ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum; 227import ca.uhn.fhir.model.dstu2.valueset.ServiceProvisionConditionsEnum; 228import ca.uhn.fhir.model.dstu2.composite.SignatureDt; 229import ca.uhn.fhir.model.dstu2.resource.Slot; 230import ca.uhn.fhir.model.dstu2.valueset.SlotStatusEnum; 231import ca.uhn.fhir.model.dstu2.resource.Specimen; 232import ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum; 233import ca.uhn.fhir.model.dstu2.resource.StructureDefinition; 234import ca.uhn.fhir.model.dstu2.valueset.StructureDefinitionKindEnum; 235import ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum; 236import ca.uhn.fhir.model.dstu2.valueset.SubscriptionStatusEnum; 237import ca.uhn.fhir.model.dstu2.resource.Substance; 238import ca.uhn.fhir.model.dstu2.valueset.SubstanceCategoryCodesEnum; 239import ca.uhn.fhir.model.dstu2.valueset.SupplyDeliveryStatusEnum; 240import ca.uhn.fhir.model.dstu2.resource.SupplyRequest; 241import ca.uhn.fhir.model.dstu2.valueset.SupplyRequestStatusEnum; 242import ca.uhn.fhir.model.dstu2.valueset.SystemRestfulInteractionEnum; 243import ca.uhn.fhir.model.api.TemporalPrecisionEnum; 244import ca.uhn.fhir.model.dstu2.composite.TimingDt; 245import ca.uhn.fhir.model.dstu2.valueset.TransactionModeEnum; 246import ca.uhn.fhir.model.dstu2.valueset.TypeRestfulInteractionEnum; 247import ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum; 248import ca.uhn.fhir.model.dstu2.valueset.UseEnum; 249import ca.uhn.fhir.model.dstu2.resource.ValueSet; 250import ca.uhn.fhir.model.dstu2.valueset.VisionBaseEnum; 251import ca.uhn.fhir.model.dstu2.valueset.VisionEyesEnum; 252import ca.uhn.fhir.model.dstu2.resource.VisionPrescription; 253import ca.uhn.fhir.model.dstu2.valueset.XPathUsageTypeEnum; 254import ca.uhn.fhir.model.api.IResource; 255import ca.uhn.fhir.model.dstu2.composite.AgeDt; 256import ca.uhn.fhir.model.dstu2.composite.BoundCodeableConceptDt; 257import ca.uhn.fhir.model.dstu2.composite.DurationDt; 258import ca.uhn.fhir.model.dstu2.composite.MoneyDt; 259import ca.uhn.fhir.model.dstu2.composite.NarrativeDt; 260import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt; 261import ca.uhn.fhir.model.dstu2.composite.SimpleQuantityDt; 262import ca.uhn.fhir.model.primitive.Base64BinaryDt; 263import ca.uhn.fhir.model.primitive.BooleanDt; 264import ca.uhn.fhir.model.primitive.BoundCodeDt; 265import ca.uhn.fhir.model.primitive.CodeDt; 266import ca.uhn.fhir.model.primitive.DateDt; 267import ca.uhn.fhir.model.primitive.DateTimeDt; 268import ca.uhn.fhir.model.primitive.DecimalDt; 269import ca.uhn.fhir.model.primitive.IdDt; 270import ca.uhn.fhir.model.primitive.InstantDt; 271import ca.uhn.fhir.model.primitive.IntegerDt; 272import ca.uhn.fhir.model.primitive.OidDt; 273import ca.uhn.fhir.model.primitive.PositiveIntDt; 274import ca.uhn.fhir.model.primitive.StringDt; 275import ca.uhn.fhir.model.primitive.TimeDt; 276import ca.uhn.fhir.model.primitive.UnsignedIntDt; 277import ca.uhn.fhir.model.primitive.UriDt; 278 279 280/** 281 * HAPI/FHIR <b>DeviceComponent</b> Resource 282 * () 283 * 284 * <p> 285 * <b>Definition:</b> 286 * Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. 287 * </p> 288 * 289 * <p> 290 * <b>Requirements:</b> 291 * 292 * </p> 293 * 294 * <p> 295 * <b>Profile Definition:</b> 296 * <a href="http://hl7.org/fhir/profiles/DeviceComponent">http://hl7.org/fhir/profiles/DeviceComponent</a> 297 * </p> 298 * 299 */ 300@ResourceDef(name="DeviceComponent", profile="http://hl7.org/fhir/profiles/DeviceComponent", id="devicecomponent") 301public class DeviceComponent extends ca.uhn.fhir.model.dstu2.resource.BaseResource 302 implements IResource 303 { 304 305 /** 306 * Search parameter constant for <b>parent</b> 307 * <p> 308 * Description: <b>The parent DeviceComponent resource</b><br> 309 * Type: <b>reference</b><br> 310 * Path: <b>DeviceComponent.parent</b><br> 311 * </p> 312 */ 313 @SearchParamDefinition(name="parent", path="DeviceComponent.parent", description="The parent DeviceComponent resource", type="reference" 314 ) 315 public static final String SP_PARENT = "parent"; 316 317 /** 318 * <b>Fluent Client</b> search parameter constant for <b>parent</b> 319 * <p> 320 * Description: <b>The parent DeviceComponent resource</b><br> 321 * Type: <b>reference</b><br> 322 * Path: <b>DeviceComponent.parent</b><br> 323 * </p> 324 */ 325 public static final ReferenceClientParam PARENT = new ReferenceClientParam(SP_PARENT); 326 327 /** 328 * Search parameter constant for <b>type</b> 329 * <p> 330 * Description: <b>The device component type</b><br> 331 * Type: <b>token</b><br> 332 * Path: <b>DeviceComponent.type</b><br> 333 * </p> 334 */ 335 @SearchParamDefinition(name="type", path="DeviceComponent.type", description="The device component type", type="token" 336 ) 337 public static final String SP_TYPE = "type"; 338 339 /** 340 * <b>Fluent Client</b> search parameter constant for <b>type</b> 341 * <p> 342 * Description: <b>The device component type</b><br> 343 * Type: <b>token</b><br> 344 * Path: <b>DeviceComponent.type</b><br> 345 * </p> 346 */ 347 public static final TokenClientParam TYPE = new TokenClientParam(SP_TYPE); 348 349 /** 350 * Search parameter constant for <b>source</b> 351 * <p> 352 * Description: <b>The device source</b><br> 353 * Type: <b>reference</b><br> 354 * Path: <b>DeviceComponent.source</b><br> 355 * </p> 356 */ 357 @SearchParamDefinition(name="source", path="DeviceComponent.source", description="The device source", type="reference" 358, providesMembershipIn={ 359 @Compartment(name="Patient") } 360 ) 361 public static final String SP_SOURCE = "source"; 362 363 /** 364 * <b>Fluent Client</b> search parameter constant for <b>source</b> 365 * <p> 366 * Description: <b>The device source</b><br> 367 * Type: <b>reference</b><br> 368 * Path: <b>DeviceComponent.source</b><br> 369 * </p> 370 */ 371 public static final ReferenceClientParam SOURCE = new ReferenceClientParam(SP_SOURCE); 372 373 374 /** 375 * Constant for fluent queries to be used to add include statements. Specifies 376 * the path value of "<b>DeviceComponent:parent</b>". 377 */ 378 public static final Include INCLUDE_PARENT = new Include("DeviceComponent:parent"); 379 380 /** 381 * Constant for fluent queries to be used to add include statements. Specifies 382 * the path value of "<b>DeviceComponent:source</b>". 383 */ 384 public static final Include INCLUDE_SOURCE = new Include("DeviceComponent:source"); 385 386 387 @Child(name="type", type=CodeableConceptDt.class, order=0, min=1, max=1, summary=false, modifier=false) 388 @Description( 389 shortDefinition="", 390 formalDefinition="Describes the specific component type as defined in the object-oriented or metric nomenclature partition." 391 ) 392 @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "https://rtmms.nist.gov/rtmms/index.htm#!hrosetta") 393 private CodeableConceptDt myType; 394 395 @Child(name="identifier", type=IdentifierDt.class, order=1, min=1, max=1, summary=false, modifier=false) 396 @Description( 397 shortDefinition="", 398 formalDefinition="Describes the local assigned unique identification by the software. For example: handle ID." 399 ) 400 private IdentifierDt myIdentifier; 401 402 @Child(name="lastSystemChange", type=InstantDt.class, order=2, min=1, max=1, summary=false, modifier=false) 403 @Description( 404 shortDefinition="", 405 formalDefinition="Describes the timestamp for the most recent system change which includes device configuration or setting change." 406 ) 407 private InstantDt myLastSystemChange; 408 409 @Child(name="source", order=3, min=0, max=1, summary=false, modifier=false, type={ 410 ca.uhn.fhir.model.dstu2.resource.Device.class 411 }) 412 @Description( 413 shortDefinition="", 414 formalDefinition="Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc." 415 ) 416 private ResourceReferenceDt mySource; 417 418 @Child(name="parent", order=4, min=0, max=1, summary=false, modifier=false, type={ 419 ca.uhn.fhir.model.dstu2.resource.DeviceComponent.class 420 }) 421 @Description( 422 shortDefinition="", 423 formalDefinition="Describes the link to the parent resource. For example: Channel is linked to its VMD parent." 424 ) 425 private ResourceReferenceDt myParent; 426 427 @Child(name="operationalStatus", type=CodeableConceptDt.class, order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 428 @Description( 429 shortDefinition="", 430 formalDefinition="Indicates current operational status of the device. For example: On, Off, Standby, etc." 431 ) 432 private java.util.List<CodeableConceptDt> myOperationalStatus; 433 434 @Child(name="parameterGroup", type=CodeableConceptDt.class, order=6, min=0, max=1, summary=false, modifier=false) 435 @Description( 436 shortDefinition="", 437 formalDefinition="Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular." 438 ) 439 private CodeableConceptDt myParameterGroup; 440 441 @Child(name="measurementPrinciple", type=CodeDt.class, order=7, min=0, max=1, summary=false, modifier=false) 442 @Description( 443 shortDefinition="", 444 formalDefinition="Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc." 445 ) 446 @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/measurement-principle") 447 private BoundCodeDt<MeasmntPrincipleEnum> myMeasurementPrinciple; 448 449 @Child(name="productionSpecification", order=8, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 450 @Description( 451 shortDefinition="", 452 formalDefinition="Describes the production specification such as component revision, serial number, etc." 453 ) 454 private java.util.List<ProductionSpecification> myProductionSpecification; 455 456 @Child(name="languageCode", type=CodeableConceptDt.class, order=9, min=0, max=1, summary=false, modifier=false) 457 @Description( 458 shortDefinition="", 459 formalDefinition="Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US." 460 ) 461 private CodeableConceptDt myLanguageCode; 462 463 464 @Override 465 public boolean isEmpty() { 466 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myIdentifier, myLastSystemChange, mySource, myParent, myOperationalStatus, myParameterGroup, myMeasurementPrinciple, myProductionSpecification, myLanguageCode); 467 } 468 469 @Override 470 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) { 471 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myIdentifier, myLastSystemChange, mySource, myParent, myOperationalStatus, myParameterGroup, myMeasurementPrinciple, myProductionSpecification, myLanguageCode); 472 } 473 474 /** 475 * Gets the value(s) for <b>type</b> (). 476 * creating it if it does 477 * not exist. Will not return <code>null</code>. 478 * 479 * <p> 480 * <b>Definition:</b> 481 * Describes the specific component type as defined in the object-oriented or metric nomenclature partition. 482 * </p> 483 */ 484 public CodeableConceptDt getType() { 485 if (myType == null) { 486 myType = new CodeableConceptDt(); 487 } 488 return myType; 489 } 490 491 /** 492 * Sets the value(s) for <b>type</b> () 493 * 494 * <p> 495 * <b>Definition:</b> 496 * Describes the specific component type as defined in the object-oriented or metric nomenclature partition. 497 * </p> 498 */ 499 public DeviceComponent setType(CodeableConceptDt theValue) { 500 myType = theValue; 501 return this; 502 } 503 504 505 506 507 /** 508 * Gets the value(s) for <b>identifier</b> (). 509 * creating it if it does 510 * not exist. Will not return <code>null</code>. 511 * 512 * <p> 513 * <b>Definition:</b> 514 * Describes the local assigned unique identification by the software. For example: handle ID. 515 * </p> 516 */ 517 public IdentifierDt getIdentifier() { 518 if (myIdentifier == null) { 519 myIdentifier = new IdentifierDt(); 520 } 521 return myIdentifier; 522 } 523 524 /** 525 * Sets the value(s) for <b>identifier</b> () 526 * 527 * <p> 528 * <b>Definition:</b> 529 * Describes the local assigned unique identification by the software. For example: handle ID. 530 * </p> 531 */ 532 public DeviceComponent setIdentifier(IdentifierDt theValue) { 533 myIdentifier = theValue; 534 return this; 535 } 536 537 538 539 540 /** 541 * Gets the value(s) for <b>lastSystemChange</b> (). 542 * creating it if it does 543 * not exist. Will not return <code>null</code>. 544 * 545 * <p> 546 * <b>Definition:</b> 547 * Describes the timestamp for the most recent system change which includes device configuration or setting change. 548 * </p> 549 */ 550 public InstantDt getLastSystemChangeElement() { 551 if (myLastSystemChange == null) { 552 myLastSystemChange = new InstantDt(); 553 } 554 return myLastSystemChange; 555 } 556 557 558 /** 559 * Gets the value(s) for <b>lastSystemChange</b> (). 560 * creating it if it does 561 * not exist. This method may return <code>null</code>. 562 * 563 * <p> 564 * <b>Definition:</b> 565 * Describes the timestamp for the most recent system change which includes device configuration or setting change. 566 * </p> 567 */ 568 public Date getLastSystemChange() { 569 return getLastSystemChangeElement().getValue(); 570 } 571 572 /** 573 * Sets the value(s) for <b>lastSystemChange</b> () 574 * 575 * <p> 576 * <b>Definition:</b> 577 * Describes the timestamp for the most recent system change which includes device configuration or setting change. 578 * </p> 579 */ 580 public DeviceComponent setLastSystemChange(InstantDt theValue) { 581 myLastSystemChange = theValue; 582 return this; 583 } 584 585 586 587 /** 588 * Sets the value for <b>lastSystemChange</b> () 589 * 590 * <p> 591 * <b>Definition:</b> 592 * Describes the timestamp for the most recent system change which includes device configuration or setting change. 593 * </p> 594 */ 595 public DeviceComponent setLastSystemChangeWithMillisPrecision( Date theDate) { 596 myLastSystemChange = new InstantDt(theDate); 597 return this; 598 } 599 600 /** 601 * Sets the value for <b>lastSystemChange</b> () 602 * 603 * <p> 604 * <b>Definition:</b> 605 * Describes the timestamp for the most recent system change which includes device configuration or setting change. 606 * </p> 607 */ 608 public DeviceComponent setLastSystemChange( Date theDate, TemporalPrecisionEnum thePrecision) { 609 myLastSystemChange = new InstantDt(theDate, thePrecision); 610 return this; 611 } 612 613 614 /** 615 * Gets the value(s) for <b>source</b> (). 616 * creating it if it does 617 * not exist. Will not return <code>null</code>. 618 * 619 * <p> 620 * <b>Definition:</b> 621 * Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc. 622 * </p> 623 */ 624 public ResourceReferenceDt getSource() { 625 if (mySource == null) { 626 mySource = new ResourceReferenceDt(); 627 } 628 return mySource; 629 } 630 631 /** 632 * Sets the value(s) for <b>source</b> () 633 * 634 * <p> 635 * <b>Definition:</b> 636 * Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc. 637 * </p> 638 */ 639 public DeviceComponent setSource(ResourceReferenceDt theValue) { 640 mySource = theValue; 641 return this; 642 } 643 644 645 646 647 /** 648 * Gets the value(s) for <b>parent</b> (). 649 * creating it if it does 650 * not exist. Will not return <code>null</code>. 651 * 652 * <p> 653 * <b>Definition:</b> 654 * Describes the link to the parent resource. For example: Channel is linked to its VMD parent. 655 * </p> 656 */ 657 public ResourceReferenceDt getParent() { 658 if (myParent == null) { 659 myParent = new ResourceReferenceDt(); 660 } 661 return myParent; 662 } 663 664 /** 665 * Sets the value(s) for <b>parent</b> () 666 * 667 * <p> 668 * <b>Definition:</b> 669 * Describes the link to the parent resource. For example: Channel is linked to its VMD parent. 670 * </p> 671 */ 672 public DeviceComponent setParent(ResourceReferenceDt theValue) { 673 myParent = theValue; 674 return this; 675 } 676 677 678 679 680 /** 681 * Gets the value(s) for <b>operationalStatus</b> (). 682 * creating it if it does 683 * not exist. Will not return <code>null</code>. 684 * 685 * <p> 686 * <b>Definition:</b> 687 * Indicates current operational status of the device. For example: On, Off, Standby, etc. 688 * </p> 689 */ 690 public java.util.List<CodeableConceptDt> getOperationalStatus() { 691 if (myOperationalStatus == null) { 692 myOperationalStatus = new java.util.ArrayList<CodeableConceptDt>(); 693 } 694 return myOperationalStatus; 695 } 696 697 /** 698 * Sets the value(s) for <b>operationalStatus</b> () 699 * 700 * <p> 701 * <b>Definition:</b> 702 * Indicates current operational status of the device. For example: On, Off, Standby, etc. 703 * </p> 704 */ 705 public DeviceComponent setOperationalStatus(java.util.List<CodeableConceptDt> theValue) { 706 myOperationalStatus = theValue; 707 return this; 708 } 709 710 711 712 /** 713 * Adds and returns a new value for <b>operationalStatus</b> () 714 * 715 * <p> 716 * <b>Definition:</b> 717 * Indicates current operational status of the device. For example: On, Off, Standby, etc. 718 * </p> 719 */ 720 public CodeableConceptDt addOperationalStatus() { 721 CodeableConceptDt newType = new CodeableConceptDt(); 722 getOperationalStatus().add(newType); 723 return newType; 724 } 725 726 /** 727 * Adds a given new value for <b>operationalStatus</b> () 728 * 729 * <p> 730 * <b>Definition:</b> 731 * Indicates current operational status of the device. For example: On, Off, Standby, etc. 732 * </p> 733 * @param theValue The operationalStatus to add (must not be <code>null</code>) 734 */ 735 public DeviceComponent addOperationalStatus(CodeableConceptDt theValue) { 736 if (theValue == null) { 737 throw new NullPointerException("theValue must not be null"); 738 } 739 getOperationalStatus().add(theValue); 740 return this; 741 } 742 743 /** 744 * Gets the first repetition for <b>operationalStatus</b> (), 745 * creating it if it does not already exist. 746 * 747 * <p> 748 * <b>Definition:</b> 749 * Indicates current operational status of the device. For example: On, Off, Standby, etc. 750 * </p> 751 */ 752 public CodeableConceptDt getOperationalStatusFirstRep() { 753 if (getOperationalStatus().isEmpty()) { 754 return addOperationalStatus(); 755 } 756 return getOperationalStatus().get(0); 757 } 758 759 /** 760 * Gets the value(s) for <b>parameterGroup</b> (). 761 * creating it if it does 762 * not exist. Will not return <code>null</code>. 763 * 764 * <p> 765 * <b>Definition:</b> 766 * Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular. 767 * </p> 768 */ 769 public CodeableConceptDt getParameterGroup() { 770 if (myParameterGroup == null) { 771 myParameterGroup = new CodeableConceptDt(); 772 } 773 return myParameterGroup; 774 } 775 776 /** 777 * Sets the value(s) for <b>parameterGroup</b> () 778 * 779 * <p> 780 * <b>Definition:</b> 781 * Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular. 782 * </p> 783 */ 784 public DeviceComponent setParameterGroup(CodeableConceptDt theValue) { 785 myParameterGroup = theValue; 786 return this; 787 } 788 789 790 791 792 /** 793 * Gets the value(s) for <b>measurementPrinciple</b> (). 794 * creating it if it does 795 * not exist. Will not return <code>null</code>. 796 * 797 * <p> 798 * <b>Definition:</b> 799 * Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. 800 * </p> 801 */ 802 public BoundCodeDt<MeasmntPrincipleEnum> getMeasurementPrincipleElement() { 803 if (myMeasurementPrinciple == null) { 804 myMeasurementPrinciple = new BoundCodeDt<MeasmntPrincipleEnum>(MeasmntPrincipleEnum.VALUESET_BINDER); 805 } 806 return myMeasurementPrinciple; 807 } 808 809 810 /** 811 * Gets the value(s) for <b>measurementPrinciple</b> (). 812 * creating it if it does 813 * not exist. This method may return <code>null</code>. 814 * 815 * <p> 816 * <b>Definition:</b> 817 * Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. 818 * </p> 819 */ 820 public String getMeasurementPrinciple() { 821 return getMeasurementPrincipleElement().getValue(); 822 } 823 824 /** 825 * Sets the value(s) for <b>measurementPrinciple</b> () 826 * 827 * <p> 828 * <b>Definition:</b> 829 * Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. 830 * </p> 831 */ 832 public DeviceComponent setMeasurementPrinciple(BoundCodeDt<MeasmntPrincipleEnum> theValue) { 833 myMeasurementPrinciple = theValue; 834 return this; 835 } 836 837 838 839 /** 840 * Sets the value(s) for <b>measurementPrinciple</b> () 841 * 842 * <p> 843 * <b>Definition:</b> 844 * Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. 845 * </p> 846 */ 847 public DeviceComponent setMeasurementPrinciple(MeasmntPrincipleEnum theValue) { 848 setMeasurementPrinciple(new BoundCodeDt<MeasmntPrincipleEnum>(MeasmntPrincipleEnum.VALUESET_BINDER, theValue)); 849 850/* 851 getMeasurementPrincipleElement().setValueAsEnum(theValue); 852*/ 853 return this; 854 } 855 856 857 /** 858 * Gets the value(s) for <b>productionSpecification</b> (). 859 * creating it if it does 860 * not exist. Will not return <code>null</code>. 861 * 862 * <p> 863 * <b>Definition:</b> 864 * Describes the production specification such as component revision, serial number, etc. 865 * </p> 866 */ 867 public java.util.List<ProductionSpecification> getProductionSpecification() { 868 if (myProductionSpecification == null) { 869 myProductionSpecification = new java.util.ArrayList<ProductionSpecification>(); 870 } 871 return myProductionSpecification; 872 } 873 874 /** 875 * Sets the value(s) for <b>productionSpecification</b> () 876 * 877 * <p> 878 * <b>Definition:</b> 879 * Describes the production specification such as component revision, serial number, etc. 880 * </p> 881 */ 882 public DeviceComponent setProductionSpecification(java.util.List<ProductionSpecification> theValue) { 883 myProductionSpecification = theValue; 884 return this; 885 } 886 887 888 889 /** 890 * Adds and returns a new value for <b>productionSpecification</b> () 891 * 892 * <p> 893 * <b>Definition:</b> 894 * Describes the production specification such as component revision, serial number, etc. 895 * </p> 896 */ 897 public ProductionSpecification addProductionSpecification() { 898 ProductionSpecification newType = new ProductionSpecification(); 899 getProductionSpecification().add(newType); 900 return newType; 901 } 902 903 /** 904 * Adds a given new value for <b>productionSpecification</b> () 905 * 906 * <p> 907 * <b>Definition:</b> 908 * Describes the production specification such as component revision, serial number, etc. 909 * </p> 910 * @param theValue The productionSpecification to add (must not be <code>null</code>) 911 */ 912 public DeviceComponent addProductionSpecification(ProductionSpecification theValue) { 913 if (theValue == null) { 914 throw new NullPointerException("theValue must not be null"); 915 } 916 getProductionSpecification().add(theValue); 917 return this; 918 } 919 920 /** 921 * Gets the first repetition for <b>productionSpecification</b> (), 922 * creating it if it does not already exist. 923 * 924 * <p> 925 * <b>Definition:</b> 926 * Describes the production specification such as component revision, serial number, etc. 927 * </p> 928 */ 929 public ProductionSpecification getProductionSpecificationFirstRep() { 930 if (getProductionSpecification().isEmpty()) { 931 return addProductionSpecification(); 932 } 933 return getProductionSpecification().get(0); 934 } 935 936 /** 937 * Gets the value(s) for <b>languageCode</b> (). 938 * creating it if it does 939 * not exist. Will not return <code>null</code>. 940 * 941 * <p> 942 * <b>Definition:</b> 943 * Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US. 944 * </p> 945 */ 946 public CodeableConceptDt getLanguageCode() { 947 if (myLanguageCode == null) { 948 myLanguageCode = new CodeableConceptDt(); 949 } 950 return myLanguageCode; 951 } 952 953 /** 954 * Sets the value(s) for <b>languageCode</b> () 955 * 956 * <p> 957 * <b>Definition:</b> 958 * Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US. 959 * </p> 960 */ 961 public DeviceComponent setLanguageCode(CodeableConceptDt theValue) { 962 myLanguageCode = theValue; 963 return this; 964 } 965 966 967 968 969 /** 970 * Block class for child element: <b>DeviceComponent.productionSpecification</b> () 971 * 972 * <p> 973 * <b>Definition:</b> 974 * Describes the production specification such as component revision, serial number, etc. 975 * </p> 976 */ 977 @Block() 978 public static class ProductionSpecification 979 extends BaseIdentifiableElement 980 implements IResourceBlock { 981 982 @Child(name="specType", type=CodeableConceptDt.class, order=0, min=0, max=1, summary=false, modifier=false) 983 @Description( 984 shortDefinition="", 985 formalDefinition="Describes the specification type, such as, serial number, part number, hardware revision, software revision, etc." 986 ) 987 private CodeableConceptDt mySpecType; 988 989 @Child(name="componentId", type=IdentifierDt.class, order=1, min=0, max=1, summary=false, modifier=false) 990 @Description( 991 shortDefinition="", 992 formalDefinition="Describes the internal component unique identification. This is a provision for manufacture specific standard components using a private OID. 11073-10101 has a partition for private OID semantic that the manufacture can make use of." 993 ) 994 private IdentifierDt myComponentId; 995 996 @Child(name="productionSpec", type=StringDt.class, order=2, min=0, max=1, summary=false, modifier=false) 997 @Description( 998 shortDefinition="", 999 formalDefinition="Describes the printable string defining the component." 1000 ) 1001 private StringDt myProductionSpec; 1002 1003 1004 @Override 1005 public boolean isEmpty() { 1006 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySpecType, myComponentId, myProductionSpec); 1007 } 1008 1009 @Override 1010 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) { 1011 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySpecType, myComponentId, myProductionSpec); 1012 } 1013 1014 /** 1015 * Gets the value(s) for <b>specType</b> (). 1016 * creating it if it does 1017 * not exist. Will not return <code>null</code>. 1018 * 1019 * <p> 1020 * <b>Definition:</b> 1021 * Describes the specification type, such as, serial number, part number, hardware revision, software revision, etc. 1022 * </p> 1023 */ 1024 public CodeableConceptDt getSpecType() { 1025 if (mySpecType == null) { 1026 mySpecType = new CodeableConceptDt(); 1027 } 1028 return mySpecType; 1029 } 1030 1031 /** 1032 * Sets the value(s) for <b>specType</b> () 1033 * 1034 * <p> 1035 * <b>Definition:</b> 1036 * Describes the specification type, such as, serial number, part number, hardware revision, software revision, etc. 1037 * </p> 1038 */ 1039 public ProductionSpecification setSpecType(CodeableConceptDt theValue) { 1040 mySpecType = theValue; 1041 return this; 1042 } 1043 1044 1045 1046 1047 /** 1048 * Gets the value(s) for <b>componentId</b> (). 1049 * creating it if it does 1050 * not exist. Will not return <code>null</code>. 1051 * 1052 * <p> 1053 * <b>Definition:</b> 1054 * Describes the internal component unique identification. This is a provision for manufacture specific standard components using a private OID. 11073-10101 has a partition for private OID semantic that the manufacture can make use of. 1055 * </p> 1056 */ 1057 public IdentifierDt getComponentId() { 1058 if (myComponentId == null) { 1059 myComponentId = new IdentifierDt(); 1060 } 1061 return myComponentId; 1062 } 1063 1064 /** 1065 * Sets the value(s) for <b>componentId</b> () 1066 * 1067 * <p> 1068 * <b>Definition:</b> 1069 * Describes the internal component unique identification. This is a provision for manufacture specific standard components using a private OID. 11073-10101 has a partition for private OID semantic that the manufacture can make use of. 1070 * </p> 1071 */ 1072 public ProductionSpecification setComponentId(IdentifierDt theValue) { 1073 myComponentId = theValue; 1074 return this; 1075 } 1076 1077 1078 1079 1080 /** 1081 * Gets the value(s) for <b>productionSpec</b> (). 1082 * creating it if it does 1083 * not exist. Will not return <code>null</code>. 1084 * 1085 * <p> 1086 * <b>Definition:</b> 1087 * Describes the printable string defining the component. 1088 * </p> 1089 */ 1090 public StringDt getProductionSpecElement() { 1091 if (myProductionSpec == null) { 1092 myProductionSpec = new StringDt(); 1093 } 1094 return myProductionSpec; 1095 } 1096 1097 1098 /** 1099 * Gets the value(s) for <b>productionSpec</b> (). 1100 * creating it if it does 1101 * not exist. This method may return <code>null</code>. 1102 * 1103 * <p> 1104 * <b>Definition:</b> 1105 * Describes the printable string defining the component. 1106 * </p> 1107 */ 1108 public String getProductionSpec() { 1109 return getProductionSpecElement().getValue(); 1110 } 1111 1112 /** 1113 * Sets the value(s) for <b>productionSpec</b> () 1114 * 1115 * <p> 1116 * <b>Definition:</b> 1117 * Describes the printable string defining the component. 1118 * </p> 1119 */ 1120 public ProductionSpecification setProductionSpec(StringDt theValue) { 1121 myProductionSpec = theValue; 1122 return this; 1123 } 1124 1125 1126 1127 /** 1128 * Sets the value for <b>productionSpec</b> () 1129 * 1130 * <p> 1131 * <b>Definition:</b> 1132 * Describes the printable string defining the component. 1133 * </p> 1134 */ 1135 public ProductionSpecification setProductionSpec( String theString) { 1136 myProductionSpec = new StringDt(theString); 1137 return this; 1138 } 1139 1140 1141 1142 1143 } 1144 1145 1146 1147 1148 @Override 1149 public String getResourceName() { 1150 return "DeviceComponent"; 1151 } 1152 1153 public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { 1154 return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; 1155 } 1156 1157 1158}