Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
bstewartlg committed Jul 26, 2024
1 parent c5fac93 commit 6a571de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
This subproject provides a small web application that is capable of generating CRD requests and displaying the CDS Hooks cards that are provided as a response. This project is written in JavaScript and runs in [node.js](https://nodejs.org/en/).

## Running the request generator standalone
1. Install node.js
1. Install [Node.js 16](https://nodejs.org) (Node 18+ not currently supported)
2. Clone the repository
* `git clone https://github.com/HL7-DaVinci/crd-request-generator.git`
3. Install the dependencies
Expand Down
2 changes: 1 addition & 1 deletion src/util/buildRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function buildRequest(request, patient, ehrUrl, token, prefetch,
"fhirServer": ehrUrl,
"hook": hook,
"fhirAuthorization": {
"access_token": token.access_token,
"access_token": token?.access_token,
"token_type": "Bearer",
"expires_in": 300,
"scope": "patient/Patient.read patient/Observation.read",
Expand Down

0 comments on commit 6a571de

Please sign in to comment.