Skip to content

Commit 6a571de

Browse files
committed
README update
1 parent c5fac93 commit 6a571de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
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/).
33

44
## Running the request generator standalone
5-
1. Install node.js
5+
1. Install [Node.js 16](https://nodejs.org) (Node 18+ not currently supported)
66
2. Clone the repository
77
* `git clone https://github.com/HL7-DaVinci/crd-request-generator.git`
88
3. Install the dependencies

src/util/buildRequest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function buildRequest(request, patient, ehrUrl, token, prefetch,
3737
"fhirServer": ehrUrl,
3838
"hook": hook,
3939
"fhirAuthorization": {
40-
"access_token": token.access_token,
40+
"access_token": token?.access_token,
4141
"token_type": "Bearer",
4242
"expires_in": 300,
4343
"scope": "patient/Patient.read patient/Observation.read",

0 commit comments

Comments
 (0)