Skip to content

Commit

Permalink
#53
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov committed Jun 16, 2019
1 parent 1531961 commit 1411a91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
<!-- Standard JS Libraries -->
<script src="js/polyfills.js"></script>
<!-- <script src="node_modules/fhirclient/fhir-client.js"></script> -->
<script src="https://combinatronics.com/smart-on-fhir/client-js/master/build/fhir-client.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fhirclient@2.0.6/build/fhir-client.js"></script>
<!-- <script src="http://localhost:8080/build/fhir-client.js"></script> -->
<script type="text/javascript" src="load-fhir-data.js"></script>
<script type="text/javascript" src="lib/jquery-1.8.2.js"></script>
<script type="text/javascript" src="lib/jquery-ui-1.9.1.js"></script>
Expand Down
7 changes: 5 additions & 2 deletions launch.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Growth Chart SMART Application</title>
<!-- <script src="node_modules/fhirclient/fhir-client.js"></script> -->
<script src="https://combinatronics.com/smart-on-fhir/client-js/master/build/fhir-client.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fhirclient@2.0.6/build/fhir-client.js"></script>
<!-- <script src="http://localhost:8080/build/fhir-client.js"></script> -->
<script>
FHIR.oauth2.authorize({
"client_id": "growth_chart",
"scope": "patient/*.read offline_access"
"scope": "patient/Observation.read patient/Patient.read offline_access",
// "client_id": "944d96a0-4caf-4a96-813e-bc38aadb1169" // HSPC
// "client_id": "5570f8be-6caf-4915-ae15-69545ab38e68" // Cerner
});
</script>
</head>
Expand Down

0 comments on commit 1411a91

Please sign in to comment.