Exemplo n.º 1
0
 static MessageValidator()
 {
     ourLog = HapiLogFactory.getHapiLog(typeof(MessageValidator));
 }
Exemplo n.º 2
0
 static CommonDT()
 {
     log = HapiLogFactory.getHapiLog(typeof(CommonDT));
 }
Exemplo n.º 3
0
 static DefaultModelClassFactory()
 {
     log = HapiLogFactory.getHapiLog(typeof(DefaultModelClassFactory));
 }
Exemplo n.º 4
0
 static NormativeDatabase()
 {
     log = HapiLogFactory.getHapiLog(typeof(NormativeDatabase));
 }
Exemplo n.º 5
0
 static DataTypeGenerator()
 {
     log = HapiLogFactory.getHapiLog(typeof(DataTypeGenerator));
 }
Exemplo n.º 6
0
 static MessageGenerator()
 {
     log = HapiLogFactory.getHapiLog(typeof(MessageGenerator));
 }
Exemplo n.º 7
0
 static SegmentGenerator()
 {
     log = HapiLogFactory.getHapiLog(typeof(SegmentGenerator));
 }
Exemplo n.º 8
0
 static DefaultModelClassFactory()
 {
     log = HapiLogFactory.getHapiLog(typeof(DefaultModelClassFactory));
 }
Exemplo n.º 9
0
 static DataTypeGenerator()
 {
     log = HapiLogFactory.getHapiLog(typeof(DataTypeGenerator));
 }
Exemplo n.º 10
0
 static MessageGenerator()
 {
     log = HapiLogFactory.getHapiLog(typeof(MessageGenerator));
 }
Exemplo n.º 11
0
        //test

        /*
         * public static void main(String args[]) {
         * try {
         * Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         * System.setProperty("ca.on.uhn.hl7.database.url", "jdbc:odbc:hl7");
         *
         * DBTableRepository rep = new DBTableRepository();
         *
         * int[] tables = rep.getTables();
         * for (int i = 0; i < tables.length; i++) {
         * //System.out.println("Table " + i + ": " + tables[i]);
         * }
         *
         * for (int c = 0; c < 10; c++) {
         * int table = 1;
         * String val = "M";
         * long before = System.currentTimeMillis();
         * boolean yep = rep.checkValue(table, val);
         * long after = System.currentTimeMillis();
         * System.out.println(val + " exists in table " + table + "? " + yep + " - checking took " + (after-before) + " ms");
         *
         * }
         *
         * for (int h = 0; h < 2; h++) {
         * int table = 1;
         * long before = System.currentTimeMillis();
         * String[] vals = rep.getValues(table);
         * long after = System.currentTimeMillis();
         * for (int i = 0; i < vals.length; i++) {
         * System.out.println("Value " + i + ": " + vals[i] + ": " + rep.getDescription(table, vals[i]));
         * }
         *
         * System.out.println("That took " + (after-before) + " ms");
         * }
         *
         *
         * } catch (ClassNotFoundException cne) {
         * cne.printStackTrace();
         * } catch (LookupException le) {
         * le.printStackTrace();
         * } catch (UnknownValueException uve) {
         * uve.printStackTrace();
         * }
         * }*/
        static DBTableRepository()
        {
            log = HapiLogFactory.getHapiLog(typeof(DBTableRepository));
        }
Exemplo n.º 12
0
 static MessageValidator()
 {
     ourLog = HapiLogFactory.getHapiLog(typeof(MessageValidator));
 }
Exemplo n.º 13
0
 static DefaultXMLParser()
 {
     log = HapiLogFactory.getHapiLog(typeof(DefaultXMLParser));
 }
Exemplo n.º 14
0
 static GroupGenerator()
 {
     log = HapiLogFactory.getHapiLog(typeof(GroupGenerator));
 }
Exemplo n.º 15
0
 static AbstractGroup()
 {
     log = HapiLogFactory.getHapiLog(typeof(AbstractGroup));
 }
Exemplo n.º 16
0
 static AbstractGroup()
 {
     log = HapiLogFactory.getHapiLog(typeof(AbstractGroup));
 }
