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

How to use
org.openehr.rm.support.identification.TerminologyID
constructor

Best Java code snippets using org.openehr.rm.support.identification.TerminologyID.<init> (Showing top 8 results out of 315)

origin: openEHR/java-libs

/**
 * Constructs a CodePhrase by terminologyId and codeString
 *
 * @param terminologyId
 * @param codeString
 * @throws IllegalArgumentException if terminolgy null
 *          or codeString null or empty
 */
public CodePhrase(String terminologyID, String codeString) {
  if(terminologyID == null) {
    throw new IllegalArgumentException("null terminologyId");
  }
  if(StringUtils.isEmpty(codeString)) {
    throw new IllegalArgumentException("empty codeString");
  }
  this.terminologyId =  new TerminologyID(terminologyID);
  this.codeString = codeString;
}
origin: org.openehr.java-libs/openehr-rm-core

/**
 * Constructs a CodePhrase by terminologyId and codeString
 *
 * @param terminologyId
 * @param codeString
 * @throws IllegalArgumentException if terminolgy null
 *          or codeString null or empty
 */
public CodePhrase(String terminologyID, String codeString) {
  if(terminologyID == null) {
    throw new IllegalArgumentException("null terminologyId");
  }
  if(StringUtils.isEmpty(codeString)) {
    throw new IllegalArgumentException("empty codeString");
  }
  this.terminologyId =  new TerminologyID(terminologyID);
  this.codeString = codeString;
}
origin: org.openehr.java-libs/openehr-ap

/**
 * Convenience constructor to create CCodePhrase with only terminologyId
 * and single code
 * 
 * @param path
 * @param terminologyId
 * @param code
 */
public CCodePhrase(String path, String terminologyId, String code) {
  
  super(false, path, CODE_PHRASE, new Interval<Integer>(0, 1), null, null, 
      null, null);
  
  ArrayList<String> codeList = new ArrayList<String>();
  codeList.add(code);
  
  this.codeList = codeList;
  this.terminologyId = new TerminologyID(terminologyId);
}
origin: openEHR/java-libs

/**
 * Convenience constructor to create CCodePhrase with only terminologyId
 * and single code
 * 
 * @param path
 * @param terminologyId
 * @param code
 */
public CCodePhrase(String path, String terminologyId, String code) {
  
  super(false, path, CODE_PHRASE, new Interval<Integer>(0, 1), null, null, 
      null, null);
  
  ArrayList<String> codeList = new ArrayList<String>();
  codeList.add(code);
  
  this.codeList = codeList;
  this.terminologyId = new TerminologyID(terminologyId);
}
origin: openEHR/java-libs

/**
 * Creates a single required CCodePhrase with terminologyId and codeList
 * 
 * @param path
 * @param terminologyId
 * @param codeList
 * @return
 */
public static CCodePhrase singleRequired(String path, String terminologyId, 
    List<String> codeList) {
  Interval<Integer> occurrences = new Interval<Integer>(1,1);
  TerminologyID tid = new TerminologyID(terminologyId);
  return new CCodePhrase(path, occurrences, null, 
      null, tid, codeList, null, null);
}
 
origin: org.openehr.java-libs/openehr-ap

/**
 * Creates a single required CCodePhrase with terminologyId and codeList
 * 
 * @param path
 * @param terminologyId
 * @param codeList
 * @return
 */
public static CCodePhrase singleRequired(String path, String terminologyId, 
    List<String> codeList) {
  Interval<Integer> occurrences = new Interval<Integer>(1,1);
  TerminologyID tid = new TerminologyID(terminologyId);
  return new CCodePhrase(path, occurrences, null, 
      null, tid, codeList, null, null);
}
 
origin: openEHR/java-libs

 terminologyId = new TerminologyID(terminology);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case V_TERM_CODE:
origin: org.openehr.java-libs/adl-parser

 terminologyId = new TerminologyID(terminology);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case V_TERM_CODE:
org.openehr.rm.support.identificationTerminologyID<init>

Javadoc

Constructs a TerminologyID by string value

Popular methods of TerminologyID

  • getValue
  • toString
  • equals
  • name
    Name of this terminology ID
  • loadValue
  • toValue

Popular in Java

  • Creating JSON documents from java classes using gson
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Github Copilot alternatives
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