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

9A13: Microbiology protocol/Urine/Faeces #307

Open
LievenVitaz opened this issue May 30, 2024 · 1 comment
Open

9A13: Microbiology protocol/Urine/Faeces #307

LievenVitaz opened this issue May 30, 2024 · 1 comment

Comments

@LievenVitaz
Copy link

When loading my json file for testcase 9A13 I get the following message in diff result:
{
fhirpath: [
{
actual: false,
field: "Bundle.entry.where(resource is Observation).resource.where(code.coding.where(system = 'http://loinc.org' and code = '11279-7')).exists() or Bundle.entry.where((resource as Observation).code.where(coding.system = 'http://loinc.org').exists()).resource.code.coding.where( code = '25145-4' or code = '87926-2' ).code.distinct().count() = 2 or Bundle.entry.where((resource as Observation).code.where(coding.system = 'http://loinc.org').exists()).resource.code.coding.where( code = '51468-9' or code = '87926-2' or code = '51483-6' or code = '51484-4' or code = '51482-8').code.distinct().count() = 5 or Bundle.entry.where((resource as Observation).code.where(coding.system = 'http://loinc.org').exists()).resource.code.coding.where( code = '32356-8' or code = '13654-9' or code = '51485-1' or code = '24124-0' or code = '25162-9' or code = '49755-2' or code = '5782-8' ).code.distinct().count() >= 5 or Bundle.entry.where((resource as Observation).code.where(coding.system = 'http://loinc.org').exists()).resource.code.coding.where(code = '5810-7' or code = '5803-2' or code = '2514-8' or code = '5770-3' or code = '5794-3' or code = '5802-4' or code = '5799-2' or code ='5818-0' or code = '20454-5' or code = '5778-6' or code = '32167-9' ).code.distinct().count() >= 9",
expected: true
}
]
}
What does this mean?
Testcase 9A13 bad 2.json

@bdc-ehealth
Copy link
Collaborator

@LievenVitaz ,

this is a case that has been solved by the labs up to now in three different ways, and each of those was considered clinically equivalent by one of the participating clinical biologists. The goal of the test is that you create a report that is functionally equivalent to this:
dd9c0124-3544-4543-8939-27074b8dee89.pdf
If you think that your solution is valid as well, please explain what you did (which LOINC-codes where used for what purpose) and we will check with the clinical biologists if the solution is acceptable. You can use the "yellow" button in the test server to do so.

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

No branches or pull requests

2 participants