FHIR New Patient Appointment booking (no patient yet created in system)

ぐ巨炮叔叔 提交于 2019-12-11 13:45:09

问题


Suppose a new patient is trying to book an appointment using FHIR APIs , how should I get his/her first name, last name, dob, phone number in my system ?

The appointment resource just specifies actor reference which is an Id to Patient resource in this case. But I have not created the patient in system who is trying to book appointment first time. So I need all this patient details.

How can I post those details in Appointment resource which I post to create an appointment ?


回答1:


Alternatively, if you do not wish to create the patient in your system yet until he/she shows up, the initial appointment could contain the Patient as a "contained resource": https://www.hl7.org/fhir/references.html#contained. This is useful for getting data across that doesn't have an identified endpoint on a FHIR server.




回答2:


You should expect to perform multiple FHIR interactions:

  • POST a Patient resource to create the patient. That will return the server ID of the patient.
  • Perform a Slot search to retrieve the list of available appointment slots. This will return a list of slots with their server IDs.
  • POST an Appointment resource including the patient ID and selected slot ID returned from the first two interactions.

You may also need to perform a Practitioner or other search prior to creating the patient if you want (for example) indicate who the patient's PCP is.



来源:https://stackoverflow.com/questions/38855829/fhir-new-patient-appointment-booking-no-patient-yet-created-in-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!