コード例 #1
0
ファイル: EncounterLib.cs プロジェクト: govtmirror/RAPTOR-1
        public TaggedAppointmentArrays getMentalHealthAppointments()
        {
            TaggedAppointmentArrays result = new TaggedAppointmentArrays();

            if (!mySession.ConnectionSet.IsAuthorized)
            {
                result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
            }
            if (result.fault != null)
            {
                return(result);
            }

            try
            {
                EncounterApi     api = new EncounterApi();
                IndexedHashtable t   = api.getMentalHealthAppointments(mySession.ConnectionSet);
                return(new TaggedAppointmentArrays(t));
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
                return(result);
            }

            return(null);
        }
コード例 #2
0
ファイル: PatientMedicalRecordTO.cs プロジェクト: OSEHRA/mdws
 private void initCollections()
 {
     ContinuityOfCareDocuments = new TaggedTextArray();
     Patient = new PatientTO();
     Meds = new TaggedMedicationArrays();
     Allergies = new TaggedAllergyArrays();
     Appointments = new TaggedAppointmentArrays();
     Notes = new TaggedNoteArrays();
     ChemHemReports = new TaggedChemHemRptArrays();
     MicroReports = new TaggedMicrobiologyRptArrays();
     Problems = new TaggedProblemArrays();
     RadiologyReports = new TaggedRadiologyReportArrays();
     SurgeryReports = new TaggedSurgeryReportArrays();
     Vitals = new TaggedVitalSignArrays();
 }
コード例 #3
0
ファイル: EncounterLib.cs プロジェクト: OSEHRA/mdws
        public TaggedAppointmentArrays getAppointments()
        {
            TaggedAppointmentArrays result = new TaggedAppointmentArrays();

            if (!mySession.ConnectionSet.IsAuthorized)
            {
                result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
            }
            if (result.fault != null)
            {
                return result;
            }

            try
            {
                EncounterApi api = new EncounterApi();
                IndexedHashtable t = api.getAppointments(mySession.ConnectionSet);
                return new TaggedAppointmentArrays(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
                return result;
            }
        }