congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CK
Code IndexAdd Tabnine to your IDE (free)

How to use
CK
in
ca.uhn.hl7v2.model.v231.datatype

Best Java code snippets using ca.uhn.hl7v2.model.v231.datatype.CK (Showing top 20 results out of 315)

origin: ca.uhn.hapi/hapi-structures-v231

/**
 * Returns check digit (component 2).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public ST getCk2_CheckDigit() {
  return getTyped(1, ST.class);
}
origin: ca.uhn.hapi/hapi-structures-v231

/** 
 * Creates a new CK type
 */
public CK(Message message) {
  super(message);
  init();
}
origin: ca.uhn.hapi/hapi-structures-v231

private void init() {
  data = new Type[4];    
  data[0] = new NM(getMessage());
  data[1] = new ST(getMessage());
  data[2] = new ID(getMessage(), 0);
  data[3] = new HD(getMessage());
}
origin: ca.uhn.hapi/hapi-structures-v231

/** {@inheritDoc} */   
protected Type createNewTypeWithoutReflection(int field) {
  switch (field) {
   case 0: return new CE(getMessage());
   case 1: return new CE(getMessage());
   case 2: return new ST(getMessage());
   case 3: return new ST(getMessage());
   case 4: return new IS(getMessage(), new Integer( 268 ));
   case 5: return new CE(getMessage());
   case 6: return new CE(getMessage());
   case 7: return new ID(getMessage(), new Integer( 183 ));
   case 8: return new CE(getMessage());
   case 9: return new NM(getMessage());
   case 10: return new CK(getMessage());
   case 11: return new XON(getMessage());
   case 12: return new ID(getMessage(), new Integer( 136 ));
   default: return null;
  }
}
origin: ca.uhn.hapi/hapi-osgi-base

private void init() {
  data = new Type[4];    
  data[0] = new NM(getMessage());
  data[1] = new ST(getMessage());
  data[2] = new ID(getMessage(), 0);
  data[3] = new HD(getMessage());
}
origin: ca.uhn.hapi/hapi-osgi-base

/** {@inheritDoc} */   
protected Type createNewTypeWithoutReflection(int field) {
  switch (field) {
   case 0: return new CE(getMessage());
   case 1: return new CE(getMessage());
   case 2: return new ST(getMessage());
   case 3: return new ST(getMessage());
   case 4: return new IS(getMessage(), new Integer( 268 ));
   case 5: return new CE(getMessage());
   case 6: return new CE(getMessage());
   case 7: return new ID(getMessage(), new Integer( 183 ));
   case 8: return new CE(getMessage());
   case 9: return new NM(getMessage());
   case 10: return new CK(getMessage());
   case 11: return new XON(getMessage());
   case 12: return new ID(getMessage(), new Integer( 136 ));
   default: return null;
  }
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns ID number (NM) (component 1).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public NM getCk1_IDNumber() {
  return getTyped(0, NM.class);
}
origin: ca.uhn.hapi/hapi-osgi-base

/** 
 * Creates a new CK type
 */
public CK(Message message) {
  super(message);
  init();
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns code identifying the check digit scheme employed (component 3).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public ID getCodeIdentifyingTheCheckDigitSchemeEmployed() {
  return getTyped(2, ID.class);
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns check digit (component 2).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public ST getCheckDigit() {
  return getTyped(1, ST.class);
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns check digit (component 2).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public ST getCk2_CheckDigit() {
  return getTyped(1, ST.class);
}
origin: ca.uhn.hapi/hapi-structures-v231

/**
 * Returns assigning authority (component 4).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public HD getAssigningAuthority() {
  return getTyped(3, HD.class);
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns ID number (NM) (component 1).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public NM getIDNumber() {
  return getTyped(0, NM.class);
}
origin: ca.uhn.hapi/hapi-structures-v231

/**
 * Returns code identifying the check digit scheme employed (component 3).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public ID getCodeIdentifyingTheCheckDigitSchemeEmployed() {
  return getTyped(2, ID.class);
}
origin: ca.uhn.hapi/hapi-structures-v231

/**
 * Returns code identifying the check digit scheme employed (component 3).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public ID getCk3_CodeIdentifyingTheCheckDigitSchemeEmployed() {
  return getTyped(2, ID.class);
}
origin: ca.uhn.hapi/hapi-structures-v231

/**
 * Returns assigning authority (component 4).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public HD getCk4_AssigningAuthority() {
  return getTyped(3, HD.class);
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns assigning authority (component 4).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public HD getAssigningAuthority() {
  return getTyped(3, HD.class);
}
origin: ca.uhn.hapi/hapi-structures-v231

/**
 * Returns ID number (NM) (component 1).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public NM getIDNumber() {
  return getTyped(0, NM.class);
}
origin: ca.uhn.hapi/hapi-structures-v231

/**
 * Returns ID number (NM) (component 1).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public NM getCk1_IDNumber() {
  return getTyped(0, NM.class);
}
origin: ca.uhn.hapi/hapi-structures-v231

/**
 * Returns check digit (component 2).  This is a convenience method that saves you from 
 * casting and handling an exception.
 */
public ST getCheckDigit() {
  return getTyped(1, ST.class);
}
ca.uhn.hl7v2.model.v231.datatypeCK

Javadoc

Represents an HL7 CK (composite ID with check digit) data type. This type consists of the following components:

  • ID number (NM) (NM)
  • check digit (ST)
  • code identifying the check digit scheme employed (ID)
  • assigning authority (HD)

Most used methods

  • <init>
    Creates a new CK type
  • getMessage
  • getTyped
  • init

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best plugins for Eclipse
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