Yes, and I saw that you added it again which is good.
Now the point is that we need to cover all sort of a scenarios and ensure that the main attachments fetching API does what is expected of it. Knowing that it can essentially do three things:
- Fetch all attachments for a patient.
- Fetch all attachments for a patient’s visit.
- Fetch all attachments for a patient’s encounter.
Where by ‘attachments’ we mean wrapping complex obs that have been configured to be recognized as such, so those coded by a configured list of concepts complex.
It would be great if you could outline further tests to be made (before jumping in the code and making them.) What scenarios would you test?