Clinical trial matching service wrapper for LUNGevity.
For more information on the architecture and data schemas of the clinical trial matching system, please visit the clinical-trial-matching-app wiki.
- Run
npm install
- Run
npm start
- The service will now be running at http://localhost:3003/
A validation test is provided to validate the ResearchStudy created via this service. Put an example response object in spec/data/trial_object.json
and this object will be loaded and validated by the test in spec/validate.spec.ts
.
For this test to produce meaningful results, you must have:
- Placed appropriate test data in
spec/data/trial_object.json
(the default is an empty object) - Properly implemented
convertToResearchStudy
insrc/researchstudy-mapping.ts
The test will always output any messages from the FHIR validator, even if the result is valid, so you may see warning messages displayed in the test output.