-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates for validation #53
Conversation
Coverage report
Test suite run success95 tests passing in 8 suites. Report generated by 🧪jest coverage report action from 52c586b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question:
- When I ran the validator, it looks like I got errors with
.recorded
attributes on Procedure and Immunization resources? Is this expected?
Two suggestions:
-
I think the
-ig
parameter in the PR description is wrong- I think it should be-ig hl7.fhir.us.qicore#4.1.1
. Not a huge deal, but I mention this because maybe some super quick validator instructions could be added to thesynthea/README.md
here! Not totally necessary but may be useful info in the future. -
IF you end up adding something brief to the README, I would add the
-html-output
parameter. This is something I found in the Validator docs here and made my life a lot easier. I actually think you probably used this input, it just wasn't reflected in the description.
Update:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides a suggestion to add a bit of information to the README, this is looking good to me!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding that stuff to the README! I think future us will thank now us 😄 Lgtm!
Summary
Update the qpp_qicore.yaml file to pass qicore validation
New behavior
Generated synthea files pass validation (with a few potential exceptions).
Code changes
Testing guidance
Create large set of patients using qpp mapping file from Add QPP profiles to flexporter mapping file #52
a. Use the randomcode_updates branch or main if Flexporter - Update randomCode fn to take output type as an optional second param synthetichealth/synthea#1527 has been merged
b. Follow additional instructions from the bulk PR above
c. Set exporter.fhir.us_core_version = 3.1.1 in the synthea.properties file
d. Use -p to specify the number of patients, i.e. ./run_synthea -fm ../../bulk-export-server/synthea/qpp_qicore.yaml -p 10
Use HAPI FHIR validator to validate the patients.
a. Use https://github.com/hapifhir/org.hl7.fhir.validator-wrapper/releases/latest/download/validator_cli.jar
b. Run with java -jar validator_cli.jar synthea/output/fhir/ -ig http://hl7.org/fhir/us/qicore/ImplementationGuide/hl7.fhir.us.qicore%7C4.1.1 -extension any -display-issues-are-warnings -sct us
Most issues are solved by the settings above, but some remaining issues that don’t effect calculation may include:
i. "Unknown code 'X9999-"* from the loinc code set