We are currently working on the forum. For the short-term, all forum content will be in read-only format. We apologize for the interruption and look forward to collaborating with you shortly. All the best in your research!

Callback mechanism for subject registration

Hi All,
Is there callback mechanism for subject registration ?
Actually I want a metadata of subject (i.e participant) as soon as subject getting added in OpenClinica.
Please let me know if any solution to this.
--
Thanks,
Vinod

Comments

  • mvirtosumvirtosu Posts: 276 ✭✭
    Hi all,

    I would like to know this as well.

    Mihai
    Sent: Tuesday, December 17, 2013 6:48 AM
    To: [email protected]
    Subject: [Developers] Callback mechanism for subject registration

    Hi All,
    Is there callback mechanism for subject registration ?
    Actually I want a metadata of subject (i.e participant) as soon as subject getting added in OpenClinica.
    Please let me know if any solution to this.
    --
    Thanks,
    Vinod
  • ccollinsccollins Posts: 383 admin
    Vinod and Mihai,
    3.2 (not yet released) will have a RESTful URL you can call to get this:
    GET /OpenClinica/clinicaldata/{format}/view/{StudyOID}/{StudySubjectKey}/
    {format} can be 'xml' or 'json'
    It will return the ODM-formatted record for the study subject. It will
    include all the study metadata too, which you probably don't need for
    this use case, but if you filter down to the section
    you'll find what you need. If there's demand for it in the future
    we'll add a way to make the request that strips out the study
    metadata.
    I don't think this precisely fits the definition of a 'callback', but
    is it useful for what you're trying to do? If not, can you describe it
    in a little more detail?
    Best,
    Cal
    On Tue, Dec 17, 2013 at 2:42 PM, Mihai Virtosu
    wrote:
    > > Hi all,
    > >
    > >
    > >
    > > I would like to know this as well.
    > >
    > >
    > >
    > > Mihai
    > >
    > >
    > >
    > >
    > > [mailto:[email protected]] On Behalf Of Vinod Gaikwad
    > > Sent: Tuesday, December 17, 2013 6:48 AM
    > > To: [email protected]
    > > Subject: [Developers] Callback mechanism for subject registration
    > >
    > >
    > >
    > >
    > > Hi All,
    > >
    > > Is there callback mechanism for subject registration ?
    > > Actually I want a metadata of subject (i.e participant) as soon as subject
    > > getting added in OpenClinica.
    > >
    > > Please let me know if any solution to this.
    > >
    > > --
    > > Thanks,
    > > Vinod
    > >
    > >
    > >
  • mvirtosumvirtosu Posts: 276 ✭✭
    Cal,
    What you describe is useful, but not for this scenario.
    I think what Vinod was asking was, as soon as the user enrolls a subject via the UI, OpenClinica transmits that study subject's metadata to an external web service or similar.
    I hope this makes sense,
    Mihai
    -----Original Message-----
    Sent: Wednesday, December 18, 2013 11:42 AM
    To: [email protected]
    Subject: Re: [Developers] Callback mechanism for subject registration
    Vinod and Mihai,
    3.2 (not yet released) will have a RESTful URL you can call to get this:
    GET /OpenClinica/clinicaldata/{format}/view/{StudyOID}/{StudySubjectKey}/
    {format} can be 'xml' or 'json'
    It will return the ODM-formatted record for the study subject. It will include all the study metadata too, which you probably don't need for this use case, but if you filter down to the section you'll find what you need. If there's demand for it in the future we'll add a way to make the request that strips out the study metadata.
    I don't think this precisely fits the definition of a 'callback', but is it useful for what you're trying to do? If not, can you describe it in a little more detail?
    Best,
    Cal
    On Tue, Dec 17, 2013 at 2:42 PM, Mihai Virtosu wrote:
    > > Hi all,
    > >
    > >
    > >
    > > I would like to know this as well.
    > >
    > >
    > >
    > > Mihai
    > >
    > >
    > >
    > >
    > > [mailto:[email protected]] On Behalf Of Vinod Gaikwad
    > > Sent: Tuesday, December 17, 2013 6:48 AM
    > > To: [email protected]
    > > Subject: [Developers] Callback mechanism for subject registration
    > >
    > >
    > >
    > >
    > > Hi All,
    > >
    > > Is there callback mechanism for subject registration ?
    > > Actually I want a metadata of subject (i.e participant) as soon as
    > > subject getting added in OpenClinica.
    > >
    > > Please let me know if any solution to this.
    > >
    > > --
    > > Thanks,
    > > Vinod
    > >
    > >
    > >
This discussion has been closed.