congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
UriType.<init>
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: jamesagnew/hapi-fhir

/**
 * @return {@link #profile} (A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
 */
// syntactic sugar
public UriType addProfileElement() {//2 
 UriType t = new UriType();
 if (this.profile == null)
  this.profile = new ArrayList<UriType>();
 this.profile.add(t);
 return t;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value An absolute URI which is the code system from which the selected codes come from.
 */
public ConceptSetComponent setSystem(String value) { 
  if (this.system == null)
   this.system = new UriType();
  this.system.setValue(value);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value {@link #profile} (Identifies a profile structure or implementation Guide that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.)
 */
public TypeRefComponent addProfile(String value) { //1
 UriType t = new UriType();
 t.setValue(value);
 if (this.profile == null)
  this.profile = new ArrayList<UriType>();
 this.profile.add(t);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value Source of the definition for the extension code - a logical name or a URL.
 */
public Extension setUrl(String value) { 
  if (this.url == null)
   this.url = new UriType();
  this.url.setValue(value);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value The reference details for the link.
 */
public BundleLinkComponent setUrl(String value) { 
  if (this.url == null)
   this.url = new UriType();
  this.url.setValue(value);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value Indicates where the message should be routed to.
 */
public MessageDestinationComponent setEndpoint(String value) { 
  if (this.endpoint == null)
   this.endpoint = new UriType();
  this.endpoint.setValue(value);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. HL7 v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition.
 */
public OtherElementComponent setElement(String value) { 
  if (this.element == null)
   this.element = new UriType();
  this.element.setValue(value);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value An internal reference to another agent listed in this provenance by its identifier.
 */
public ProvenanceAgentRelatedAgentComponent setTarget(String value) { 
  if (this.target == null)
   this.target = new UriType();
  this.target.setValue(value);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value Identity of the  Entity used. May be a logical or physical uri and maybe absolute or relative.
 */
public ProvenanceEntityComponent setReference(String value) { 
  if (this.reference == null)
   this.reference = new UriType();
  this.reference.setValue(value);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value {@link #compartment} (An absolute URI which is a reference to the definition of a compartment hosted by the system.)
 */
public ConformanceRestComponent addCompartment(String value) { //1
 UriType t = new UriType();
 t.setValue(value);
 if (this.compartment == null)
  this.compartment = new ArrayList<UriType>();
 this.compartment.add(t);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @param value {@link #binary} (A binary file that is included in the  implementation guide when it is published.)
 */
public ImplementationGuide addBinary(String value) { //1
 UriType t = new UriType();
 t.setValue(value);
 if (this.binary == null)
  this.binary = new ArrayList<UriType>();
 this.binary.add(t);
 return this;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #url} (A network address on which the device may be contacted directly.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
 */
public UriType getUrlElement() { 
 if (this.url == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create Device.url");
  else if (Configuration.doAutoCreate())
   this.url = new UriType(); // bb
 return this.url;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #endpoint} (Indicates where the message should be routed to.). This is the underlying object with id, value and extensions. The accessor "getEndpoint" gives direct access to the value
 */
public UriType getEndpointElement() { 
 if (this.endpoint == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create MessageDestinationComponent.endpoint");
  else if (Configuration.doAutoCreate())
   this.endpoint = new UriType(); // bb
 return this.endpoint;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #codeSystem} (An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value
 */
public UriType getCodeSystemElement() { 
 if (this.codeSystem == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create SourceElementComponent.codeSystem");
  else if (Configuration.doAutoCreate())
   this.codeSystem = new UriType(); // bb
 return this.codeSystem;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #reference} (The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
 */
public UriType getReferenceElement() { 
 if (this.reference == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create DetectedIssue.reference");
  else if (Configuration.doAutoCreate())
   this.reference = new UriType(); // bb
 return this.reference;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #url} (WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
 */
public UriType getUrlElement() { 
 if (this.url == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create SeriesComponent.url");
  else if (Configuration.doAutoCreate())
   this.url = new UriType(); // bb
 return this.url;
}
origin: jamesagnew/hapi-fhir

/**
 * @return {@link #url} (WADO-RS URL to retrieve the DICOM frames.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
 */
public UriType getUrlElement() { 
 if (this.url == null)
  if (Configuration.errorOnAutoCreate())
   throw new Error("Attempt to auto-create FramesComponent.url");
  else if (Configuration.doAutoCreate())
   this.url = new UriType(); // bb
 return this.url;
}
origin: jamesagnew/hapi-fhir

public org.hl7.fhir.instance.model.UriType convertUri(org.hl7.fhir.r4.model.UriType src) throws FHIRException {
 org.hl7.fhir.instance.model.UriType tgt = new org.hl7.fhir.instance.model.UriType(src.getValue());
 copyElement(src, tgt);
 return tgt;
}
origin: jamesagnew/hapi-fhir

public org.hl7.fhir.instance.model.UriType convertUri(org.hl7.fhir.dstu3.model.UriType src) throws FHIRException {
 org.hl7.fhir.instance.model.UriType tgt = new org.hl7.fhir.instance.model.UriType(src.getValue());
 copyElement(src, tgt);
 return tgt;
}
origin: jamesagnew/hapi-fhir

public static void addDEReference(DataElement de, String value) {
 for (Extension e : de.getExtension()) 
  if (e.getUrl().equals(EXT_CIMI_REFERENCE)) {
   e.setValue(new UriType(value));
   return;
  }
 de.getExtension().add(new Extension().setUrl(EXT_CIMI_REFERENCE).setValue(new UriType(value)));
}
org.hl7.fhir.instance.modelUriType<init>

Javadoc

Constructor

Popular methods of UriType

  • getValue
  • asStringValue
  • getValueAsString
  • copy
  • equals
    Compares the given string to the string representation of this URI. In many cases it is preferable t
  • isEmpty
  • normalize
  • setValue
  • setValueAsString

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • getApplicationContext (Context)
  • startActivity (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Option (scala)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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