Question: In extension to the above question, using the same references, answer below question. Read the M 3 _ Data 4 0 . txt file again
In extension to the above question, using the same references, answer below question.
Read the MDatatxt file again and store its content into a list of PatientData class objects, with each row within the file being loaded into a distinct PatientData class object within that list. If you have defined your PatientData class correctly according to the specifications provided in Problem each class object within your list should then contain the content of one row of the data file, with each hospital patient attribute value having been assigned to a distinct instance variable within the class object, as well as a distinct uniqueID value that was automatically assigned by the PatientData class when you read the corresponding row from the data file into the class object. Then, using your list of PatientData objects, find the uniqueID for each hospital patient having an age value of less than and a diagnosis value of "TRUE". Create a new list to store your findings and be sure to print your results.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
