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(); }
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(); }
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); }
public TaggedProblemArrays getProblemList(string type) { TaggedProblemArrays result = new TaggedProblemArrays(); if (!mySession.ConnectionSet.IsAuthorized) { result.fault = new FaultTO("Connections not ready for operation", "Need to login?"); } else if (type == "") { result.fault = new FaultTO("Missing type"); } if (result.fault != null) { return result; } try { IndexedHashtable t = ClinicalApi.getProblemList(mySession.ConnectionSet, type.ToUpper()); result = new TaggedProblemArrays(t); } catch (Exception e) { result.fault = new FaultTO(e); } return result; }
public TaggedProblemArrays getFluRelatedProblemList() { TaggedProblemArrays result = new TaggedProblemArrays(); 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.getFluRelatedProblemList(mySession.ConnectionSet); result = new TaggedProblemArrays(t); } catch (Exception e) { result.fault = new FaultTO(e); } return result; }