private void init(ModelClassFactory factory) {
try {
this.add(PV1.class, true, false, false);
this.add(PV2.class, false, false, false);
} catch(HL7Exception e) {
log.error("Unexpected error creating OUL_R22_VISIT - this is probably a bug in the source code generator.", e);
}
}