Question Conor Browne · Sep 21, 2017

Hoping someone can help.

I had posted a similar question outside this group a while ago "Errors requesting data from local Ensemble FHIR Repository" but haven't had the chance to follow up on it since. It was suggested I re-post inside this group.

I'm trying to request data from my local FHIR repository using a simple JavaScript client and am getting the following CORS errors . ( It is a standalone client not inside HealthShare without CSP etc. on my localhost ).

4
0 1351
Question Conor Browne · Sep 19, 2017

Hoping someone can help.

I need to convert a timestamp from the following format (YYYYMMDDhhmmss e.g. 20160105125915) to UTC time in the same format.

I presume I need to convert it to the system format ( like $HOROLOG ) and then use something like ConvertTimeStampToHorolog or perhaps LocalWithZTIMEZONEtoUTC but not sure of the syntax.

Thanks,

Conor

8
0 4280
Question Conor Browne · Sep 1, 2016

Hoping someone can help.

I'm trying to request data from my local FHIR repository using a simple client ( using SMART ). I get the following CORS error in Firebug.

"NetworkError: 406 Not Acceptable - http://localhost:57775/csp/healthshare/fhirserver/fhir/Patient/1"
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:57775/csp/healthshare/fhirserver/fhir/Patient/1. (Reason: CORS header 'Access-Control-Allow-Origin' missing).

2
0 539