Java 类ims.emergency.vo.TriageNotesVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void newTriageNote() 
{
    TriageNotesVo note = new TriageNotesVo();
    note.setPatient(form.getLocalContext().getPatient());
    note.setEpisode(form.getLocalContext().getEpisodeOfCare());
    note.setAttendance(form.getLocalContext().getCareContext());
    note.setPresentingProblem(form.getLocalContext().getPresentingProblem());
    form.getGlobalContext().Emergency.setTriageNote(note);

    engine.open(form.getForms().Emergency.TriageNoteDialog);
}
项目:AvoinApotti    文件:Logic.java   
private void populateScreenFromData() 
{
    form.grdNotes().getRows().clear();

    TriageNotesVoCollection notes = domain.listNotes(form.getLocalContext().getPatient(), form.getLocalContext().getEpisodeOfCare(), form.getLocalContext().getCareContext());

    for(TriageNotesVo note : notes)
    {
        if(note == null)
            continue;

        addNoteRow(note);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void addNoteRow(TriageNotesVo note) 
{
    if(note == null)
        return;

    grdNotesRow row = form.grdNotes().getRows().newRow();

    StringBuffer sb = new StringBuffer();

    if(note.getAuthoringInformationIsNotNull())
    {
        sb.append("<b>" + note.getAuthoringInformation().getAuthoringDateTime());

        if(note.getAuthoringInformation().getAuthoringHcpIsNotNull())
        {
            if(sb.length() > 0)
                sb.append(" - ");

            sb.append(note.getAuthoringInformation().getAuthoringHcp().getIHcpName());
        }

        sb.append("</b>");
    }

    sb.append("<br><br>");
    sb.append(note.getTriageNote());

    row.setColNote(sb.toString());
    row.setValue(note);
}
项目:openMAXIMS    文件:Logic.java   
private void newTriageNote() 
{
    TriageNotesVo note = new TriageNotesVo();
    note.setPatient(form.getLocalContext().getPatient());
    note.setEpisode(form.getLocalContext().getEpisodeOfCare());
    note.setAttendance(form.getLocalContext().getCareContext());
    note.setPresentingProblem(form.getLocalContext().getPresentingProblem());
    form.getGlobalContext().Emergency.setTriageNote(note);

    engine.open(form.getForms().Emergency.TriageNoteDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFromData() 
{
    form.grdNotes().getRows().clear();

    TriageNotesVoCollection notes = domain.listNotes(form.getLocalContext().getPatient(), form.getLocalContext().getEpisodeOfCare(), form.getLocalContext().getCareContext());

    for(TriageNotesVo note : notes)
    {
        if(note == null)
            continue;

        addNoteRow(note);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addNoteRow(TriageNotesVo note) 
{
    if(note == null)
        return;

    grdNotesRow row = form.grdNotes().getRows().newRow();

    StringBuffer sb = new StringBuffer();

    if(note.getAuthoringInformationIsNotNull())
    {
        sb.append("<b>" + note.getAuthoringInformation().getAuthoringDateTime());

        if(note.getAuthoringInformation().getAuthoringHcpIsNotNull())
        {
            if(sb.length() > 0)
                sb.append(" - ");

            sb.append(note.getAuthoringInformation().getAuthoringHcp().getIHcpName());
        }

        sb.append("</b>");
    }

    sb.append("<br><br>");
    sb.append(note.getTriageNote());

    row.setColNote(sb.toString());
    row.setValue(note);
}
项目:openMAXIMS    文件:Logic.java   
private void newTriageNote() 
{
    TriageNotesVo note = new TriageNotesVo();
    note.setPatient(form.getLocalContext().getPatient());
    note.setEpisode(form.getLocalContext().getEpisodeOfCare());
    note.setAttendance(form.getLocalContext().getCareContext());
    note.setPresentingProblem(form.getLocalContext().getPresentingProblem());
    form.getGlobalContext().Emergency.setTriageNote(note);

    engine.open(form.getForms().Emergency.TriageNoteDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFromData() 
{
    form.grdNotes().getRows().clear();

    TriageNotesVoCollection notes = domain.listNotes(form.getLocalContext().getPatient(), form.getLocalContext().getEpisodeOfCare(), form.getLocalContext().getCareContext());

    for(TriageNotesVo note : notes)
    {
        if(note == null)
            continue;

        addNoteRow(note);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addNoteRow(TriageNotesVo note) 
{
    if(note == null)
        return;

    grdNotesRow row = form.grdNotes().getRows().newRow();

    StringBuffer sb = new StringBuffer();

    if(note.getAuthoringInformationIsNotNull())
    {
        sb.append("<b>" + note.getAuthoringInformation().getAuthoringDateTime());

        if(note.getAuthoringInformation().getAuthoringHcpIsNotNull())
        {
            if(sb.length() > 0)
                sb.append(" - ");

            sb.append(note.getAuthoringInformation().getAuthoringHcp().getIHcpName());
        }

        sb.append("</b>");
    }

    sb.append("<br><br>");
    sb.append(note.getTriageNote());

    row.setColNote(sb.toString());
    row.setValue(note);
}
项目:openmaxims-linux    文件:Logic.java   
private void newTriageNote() 
{
    TriageNotesVo note = new TriageNotesVo();
    note.setPatient(form.getLocalContext().getPatient());
    note.setEpisode(form.getLocalContext().getEpisodeOfCare());
    note.setAttendance(form.getLocalContext().getCareContext());
    note.setPresentingProblem(form.getLocalContext().getPresentingProblem());
    form.getGlobalContext().Emergency.setTriageNote(note);

    engine.open(form.getForms().Emergency.TriageNoteDialog);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateScreenFromData() 
{
    form.grdNotes().getRows().clear();

    TriageNotesVoCollection notes = domain.listNotes(form.getLocalContext().getPatient(), form.getLocalContext().getEpisodeOfCare(), form.getLocalContext().getCareContext());

    for(TriageNotesVo note : notes)
    {
        if(note == null)
            continue;

        addNoteRow(note);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void addNoteRow(TriageNotesVo note) 
{
    if(note == null)
        return;

    grdNotesRow row = form.grdNotes().getRows().newRow();

    StringBuffer sb = new StringBuffer();

    if(note.getAuthoringInformationIsNotNull())
    {
        sb.append("<b>" + note.getAuthoringInformation().getAuthoringDateTime());

        if(note.getAuthoringInformation().getAuthoringHcpIsNotNull())
        {
            if(sb.length() > 0)
                sb.append(" - ");

            sb.append(note.getAuthoringInformation().getAuthoringHcp().getIHcpName());
        }

        sb.append("</b>");
    }

    sb.append("<br><br>");
    sb.append(note.getTriageNote());

    row.setColNote(sb.toString());
    row.setValue(note);
}