Skip to main content

Hi,

I'm using Intelligent Appointment Management with an external scheduling system, through a custom implementation of healthcloudext.AppointmentBookingInterop. 

 

Booking works, but the Service Appointment that IAM creates after bookAppointment has no provider and no room/territory: ServiceResource and ServiceTerritory are empty, and no AssignedResource is created. The provider's name only appears in the Subject. 

 

From my testing, IAM takes just three values from the BookAppointmentResponse: status, sourceAppointmentId (saved as SourceSystemIdentifier) and jsonResponse (saved as SourceSystemResponse). Everything else on the appointment comes from the IAM screen and the selected slot.

Returning the provider in the response's careProviders list doesn't help either. I tried different combinations of the external IDs (sourcePractitionerId, sourceFacilityId) and the HealthcarePractitionerFacility record Id (in careProviderId and practitionerFacilityId), and none of them set the provider. 

 

Is there any way to get IAM to fill the provider and room on the Service Appointment, or is a workaround needed? I'd love to hear how others have solved this. 

1 件の回答
  1. 10月29日 18:42

    Hi Esti, from what you've tested, it looks like IAM isn't using the provider details from BookAppointmentResponse to populate those fields. I'd consider a record-triggered Flow or Apex after the Service Appointment is created, using the external IDs to find the right ServiceResource and ServiceTerritory, then create the AssignedResource. Just make sure the IDs are mapped consistently.

0/9000