hl7-be / lab

Creative Commons Zero v1.0 Universal
6 stars 9 forks source link

Testcase 44B #317

Open scailliau opened 4 months ago

scailliau commented 4 months ago

Dear,

I'm trying to process testcase 4.4B regarding administrative comments, but after uploading I receive this error:

{ fhirpath: [ { actual: false, field: "Bundle.entry.where(resource is ServiceRequest).resource.where(note.exists()).note.text.exists()", expected: true } ] }

Can you tell me what's wrong please? Thanks in advance!

Sharon Cailliau

bdc-ehealth commented 3 months ago

@scailliau ,

can you tell me the number of your test in "MyTestResults"? In that way I will be able to check what is going on. If I don't have your lab's RIZIV/INAMI number nor your test instance number, it is very difficult for me to single out the test you are talking about.

scailliau commented 3 months ago

@bdc-ehealth,

Yes, the test id is 2735.

Sharon Cailliau AZ Delta

bdc-ehealth commented 3 months ago

@scailliau ,

Hello Sharon,

if you take a look a the textual test descriptions that can be found here: https://github.com/hl7-be/lab/blob/master/testing/Test%20Plan.MD , you will see that test 44B is about an administrative comment on the level of the ServiceRequest in your message. There is no ServiceRequest that contains a note, so the test will not succeed. Take a look at the reference file, or the files of your fellow labs.

scailliau commented 2 months ago

@bdc-ehealth, thank you for your advice. Indeed, the note wasn't at the level of the service request. I changed it and now it works.

Sharon Cailliau AZ Delta