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); }