Esempio n. 1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string productsFile = Path.Combine(Request.PhysicalApplicationPath, "CDA_PMJ_ToVilage_ListofDisablePerson.xml");
            CDAEntryOfPatient ss = new CDAEntryOfPatient();
            ss.getXMLelement(new XmlDocument());

            CDAparser parser = new CDAparser(productsFile);
            //parser.setCDAclassCode("Test");
            CDAEntry cm = new CDAEntry();
            cm.observationValue = "555555";

            List<CDAEntryOfPatient> xxx = parser.getEntryOfPatientList();
            //TextBoxOutput.Text = parser.getCDAcomponentStructuredBodyComponentSectionTitle();

            List<string> tmp = parser.getCDAListComponentStructuredBodyComponentEntryRecordTargetPatientRolePatientBirthTime();
            foreach (string a in tmp)
            {
                ListBox1.Items.Add(a);
            }
        }
Esempio n. 2
0
 public void setCDAcomponentSectionEntry(CDAEntry entry)
 {
     setInnerTextEntry(entry.getXMLelement(this.document));
 }
Esempio n. 3
0
        public List<CDAEntry> getEntryList()
        {
            List<CDAEntry> output = new List<CDAEntry>();
            CDAEntry entry;

            List<string> typeCode = getCDAListcomponentStructuredBodyComponentSectionEntryTypeCode();
            List<string> observationClassCode = getCDAListcomponentStructuredBodyComponentSectionEntryObservationClassCode();
            List<string> observationMoodCode = getCDAListcomponentStructuredBodyComponentSectionEntryObservationMoodCode();
            List<string> observationTemplateIdRoot = getCDAListcomponentStructuredBodyComponentSectionEntryObservationTemplateIdRoot();
            List<string> observationIdRoot = getCDAListcomponentStructuredBodyComponentSectionEntryObservationIdRoot();
            List<string> observationCode = getCDAListcomponentStructuredBodyComponentSectionEntryObservationCode();
            List<string> observationCodeSystem = getCDAListcomponentStructuredBodyComponentSectionEntryObservationCodeSystem();
            List<string> observationDisplayName = getCDAListcomponentStructuredBodyComponentSectionEntryObservationDisplayName();
            List<string> observationStatusCode = getCDAListcomponentStructuredBodyComponentSectionEntryObservationStatusCode();
            List<string> observationEffectiveTimeCenterValue = getCDAListcomponentStructuredBodyComponentSectionEntryObservationEffectiveTimeCenterValue();
            List<string> observationValue = getCDAListcomponentStructuredBodyComponentSectionEntryObservationValue();
            List<string> observationValueXSItype = getCDAListcomponentStructuredBodyComponentSectionEntryObservationValueXSItype();

            for (int i = 0; i < typeCode.Count; i++)
            {
                entry = new CDAEntry();
                entry.typeCode = typeCode[i];
                entry.observationClassCode = observationClassCode[i];
                entry.observationMoodCode = observationMoodCode[i];
                entry.observationTemplateIdRoot = observationTemplateIdRoot[i];
                entry.observationIdRoot = observationIdRoot[i];
                entry.observationCode = observationCode[i];
                entry.observationCodeSystem = observationCodeSystem[i];
                entry.observationDisplayName = observationDisplayName[i];
                entry.observationStatusCode = observationStatusCode[i];
                entry.observationEffectiveTimeCenterValue = observationEffectiveTimeCenterValue[i];
                entry.observationValue = observationValue[i];
                entry.observationValueXSItype = observationValueXSItype[i];
                output.Add(entry);
            }
            return output;
        }