Using manage_relationship with nested relationships
I have three resource modules:
With this in place, I was able to figure out how to insert patients into the
database pretty easily, however my problems arose when trying to do the exams.
The exams are loaded from an outside data source where we derive the event series
based on a date value. So what I tried to do was:
When doing this, an error is returned saying that the event series is invalid
because the patient relationship is not defined. Is it possible to do this with
a call to
Thanks so much for any assistance, Ash is very cool so far!
With this in place, I was able to figure out how to insert patients into the
database pretty easily, however my problems arose when trying to do the exams.
The exams are loaded from an outside data source where we derive the event series
based on a date value. So what I tried to do was:
When doing this, an error is returned saying that the event series is invalid
because the patient relationship is not defined. Is it possible to do this with
a call to
manage_relationship or am I fundamentally missing something?Thanks so much for any assistance, Ash is very cool so far!
