Hello,
As I already mentioned in the other post, I'm building an app that can pre-populate a vital record form (Birth/Fetal Death/Death) using SMART launch. While testing the birth scenario in the Developer Portal, I choose the child record then searching for the mother using the information in the RelatedPerson resource of the child. However, it always return 0 resources. The query string is Patient?family=SNOW&given=CHRISTINE&address-postalcode=66044&birthdate=eq1994-12-24&gender=female&phone=
9133409832 and X-Request-Id is 2c25bec1d3d573cc49a456132a7ff492.
Interestingly it returns correct result if i use the open sandbox. That leads me to suspect it has something to do with the scopes/permissions granted at launch. My app's scope is "launch openid profile fhirUser offline_access user/Patient.read user/Practitioner.read user/Condition.read user/user.read user/RelatedPerson.read user/Observation.read user/MedicationAdministration.read user/Procedure.read user/Encounter.read patient/Condition.read patient/Patient.read patient/RelatedPerson.read patient/Observation.read patient/MedicationAdministration.read patient/Procedure.read patient/Encounter.read".
Could someone please explain to me on how to achieve it?