Exemplo n.º 1
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(MSH.class, true, false);
     this.add(SFT.class, false, true);
     this.add(UAC.class, false, false);
     this.add(QPD.class, true, false);
     this.add(RDF.class, false, false);
     this.add(RCP.class, true, false);
     this.add(DSC.class, false, false);
     this.add(MSH.class, true, false);
     this.add(SFT.class, false, true);
     this.add(UAC.class, false, false);
     this.add(MSA.class, true, false);
     this.add(ERR.class, false, false);
     this.add(QAK.class, true, false);
     this.add(QPD.class, true, false);
     this.add(Hxx.class, true, false);
     this.add(DSC.class, false, false);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating QBP_Qnn - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 2
0
 /**
  * Creates a new instance of GenericMessage.
  *
  * @param factory class factory for contained structures
  */
 public GenericMessage(ModelClassFactory factory) {
   super(factory);
   try {
     this.addNonstandardSegment("MSH");
   } catch (HL7Exception e) {
     String message = "Unexpected error adding GenericSegment to GenericMessage.";
     Log.e(Constants.TAG, message);
     throw new Error(message); // TODO better throw RuntimeException
   }
 }
Exemplo n.º 3
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(NM.class, true, 1, 3, new Object[] {getMessage()}, "Number of Columns per Row");
     this.add(RCD.class, true, 0, 40, new Object[] {getMessage()}, "Column Description");
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating RDF - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 4
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(SPM.class, true, false);
     this.add(OBX.class, false, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating SSU_U03_SPECIMEN - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 5
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(RDF.class, true, false);
     this.add(RDT.class, false, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating RTB_K13_ROW_DEFINITION - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 6
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(PV1.class, true, false);
     this.add(PV2.class, false, false);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating OUL_R21_VISIT - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 7
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(SPM.class, false, false);
     this.add(TCC.class, true, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating TCU_U10_TEST_CONFIGURATION - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 8
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(AIS.class, true, false);
     this.add(APR.class, false, false);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating SQM_S25_SERVICE - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 9
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(OBX.class, true, false);
     this.add(NTE.class, false, true);
     this.add(VAR.class, false, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating PRR_PC5_ORDER_OBSERVATION - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 10
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(SAC.class, true, false);
     this.add(INV.class, false, false);
     this.add(OUL_R23_ORDER.class, true, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating OUL_R23_CONTAINER - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 11
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(OBR.class, true, false);
     this.add(ORC.class, false, false);
     this.add(NTE.class, false, true);
     this.add(ROL.class, false, true);
     this.add(OPU_R25_TIMING_QTY.class, false, true);
     this.add(OPU_R25_RESULT.class, true, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating OPU_R25_ORDER - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 12
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(PID.class, true, false);
     this.add(PD1.class, false, false);
     this.add(NTE.class, false, true);
     this.add(OMP_O09_PATIENT_VISIT.class, false, false);
     this.add(OMP_O09_INSURANCE.class, false, true);
     this.add(GT1.class, false, false);
     this.add(AL1.class, false, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating OMP_O09_PATIENT - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 13
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(MSH.class, true, false);
     this.add(SFT.class, false, true);
     this.add(UAC.class, false, false);
     this.add(NTE.class, false, true);
     this.add(ROL.class, true, true);
     this.add(OPL_O37_GUARANTOR.class, false, false);
     this.add(OPL_O37_ORDER.class, true, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating OPL_O37 - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 14
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(MSH.class, true, false);
     this.add(SFT.class, false, true);
     this.add(UAC.class, false, true);
     this.add(IVC.class, true, false);
     this.add(CTD.class, true, true);
     this.add(LOC.class, false, true);
     this.add(ROL.class, false, true);
     this.add(EHC_E20_PAT_INFO.class, true, true);
     this.add(EHC_E20_PSL_ITEM_INFO.class, true, true);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating EHC_E20 - this is probably a bug in the source code generator.",
         e);
   }
 }
Exemplo n.º 15
0
 private void init(ModelClassFactory factory) {
   try {
     this.add(MSH.class, true, false);
     this.add(SFT.class, false, true);
     this.add(UAC.class, false, false);
     this.add(EVN.class, true, false);
     this.add(PID.class, true, false);
     this.add(PD1.class, false, false);
     this.add(ROL.class, false, true);
     this.add(PV1.class, true, false);
     this.add(ROL.class, false, true);
     this.add(PV2.class, false, false);
   } catch (HL7Exception e) {
     Log.e(
         Constants.TAG,
         "Unexpected error creating ADT_A61 - this is probably a bug in the source code generator.",
         e);
   }
 }