001 package org.vmdb.hl7; 002 003 /** 004 * <p><Title:> Constants For ISO and ANSI standard Units. </p> 005 * <p>Description: Network Connectivity For VMDB. </p> 006 * <p>Copyright: Copyright (c) 2002-2003. </p> 007 * <p>Company: Veterinary Medical Database (VMDB). </p> 008 * <p>This little class will be expanded as needed to facilitate the use 009 * of ISO (prefered) or ANSI standard units of measure.</p> 010 * @author Michael K. Martin 011 * @version 1.0 012 */ 013 014 public class Units { 015 // Establish constants of predefined CE Elements 016 public static final CEElement KG; 017 public static final CEElement LB; 018 public static final CEElement DEGREES_C; 019 public static final CEElement DEGREES_F; 020 021 static { 022 CEElement eNewElement; 023 024 eNewElement = new CEElement(); 025 eNewElement.setIdentifier( "kg" ); 026 KG = eNewElement; 027 028 eNewElement = new CEElement(); 029 eNewElement.setIdentifier( "lb" ); 030 eNewElement.setCodingSystem( "ANS+" ); 031 LB = eNewElement; 032 033 eNewElement = new CEElement(); 034 eNewElement.setIdentifier( "cel" ); 035 DEGREES_C = eNewElement; 036 037 eNewElement = new CEElement(); 038 eNewElement.setIdentifier( "degf" ); 039 eNewElement.setCodingSystem( "ANS+" ); 040 DEGREES_F = eNewElement; 041 042 } 043 044 }// End class Units 045