sayan801 / pyccda

A Python library for CCDA XML files. Part of the BlueButton health information liberation initiative.
1 stars 0 forks source link

lab parsing #7

Closed sayan801 closed 7 years ago

soumik-technicise commented 7 years ago

/testdata/breast surgery.xml

/testdata/cataract.xml

/testdata/CCD.sample.xml

  File "technicise.py", line 7, in <module>
    print ccda.to_csv()
  File "/home/technicise4/Documents/Pythoncode/pyccda-master/pyccda/ccda.py", line 176, in to_csv
    message = self.to_message()
  File "/home/technicise4/Documents/Pythoncode/pyccda-master/pyccda/ccda.py", line 236, in to_message
    lab_parent = self_tree.get_entries_by_template(Root.LAB)[0]
NameError: global name 'self_tree' is not defined