Stream: crucible
Topic: Errors on Scorecard
Kevin Mayfield (Jan 05 2018 at 15:59):
I'm investigating crucible and I'm getting a few errors like: Message: undefined method `contained'
Kevin Mayfield (Jan 05 2018 at 15:59):
I thought this may be contained resources but I'm not using them. It may be a resource type scorecard isn't expecting (I had included encouters and this increased the number of errors).
Jason Walonoski (Jan 05 2018 at 17:45):
Can you provide more information on what exactly you are doing to get that error message? Steps to recreate would be helpful.
Kevin Mayfield (Jan 08 2018 at 08:44):
I'd mocked up an everything operation (http://purple.testlab.nhs.uk/careconnect-ri/STU3/Patient/1007/$everything) It works on some records (ScoreCard Menu->Bundle URL tab->Enter Url->then Score button)
Kevin Mayfield (Jan 08 2018 at 08:45):
It's returning UK profiles, not argonaut/US profiles (don't think that's the issue though).
Kevin Mayfield (Jan 08 2018 at 09:02):
I think it's two problems. Firstly when a reference doesn't exist in the Bundle (using this url http://purple.testlab.nhs.uk/careconnect-ri/STU3/Patient/1001/$everything it causes an error because Practitioner/83925 isn't in the Bundle).
Kevin Mayfield (Jan 08 2018 at 09:05):
Secondly we have an extension on AllergyIntolerance which causes an error with this url http://purple.testlab.nhs.uk/careconnect-ri/STU3/Patient/1007/$everything this has an extension to associated-Encounter (id=460) which does exist.
Kevin Mayfield (Jan 08 2018 at 11:42):
Have altered the code to include referenced resources and still get the same error:
Kevin Mayfield (Jan 08 2018 at 11:42):
Url used : http://purple.testlab.nhs.uk/careconnect-ri/STU3/Patient/1002/$everything
Kevin Mayfield (Jan 08 2018 at 11:43):
Jason Walonoski (Jan 08 2018 at 22:20):
Thank you for the details, this will be helpful debugging.
Last updated: Apr 12 2022 at 19:14 UTC