onc-healthit / inferno-program

Archived source code for the Inferno Testing Tool and the Program Edition set of tests. No longer maintained.
https://inferno.healthit.gov/
Apache License 2.0
38 stars 12 forks source link

Inferno-Program Implantable Device tests are not executing #439

Open ashu-bdvt opened 2 years ago

ashu-bdvt commented 2 years ago

Thank you for reporting a possible bug in Inferno! Please fill in as much of the template below as you can.

Subject of the issue Inferno Program edition Implantable Device tests are not getting executed. It is stuck at the very first test. Even after waiting for ~ 1hr no progress or no errors

The same test gets executed in my local inferno-program instance(running on docker)

Your environment

Steps to reproduce Just run the "Single Patient" tests for the below endpoint and patient Endpoint: https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d Patient: 12753537 Device: No need to give anything since it works in my local setup without it, however if needed please use 31563397

Include:

Expected behavior Implantable device tests should run on the remote interno-program instance

Actual behavior Implantable device tests is not running on the remote interno-program instance

ashu-bdvt commented 2 years ago

Attaching local validation where these test are passing

Screenshot 2022-02-24 at 7 53 55 PM
yunwwang commented 2 years ago

Hello @ashu-bdvt Can you provide test-id for your test session? Thanks

ashu-bdvt commented 2 years ago

How do i get tht? I just cancelled the sequence and saved the instance at https://inferno.healthit.gov/inferno/3uo33ovEqrn/

yunwwang commented 2 years ago

What is the Device.type? It is a strange character when I query using Postman

image

ashu-bdvt commented 2 years ago

That's an interesting find. I also see the same special character via postman. However when i run against the same endpoint in my local inferno instance, it's just a plain empty string and the tests are passing. Do you think it's what causing the failure?

Screenshot 2022-02-25 at 2 12 07 PM
yunwwang commented 2 years ago

What I observed is that the state shows Device's ID which means Inferno did get that Device resource but something happened and crashed the process. image

My first thought was the Device resource was invalid.

The resource you posted is strange. If the Device.type.text is empty, why do you have that element there?

yunwwang commented 2 years ago

@ashu-bdvt Our investigation indicate that you may send this in your Device resource

"type": {
  "text": "\u0000"
}

Though it is valid in FHIR, it is highly not recommended because it does not carry any meaning. If you don't have type, you should follow the US Core Missing Data section

arscan commented 2 years ago

I do not think we will fix this in v1.x, because there doesn't seem to be a good reason to send characters like this and we are not planning on any releases on 1.x. However, we could fix it in v2.x if you are seeing this over there as well. Have you had a chance to move over to that new version?