Our current model doesn't allow to query Patients by ResearchStudy. To make this possible, Patients need to be registered as ResearchSubjects and these ResearchSubjects should point to a ResearchStudy (so that they can be queried via GET /ResearchSubject?study=<ResearchStudy>). The present model binds Patients to Groups and, in turn, these Groups are bound to a ResearchStudy. But, Patients are not queriable by ResearchStudy due to the above reason. The followings are required steps:
[x] Add an example resource
[x] Add a new target API builder to the ingest plugin
Our current model doesn't allow to query
Patient
s byResearchStudy
. To make this possible,Patient
s need to be registered asResearchSubject
s and theseResearchSubject
s should point to aResearchStudy
(so that they can be queried viaGET /ResearchSubject?study=<ResearchStudy>
). The present model bindsPatient
s toGroup
s and, in turn, theseGroup
s are bound to aResearchStudy
. But,Patient
s are not queriable byResearchStudy
due to the above reason. The followings are required steps: