Java 类ims.emergency.vo.domain.TrackingForClinicianWorklistAndTriageVoAssembler 实例源码

项目:AvoinApotti    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo saveMedicStartTime(ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo tracking) throws ims.domain.exceptions.StaleObjectException
{
    if(tracking == null)
        throw new CodingRuntimeException("Cannot save a null Tracking record.");

    if(!tracking.isValidated())
        throw new CodingRuntimeException("Tracking record is not validated.");

    DomainFactory factory = getDomainFactory();
    Tracking doTracking = TrackingForClinicianWorklistAndTriageVoAssembler.extractTracking(factory, tracking);
    if( doTracking != null )
    {
        doTracking.getTriageDetails().setMedicInterventionStartDateTime(tracking.getTriageDetails().getMedicInterventionStartDateTime().getJavaDate());
        factory.save(doTracking);
    }



    return TrackingForClinicianWorklistAndTriageVoAssembler.create(doTracking);
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo saveMedicStartTime(ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo tracking) throws ims.domain.exceptions.StaleObjectException
{
    if(tracking == null)
        throw new CodingRuntimeException("Cannot save a null Tracking record.");

    if(!tracking.isValidated())
        throw new CodingRuntimeException("Tracking record is not validated.");

    DomainFactory factory = getDomainFactory();
    Tracking doTracking = TrackingForClinicianWorklistAndTriageVoAssembler.extractTracking(factory, tracking);
    if( doTracking != null )
    {
        doTracking.getTriageDetails().setMedicInterventionStartDateTime(tracking.getTriageDetails().getMedicInterventionStartDateTime().getJavaDate());
        factory.save(doTracking);
    }



    return TrackingForClinicianWorklistAndTriageVoAssembler.create(doTracking);
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo saveMedicStartTime(ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo tracking) throws ims.domain.exceptions.StaleObjectException
{
    if(tracking == null)
        throw new CodingRuntimeException("Cannot save a null Tracking record.");

    if(!tracking.isValidated())
        throw new CodingRuntimeException("Tracking record is not validated.");

    DomainFactory factory = getDomainFactory();
    Tracking doTracking = TrackingForClinicianWorklistAndTriageVoAssembler.extractTracking(factory, tracking);
    if( doTracking != null )
    {
        doTracking.getTriageDetails().setMedicInterventionStartDateTime(tracking.getTriageDetails().getMedicInterventionStartDateTime().getJavaDate());
        factory.save(doTracking);
    }



    return TrackingForClinicianWorklistAndTriageVoAssembler.create(doTracking);
}
项目:openmaxims-linux    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo saveMedicStartTime(ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo tracking) throws ims.domain.exceptions.StaleObjectException
{
    if(tracking == null)
        throw new CodingRuntimeException("Cannot save a null Tracking record.");

    if(!tracking.isValidated())
        throw new CodingRuntimeException("Tracking record is not validated.");

    DomainFactory factory = getDomainFactory();
    Tracking doTracking = TrackingForClinicianWorklistAndTriageVoAssembler.extractTracking(factory, tracking);
    if( doTracking != null )
    {
        doTracking.getTriageDetails().setMedicInterventionStartDateTime(tracking.getTriageDetails().getMedicInterventionStartDateTime().getJavaDate());
        factory.save(doTracking);
    }



    return TrackingForClinicianWorklistAndTriageVoAssembler.create(doTracking);
}
项目:AvoinApotti    文件:TrackingImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));
}
项目:AvoinApotti    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForTriage(ims.emergency.vo.TrackingRefVo trackingId)
{
    if(trackingId == null || trackingId.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Tracking Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingId.getID_Tracking()));
}
项目:AvoinApotti    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistByCareContext(ims.core.admin.vo.CareContextRefVo careContext)
{
    if(careContext == null || careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Care Context Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att left join att.careContext as cc where cc.id = :CareContextId";

    List<?> trackingList = factory.find(query, new String[] {"CareContextId"}, new Object[] {careContext.getID_CareContext()});

    if(trackingList == null || trackingList.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) trackingList.get(0));
}
项目:AvoinApotti    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo geTrackingForTriageByAttendanceId(ims.core.admin.vo.EmergencyAttendanceRefVo attendanceId)
{
    if(attendanceId == null || attendanceId.getID_EmergencyAttendance() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Attendance Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att where att.id = :AttendanceId";

    List<?> list = factory.find(query, new String[] {"AttendanceId"}, new Object[] {attendanceId.getID_EmergencyAttendance()});

    if(list == null || list.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) list.get(0));
}
项目:AvoinApotti    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianByActiveCareContext(ims.core.patient.vo.PatientRefVo patientRef)
{
    if(patientRef == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Patient Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att left join att.careContext as cc left join cc.episodeOfCare as EOC left join EOC.careSpell as CS  left join CS.patient as PAT where cc.endDateTime is null and PAT.id = :PatientId";

    List<?> trackingList = factory.find(query, new String[] {"PatientId"}, new Object[] {patientRef.getID_Patient()});

    if(trackingList == null || trackingList.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) trackingList.get(0));
}
项目:AvoinApotti    文件:EDAssessmentComponentImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:AvoinApotti    文件:TriageImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrckinGForClonicianWorklosAndTriage(TrackingRefVo trackingRef)
{
    if(trackingRef == null || trackingRef.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannnot get Tracking for a null Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:AvoinApotti    文件:ClinicianAssessmentWorklistImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null || trackingRef.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannnot get Tracking for a null Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:AvoinApotti    文件:DischargeDetails_OutcomeImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackRef) 
{
    if(trackRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackRef.getID_Tracking()));

}
项目:AvoinApotti    文件:EDWhiteBoardEditDialogImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTracking(TrackingRefVo trackingRef)
{
    if (trackingRef == null || trackingRef.getID_Tracking() == null)
    {
        throw new CodingRuntimeException("Cannot get Tracking by null Id ");
    }

    DomainFactory factory = getDomainFactory();

    Tracking domainTracking = (Tracking) factory.getDomainObject(Tracking.class, trackingRef.getID_Tracking());

    return TrackingForClinicianWorklistAndTriageVoAssembler.create(domainTracking);
}
项目:AvoinApotti    文件:TrackingAndAttendanceWorklistsImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));
}
项目:AvoinApotti    文件:EDWorklistToAssessmentFormImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriage(TrackingRefVo trackingRef)
{
    if(trackingRef == null || trackingRef.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannnot get Tracking for a null Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:openMAXIMS    文件:PendingEmergencyAdmissionsImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingByPendingEmergencyAdmission(PendingEmergencyAdmissionRefVo pendingEmergencyAdmissionRef)
{
    if (pendingEmergencyAdmissionRef == null || pendingEmergencyAdmissionRef.getID_PendingEmergencyAdmission() == null)
        throw new CodingRuntimeException("pendingemergencyadmissionRef is null or id not provided ");

    String hql = "select t1_1 from Tracking as t1_1 left join t1_1.associatedPendingEmergencyAdmission as p1_1 where p1_1.id = " + pendingEmergencyAdmissionRef.getID_PendingEmergencyAdmission() + " and (t1_1.isRIE is null  or t1_1.isRIE = 0) order by t1_1.systemInformation.creationDateTime desc ";
    List lstTracking = getDomainFactory().find(hql);

    if( lstTracking == null || lstTracking.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking)lstTracking.get(0));
}
项目:openMAXIMS    文件:TrackingImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForTriage(ims.emergency.vo.TrackingRefVo trackingId)
{
    if(trackingId == null || trackingId.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Tracking Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingId.getID_Tracking()));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistByCareContext(ims.core.admin.vo.CareContextRefVo careContext)
{
    if(careContext == null || careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Care Context Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att left join att.careContext as cc where cc.id = :CareContextId";

    List<?> trackingList = factory.find(query, new String[] {"CareContextId"}, new Object[] {careContext.getID_CareContext()});

    if(trackingList == null || trackingList.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) trackingList.get(0));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo geTrackingForTriageByAttendanceId(ims.core.admin.vo.EmergencyAttendanceRefVo attendanceId)
{
    if(attendanceId == null || attendanceId.getID_EmergencyAttendance() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Attendance Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att where att.id = :AttendanceId";

    List<?> list = factory.find(query, new String[] {"AttendanceId"}, new Object[] {attendanceId.getID_EmergencyAttendance()});

    if(list == null || list.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) list.get(0));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianByActiveCareContext(ims.core.patient.vo.PatientRefVo patientRef)
{
    if(patientRef == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Patient Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att left join att.careContext as cc left join cc.episodeOfCare as EOC left join EOC.careSpell as CS  left join CS.patient as PAT where cc.endDateTime is null and PAT.id = :PatientId";

    List<?> trackingList = factory.find(query, new String[] {"PatientId"}, new Object[] {patientRef.getID_Patient()});

    if(trackingList == null || trackingList.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) trackingList.get(0));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:openMAXIMS    文件:TriageImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrckinGForClonicianWorklosAndTriage(TrackingRefVo trackingRef)
{
    if(trackingRef == null || trackingRef.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannnot get Tracking for a null Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:openMAXIMS    文件:ClinicianAssessmentWorklistImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null || trackingRef.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannnot get Tracking for a null Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:openMAXIMS    文件:DischargeDetails_OutcomeImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackRef) 
{
    if(trackRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackRef.getID_Tracking()));

}
项目:openMAXIMS    文件:EDWhiteBoardEditDialogImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTracking(TrackingRefVo trackingRef)
{
    if (trackingRef == null || trackingRef.getID_Tracking() == null)
    {
        throw new CodingRuntimeException("Cannot get Tracking by null Id ");
    }

    DomainFactory factory = getDomainFactory();

    Tracking domainTracking = (Tracking) factory.getDomainObject(Tracking.class, trackingRef.getID_Tracking());

    return TrackingForClinicianWorklistAndTriageVoAssembler.create(domainTracking);
}
项目:openMAXIMS    文件:TrackingAndAttendanceWorklistsImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));
}
项目:openMAXIMS    文件:EDWorklistToAssessmentFormImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriage(TrackingRefVo trackingRef)
{
    if(trackingRef == null || trackingRef.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannnot get Tracking for a null Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:openMAXIMS    文件:TrackingImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForTriage(ims.emergency.vo.TrackingRefVo trackingId)
{
    if(trackingId == null || trackingId.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Tracking Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingId.getID_Tracking()));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistByCareContext(ims.core.admin.vo.CareContextRefVo careContext)
{
    if(careContext == null || careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Care Context Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att left join att.careContext as cc where cc.id = :CareContextId";

    List<?> trackingList = factory.find(query, new String[] {"CareContextId"}, new Object[] {careContext.getID_CareContext()});

    if(trackingList == null || trackingList.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) trackingList.get(0));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo geTrackingForTriageByAttendanceId(ims.core.admin.vo.EmergencyAttendanceRefVo attendanceId)
{
    if(attendanceId == null || attendanceId.getID_EmergencyAttendance() == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Attendance Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att where att.id = :AttendanceId";

    List<?> list = factory.find(query, new String[] {"AttendanceId"}, new Object[] {attendanceId.getID_EmergencyAttendance()});

    if(list == null || list.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) list.get(0));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public ims.emergency.vo.TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianByActiveCareContext(ims.core.patient.vo.PatientRefVo patientRef)
{
    if(patientRef == null)
        throw new CodingRuntimeException("Cannot get Tracking record for a null Patient Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tr from Tracking as tr left join tr.attendance as att left join att.careContext as cc left join cc.episodeOfCare as EOC left join EOC.careSpell as CS  left join CS.patient as PAT where cc.endDateTime is null and PAT.id = :PatientId";

    List<?> trackingList = factory.find(query, new String[] {"PatientId"}, new Object[] {patientRef.getID_Patient()});

    if(trackingList == null || trackingList.size() == 0)
        return null;

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) trackingList.get(0));
}
项目:openMAXIMS    文件:EDAssessmentComponentImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:openMAXIMS    文件:TriageImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrckinGForClonicianWorklosAndTriage(TrackingRefVo trackingRef)
{
    if(trackingRef == null || trackingRef.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannnot get Tracking for a null Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:openMAXIMS    文件:ClinicianAssessmentWorklistImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null || trackingRef.getID_Tracking() == null)
        throw new CodingRuntimeException("Cannnot get Tracking for a null Id.");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));

}
项目:openMAXIMS    文件:DischargeDetails_OutcomeImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackRef) 
{
    if(trackRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackRef.getID_Tracking()));

}
项目:openMAXIMS    文件:EDWhiteBoardEditDialogImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTracking(TrackingRefVo trackingRef)
{
    if (trackingRef == null || trackingRef.getID_Tracking() == null)
    {
        throw new CodingRuntimeException("Cannot get Tracking by null Id ");
    }

    DomainFactory factory = getDomainFactory();

    Tracking domainTracking = (Tracking) factory.getDomainObject(Tracking.class, trackingRef.getID_Tracking());

    return TrackingForClinicianWorklistAndTriageVoAssembler.create(domainTracking);
}
项目:openMAXIMS    文件:TrackingAndAttendanceWorklistsImpl.java   
public TrackingForClinicianWorklistAndTriageVo getTrackingForClinicianWorklistAndTriageVo(TrackingRefVo trackingRef)
{
    if(trackingRef == null )
        throw new CodingRuntimeException("TrackingRefVo cannot be null");

    return TrackingForClinicianWorklistAndTriageVoAssembler.create((Tracking) getDomainFactory().getDomainObject(Tracking.class, trackingRef.getID_Tracking()));
}