Java 类ims.core.vo.PatientForDocumentWorklistVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void print() 
{
    DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

    DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
    record.setDocument(form.getLocalContext().getSelectedDocument());

    PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
    patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
    patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
    record.setPatient(patient);

    documents.add(record);

    engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
}
项目:AvoinApotti    文件:Logic.java   
private String getNHSNumber(PatientForDocumentWorklistVo patient)
{
    if (patient == null)
        return null;
    if (!patient.getIdentifiersIsNotNull())
        return null;
    for (int i = 0; i < patient.getIdentifiers().size(); i++)
    {
        if (PatIdType.NHSN.equals(patient.getIdentifiers().get(i).getType()))
        {
            return patient.getIdentifiers().get(i).getValue();
        }
    }

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private void printDocument() 
{
    DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

    DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
    record.setDocument(form.getLocalContext().getSelectedDocument());

    PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
    patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
    patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
    record.setPatient(patient);

    documents.add(record);

    engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
}
项目:openMAXIMS    文件:Logic.java   
private void print() 
{
    DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

    DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
    record.setDocument(form.getLocalContext().getSelectedDocument());

    PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
    patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
    patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
    record.setPatient(patient);

    documents.add(record);

    engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
}
项目:openMAXIMS    文件:Logic.java   
private String getNHSNumber(PatientForDocumentWorklistVo patient)
{
    if (patient == null)
        return null;
    if (!patient.getIdentifiersIsNotNull())
        return null;
    for (int i = 0; i < patient.getIdentifiers().size(); i++)
    {
        if (PatIdType.NHSN.equals(patient.getIdentifiers().get(i).getType()))
        {
            return patient.getIdentifiers().get(i).getValue();
        }
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void printDocument() 
{
    DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

    DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
    record.setDocument(form.getLocalContext().getSelectedDocument());

    PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
    patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
    patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
    record.setPatient(patient);

    documents.add(record);

    engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
}
项目:openMAXIMS    文件:Logic.java   
private void print() 
{
    DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

    DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
    record.setDocument(form.getLocalContext().getSelectedDocument());

    PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
    patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
    patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
    record.setPatient(patient);

    documents.add(record);

    engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
}
项目:openMAXIMS    文件:Logic.java   
private String getNHSNumber(PatientForDocumentWorklistVo patient)
{
    if (patient == null)
        return null;
    if (!patient.getIdentifiersIsNotNull())
        return null;
    for (int i = 0; i < patient.getIdentifiers().size(); i++)
    {
        if (PatIdType.NHSN.equals(patient.getIdentifiers().get(i).getType()))
        {
            return patient.getIdentifiers().get(i).getValue();
        }
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void printDocument() 
{
    DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

    DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
    record.setDocument(form.getLocalContext().getSelectedDocument());

    PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
    patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
    patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
    record.setPatient(patient);

    documents.add(record);

    engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
}
项目:openmaxims-linux    文件:Logic.java   
private void print() 
{
    DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

    DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
    record.setDocument(form.getLocalContext().getSelectedDocument());

    PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
    patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
    patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
    record.setPatient(patient);

    documents.add(record);

    engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
}
项目:openmaxims-linux    文件:Logic.java   
private String getNHSNumber(PatientForDocumentWorklistVo patient)
{
    if (patient == null)
        return null;
    if (!patient.getIdentifiersIsNotNull())
        return null;
    for (int i = 0; i < patient.getIdentifiers().size(); i++)
    {
        if (PatIdType.NHSN.equals(patient.getIdentifiers().get(i).getType()))
        {
            return patient.getIdentifiers().get(i).getValue();
        }
    }

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private void printDocument() 
{
    DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

    DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
    record.setDocument(form.getLocalContext().getSelectedDocument());

    PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
    patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
    patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
    record.setPatient(patient);

    documents.add(record);

    engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
}
项目:AvoinApotti    文件:Logic.java   
private void printAndLock() 
{
    if(form.getLocalContext().getSelectedDocument() == null)
        return;

    form.getLocalContext().getSelectedDocument().setCorrespondenceStatus(DocumentStatus.FINAL);

    if(savePatientDocument(form.getLocalContext().getSelectedDocument()))
    {
        open();

        DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

        DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
        record.setDocument(form.getLocalContext().getSelectedDocument());

        PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
        patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
        patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
        record.setPatient(patient);

        documents.add(record);

        engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
    }

    form.getLocalContext().setSelectedDocument(domain.getPatientDocument(form.getLocalContext().getSelectedDocument()));
    form.getGlobalContext().Core.setPatientCorrespondence(form.getLocalContext().getSelectedDocument());
    form.grdDetails().setValue(domain.getPatientDocumentSearchListVo(form.getLocalContext().getSelectedDocument()));
}
项目:openMAXIMS    文件:Logic.java   
private void printAndLock() 
{
    if(form.getLocalContext().getSelectedDocument() == null)
        return;

    form.getLocalContext().getSelectedDocument().setCorrespondenceStatus(DocumentStatus.FINAL);

    if(savePatientDocument(form.getLocalContext().getSelectedDocument()))
    {
        open();

        DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

        DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
        record.setDocument(form.getLocalContext().getSelectedDocument());

        PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
        patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
        patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
        record.setPatient(patient);

        documents.add(record);

        engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
    }

    form.getLocalContext().setSelectedDocument(domain.getPatientDocument(form.getLocalContext().getSelectedDocument()));
    form.getGlobalContext().Core.setPatientCorrespondence(form.getLocalContext().getSelectedDocument());
    form.grdDetails().setValue(domain.getPatientDocumentSearchListVo(form.getLocalContext().getSelectedDocument()));
}
项目:openMAXIMS    文件:Logic.java   
private void printAndLock() 
{
    if(form.getLocalContext().getSelectedDocument() == null)
        return;

    form.getLocalContext().getSelectedDocument().setCorrespondenceStatus(DocumentStatus.FINAL);

    if(savePatientDocument(form.getLocalContext().getSelectedDocument()))
    {
        open();

        DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

        DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
        record.setDocument(form.getLocalContext().getSelectedDocument());

        PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
        patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
        patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
        record.setPatient(patient);

        documents.add(record);

        engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
    }

    form.getLocalContext().setSelectedDocument(domain.getPatientDocument(form.getLocalContext().getSelectedDocument()));
    form.getGlobalContext().Core.setPatientCorrespondence(form.getLocalContext().getSelectedDocument());
    form.grdDetails().setValue(domain.getPatientDocumentSearchListVo(form.getLocalContext().getSelectedDocument()));
}
项目:openmaxims-linux    文件:Logic.java   
private void printAndLock() 
{
    if(form.getLocalContext().getSelectedDocument() == null)
        return;

    form.getLocalContext().getSelectedDocument().setCorrespondenceStatus(DocumentStatus.FINAL);

    if(savePatientDocument(form.getLocalContext().getSelectedDocument()))
    {
        open();

        DocumentAndPatientWrapperVoCollection documents = new DocumentAndPatientWrapperVoCollection();

        DocumentAndPatientWrapperVo record = new DocumentAndPatientWrapperVo();
        record.setDocument(form.getLocalContext().getSelectedDocument());

        PatientForDocumentWorklistVo patient = new PatientForDocumentWorklistVo(form.getGlobalContext().Core.getPatientShort().getID_Patient(), form.getGlobalContext().Core.getPatientShort().getVersion_Patient());
        patient.setName(form.getGlobalContext().Core.getPatientShort().getName());
        patient.setIdentifiers(form.getGlobalContext().Core.getPatientShort().getIdentifiers());
        record.setPatient(patient);

        documents.add(record);

        engine.open(form.getForms().Core.MultiPrintDialog, new Object[] {documents});
    }

    form.getLocalContext().setSelectedDocument(domain.getPatientDocument(form.getLocalContext().getSelectedDocument()));
    form.getGlobalContext().Core.setPatientCorrespondence(form.getLocalContext().getSelectedDocument());
    form.grdDetails().setValue(domain.getPatientDocumentSearchListVo(form.getLocalContext().getSelectedDocument()));
}