chronic-care/onc-ac-project

Update Referral Handler Service to post FHIR Resources from aP separately

Closed this issue · 0 comments

This card: Update Referral Handler Service to post FHIR Resources from aP separately in Social Care Hub. Prioritize Practitioner Resource because that's the Resource referenced in ServiceRequest.Requestor and ServiceRequest.Performer.

Need to update ServiceRequest.Requestor and ServiceRequest.Performer display so service requests created by both aP and the CBO App can be displayed.

  1. Referral Handler Service when receiving bundle from aP, post the FHIR Resources separately.
  2. Try to resolve reference (find the name element and use text to generate display name)
  3. If you can't resolve reference, use display field of the reference. (Not there for aP).
  4. Fail gracefully.