Tabnine Logo
TerminologyID.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
org.openehr.rm.support.identification.TerminologyID

Best Java code snippets using org.openehr.rm.support.identification.TerminologyID.toString (Showing top 4 results out of 315)

origin: openEHR/java-libs

private boolean isLocallyDefined(CodePhrase code) {
  return "local".equalsIgnoreCase(code.getTerminologyId().toString())
  && code.getCodeString().startsWith("at");
}

origin: openEHR/java-libs

/**
 * Retrieves the text for given code_prhase
 * 
 * @param codePhrase
 * @return
 */
public String getText(CodePhrase codePhrase, String path) {
  return getText(codePhrase.getTerminologyId().toString(), 
      codePhrase.getCodeString(), path);
}
 
origin: org.openehr.java-libs/oet-parser

/**
 * Retrieves the text for given code_prhase
 * 
 * @param codePhrase
 * @return
 */
public String getText(CodePhrase codePhrase, String path) {
  return getText(codePhrase.getTerminologyId().toString(), 
      codePhrase.getCodeString(), path);
}
 
origin: openEHR/java-libs

private void validateCCodePhrase(CCodePhrase ccodephrase,
    List<ValidationError> errors) {
  if (ccodephrase.getCodeList() == null
      || !TerminologyService.OPENEHR.equalsIgnoreCase(
          ccodephrase.getTerminologyId().toString())) {
    return;
  }
  StringBuffer buf = new StringBuffer();
  for (String code : ccodephrase.getCodeList()) {
    if (!openEHRTerminology.allCodes().contains(
        new CodePhrase(TerminologyService.OPENEHR, code))) {
      buf.append(code + ", ");
    }
  }
  String codes = buf.toString();
  if (codes.length() != 0) {
    ValidationError error = new ValidationError(ErrorType.VOTC, null,
        codes, ccodephrase.path());
    errors.add(error);
  }
}
org.openehr.rm.support.identificationTerminologyIDtoString

Popular methods of TerminologyID

  • getValue
  • <init>
    Constructs a TerminologyID by name and version
  • equals
  • name
    Name of this terminology ID
  • loadValue
  • toValue

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Socket (java.net)
    Provides a client-side TCP socket.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ImageIO (javax.imageio)
  • Top Sublime Text 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