Faites-nous part de vos impressions sur le Serveur terminologique, et aidez-nous à améliorer nos services! Vous avez jusqu’au 3 décembre 2024 pour répondre au sondage. Votre avis nous intéresse! En savoir plus >

Partager :

file Question: GET /referralRequest vs. GET /Appointment

  • Messages : 84
il y a 7 ans 11 mois #1909 par Tim Berezny
That's really helpful, thanks. We will go with the GET /appointment!

Connexion ou Créer un compte pour participer à la conversation.

  • Messages : 132
il y a 7 ans 11 mois #1908 par Lloyd Mckenzie
I would do a GET on /appointment looking for appointments that are based on the referral. When STU 3 gets published, there should be an element on Appointment that would let you point to the "order" that drove the creation of the appointment. For now, you may need to add an extension.

The alternative would be to use Task, where you'd create a Task seeking fulfillment of the referral and then update the Task to list the appointment as one of the outputs of the Task.

Connexion ou Créer un compte pour participer à la conversation.

  • Messages : 84
il y a 7 ans 11 mois #1907 par Tim Berezny
Hello,

We are developing an eReferral API using FHIR. We are doing it with a POST and GET /referralRequest API, a well as a GET /Appointment API which works as follows:
- The user POSTs to /referralRequest with basic demographic data. After that, an appointment time (and service) is selected.
- The application that made the POST /referralRequest wants the information on the appointment time and service that was selected.
- The POSTer makes a GET request to us to find out what appointment time and service was assigned.

My question is, what is the best way to provide that service/appointment time info back to the POSTer? The two options i'm currently considering are:
1) the user makes a call to GET referralRequest, and I add in the /appointment resource in the supportingInformation section of referralRequest
2) the user makes a call to GET /appointment

Any thoughts on best practices around which approach (or another approach) is best?

Thanks
-Tim

Connexion ou Créer un compte pour participer à la conversation.

Logo d'InfoCentral

La santé numérique à votre service

 

Transformer les soins de santé au Canada grâce aux technologies de l'information sur la santé.