Exemplo n.º 17
0
 static PipeParser()
 {
     log = HapiLogFactory.getHapiLog(typeof(PipeParser));
 }
Exemplo n.º 18
0
 static NormativeDatabase()
 {
     log = HapiLogFactory.getHapiLog(typeof(NormativeDatabase));
 }
Exemplo n.º 19
0
 static DefaultXMLParser()
 {
     log = HapiLogFactory.getHapiLog(typeof(DefaultXMLParser));
 }
Exemplo n.º 20
0
 static Varies()
 {
     log = HapiLogFactory.getHapiLog(typeof(Varies));
 }
Exemplo n.º 21
0
 static Varies()
 {
     log = HapiLogFactory.getHapiLog(typeof(Varies));
 }
Exemplo n.º 22
0
 static SegmentGenerator()
 {
     log = HapiLogFactory.getHapiLog(typeof(SegmentGenerator));
 }
Exemplo n.º 23
0
        }         //end method

        static CommonTS()
        {
            log = HapiLogFactory.getHapiLog(typeof(CommonTS));
        }
Exemplo n.º 24
0
 static XMLParser()
 {
     log = HapiLogFactory.getHapiLog(typeof(XMLParser));
 }
Exemplo n.º 25
0
 static GroupGenerator()
 {
     log = HapiLogFactory.getHapiLog(typeof(GroupGenerator));
 }
Exemplo n.º 26
0
 /// <summary> Sets the segment name.  This would normally be called by a Parser. </summary>
 /*public void setName(String name) {
 this.name = name;
 }*/
 static AbstractSegment()
 {
     log = HapiLogFactory.getHapiLog(typeof(AbstractSegment));
 }
Exemplo n.º 27
0
        /// <summary> Sets the segment name.  This would normally be called by a Parser. </summary>

        /*public void setName(String name) {
         * this.name = name;
         * }*/
        static AbstractSegment()
        {
            log = HapiLogFactory.getHapiLog(typeof(AbstractSegment));
        }
Exemplo n.º 28
0
 static Parser()
 {
     log = HapiLogFactory.getHapiLog(typeof(Parser));
 }
Exemplo n.º 29
0
        //test
        /*
        public static void main(String args[]) {
        try {
        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
        System.setProperty("ca.on.uhn.hl7.database.url", "jdbc:odbc:hl7");

        DBTableRepository rep = new DBTableRepository();

        int[] tables = rep.getTables();
        for (int i = 0; i < tables.length; i++) {
        //System.out.println("Table " + i + ": " + tables[i]);
        }

        for (int c = 0; c < 10; c++) {
        int table = 1;
        String val = "M";
        long before = System.currentTimeMillis();
        boolean yep = rep.checkValue(table, val);
        long after = System.currentTimeMillis();
        System.out.println(val + " exists in table " + table + "? " + yep + " - checking took " + (after-before) + " ms");

        }

        for (int h = 0; h < 2; h++) {
        int table = 1;
        long before = System.currentTimeMillis();
        String[] vals = rep.getValues(table);
        long after = System.currentTimeMillis();
        for (int i = 0; i < vals.length; i++) {
        System.out.println("Value " + i + ": " + vals[i] + ": " + rep.getDescription(table, vals[i]));
        }

        System.out.println("That took " + (after-before) + " ms");
        }

        } catch (ClassNotFoundException cne) {
        cne.printStackTrace();
        } catch (LookupException le) {
        le.printStackTrace();
        } catch (UnknownValueException uve) {
        uve.printStackTrace();
        }
        }*/
        static DBTableRepository()
        {
            log = HapiLogFactory.getHapiLog(typeof(DBTableRepository));
        }
Exemplo n.º 30
0
 static CommonTS()
 {
     log = HapiLogFactory.getHapiLog(typeof(CommonTS));
 }
Exemplo n.º 31
0
        }         //end method

        static CommonDT()
        {
            log = HapiLogFactory.getHapiLog(typeof(CommonDT));
        }