Skip to content

Commit

Permalink
Merge pull request #29 in LFOR/fhirpath.js from readme_fix to master
Browse files Browse the repository at this point in the history
* commit 'f8a0a109865ea4034b14928df87ba35b5cef6c3c':
  Updated example for "compile" to show the model argument
  • Loading branch information
plynchnlm committed May 19, 2021
2 parents a220223 + f8a0a10 commit 959000e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fhirpath.evaluate({"resourceType": "Observation", "valueString": "green"},
'Observation.value', null, fhirpath_r4_model);
// Precompiling fhirpath - result can be reused against multiple resources
const path = fhirpath.compile('Patient.name.given');
const path = fhirpath.compile('Patient.name.given', fhirpath_r4_model);
var res2 = path({"resourceType": "Patient", ...}, {a: 5, ...});
```

Expand Down

0 comments on commit 959000e

Please sign in to comment.