예제 #1
0
        async void View_OnQueryMedicalRecord(object sender, Views.MedicalRecordEventArgs e)
        {
            //List<Data.PatientEmrDoc> DocList = Model.QueryLocalEmrDocHeader(e.InhosID);
            //View.ExeShowMedicalRecordList(DocList);

            CJia.iSmartMedical.MobileMedicDoctorService.QueryEmrDocHeaderResponse emrDocHeader = await service.QueryEmrDocHeaderAsync(e.InhosID);

            List <Dictionary <string, string> > dicList           = Entity.XmlToListDic(emrDocHeader.Body.QueryEmrDocHeaderResult);
            List <Data.PatientEmrDoc>           PatientEmrDocList = Entity.GetEntity <Data.PatientEmrDoc>(dicList);

            View.ExeShowMedicalRecordList(PatientEmrDocList);
        }
예제 #2
0
 void View_OnQueryMedicalRecord(object sender, Views.MedicalRecordEventArgs e)
 {
     QueryPatientEmrDoc(e.InhosID);
 }