Closed mthrilok closed 2 years ago
hi Dragon,
In below examples "432" and "1959" represents athena practice id . https:athenanet.athenahealth.com/432/52/fhir/r4 https:athenanet.athenahealth.com/1959/52/fhir/r4
Suggestions to Fix:
Please let us know if there are any queries , we can set up a quick call and discuss if required. Thanks
CAn you check if you can use any HTTP header parameters that can be used for the context ?
We have fixed this from athena side hence closing this one.
Hi Dragon,
Each practice in athenaNet has it's own FHIR url as below: https:athenanet.athenahealth.com/432/52/fhir/r4 https:athenanet.athenahealth.com/1959/52/fhir/r4
We have a FHIR API Router that can route a request to the correct backend FHIR server. https://api.fhir.athena.io/fhir/r4
When we make search queries to FHIR API Router, we have to pass the ah-practice parameter for the FHIR API Router to identify the correct athena Practice. The athena practice id can be pulled from the athena patientId which is in format a-.E- or we can pass the practice id to the systemLaunch as parameter and the app can store and use it.
Below subroutines in com.drajer.sof.utils.FhirContextInitializer performs search query based on patient id: getResourceByPatientId getObservationByPatientId getResourceByPatientIdAndCode
As discussed in call (on 18/11/2021) could you take a look on this request and prioritize. Please let us know if there are any queries on this request. Thanks
Regards Thrilok Nath M athenahealth