コード例 #1
0
ファイル: Substance.java プロジェクト: HHSIDEAlab/hapi-fhir
 /**
  * @return {@link #description} (A description of the substance - its appearance, handling
  *     requirements, and other usage notes.). This is the underlying object with id, value and
  *     extensions. The accessor "getDescription" gives direct access to the value
  */
 public StringType getDescriptionElement() {
   if (this.description == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create Substance.description");
     else if (Configuration.doAutoCreate()) this.description = new StringType(); // bb
   return this.description;
 }
コード例 #2
0
 /**
  * @return {@link #patient} The actual object that is the target of the reference. The reference
  *     library doesn't populate this, but you can use it to hold the resource if you resolve it.
  *     (The person who this history concerns.)
  */
 public Patient getPatientTarget() {
   if (this.patientTarget == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create FamilyMemberHistory.patient");
     else if (Configuration.doAutoCreate()) this.patientTarget = new Patient(); // aa
   return this.patientTarget;
 }
コード例 #3
0
 /**
  * @return {@link #name} (This will either be a name or a description. E.g. "Aunt Susan", "my
  *     cousin with the red hair".). This is the underlying object with id, value and extensions.
  *     The accessor "getName" gives direct access to the value
  */
 public StringType getNameElement() {
   if (this.name == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create FamilyMemberHistory.name");
     else if (Configuration.doAutoCreate()) this.name = new StringType(); // bb
   return this.name;
 }
コード例 #4
0
ファイル: Quantity.java プロジェクト: aemay2/hapi-fhir
 /**
  * @return {@link #system} (The identification of the system that provides the coded form of the
  *     unit.). This is the underlying object with id, value and extensions. The accessor
  *     "getSystem" gives direct access to the value
  */
 public UriType getSystemElement() {
   if (this.system == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create Quantity.system");
     else if (Configuration.doAutoCreate()) this.system = new UriType(); // bb
   return this.system;
 }
コード例 #5
0
 /**
  * @return {@link #outcome} (Indicates what happened as a result of this condition. If the
  *     condition resulted in death, deceased date is captured on the relation.)
  */
 public CodeableConcept getOutcome() {
   if (this.outcome == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create FamilyMemberHistoryConditionComponent.outcome");
     else if (Configuration.doAutoCreate()) this.outcome = new CodeableConcept(); // cc
   return this.outcome;
 }
コード例 #6
0
ファイル: SampledData.java プロジェクト: joelsch/hapi-fhir
 /**
  * @return {@link #dimensions} (The number of sample points at each time point. If this value is
  *     greater than one, then the dimensions will be interlaced - all the sample points for a
  *     point in time will be recorded at once.). This is the underlying object with id, value and
  *     extensions. The accessor "getDimensions" gives direct access to the value
  */
 public PositiveIntType getDimensionsElement() {
   if (this.dimensions == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create SampledData.dimensions");
     else if (Configuration.doAutoCreate()) this.dimensions = new PositiveIntType(); // bb
   return this.dimensions;
 }
コード例 #7
0
ファイル: Quantity.java プロジェクト: aemay2/hapi-fhir
 /**
  * @return {@link #value} (The value of the measured amount. The value includes an implicit
  *     precision in the presentation of the value.). This is the underlying object with id, value
  *     and extensions. The accessor "getValue" gives direct access to the value
  */
 public DecimalType getValueElement() {
   if (this.value == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create Quantity.value");
     else if (Configuration.doAutoCreate()) this.value = new DecimalType(); // bb
   return this.value;
 }
コード例 #8
0
 /** @return {@link #target} (The organization which is target of the request.) */
 public Reference getTarget() {
   if (this.target == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.target");
     else if (Configuration.doAutoCreate()) this.target = new Reference(); // cc
   return this.target;
 }
コード例 #9
0
 /**
  * @return {@link #provider} (The practitioner who is responsible for the action specified in
  *     thise request.)
  */
 public Reference getProvider() {
   if (this.provider == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.provider");
     else if (Configuration.doAutoCreate()) this.provider = new Reference(); // cc
   return this.provider;
 }
コード例 #10
0
 /**
  * @return {@link #originalRuleset} (The style (standard) and version of the original material
  *     which was converted into this resource.)
  */
 public Coding getOriginalRuleset() {
   if (this.originalRuleset == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.originalRuleset");
     else if (Configuration.doAutoCreate()) this.originalRuleset = new Coding(); // cc
   return this.originalRuleset;
 }
コード例 #11
0
 /**
  * @return {@link #created} (The date when this resource was created.). This is the underlying
  *     object with id, value and extensions. The accessor "getCreated" gives direct access to the
  *     value
  */
 public DateTimeType getCreatedElement() {
   if (this.created == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.created");
     else if (Configuration.doAutoCreate()) this.created = new DateTimeType(); // bb
   return this.created;
 }
コード例 #12
0
 /**
  * @return {@link #sequenceLinkId} (A service line number.). This is the underlying object with
  *     id, value and extensions. The accessor "getSequenceLinkId" gives direct access to the
  *     value
  */
 public IntegerType getSequenceLinkIdElement() {
   if (this.sequenceLinkId == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ItemsComponent.sequenceLinkId");
     else if (Configuration.doAutoCreate()) this.sequenceLinkId = new IntegerType(); // bb
   return this.sequenceLinkId;
 }
コード例 #13
0
 /**
  * @return {@link #period} (A period of time during which the fulfilling resources would have been
  *     created.)
  */
 public Period getPeriod() {
   if (this.period == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.period");
     else if (Configuration.doAutoCreate()) this.period = new Period(); // cc
   return this.period;
 }
コード例 #14
0
 /**
  * @return {@link #reference} (A reference to supply which authenticates the process.). This is
  *     the underlying object with id, value and extensions. The accessor "getReference" gives
  *     direct access to the value
  */
 public StringType getReferenceElement() {
   if (this.reference == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.reference");
     else if (Configuration.doAutoCreate()) this.reference = new StringType(); // bb
   return this.reference;
 }
コード例 #15
0
ファイル: SampledData.java プロジェクト: joelsch/hapi-fhir
 /**
  * @return {@link #factor} (A correction factor that is applied to the sampled data points before
  *     they are added to the origin.). This is the underlying object with id, value and
  *     extensions. The accessor "getFactor" gives direct access to the value
  */
 public DecimalType getFactorElement() {
   if (this.factor == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create SampledData.factor");
     else if (Configuration.doAutoCreate()) this.factor = new DecimalType(); // bb
   return this.factor;
 }
コード例 #16
0
 /**
  * @return {@link #provider} The actual object that is the target of the reference. The reference
  *     library doesn't populate this, but you can use it to hold the resource if you resolve it.
  *     (The practitioner who is responsible for the action specified in thise request.)
  */
 public Practitioner getProviderTarget() {
   if (this.providerTarget == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.provider");
     else if (Configuration.doAutoCreate()) this.providerTarget = new Practitioner(); // aa
   return this.providerTarget;
 }
コード例 #17
0
ファイル: SampledData.java プロジェクト: joelsch/hapi-fhir
 /**
  * @return {@link #upperLimit} (The upper limit of detection of the measured points. This is
  *     needed if any of the data points have the value "U" (higher than detection limit).). This
  *     is the underlying object with id, value and extensions. The accessor "getUpperLimit" gives
  *     direct access to the value
  */
 public DecimalType getUpperLimitElement() {
   if (this.upperLimit == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create SampledData.upperLimit");
     else if (Configuration.doAutoCreate()) this.upperLimit = new DecimalType(); // bb
   return this.upperLimit;
 }
コード例 #18
0
 /**
  * @return {@link #organization} (The organization which is responsible for the action speccified
  *     in thise request.)
  */
 public Reference getOrganization() {
   if (this.organization == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.organization");
     else if (Configuration.doAutoCreate()) this.organization = new Reference(); // cc
   return this.organization;
 }
コード例 #19
0
ファイル: SampledData.java プロジェクト: joelsch/hapi-fhir
 /**
  * @return {@link #data} (A series of data points which are decimal values separated by a single
  *     space (character u20). The special values "E" (error), "L" (below detection limit) and "U"
  *     (above detection limit) can also be used in place of a decimal value.). This is the
  *     underlying object with id, value and extensions. The accessor "getData" gives direct access
  *     to the value
  */
 public StringType getDataElement() {
   if (this.data == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create SampledData.data");
     else if (Configuration.doAutoCreate()) this.data = new StringType(); // bb
   return this.data;
 }
コード例 #20
0
 /**
  * @return {@link #organization} The actual object that is the target of the reference. The
  *     reference library doesn't populate this, but you can use it to hold the resource if you
  *     resolve it. (The organization which is responsible for the action speccified in thise
  *     request.)
  */
 public Organization getOrganizationTarget() {
   if (this.organizationTarget == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.organization");
     else if (Configuration.doAutoCreate()) this.organizationTarget = new Organization(); // aa
   return this.organizationTarget;
 }
コード例 #21
0
ファイル: Quantity.java プロジェクト: aemay2/hapi-fhir
 /**
  * @return {@link #unit} (A human-readable form of the unit.). This is the underlying object with
  *     id, value and extensions. The accessor "getUnit" gives direct access to the value
  */
 public StringType getUnitElement() {
   if (this.unit == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create Quantity.unit");
     else if (Configuration.doAutoCreate()) this.unit = new StringType(); // bb
   return this.unit;
 }
コード例 #22
0
 /**
  * @return {@link #response} (Reference of a prior response to resource which is the target or
  *     subject of this action.)
  */
 public Reference getResponse() {
   if (this.response == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.response");
     else if (Configuration.doAutoCreate()) this.response = new Reference(); // cc
   return this.response;
 }
コード例 #23
0
ファイル: Quantity.java プロジェクト: aemay2/hapi-fhir
 /**
  * @return {@link #code} (A computer processable form of the unit in some unit representation
  *     system.). This is the underlying object with id, value and extensions. The accessor
  *     "getCode" gives direct access to the value
  */
 public CodeType getCodeElement() {
   if (this.code == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create Quantity.code");
     else if (Configuration.doAutoCreate()) this.code = new CodeType(); // bb
   return this.code;
 }
コード例 #24
0
 /**
  * @return {@link #nullify} (If true remove all history excluding audit.). This is the underlying
  *     object with id, value and extensions. The accessor "getNullify" gives direct access to the
  *     value
  */
 public BooleanType getNullifyElement() {
   if (this.nullify == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create ProcessRequest.nullify");
     else if (Configuration.doAutoCreate()) this.nullify = new BooleanType(); // bb
   return this.nullify;
 }
コード例 #25
0
 /** @return {@link #patient} (The person who this history concerns.) */
 public Reference getPatient() {
   if (this.patient == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create FamilyMemberHistory.patient");
     else if (Configuration.doAutoCreate()) this.patient = new Reference(); // cc
   return this.patient;
 }
コード例 #26
0
ファイル: SampledData.java プロジェクト: joelsch/hapi-fhir
 /**
  * @return {@link #origin} (The base quantity that a measured value of zero represents. In
  *     addition, this provides the units of the entire measurement series.)
  */
 public SimpleQuantity getOrigin() {
   if (this.origin == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create SampledData.origin");
     else if (Configuration.doAutoCreate()) this.origin = new SimpleQuantity(); // cc
   return this.origin;
 }
コード例 #27
0
 /**
  * @return {@link #date} (The date (and possibly time) when the family member history was taken.).
  *     This is the underlying object with id, value and extensions. The accessor "getDate" gives
  *     direct access to the value
  */
 public DateTimeType getDateElement() {
   if (this.date == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create FamilyMemberHistory.date");
     else if (Configuration.doAutoCreate()) this.date = new DateTimeType(); // bb
   return this.date;
 }
コード例 #28
0
ファイル: SampledData.java プロジェクト: joelsch/hapi-fhir
 /**
  * @return {@link #period} (The length of time between sampling times, measured in milliseconds.).
  *     This is the underlying object with id, value and extensions. The accessor "getPeriod" gives
  *     direct access to the value
  */
 public DecimalType getPeriodElement() {
   if (this.period == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create SampledData.period");
     else if (Configuration.doAutoCreate()) this.period = new DecimalType(); // bb
   return this.period;
 }
コード例 #29
0
 /**
  * @return {@link #relationship} (The type of relationship this person has to the patient (father,
  *     mother, brother etc.).)
  */
 public CodeableConcept getRelationship() {
   if (this.relationship == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create FamilyMemberHistory.relationship");
     else if (Configuration.doAutoCreate()) this.relationship = new CodeableConcept(); // cc
   return this.relationship;
 }
コード例 #30
0
ファイル: Substance.java プロジェクト: HHSIDEAlab/hapi-fhir
 /** @return {@link #code} (A code (or set of codes) that identify this substance.) */
 public CodeableConcept getCode() {
   if (this.code == null)
     if (Configuration.errorOnAutoCreate())
       throw new Error("Attempt to auto-create Substance.code");
     else if (Configuration.doAutoCreate()) this.code = new CodeableConcept(); // cc
   return this.code;
 }