/** * Test harness. */ public static void main(String args[]) { try { //FileCodeMapper mapper = new FileCodeMapper(); CodeMapper.getInstance().throwExceptionIfNoMatch(true); System.out.println("Local code for M is " + CodeMapper.getLocal("test", 1, "M")); System.out.println("Interface code for female is " + CodeMapper.getInt("test", 1, "female")); } catch (HL7Exception e) { e.printStackTrace(); } }
/** * Test harness. */ public static void main(String args[]) { try { //FileCodeMapper mapper = new FileCodeMapper(); CodeMapper.getInstance().throwExceptionIfNoMatch(true); System.out.println("Local code for M is " + CodeMapper.getLocal("test", 1, "M")); System.out.println("Interface code for female is " + CodeMapper.getInt("test", 1, "female")); } catch (HL7Exception e) { e.printStackTrace(); } }