Skip to content
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

REDCap form changes - multiple test methods #52

Closed
roseanna-hamilton opened this issue Sep 15, 2022 · 1 comment · Fixed by #91
Closed

REDCap form changes - multiple test methods #52

roseanna-hamilton opened this issue Sep 15, 2022 · 1 comment · Fixed by #91

Comments

@roseanna-hamilton
Copy link
Collaborator

Some reports use multiple test methods, I have duplicated the test method type field three times in the Test Method form to account for this in REDCap

@stefpiatek
Copy link
Collaborator

stefpiatek commented Nov 9, 2022

Applying this using formik might be quite fun, Ideally we'd have a drop down for the Sample.reasonForTest where you could select multiple test methods.

For the FHIR side, the easiest way to approach this would be to create the unique identifier from the sample id, concatenated with each of the codes for the test methods, and then add multiple test methods to the ServiceRequest.reasonCode.coding array. So something like 19G-1827373_R59-R134 with two reasons for test codes R59 and R134.

On doing this we should create an issue that we wouldn't update the report if we encountered only an R59 only for this sample, as a way to make this explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants