Пример #1
0
 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();
 }
Пример #2
0
 private void initCollections()
 {
     //CCR = new ContinuityOfCareRecord() { Body = new ContinuityOfCareRecordBody() };
     //CCR.Body.Immunizations = new List<StructuredProductType>();
     FaultArray   = new TaggedFaultArray();
     Patient      = new TaggedPatientArrays();
     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();
     Immunizations  = new TaggedImmunizationArrays();
     ImagingExams   = new TaggedImagingExamArrays();
     EKGs           = new TaggedClinicalProcedureArrays();
 }
Пример #3
0
        public PatientMedicalRecordTO(IndexedHashtable ihs)
        {
            //initCollections();

            if (ihs == null || ihs.Count == 0)
            {
                return;
            }

            FaultArray = new TaggedFaultArray(ihs); // we need a way to report faults at the top level - this should provide that

            Patient            = new TaggedPatientArrays(ihs);
            Immunizations      = new TaggedImmunizationArrays(ihs);
            Vitals             = new TaggedVitalSignArrays(ihs);
            ImagingExams       = new TaggedImagingExamArrays(ihs);
            Problems           = new TaggedProblemArrays(ihs);
            DischargeSummaries = new TaggedNoteArrays(ihs, "dischargeSummaries");
            Notes     = new TaggedNoteArrays(ihs);
            Labs      = new TaggedLabReportArrays(ihs);
            Allergies = new TaggedAllergyArrays(ihs);
            EKGs      = new TaggedClinicalProcedureArrays(ihs);
        }
Пример #4
0
 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();
 }
Пример #5
0
        public TaggedAllergyArrays getAllergies()
        {
            TaggedAllergyArrays result = new TaggedAllergyArrays();

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

            try
            {
                IndexedHashtable t = ClinicalApi.getAllergies(mySession.ConnectionSet);
                result = new TaggedAllergyArrays(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
            }
            return result;
        }