/** * Returns a singleton instance of CodeMapper. This is currently * a FileCodeMapper by default. */ public synchronized static CodeMapper getInstance() throws HL7Exception { if (codeMapper == null) { //create new file code mapper codeMapper = new FileCodeMapper(); } return codeMapper; }
/** * Returns a singleton instance of CodeMapper. This is currently * a FileCodeMapper by default. */ public synchronized static CodeMapper getInstance() throws HL7Exception { if (codeMapper == null) { //create new file code mapper codeMapper = new FileCodeMapper(); } return codeMapper; }