public Reference addAbout() { //3 Reference t = new Reference(); if (this.about == null) this.about = new ArrayList<Reference>(); this.about.add(t); return t; }
public Reference addEvaluationMessage() { //3 Reference t = new Reference(); if (this.evaluationMessage == null) this.evaluationMessage = new ArrayList<Reference>(); this.evaluationMessage.add(t); return t; }
public Reference addCoverageArea() { //3 Reference t = new Reference(); if (this.coverageArea == null) this.coverageArea = new ArrayList<Reference>(); this.coverageArea.add(t); return t; }
public Reference addEndpoint() { //3 Reference t = new Reference(); if (this.endpoint == null) this.endpoint = new ArrayList<Reference>(); this.endpoint.add(t); return t; }
public Reference addBasedOn() { //3 Reference t = new Reference(); if (this.basedOn == null) this.basedOn = new ArrayList<Reference>(); this.basedOn.add(t); return t; }
public Reference addExposureVariant() { //3 Reference t = new Reference(); if (this.exposureVariant == null) this.exposureVariant = new ArrayList<Reference>(); this.exposureVariant.add(t); return t; }
public Reference addOutcome() { //3 Reference t = new Reference(); if (this.outcome == null) this.outcome = new ArrayList<Reference>(); this.outcome.add(t); return t; }
public static Reference makeReference(String url) { Reference rr = new Reference(); rr.setReference(url); return rr; }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("instance")) { this.instance = new Reference(); return this.instance; } else if (name.equals("causality")) { return addCausality(); } else return super.addChild(name); }
/** * @return {@link #careManager} (The practitioner that is the care manager/care coordinator for this patient.) */ public Reference getCareManager() { if (this.careManager == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create EpisodeOfCare.careManager"); else if (Configuration.doAutoCreate()) this.careManager = new Reference(); // cc return this.careManager; }
/** * @return {@link #outputParameters} (The output parameters of the evaluation, if any. Many modules will result in the return of specific resources such as procedure or communication requests that are returned as part of the operation result. However, modules may define specific outputs that would be returned as the result of the evaluation, and these would be returned in this element.) */ public Reference getOutputParameters() { if (this.outputParameters == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create GuidanceResponse.outputParameters"); else if (Configuration.doAutoCreate()) this.outputParameters = new Reference(); // cc return this.outputParameters; }
/** * @return {@link #manufacturer} (Name of vaccine manufacturer.) */ public Reference getManufacturer() { if (this.manufacturer == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Immunization.manufacturer"); else if (Configuration.doAutoCreate()) this.manufacturer = new Reference(); // cc return this.manufacturer; }
/** * @return {@link #encounter} (The Encounter during which this CommunicationRequest was created or to which the creation of this record is tightly associated.) */ public Reference getEncounter() { if (this.encounter == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CommunicationRequest.encounter"); else if (Configuration.doAutoCreate()) this.encounter = new Reference(); // cc return this.encounter; }
/** * @return {@link #sender} (The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication.) */ public Reference getSender() { if (this.sender == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CommunicationRequest.sender"); else if (Configuration.doAutoCreate()) this.sender = new Reference(); // cc return this.sender; }
/** * @return {@link #candidate} (Patient Resource.) */ public Reference getCandidate() { if (this.candidate == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create EnrollmentRequest.candidate"); else if (Configuration.doAutoCreate()) this.candidate = new Reference(); // cc return this.candidate; }
/** * @return {@link #authority} (Indicates the authority who published the protocol (e.g. ACIP).) */ public Reference getAuthority() { if (this.authority == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImmunizationEvaluation.authority"); else if (Configuration.doAutoCreate()) this.authority = new Reference(); // cc return this.authority; }
/** * @return {@link #enterer} (Individual who created the claim, predetermination or preauthorization.) */ public Reference getEnterer() { if (this.enterer == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ExplanationOfBenefit.enterer"); else if (Configuration.doAutoCreate()) this.enterer = new Reference(); // cc return this.enterer; }
/** * @return {@link #insurer} (The party responsible for authorization, adjudication and reimbursement.) */ public Reference getInsurer() { if (this.insurer == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ExplanationOfBenefit.insurer"); else if (Configuration.doAutoCreate()) this.insurer = new Reference(); // cc return this.insurer; }
/** * @return {@link #provider} (The provider which is responsible for the claim, predetermination or preauthorization.) */ public Reference getProvider() { if (this.provider == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ExplanationOfBenefit.provider"); else if (Configuration.doAutoCreate()) this.provider = new Reference(); // cc return this.provider; }
/** * @return {@link #referral} (A reference to a referral resource.) */ public Reference getReferral() { if (this.referral == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ExplanationOfBenefit.referral"); else if (Configuration.doAutoCreate()) this.referral = new Reference(); // cc return this.referral; }