Tabnine Logo
Reference.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.hl7.fhir.instance.model.Reference
constructor

Best Java code snippets using org.hl7.fhir.instance.model.Reference.<init> (Showing top 20 results out of 315)

origin: jamesagnew/hapi-fhir

@Override
public Base addChild(String name) throws FHIRException {
 if (name.equals("entity")) {
  this.entity = new Reference();
  return this.entity;
 }
 else if (name.equals("role")) {
  return addRole();
 }
 else
  return super.addChild(name);
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #subject} (Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).)
 */
public Reference getSubject() { 
 if (this.subject == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create Composition.subject");
  else if (Configuration.doAutoCreate())
   this.subject = new Reference(); // cc
 return this.subject;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #custodian} (Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.)
 */
public Reference getCustodian() { 
 if (this.custodian == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create Composition.custodian");
  else if (Configuration.doAutoCreate())
   this.custodian = new Reference(); // cc
 return this.custodian;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #actor} (The person responsible for performing or recording the action.)
 */
public Reference getActor() { 
 if (this.actor == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create DiagnosticOrderEventComponent.actor");
  else if (Configuration.doAutoCreate())
   this.actor = new Reference(); // cc
 return this.actor;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #claimResponse} (The Coverages adjudication details.)
 */
public Reference getClaimResponse() { 
 if (this.claimResponse == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create CoverageComponent.claimResponse");
  else if (Configuration.doAutoCreate())
   this.claimResponse = new Reference(); // cc
 return this.claimResponse;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #person} (The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned).)
 */
public Reference getPerson() { 
 if (this.person == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create PayeeComponent.person");
  else if (Configuration.doAutoCreate())
   this.person = new Reference(); // cc
 return this.person;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #claimResponse} (The Coverages adjudication details.)
 */
public Reference getClaimResponse() { 
 if (this.claimResponse == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create CoverageComponent.claimResponse");
  else if (Configuration.doAutoCreate())
   this.claimResponse = new Reference(); // cc
 return this.claimResponse;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #provider} (The provider which is responsible for the bill, claim pre-determination, pre-authorization.)
 */
public Reference getProvider() { 
 if (this.provider == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create Claim.provider");
  else if (Configuration.doAutoCreate())
   this.provider = new Reference(); // cc
 return this.provider;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #enterer} (Person who created the invoice/claim/pre-determination or pre-authorization.)
 */
public Reference getEnterer() { 
 if (this.enterer == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create Claim.enterer");
  else if (Configuration.doAutoCreate())
   this.enterer = new Reference(); // cc
 return this.enterer;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #performer} (The diagnostic service that is responsible for issuing the report.)
 */
public Reference getPerformer() { 
 if (this.performer == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create DiagnosticReport.performer");
  else if (Configuration.doAutoCreate())
   this.performer = new Reference(); // cc
 return this.performer;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #location} (The location where this healthcare service may be provided.)
 */
public Reference getLocation() { 
 if (this.location == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create HealthcareService.location");
  else if (Configuration.doAutoCreate())
   this.location = new Reference(); // cc
 return this.location;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #author} (Individual or device responsible for the issue being raised.  For example, a decision support application or a pharmacist conducting a medication review.)
 */
public Reference getAuthor() { 
 if (this.author == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create DetectedIssue.author");
  else if (Configuration.doAutoCreate())
   this.author = new Reference(); // cc
 return this.author;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #sourcePatientInfo} (The Patient Information as known when the document was published. May be a reference to a version specific, or contained.)
 */
public Reference getSourcePatientInfo() { 
 if (this.sourcePatientInfo == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create DocumentReferenceContextComponent.sourcePatientInfo");
  else if (Configuration.doAutoCreate())
   this.sourcePatientInfo = new Reference(); // cc
 return this.sourcePatientInfo;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #ref} (Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing.)
 */
public Reference getRef() { 
 if (this.ref == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create DocumentReferenceContextRelatedComponent.ref");
  else if (Configuration.doAutoCreate())
   this.ref = new Reference(); // cc
 return this.ref;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #request} (Information about the request for this event.)
 */
public Reference getRequest() { 
 if (this.request == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create ConformanceMessagingEventComponent.request");
  else if (Configuration.doAutoCreate())
   this.request = new Reference(); // cc
 return this.request;
}
origin: jamesagnew/hapi-fhir

/**
 * @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;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #encounter} (The encounter within which the communication request was created.)
 */
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;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #subject} (The patient who will use the device.)
 */
public Reference getSubject() { 
 if (this.subject == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create DeviceUseRequest.subject");
  else if (Configuration.doAutoCreate())
   this.subject = new Reference(); // cc
 return this.subject;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #appointment} (Appointment that this response is replying to.)
 */
public Reference getAppointment() { 
 if (this.appointment == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create AppointmentResponse.appointment");
  else if (Configuration.doAutoCreate())
   this.appointment = new Reference(); // cc
 return this.appointment;
}
origin: jamesagnew/hapi-fhir

public org.hl7.fhir.instance.model.Reference convertReference(org.hl7.fhir.dstu3.model.Reference src) throws FHIRException {
 if (src == null || src.isEmpty())
  return null;
 org.hl7.fhir.instance.model.Reference tgt = new org.hl7.fhir.instance.model.Reference();
 copyElement(src, tgt);
 tgt.setReference(src.getReference());
 tgt.setDisplay(src.getDisplay());
 return tgt;
}
org.hl7.fhir.instance.modelReference<init>

Javadoc

Constructor

Popular methods of Reference

  • getReference
  • getResource
  • isEmpty
  • setDisplay
  • setReference
  • castToString
  • compareDeep
  • compareValues
  • copy
  • copyValues
  • getDisplay
  • getExtension
  • getDisplay,
  • getExtension,
  • getReferenceElement

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ImageIO (javax.imageio)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Runner (org.openjdk.jmh.runner)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now