FHIR Appointment and AppointmentResponse in a Resquest->Response sync model

I am implementing a patient portal where patients can book an appointment based on Hospital schedules slots availability. Process is implemented in a Request->Response synchronous model, so once Appointment Resource is sent using POST to create the appointment, synchronous response knows if appointment is accepted and booked. Which must be the body response in this situation: 1- No body and just HTTP Status 200 2- HTTP Status 200 and Body with the created Appointment 3- HTTP Status 200 and Body with an AppointmentResponse

Thanks,

Upvotes: 0

Views: 128

Answers (1)

Grahame Grieve
Grahame Grieve

Reputation: 3586

Option #2: HTTP Status 200 and Body with the created Appointment

Appointment response comes from the invitees later

Upvotes: 1

Related Questions