Giter Club home page Giter Club logo

inferno-program's People

Contributors

arscan avatar bmath10 avatar chris-at-work avatar dependabot[bot] avatar hershilpatel avatar jammjammjamm avatar jason-crowley avatar jeffymj avatar ms-k1ngk0ng avatar okeefm avatar plump-pinniped avatar radamson avatar yunwwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inferno-program's Issues

504 Gateway timeout

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
Describe your issue here.

Hello,
When running Single Patient API test (whether I point to Inferno Reference Server or my FHIR server), after executing all the tests, the results are not displayed. I am getting a 504 Gateway Time-out
nginx/1.19.6
Thanks. (I am not sure if this is the right place to report the error).
Your environment

  • Edition of inferno (Community or Program):
  • Version of inferno:
  • Which browser and version(s) is the bug present on?:

Steps to reproduce
Tell us how to reproduce this issue.

Include:

  • The selected test suite
  • The URL of the FHIR server being tested
  • The Test ID, if it's a problem with a specific test.
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.

Expected behavior
Tell us what should happen.

Actual behavior
Tell us what happens instead. Include screenshots if possible.

Consistently receiving a 504

I have had consistent issues running Inferno. I continue to get a 504 response. I'm using an open endpoint and specifically only running the tests on the Single Patient API tab with one patient ID. I'm using Chrome. Any guidance is greatly appreciated.

USCP-02 The server doesn't support the search parameters: identifier

Subject of the issue

USCP-02 The server doesn't support the search parameters: identifier

The error seems to indicate 'identifier' is not supported. but _id is? I'm not sure what I'm not including to pass this test.

        {
           "type":"Patient",
           "interaction":[
              {
                 "code":"read"
              },
              {
                 "code":"search-type"
              }
           ],
           "profile":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
           "searchParam":[
              {
                 "name":"_id",
                 "type":"token"
              },
              {
                 "name":"identifier",
                 "type":"token"
              },
              {
                 "name":"name",
                 "type":"string"
              },
             ....
           ]
        },

Your environment

  • Edition of inferno (Community or Program): Web
  • Version of inferno:
  • Which browser and version(s) is the bug present on?: Chrome

Steps to reproduce
Capability Statment: https://www.medentmobiletest.com/fhir/R4/metadata/index.php?medent_practice_id=savcw235

When source system does not have data for Must Support data element

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
When the source system does not have data for a Must Support data element such as Procedure.performed[x], a data absent reason is not passing the scenario per the general guidance.
https://www.hl7.org/fhir/us/core/general-guidance.html#must-support

Your environment

  • Edition of inferno (Community or Program): https://inferno.healthit.gov/inferno
  • Version of inferno: 1.0.2
  • Which browser and version(s) is the bug present on?: Chrome Version 83.0.4103.97

Steps to reproduce
Patient with a procedure that is missing performed[x] that is populated with a data-absent-reason extension

Include:

Expected behavior
Returning Procedure.performed[x] with data-absent-reason extension should pass
"_performedDateTime": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode": "unknown"
}
]
},

Is there something wrong with how the data-absent-reason is populated?

Actual behavior
Tell us what happens instead. Include screenshots if possible.
Returning Procedures.performed[x] with data-absent-reason extension is failing USCPROC-09
image

Error Running NoMethodError: undefined method `fhir_version'

Subject of the issue
Describe your issue here.

In trying to run individual rake commands on the Inferno program source code's directory, we are met with some errors that seem to be internal to the source code itself (inferno-program-130P)

Whenever we build out our command to execute_batch (as dictated in https://github.com/onc-healthit/inferno-program#running-automated-command-line-interface-scripts ) we are consistently hit with this error:
rake aborted!
NoMethodError: undefined method fhir_version' for nil:NilClass /var/www/inferno/lib/app/models/testing_instance.rb:171:in fhir_version'

image

Here is a screenshot of where it is failing in the source code:
image

It seems that the "module" class is "nil" as of now - how can I work around this bug?

Your environment

  • Edition of inferno (Community or Program): inferno-program-130P
  • Version of inferno: 3
  • Which browser and version(s) is the bug present on?: N/A, within Windows 10 cmd

Expected behavior
Tell us what should happen.

  • Execute the Inferno standalone tests based on data in the inferno.json file (which it is able to read)

Actual behavior
Tell us what happens instead. Include screenshots if possible.
image

Device: USCID-01: Search by patient expecting same results for patient=Patient/ID and patient=ID and they appear to be the same

Subject: First Device Test Failing but it appears to be correct
Description:

  • USCID-01: Server returns valid results for Device search by patient. Message: Expected search by Patient/ID to have the same results as search by ID

From what I can tell, the two responses are identical. Is there an issue with this test?

Your environment

  • Edition of inferno (Community or Program): ONC Program
  • Version of inferno: 1.5.0
  • Which browser and version(s) is the bug present on?: Chrome

Steps to reproduce
Enter open-endpoint, patient ID and device type code - Execute tests

Include:

  • The selected test suite
  • The URL of the FHIR server being tested: https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d
  • The Test ID, if it's a problem with a specific test:
  • Patient ID: 12644044
  • Device Type Code: 269236419
  • Any required configuration options (client ID, client secret, etc.): NA
  • Anything else needed to make the issue occur.

Expected behavior
The test should pass because both requests result in identical responses:
GET 200 https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Device?patient=12644044

GET 200 https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Device?patient=Patient/12644044

Actual behavior
Very first tests fails and it notes that it expects the same response from both.

Patient.name search validation appears to have escaping issues

Subject of the issue
When testing "name" searching for Patient, it appears that Inferno grabs the first name listed in Patient.name, pulls the text property, then issues a search Patient?name=. It looks like the search is escaped in the actual query. For example:

https://vs-icx.epic.com/Interconnect-CDE/api/FHIR/R4/Patient?name=Fhir%5C,%20Auto

However, when validating the search result against the expected name value, it seems to be comparing a partial escaped value.

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.4.1
  • Which browser and version(s) is the bug present on?: Chrome 88

Steps to reproduce
Tell us how to reproduce this issue.
Validate a patient "name" search where the first listed name has a comma.

Include:

  • The selected test suite: Single Patient API
  • The URL of the FHIR server being tested: https://vs-icx.epic.com/Interconnect-CDE/api/FHIR/R4 (it's not public, sorry!)
  • The Test ID, if it's a problem with a specific test. USCP-03
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.

Expected behavior
Tell us what should happen.
I'm not 100% sure. Validating name searching is tricky. A sufficient solution for us is just resolving what I think is an escaping issue.

Also, it looks like USCP-03 is just picking the first name, regardless of whether it is an "old", "usual", or "official" name. This seems fine, and would work for us if we just fix the escaping, but do you want to validate usual names instead? old name are part of USCDI, but it seems like the more common real-world use case is usual names, so making sure those work seems more useful. Or maybe check that searching both old and usual names?

Actual behavior
Tell us what happens instead. Include screenshots if possible.
Here is the FHIR searchset Bundle with the full patient resource that was causing the issue:
fhirpatientsearch.json.txt

image

name in Patient/e5ZHnklVuYuT85PnDVOepOg3 ([#<FHIR::HumanName:0x00007f09943bb100 @id=nil, @extension=[], @use="old", @text="Fhir, Auto", @family=nil, @given=[], @prefix=[], @suffix=[], @period=nil, @source_hash={"use"=>"old", "text"=>"Fhir, Auto"}>, #<FHIR::HumanName:0x00007f09943ba9a8 @id=nil, @extension=[], @use="old", @text="FHIR,AUTOMATION", @family=nil, @given=[], @prefix=[], @suffix=[], @period=nil, @source_hash={"use"=>"old", "text"=>"FHIR,AUTOMATION"}>, #<FHIR::HumanName:0x00007f09943ba2a0 @id=nil, @extension=[], @use="old", @text="FHIR,AUTOMATION SR.", @family=nil, @given=[], @prefix=[], @suffix=[], @period=nil, @source_hash={"use"=>"old", "text"=>"FHIR,AUTOMATION SR."}>, #<FHIR::HumanName:0x00007f09943b9b48 @id=nil, @extension=[], @use="official", @text="Automation FHIR Sr.", @family="FHIR", @given=["Automation"], @prefix=[], @suffix=["SR."], @period=nil, @source_hash={"use"=>"official", "text"=>"Automation FHIR Sr.", "family"=>"FHIR", "given"=>["Automation"], "suffix"=>["SR."]}>, #<FHIR::HumanName:0x00007f09943b8ef0 @id=nil, @extension=[], @use="usual", @text="Automation FHIR Sr.", @family="FHIR", @given=["Automation"], @prefix=[], @suffix=["SR."], @period=nil, @source_hash={"use"=>"usual", "text"=>"Automation FHIR Sr.", "family"=>"FHIR", "given"=>["Automation"], "suffix"=>["SR."]}>]) does not match name requested (Fhir\, Auto)

Inquiry - CapabilityStatement - US Core Observations

Example capabilitystatement: https://www.medentmobiletest.com/fhir/R4/metadata/index.php?medent_practice_id=savcw235

For test USCCAP-05: Capability Statement lists support for required US Core Profiles

There are multiple Observation profiles, but the R4 CapabilityStatement does not allow multiple "profile" elements: http://hl7.org/fhir/R4/capabilitystatement.html

Does Inferno recognize the "supportedProfile" elements for this test? Or is there another way to express this?

MetamorphoSys run failed

Subject of the issue
When I try to Spot Check the Terminology Files I run the command bundle exec rake "terminology:check_code[91935009,http://snomed.info/sct, http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance]" the rake is aborted.

The same happens when I run the command: bundle exec rake "terminology:check_code[91935009,http://snomed.info/sct]"

Your environment

  • Version of inferno: inferno-program-1.3.0P
  • Which browser and version(s) is the bug present on?: macOS Catalina v 10.15.5

Steps to reproduce
I simply followed your instructions here https://github.com/onc-healthit/inferno-program step-by-step, locally. From Docker, to creating a UMLS account.

I ran the terminology creation task with docker-compose -f terminology_compose.yml up. Which gave the following: MetamorphoSys run failed. See screenshot below:

image

I did NOT do the cleanup step.

I then tried to proceed with Spot Checking the Terminology Files and encountered the errors below.

Actual behavior

For the command bundle exec rake "terminology:check_code[91935009,http://snomed.info/sct]"

chruby: unknown Ruby: 2.5.6
INFO | Inferno | Environment: development
/.gem/ruby/2.7.2/gems/json_pure-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
**rake aborted!**
Inferno::Terminology::UnknownValueSetException: Unknown ValueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance
/Repos/inferno-program-1.3.0P/lib/app/utils/terminology.rb:241:in `validate_code'
lib/tasks/tasks.rake:1127:in `block (2 levels) in <top (required)>'
/.rubies/ruby-2.7.2/bin/bundle:23:in `load'
/.rubies/ruby-2.7.2/bin/bundle:23:in `<main>'
Tasks: TOP => terminology:check_code
(See full trace by running task with --trace)

For the command bundle exec rake "terminology:check_code[91935009,http://snomed.info/sct]"

chruby: unknown Ruby: 2.5.6
INFO | Inferno | Environment: development
/.gem/ruby/2.7.2/gems/json_pure-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
**rake aborted!**
Inferno::Terminology::ValueSet::UnknownCodeSystemException: Unknown Code System: http://snomed.info/sct
/Repos/inferno-program-1.3.0P/lib/app/utils/terminology.rb:244:in `validate_code'
lib/tasks/tasks.rake:1127:in `block (2 levels) in <top (required)>'
/.rubies/ruby-2.7.2/bin/bundle:23:in `load'
/.rubies/ruby-2.7.2/bin/bundle:23:in `<main>'
Tasks: TOP => terminology:check_code
(See full trace by running task with --trace)

Any thoughts on this? Thanks.

_revinclude=Provenance:target test is skipped

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

_revinclude=Provenance:target test is skipped

When running Patient tests I found that this very test is scipped with the following message:

USCP-11: Server returns Provenance resources from Patient search by _id + _revIncludes: Provenance:target
The server doesn't support the revinclude 'Provenance:target' for the Patient resource

Though, when I perform GET to /Patient?_id=352&_revinclude=Provenance:target I successfully receive Patient and Provenance resources.

Your environment

  • Edition of inferno (Community or Program): Web Based
  • Version of inferno: the latest on the web site
  • Which browser and version(s) is the bug present on?: Chrome - latest

Steps to reproduce
Tell us how to reproduce this issue.

https://inferno.kollab.link/edifecs/fhir/R4 - is our address

Client: inferno_confidential
Secret: 78876427-0279-45aa-9475-ce8a7acde51c

user: [email protected]/password

Goal resource failing invariant rule which is not applicable

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
"FluentPath expression evaluates to false for USCoreGoalProfile invariant rule gol-1: Goal.target.measure is required if Goal.target.detail is populated." However, Goal.target.detail is not populated. Sample JSON below.

Also, " Goal.lifecycleStatus: unable to evaluate FluentPath expression against JSON for USCoreGoalProfile invariant rule ele-1: All FHIR elements must have a @value or children". Though lifecycleStatus appears to be in order.

{
"resourceType": "Goal",
"id": "2CF8017665E94ED49499D848BD6BFDC4.NRS.30274",
"meta": {
"lastUpdated": "2020-11-24T18:01:27-05:00"
},
"lifecycleStatus": "active",
"subject": {
"reference": "Patient/2CF8017665E94ED49499D848BD6BFDC4",
"display": "Mcallister,Sathees Ron"
},
"target": [
{
"dueDate": "2021-11-04"
}
]
}

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.3.0
  • Which browser and version(s) is the bug present on?:

Steps to reproduce
Single Patient API Test suite > Test for Goal resource
Include resource which does not have Goal.target.detail populated
Consider if Goal.target.dueDate is causing the rule to be invoked??
Include resource which does have Goal.lifecycleStatus populated

Include:

  • The selected test suite
  • The URL of the FHIR server being tested
  • The Test ID, if it's a problem with a specific test.
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.

Expected behavior
Invariant rule should not be checked; should not fail test.

Actual behavior
Invariant rule fails test; see issue description

Encounter Tests unable to find Encounter references

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
The Encounter Tests are skipped because they are unable to find Encounter references in prior searches.

Your environment

  • Edition of inferno (Community or Program): https://inferno.healthit.gov/inferno
  • Version of inferno: 1.0.2
  • Which browser and version(s) is the bug present on?: Chrome Version 83.0.4103.97

Steps to reproduce

  1. Select a patient
  2. Ensure the patient has references to Encounters on other resources such as AllergyIntolerance or Procedure

Include:

Expected behavior
We would expect any Encounter reference from any other Test would qualify and be able to be tested in the Encounter Tests.

Actual behavior
All Encounter Tests are skipped.

https://inferno.healthit.gov/inferno/coutjwtxOCO/

Capability statement validation indicates 'introspect' and 'revoke' security extensions are not defined

Subject of the issue
In the USCCAP-02 test, the capability statement validation indicates that the values 'introspect' and 'revoke' are not defined by the extension http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris. However, if we go to the URL where this extension is defined, http://www.hl7.org/fhir/smart-app-launch/StructureDefinition-oauth-uris.html, we can see that the 'introspect' and 'revoke' values are indeed defined.

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.0.2

Steps to reproduce
Run USCCAP-02 with any fhir server that supports the "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris" extension and has 'introspect' and 'revoke' as url values. You can view our server's metadata by going to: https://fhir-staging.bluebuttonpro.com/inferno-certification/metadata

Not able to pass the test of "Capability Statement".

After getting the response from URL "/metadata", the tool is throwing the following error:

Invalid CapabilityStatement: CapabilityStatement.rest[0].operation[6].definition: Canonical URLs must be absolute URLs if they are not fragment references (OperationDefinition/-is-expunge).

Please help me with this.

json gem for ruby - CVE-2013-0269

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
Two of the transitive dependencies of data_mapper pull in json for ruby which has a known security vulnerability -

data_mapper:1.2.0

  • dm-serializer:1.2.2
    • json_pure:1.8.6
  • dm-types:1.2.2
    • json:1.8.6

The vulnerability - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10663

The JSON gem through 2.2.0 for Ruby, as used in Ruby 2.4 through 2.4.9, 2.5 through 2.5.7, and 2.6 through 2.6.5, has an Unsafe Object Creation Vulnerability. This is quite similar to CVE-2013-0269, but does not rely on poor garbage-collection behavior within Ruby. Specifically, use of JSON parsing methods can lead to creation of a malicious object within the interpreter, with adverse effects that are application-dependent.

Your environment

  • Edition of inferno (Community or Program): Community
  • Version of inferno: 1.4.1P
  • Which browser and version(s) is the bug present on?: All

Expected behavior
The gem being used - data_mapper is almost a decade old and is no longer being maintained. Replacing the dependency with another mapper implementation is recommended.

I am working on replacing the dependency with Ruby Object Mapper as it replaced data_mapper in 2012. I am not a ruby developer though, so I'm logging this issue to see if someone from the community can help with the migration.

must-support checks are improperly applied to OperationOutcomes in the searchset Bundle

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
For FHIR search interactions return a Bundle that has both the relevant resource (e.g. Immunization) and an OperationOutcome, Inferno tries to validate must-support properties for AllergyIntolerance on the OperationOutcome. In our case, we return informational OperationOutcomes, which should be allowed.

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.4.1
  • Which browser and version(s) is the bug present on?: Chrome 88

Steps to reproduce
Run the Single Patient API tests against a server that returns OperationOutcomes in the searchset Bundle alongside the actual search results. Unfortunately I don't have a public server for you to use for testing :(. I did include some example Bundle responses so maybe you can load those into a reference server and use for testing?

Include:

  • The selected test suite: All of the Single Patient API tests appear to have the same issue.
  • The URL of the FHIR server being tested: an internal/non-public server (sorry, I know this will make testing/reproduction hard)
  • The Test ID, if it's a problem with a specific test. USCI-01, USCI-08, USCI-09
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.

Expected behavior
must-support validation logic should only run on a resource in a bundle if that resource is of the type that has the must support requirements. If a search interaction returns a mix of the requested resource (e.g. Immunization) and OperationOutcome, the must-support requirements for Immunization should only be checked on the Immunization resources.

Actual behavior
The test fails, due looking for must-support elements on the OperationOutcome.
Example Bundle responses are attached.

example_immunization_bundle.xml.txt
example_immunization_bundle.json.txt

Example errors:

USCI-01: Server returns valid results for Immunization search by patient. results...
Fatal Error: undefined method `patient' for #<FHIR::OperationOutcome:0x00007fe403771ca0 @id=nil, @meta=nil, @implicitRules=nil, @language=nil, @text=nil, @contained=[], @extension=[], @modifierExtension=[], @issue=[#<FHIR::OperationOutcome::Issue:0x00007fe4037716b0 @id=nil, @extension=[], @modifierExtension=[], @Severity="warning", @code="processing", @details=#<FHIR::CodeableConcept:0x00007fe403770f58 @id=nil, @extension=[], @coding=[#<FHIR::Coding:0x00007fe403770c10 @id=nil, @extension=[], @System="urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", @Version=nil, @code="4119", @display="This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system.", @userSelected=nil, @source_hash={"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}>], @text="This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system.", @source_hash={"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}>, @diagnostics=nil, @location=[], @expression=[], @source_hash={"severity"=>"warning", "code"=>"processing", "details"=>{"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}}>], @source_hash={"resourceType"=>"OperationOutcome", "issue"=>[{"severity"=>"warning", "code"=>"processing", "details"=>{"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}}]}>

USCI-08: Immunization resources returned from previous search conform to the US Core Immunization Profile. results...
Fatal Error: undefined method `status' for #<FHIR::OperationOutcome:0x00007fe403771ca0 @id=nil, @meta=nil, @implicitRules=nil, @language=nil, @text=nil, @contained=[], @extension=[], @modifierExtension=[], @issue=[#<FHIR::OperationOutcome::Issue:0x00007fe4037716b0 @id=nil, @extension=[], @modifierExtension=[], @Severity="warning", @code="processing", @details=#<FHIR::CodeableConcept:0x00007fe403770f58 @id=nil, @extension=[], @coding=[#<FHIR::Coding:0x00007fe403770c10 @id=nil, @extension=[], @System="urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", @Version=nil, @code="4119", @display="This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system.", @userSelected=nil, @source_hash={"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}>], @text="This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system.", @source_hash={"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}>, @diagnostics=nil, @location=[], @expression=[], @source_hash={"severity"=>"warning", "code"=>"processing", "details"=>{"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}}>], @source_hash={"resourceType"=>"OperationOutcome", "issue"=>[{"severity"=>"warning", "code"=>"processing", "details"=>{"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}}]}>

USCI-09: All must support elements are provided in the Immunization resources returned. results...
Fatal Error: undefined method `statusReason' for #<FHIR::OperationOutcome:0x00007fe403771ca0 @id=nil, @meta=nil, @implicitRules=nil, @language=nil, @text=nil, @contained=[], @extension=[], @modifierExtension=[], @issue=[#<FHIR::OperationOutcome::Issue:0x00007fe4037716b0 @id=nil, @extension=[], @modifierExtension=[], @Severity="warning", @code="processing", @details=#<FHIR::CodeableConcept:0x00007fe403770f58 @id=nil, @extension=[], @coding=[#<FHIR::Coding:0x00007fe403770c10 @id=nil, @extension=[], @System="urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", @Version=nil, @code="4119", @display="This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system.", @userSelected=nil, @source_hash={"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}>], @text="This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system.", @source_hash={"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}>, @diagnostics=nil, @location=[], @expression=[], @source_hash={"severity"=>"warning", "code"=>"processing", "details"=>{"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}}>], @source_hash={"resourceType"=>"OperationOutcome", "issue"=>[{"severity"=>"warning", "code"=>"processing", "details"=>{"coding"=>[{"system"=>"urn:oid:1.2.840.114350.1.13.5325.1.7.2.657369", "code"=>"4119", "display"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}], "text"=>"This response includes information available to the authorized user at the time of the request. It may not contain the entire record available in the system."}}]}>

MedicationRequest omitted test for referencing Medication

Subject of the issue
Currently there is a test specific to referencing Medication within MedicationRequest. According to the clarification in the v3.2 US Core profile: The server systems are not required to support both a code and a reference, but SHALL support at least one of these methods. The test is ‘omitted’ but I wanted to confirm its relevancy and ensure we will not be dinged for only supporting medicationCodeableConcept. The test name references US Core v3.1.1 but I wanted to see if the test would be removed with the Must Support clarification.

Your environment
Edition of inferno (Community or Program): ONC Program Edition
Version of inferno: 1.4.1
Which browser and version(s) is the bug present on?: Chrome Version 87.0.4280.141

Steps to reproduce
Select Program Edition>Enter endpointSelect>Select Single Patient API tab>Run Tests>Add a patient id

Include:
The selected test suite: Single Patient API tab
The URL of the FHIR server being tested: https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d
The Test ID, if it's a problem with a specific test: USCMR-11: Medication resources returned conform to US Core v3.1.1 profiles

Expected behavior
We would not expect to be tested for a reference to Medication

Actual behavior
There is an omitted test for not having a reference to Medication

Downloads from NLM no longer working (FI-1258)

The NLM has changed the method for logging in, and now the content is not automatically loaded for INFERNO. Can this be fixed to work with the new login method?

-----Original Message-----
From: UMLS Notification [email protected] On Behalf Of NLM Customer Service
Sent: Monday, November 16, 2020 7:20 AM
To: [email protected]
Subject: UTS Login Changes and UMLS 2020 Annual Report

Dear UMLS Licensee,

UTS Login Changes

The UMLS Terminology Services (UTS) is moving from a username/password login to a service that allows you to sign in to the UTS using Google, Microsoft, Login.gov, or another identity provider of your choice.

invalid DocumentReference.identifier values in uscore-testing-data-03-05-2020.zip test data

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

When running test data from uscore-testing-data-03-05-2020.zip through a FHIR validator, I'm seeing validation errors on DocumentReference.identifier that say, "if identifier.system is ''urn:ietf:rfc:3986'', then the identifier.value must be a full URI (e.g. start with a scheme)". This error appears to be present in every DocumentReference.identifier.

Here's a brief example using Abigail677_Zieme486_621338a9-01f4-49d4-b852-14507a8bf8c7.json as input.

{
"severity": "error",
"code": "processing",
"diagnostics": "if identifier.system is ''urn:ietf:rfc:3986'', then the identifier.value must be a full URI (e.g. start with a scheme)",
"location": [
"Parameters.parameter[0].resource.ofType(Bundle).entry[9].resource.ofType(DocumentReference).identifier[0]",
"Line 1, Col 24010"
]
}

The Bundle.entry[9] DocumentReference.identifier looks like this:

{
"system": "urn:ietf:rfc:3986",
"value": "445d4eab-7da3-45cf-aa65-272344c8da08"
}

The identifier.value looks like a UUID, so presumably "urn:uuid:" should be prepended to it.

Your environment

  • Edition of inferno (Community or Program):
  • Version of inferno:
  • Which browser and version(s) is the bug present on?:

I'm using only the uscore-testing-data (not a full Inferno edition).
https://github.com/inferno-community/uscore-data-sets

Steps to reproduce
Extract one of the JSON bundles from the zip file and send it to the Bundle/$validate endpoint of a FHIR server which supports validation.

E.g. ...

  1. Construct file containing Parameters resource based on Abigail677_Zieme486_621338a9-01f4-49d4-b852-14507a8bf8c7.json

{
"resourceType": "Parameters",
"parameter": [ {
"name": "resource",
"resource":
<<< content of Abigail677_Zieme486_621338a9-01f4-49d4-b852-14507a8bf8c7.json >>>
} ]
}

  1. Submit the constructed _parameters.json file to FHIR server's Bundle/$validate endpoint.

cat Abigail677_Zieme486_621338a9-01f4-49d4-b852-14507a8bf8c7_parameters.json | curl --data @- --silent --verbose --request POST --url 'http://localhost:8080/r4/Bundle/$validate' --header 'content-type: application/fhir+json' --header 'accept: application/fhir+json' > Abigail677_Zieme486_621338a9-01f4-49d4-b852-14507a8bf8c7_validation-result-1.json

Expected behavior
The DocumentReference.identifier values should not trigger validation errors.

Actual behavior
DocumentReference.identifier values are invalid.

Support for IE 11 in EHR Launch Test (FI-1156)

Is your feature request related to a problem? Please describe it.
Describe the problem you are trying to solve.

Our EHR requires Internet Explorer 11. When we run the INFERNO test for EHR Launch, INFERNO fails with a message that it does not support Internet Explorer (see attachment 1). When we click on OK, and then click on the Run Tests button, nothing happens (see attachment 2). I asked about this during the monthly call (Feb 10 @1 PM EST), and Rob Scanlon asked me to log this request.

Inferno-1
Inferno-2

Describe the solution you'd like to see implemented

Allow EHR Launch from IE 11.

The retirement date announced by Microsoft is the same as Windows 10 retirement, which is 10/24/2025. See https://docs.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge and https://docs.microsoft.com/en-us/lifecycle/products/windows-10-home-and-pro.

Describe alternatives you've considered
Describe any alternative solutions or features you have considered.

We have considered support for additional browsers, but will be certifying our EHR before supporting additional browsers.

How can we run the US Core Profile tests with the capability statement failing? Can we run Patient individually?

How can we run the US Core Profiles tests with the capability statement failing? Can we run Patient individually?

Capability Statement only failing on test USCCAP-02 for CapabilityStatement.meta.versionId error parsing primitive value must be a string.

We would like to be able to run Patient Test and unable to run / execute. The tests are just skipped for the remaining US Core Profile tests.

Inquiry - EHR Practitioner App

When launching a test for the EHR Practitioner App, the following pops up:

Inferno will now redirect you to an external website for user authorization. For this test sequence to complete successfully, you will need to select a patient and authorize the Inferno client to access their data. Once you authorize the Inferno client to access patient data, you should be redirected back to Inferno. If something goes wrong, you can always return to Inferno at https://inferno.healthit.gov/inferno/4ksRXaHZSRO.

Is an external website required for testing?

For example, if an EHR User selects a patient before launching the app, then the launch token can be linked internally to a patient. We don't see the need to have the user log in a second time and/or re-select a patient.

If an EHR launches the app outside of a patient context, I can see the need for optionally supplying patient selection later in the flow.

If the app is launched outside of the EHR, where the user needs to log in, it seems like it would be a Standalone Launch sequence, as opposed to the EHR Launch we're testing here?

Add option to skip authorization for Bulk API tests

Is your feature request related to a problem? Please describe it.
Describe the problem you are trying to solve.
Is there a way to disable authorization requirement for bulk-api testing using Inferno? Our authorization server is not yet ready with full support for the backend authorization specification and our bulk-api export APIs are ready for testing. We’d like to run Inferno tests to identify any gap in our implementation. Any suggestion on how we can achieve this?
Describe the solution you'd like to see implemented
Things you can put in this section include (but aren't limited to):

  • A description of the solution.
  • Details of the technical implementation, if you've thought about it.
  • Any caveats/tradeoffs of the proposed solution.
    If there is currently a way to do this with the existing code, a description of how would suffice. If necessary, we could edit the code locally with some guidance from you, but our preference would be if it were build into a forthcoming release as a user selectable option.
    Describe alternatives you've considered
    Describe any alternative solutions or features you have considered.
    We're open to altering the code locally, but would need some guidance.

Certificate Expired

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
The sites certificate has expired
https://packages.fhir.org/

If I hit that site and bypass the expired certificate it looks like they have moved the content to https://simplifier.net/packages. So my guess is they have not update the Inferno code to point to the new site.

Inferno1
Inferno2

Your environment

  • Edition of inferno (Community or Program):
  • Version of inferno:
  • Which browser and version(s) is the bug present on?:

Steps to reproduce
Tell us how to reproduce this issue.

Include:

  • The selected test suite
  • The URL of the FHIR server being tested
  • The Test ID, if it's a problem with a specific test.
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.

Expected behavior
Tell us what should happen.

Actual behavior
Tell us what happens instead. Include screenshots if possible.

USCPO-10: Observation.code.coding failed cardinality test (1..1) – found 2

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
" USCPO-10: Observation resources returned from previous search conform to the US Core Pulse Oximetry Profile. Observation.code.coding failed cardinality test (1..1) – found 2"

While Observation.code has a cardinality of 1..1, Observation.code.coding has a cardinality of 1..* per definition of CodeableConcept data type http://hl7.org/fhir/R4/datatypes.html#CodeableConcept

ProfileScreenGrab

The example resource with US Core Pulse Oximetry profile in 3.1.1 demonstrates 2 codings (59480-5 and 2708-6). Link and snippet from US Core follow:
https://www.hl7.org/fhir/us/core/Observation-satO2-fiO2.json.html
"code" : {
"coding" : [
{
"system" : "http://loinc.org",
"code" : "2708-6",
"display" : "Oxygen saturation in Arterial blood"
},
{
"system" : "http://loinc.org",
"code" : "59408-5",
"display" : "Oxygen saturation in Arterial blood by Pulse oximetry"
},
{
"system" : "urn:iso:std:iso:11073:10101",
"code" : "150456",
"display" : "MDC_PULS_OXIM_SAT_O2"
}
]
},

Unsure if this happens with other *code.coding elements, Observation or otherwise.

Your environment

  • Edition of inferno (Community or Program): P
  • Version of inferno: 1.4
  • Which browser and version(s) is the bug present on?: Chrome 87.0.4280.88

Steps to reproduce
Tell us how to reproduce this issue.
Provide two or more code.coding values with Observation Pulse Ox resource

Include:

  • The selected test suite
  • The URL of the FHIR server being tested
  • The Test ID, if it's a problem with a specific test.
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.

Expected behavior
Tell us what should happen.

Cardinality of code.coding is 1..* per definition of CodeableConcept data type
http://hl7.org/fhir/R4/datatypes.html#CodeableConcept

Actual behavior
Tell us what happens instead. Include screenshots if possible.

Tests are getting skipped for Location, PractitionerRole resources.

Hi,

For resources Location, PractitionerRole tests are getting skipped and giving error like "No prior search references found" While executing the tests on Inferno (inferno-2.10.0) pointing to our local FHIR server. I want to know why these are skipping or is there any dependencies for these type of resources to get tests executed.
NOTE: I executed test cases related to Practitioner before i run PractitionerRole tests.

Thanks in Advance.

Regards,
Dileep

image

image

image

Docker installation issue: Windows Server 2016, unable to install ruby

Greetings,

My regrets if this is not the correct forum. I am new to Inferno and am just attempting to install the container on Windows 2016 for the first time. When attempting to build in docker the following error appears:

Step 1/16 : FROM ruby:2.5.6
2.5.6: Pulling from library/ruby
ERROR: Service 'ruby_server' failed to build: no matching manifest for windows/amd64 10.0.14393 in the manifest list entries

Thank you in advance for any leads on how to resolve this issue.

Jim

USCP-12 Address Period

Subject of the issue
Patient.address[0].period: Object must have some content

Reading the Period definition[https://www.hl7.org/fhir/datatypes.html#Period], I see this:
If the start element is missing, the start of the period is not known. If the end element is missing, it means that the period is ongoing, or the start may be in the past, and the end date in the future, which means that period is expected/planned to end at the specified time

It seems if the Start is unknown, and the End is Ongoing, Period would be an empty object: "period": {}, Or is there another way to express this that the Inferno test is looking for?

Inferno test USCLRO-02 failed due to incorrectly formed URL .

Inferno Single Patient API Laboratory Result Observation test USCLRO-02 is failing when the coded data is not available. The system may allow to enter results manually on a patient, for example Glucose Random, without performing lookup on a LOINC code. See JSON below. According to HL7 FHIR® US Core Implementation Guide STU3 Release 3.1.1 , section 2.1.1.6 Missing Data
http://hl7.org/fhir/us/core/general-guidance.html#missing-data, “… if the source systems has text but no coded data, only the text element is used”.

Your environment

  • Edition of inferno (Community or Program): Program

  • Version of inferno: 1.4.1

  • Which browser and version(s) is the bug present on?: Chrome
    Steps to reproduce
    Tell us how to reproduce this issue.
    Use a test patient that has text but no coded data for the Observation resource and run Single Patient API Laboratory Result Observation Tests, test USCLRO-02.
    Include:

  • The selected test suite: Single Patient API

  • The URL of the FHIR server being tested: https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43 (not a public URL)

  • The Test ID, if it's a problem with a specific test.: USCLRO-02
    Expected behavior
    Tell us what should happen.
    Inferno test USCLRO-02 should not fail when coded data is not available.
    image
    Body
    {
    "resourceType": "Bundle",
    "id": "5a1699d8-f555-4039-ab77-db87cb7d53b1",
    "type": "searchset",
    "timestamp": "2021-02-25T15:40:51-05:00",
    "entry": [
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.18218",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.18218",
    "status": "preliminary",
    "meta": {
    "lastUpdated": "2020-12-03T12:58:53-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-02T07:19:00-05:00",
    "code": {
    "text": "Glucose Random"
    },
    "valueString": "Blood Glucose Abnormal\r\n",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:preliminary
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-02T07:19:00-05:00
    Code:
    Text:Glucose Random
    Value:Blood Glucose Abnormal\r\n
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12215",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12215",
    "status": "preliminary",
    "meta": {
    "lastUpdated": "2020-11-21T13:20:11-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.68248",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-15T12:03:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "17969-7"
    }
    ],
    "text": "Culture, Urine"
    },
    "valueCodeableConcept": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "57768-4"
    },
    {
    "system": "http://www.ama-assn.org/go/cpt",
    "code": "86625"
    }
    ],
    "text": "Campylobacter Jejuni\r\n"
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:preliminary
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-15T12:03:00-05:00
    Code:
    System:http://loinc.org Code:17969-7 Text:Culture, Urine
    Value:
    System:http://loinc.org Code:57768-4 Text:Campylobacter Jejuni\r\n
    System:http://www.ama-assn.org/go/cpt Code:86625 Text:Campylobacter Jejuni\r\n
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12227",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12227",
    "status": "preliminary",
    "meta": {
    "lastUpdated": "2020-11-21T17:25:16-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-15T09:10:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "6690-2"
    }
    ],
    "text": "WBC"
    },
    "valueRange": {
    "low": {
    "value": -130
    },
    "high": {
    "value": -123
    }
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:preliminary
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-15T09:10:00-05:00
    Code:
    System:http://loinc.org Code:6690-2 Text:WBC
    Value:
    Low:
    Value:-130
    High:
    Value:-123
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12218",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12218",
    "status": "preliminary",
    "meta": {
    "lastUpdated": "2020-11-21T15:16:43-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.68248",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-14T12:03:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "BLDC"
    }
    ],
    "text": "Culture, Blood"
    },
    "valueDateTime": "2020-12-13T00:00:00-05:00",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:preliminary
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-14T12:03:00-05:00
    Code:
    System:http://loinc.org Code:BLDC Text:Culture, Blood
    Value:2020-12-13T00:00:00-05:00
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.18416",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.18416",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-12-03T12:24:38-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-03T12:22:00-05:00",
    "code": {
    "text": "RES_RESTRICTED"
    },
    "valueQuantity": {
    "value": 101310,
    "unit": "10.mBar.s/L"
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-03T12:22:00-05:00
    Code:
    Text:RES_RESTRICTED
    Value:
    Unit:10.mBar.s/L Value:101310
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.17224",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.17224",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-12-02T19:29:46-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-02T08:59:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "17849-1"
    }
    ],
    "text": "RBC"
    },
    "valueInteger": 3333,
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-02T08:59:00-05:00
    Code:
    System:http://loinc.org Code:17849-1 Text:RBC
    Value:3333
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.18219",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.18219",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-12-03T13:09:59-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.74047",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-01T12:08:00-05:00",
    "code": {
    "text": "Glucose Random"
    },
    "valueCodeableConcept": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "44877-9"
    },
    {
    "system": "http://snomed.info/sct",
    "code": "166922008"
    }
    ],
    "text": "Blood Glucose Abnormal\r\n"
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-01T12:08:00-05:00
    Code:
    Text:Glucose Random
    Value:
    System:http://loinc.org Code:44877-9 Text:Blood Glucose Abnormal\r\n
    System:http://snomed.info/sct Code:166922008 Text:Blood Glucose Abnormal\r\n
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.18220",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.18220",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-12-03T13:25:25-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-01T09:22:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "6690-2"
    }
    ],
    "text": "WBC"
    },
    "valueQuantity": {
    "system": "http://unitsofmeasure.org",
    "comparator": ">=",
    "value": 100,
    "code": "%"
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-01T09:22:00-05:00
    Code:
    System:http://loinc.org Code:6690-2 Text:WBC
    Value:
    System:http://unitsofmeasure.org Comparator:>= Code:% Value:100
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.17221",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.17221",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-12-02T19:01:04-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-01T08:34:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://www.ama-assn.org/go/cpt",
    "code": "85027"
    }
    ],
    "text": "WBC"
    },
    "valueString": "11,000",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-01T08:34:00-05:00
    Code:
    System:http://www.ama-assn.org/go/cpt Code:85027 Text:WBC
    Value:11,000
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.17217",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.17217",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-12-02T18:31:02-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-01T08:19:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "17849-1"
    }
    ],
    "text": "Glucose Random"
    },
    "valueString": "125mg/dL",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-01T08:19:00-05:00
    Code:
    System:http://loinc.org Code:17849-1 Text:Glucose Random
    Value:125mg/dL
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.16416",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.16416",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-12-02T16:48:13-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.68248",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-01T08:14:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "17849-1"
    }
    ],
    "text": "RBC"
    },
    "valueInteger": 10,
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-01T08:14:00-05:00
    Code:
    System:http://loinc.org Code:17849-1 Text:RBC
    Value:10
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12220",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12220",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-11-21T15:48:11-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.74047",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-19T08:35:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "2093-3"
    }
    ],
    "text": "Cholesterol, Total"
    },
    "valueRatio": {
    "numerator": {
    "value": 30,
    "unit": "gm/dL"
    },
    "denominator": {
    "value": 100,
    "unit": "gm/dL"
    }
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-19T08:35:00-05:00
    Code:
    System:http://loinc.org Code:2093-3 Text:Cholesterol, Total
    Value:
    Numerator:
    Unit:gm/dL Value:30
    Denominator:
    Unit:gm/dL Value:100
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12219",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12219",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-11-21T15:43:29-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.74047",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-19T08:33:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "2093-3"
    }
    ],
    "text": "Cholesterol, Total"
    },
    "valueRange": {
    "low": {
    "value": 128,
    "unit": "gm/dL"
    },
    "high": {
    "value": 188,
    "unit": "gm/dL"
    }
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-19T08:33:00-05:00
    Code:
    System:http://loinc.org Code:2093-3 Text:Cholesterol, Total
    Value:
    Low:
    Unit:gm/dL Value:128
    High:
    Unit:gm/dL Value:188
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.17216",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.17216",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-12-02T18:20:38-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-19T08:14:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "17849-1"
    }
    ],
    "text": "Glucose Random"
    },
    "valueString": ">=30/100",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-19T08:14:00-05:00
    Code:
    System:http://loinc.org Code:17849-1 Text:Glucose Random
    Value:>=30/100
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12223",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12223",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-11-21T16:55:05-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-16T09:00:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "2093-3"
    }
    ],
    "text": "Cholesterol, Total"
    },
    "valueRange": {
    "low": {
    "value": 123
    }
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-16T09:00:00-05:00
    Code:
    System:http://loinc.org Code:2093-3 Text:Cholesterol, Total
    Value:
    Low:
    Value:123
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12217",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12217",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-11-21T15:11:08-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.68248",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-16T08:16:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "3178-1"
    }
    ],
    "text": "Culture, Blood"
    },
    "valueTime": "05:10:12",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-16T08:16:00-05:00
    Code:
    System:http://loinc.org Code:3178-1 Text:Culture, Blood
    Value: 05:10:12
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12222",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12222",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-11-21T16:48:18-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.74047",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-10T09:00:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "2093-3"
    }
    ],
    "text": "Cholesterol, Total"
    },
    "valueString": "<30/100 mg/dL",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-10T09:00:00-05:00
    Code:
    System:http://loinc.org Code:2093-3 Text:Cholesterol, Total
    Value:<30/100 mg/dL
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12216",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12216",
    "status": "final",
    "meta": {
    "lastUpdated": "2020-11-21T16:45:04-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.74047",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-10T08:00:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "2093-3"
    }
    ],
    "text": "Cholesterol, Total"
    },
    "valueString": ">123-128 mg/dL",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:final
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-10T08:00:00-05:00
    Code:
    System:http://loinc.org Code:2093-3 Text:Cholesterol, Total
    Value:>123-128 mg/dL
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12415",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12415",
    "status": "corrected",
    "meta": {
    "lastUpdated": "2020-11-21T17:43:08-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-21T17:28:00-05:00",
    "code": {
    "text": "WBC"
    },
    "valueQuantity": {
    "value": 4300,
    "unit": "g/L"
    },
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:corrected
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-21T17:28:00-05:00
    Code:
    Text:WBC
    Value:
    Unit:g/L Value:4300
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.12228",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.12228",
    "status": "cancelled",
    "meta": {
    "lastUpdated": "2020-11-21T17:33:09-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-17T09:11:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "6690-2"
    }
    ],
    "text": "WBC"
    },
    "valueString": "??",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:cancelled
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-17T09:11:00-05:00
    Code:
    System:http://loinc.org Code:6690-2 Text:WBC
    Value:??
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.17218",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.17218",
    "status": "entered-in-error",
    "meta": {
    "lastUpdated": "2020-12-02T18:37:02-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-01T08:29:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "17849-1"
    }
    ],
    "text": "Glucose Random"
    },
    "valueString": "<>180mg/dL",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:entered-in-error
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-01T08:29:00-05:00
    Code:
    System:http://loinc.org Code:17849-1 Text:Glucose Random
    Value:<>180mg/dL
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.16417",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.16417",
    "status": "entered-in-error",
    "meta": {
    "lastUpdated": "2020-12-02T17:35:31-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.74047",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-12-01T08:19:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "2093-3"
    }
    ],
    "text": "Cholesterol, Total"
    },
    "valueString": "Specimen tested for Staphylococcus aureus/MRSA, Streptococcus pyogenes and Enter",
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:entered-in-error
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-12-01T08:19:00-05:00
    Code:
    System:http://loinc.org Code:2093-3 Text:Cholesterol, Total
    Value:Specimen tested for Staphylococcus aureus/MRSA, Streptococcus pyogenes and Enter
    "
    }
    }
    },
    {
    "fullUrl": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation/156EA49F96FB45F0AB1DB0B59053C8B4.RES.17219",
    "resource": {
    "resourceType": "Observation",
    "id": "156EA49F96FB45F0AB1DB0B59053C8B4.RES.17219",
    "status": "entered-in-error",
    "meta": {
    "lastUpdated": "2020-12-02T18:46:14-05:00"
    },
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
    "code": "laboratory",
    "display": "Laboratory"
    }
    ]
    }
    ],
    "subject": {
    "reference": "Patient/156EA49F96FB45F0AB1DB0B59053C8B4",
    "display": "Ash,Renny-Obs-Nurs-Vitals Jean"
    },
    "encounter": {
    "reference": "Encounter/156EA49F96FB45F0AB1DB0B59053C8B4.112261",
    "display": "City General,Initial"
    },
    "effectiveDateTime": "2020-11-30T09:24:00-05:00",
    "code": {
    "coding": [
    {
    "system": "http://loinc.org",
    "code": "17849-1"
    }
    ],
    "text": "Glucose Random"
    },
    "valueInteger": 134,
    "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">Observation
    Patient:Ash,Renny-Obs-Nurs-Vitals Jean
    Status:entered-in-error
    Encounter:City General,Initial
    Category:Laboratory
    Effective Time:2020-11-30T09:24:00-05:00
    Code:
    System:http://loinc.org Code:17849-1 Text:Glucose Random
    Value:134
    "
    }
    }
    }
    ],
    "link": [
    {
    "relation": "self",
    "url": "https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/Observation?patient=156EA49F96FB45F0AB1DB0B59053C8B4&category=laboratory"
    }
    ]
    }

Dash in Patient by Identifier request is encoded twice

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
Request is encoded twice

Your environment

  • Edition of inferno (Community or Program): https://inferno.healthit.gov/inferno/
  • Version of inferno: latest available
  • Which browser and version(s) is the bug present on?: Chrome Version 83.0.4103.116 (Official Build) (64-bit)

Steps to reproduce
Patient needed with identifier:

{
"use": "usual",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR",
"display": "Medical Record Number"
}
],
"text": "Medical Record Number"
},
"system": "http://hospital.davinciproject.org",
"value": "123456"
}

Include:

  • The selected test suite: Patient Tests
  • The URL of the FHIR server being tested : https://davinci.collablynk.com/emr/fhir/R4
  • The Test ID, if it's a problem with a specific test. : USCP-02
  • Any required configuration options (client ID, client secret, etc.)

inferno_confidential
cf57bebe-b85f-47d4-a2b3-48b8312466a6

  • Anything else needed to make the issue occur.

Expected behavior
Dash in identifier=system|value must not be encoded twice

Real request must be the following
https://davinci.collablynk.com/emr/fhir/R4/Patient?identifier=http%3A%2F%2Fhospital.davinciproject.org%7C123456

Actual behavior
Second request with identifier=system|value is encoded twice
First - dash is encoded.
https://davinci.collablynk.com/emr/fhir/R4/Patient?identifier=http://hospital.davinciproject.org%7C123456

and actual invocation URL is

https://davinci.collablynk.com/emr/fhir/R4/Patient?identifier=http%3A%2F%2Fhospital.davinciproject.org%257C123456

USCMR-12 failing on must support element MedicationRequest.reported though we support reportedBoolean

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
"USCMR-12: All must support elements are provided in the MedicationRequest resources returned. Could not find reported in the 2 provided MedicationRequest resource(s)."
Our implementation supports the reportedBoolean flag only. This failure came in Inferno 1.4.

Inferno is installed in-house, using the internal validator

US Core clarified with 3.2 the following:
"The MedicationRequest resource can represent that information is from a secondary source using either a boolean flag or reference in MedicationRequest.reportedBoolean, or a reference using MedicationRequest.reportedReference to Practitioner or other resource.
Although both are marked as must support, the server systems are not required to support both a boolean and a reference, but SHALL choose to support at least one of these elements.
The client application SHALL support both elements."
http://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-medicationrequest.html

We understood the Inferno 1.4 release to relax must-support in the same fashion but are failing on reported.

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.4
  • Which browser and version(s) is the bug present on?:

Steps to reproduce
Tell us how to reproduce this issue.
Support reportedBoolean flag
Do NOT support reportedReference

Include:

  • The selected test suite
  • The URL of the FHIR server being tested
  • The Test ID, if it's a problem with a specific test.
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.

Expected behavior
Tell us what should happen.

Actual behavior
Tell us what happens instead. Include screenshots if possible.

The missing valueset banner has a link to the wrong github wiki section.

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
When you fire up the docker container for the program edition without importing valuesets, you get a banner saying:

Inferno is missing files needed to validate codes in FHIR Resources. To see how to load these files, please visit This Inferno page

The "This Inferno page" is linking to the Unit Tests section, not the Terminology section.

You probably intend to link to
https://github.com/onc-healthit/inferno-program#terminology-support
Not:
https://github.com/onc-healthit/inferno#unit-tests

Looks like this is the file that has the incorrect link:
https://github.com/onc-healthit/inferno-program/blob/development/lib/app/views/missing_valuesets.erb

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 2.9

Expected behavior
You probably intend to link to
https://github.com/onc-healthit/inferno-program#terminology-support
Not:
https://github.com/onc-healthit/inferno#unit-tests

Inferno test USCDR-13 failed because of a Must Support error for DocumentReference.content.attachment.url in the response.

Subject of the issue
Inferno Single Patient API Document Reference test USCDR-13 is failing because of criteria listed in the Must Support elements; it requires support of content.attachment.data and content.attachment.url (see Inferno output below)
According to HL7 FHIR® US Core Implementation Guide STU3 Release 3.1.1 , section 3.17.1.1 Mandatory and Must Support Data Elements each DocumentReference must have an address (e.g. url) where the document can be retrieved OR the content as inline base64 encoded data.
https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-documentreference.html
image

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.5.0
  • Which browser and version(s) is the bug present on?: Chrome

Steps to reproduce
Tell us how to reproduce this issue.
Use a test patient with the following charted Clinical Notes:
• Consultation Note (11488-4)
• Discharge Summary (18842-5)
• History & Physical Note (34117-2)
• Procedures Note (28570-0)
• Progress Note (11506-3)
The JSON output should contain content as inline base64 encoded data and not contain an address (e.g. url) in DocumentReference.content.attachment

Include:

Expected behavior
Tell us what should happen.
Inferno test USCDR-13 should not fail when Document Reference resource contains content as inline base 64 encoded data.

Actual behavior
Tell us what happens instead. Include screenshots if possible.

Test Result: Skip
×
USCDR-13: All must support elements are provided in the DocumentReference resources returned.
US Core Responders SHALL be capable of populating all data elements as part of the query results as specified by the US Core Server Capability Statement. This will look through the DocumentReference resources found previously for the following must support elements:
• author
• category
• content
• content.attachment
• content.attachment.contentType
• content.attachment.data
• content.attachment.url
• content.format
• context
• context.encounter
• context.period
• custodian
• date
• identifier
• status
• subject
• type
http://www.hl7.org/fhir/us/core/general-guidance.html#must-support
Message:
Could not find identifier, content.attachment.url in the 17 provided DocumentReference resource(s)
0 Requests

Capability statement validation indicates group export does not resolve

Subject of the issue
In the USCCAP-02 test, the result indicates that the group-export url does not resolve. Here is an image:
image

However, the URL this is resolvable. Here is the URL: http://hl7.org/fhir/uv/bulkdata/OperationDefinition/group-export. You can copy paste this to your browser window or postman and verify that the URL resolves.

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.0.2

Steps to reproduce
Run USCCAP-02 with any fhir server that defines the "$export" operation. You can view our server's metadata by going to: https://fhir-staging.bluebuttonpro.com/inferno-certification/metadata

CapabilityStatement validations don't check system-wide search params

Subject of the issue
CapabilityStatement allows you to specify search parameters in two places:

  • At the system level (CapabilityStatement.rest.searchParam) - these apply to all resources
  • At the resource level (CapabilityStatement.rest.resource.searchParam) - these only apply to the specific resource

Our server puts common parameters (_id, count, _revInclude, _include) at the system level since we support them for all resources. It does not appear that Inferno is checking that, and is failing us because we do not specify them in the resource-level searchParam.

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.4.1
  • Which browser and version(s) is the bug present on?: Chrome 88

Steps to reproduce
Tell us how to reproduce this issue.
Run the program validation on server that uses the server-level option for universally supported search params.

Include:

  • The selected test suite
  • The URL of the FHIR server being tested
  • The Test ID, if it's a problem with a specific test.
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.

Expected behavior
Tell us what should happen.
For validating that the common search parameters (_id, _count, etc.) are supported on a resource, check for both the system-level params (CapabilityStatement.rest.searchParams) and the resource-level params (CapabilityStatement.rest.resource.searchParam)

Actual behavior
Tell us what happens instead. Include screenshots if possible.
Validation will fail for any parameters that are only listed at the system level (i.e. it only checks the resource level search params)

Example cap statements:
capstatement.json.txt
capstatement.xml.txt

Related Person is a contained resource within the Care Team. When the such contained resource is included in the response, the Inferno Care Team test USCCT-01 is failing.

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 Single Patient API Care Team test USCCT-01 is issued an error message: Fatal Error undefined method ‘name’ for nil:NilClass due to Inferno is not supporting Related Person profile. According to HL7 FHIR Release 4, https://www.hl7.org/fhir/careteam-definitions.html#CareTeam.participant.member, CareTeam profile supports Related Person.

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.4.1
  • Which browser and version(s) is the bug present on?: Chrome

Steps to reproduce
Tell us how to reproduce this issue.
Patient needs to have a Related Person in the Care Team according to https://www.hl7.org/fhir/relatedperson.html
Run Single Patient API Care Team tests.

Include:

  • The selected test suite: Single Patient API
  • The URL of the FHIR server being tested: https://fhir-myrecord-sc.stagingcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43 (not a public URL)
  • The Test ID, if it's a problem with a specific test.: USCCT-01
  • Any required configuration options (client ID, client secret, etc.)
  • Anything else needed to make the issue occur.: Application workflow should allow to add a Related Person to the patient’s record.

Expected behavior
Tell us what should happen.
The Care Team test USCCT-01 should not fail when the response contains Related Person

Actual behavior
Tell us what happens instead. Include screenshots if possible.
image
Care Team error.docx

Disk space requirements for run_terminology.sh

The README currently explains that you must have 10gb of reserved memory to build the terminologies which is useful info, but currently says nothing about free disk space required.

I just ran the terminologies script while only having about 15gb free disk space and had to frantically start deleting things off my disk faster than it could import data / build sql indexes.

Patient tests erroring due to duplicate Patient.contact.name.id

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

Many Patient tests are erroring because a Patient.contact is repeated.
I'm not sure why Inferno is testing for duplicate Patient.contacts. There are plenty of workflows where one given related person may be added to the patient's record using different relationships: guardian, authorized representative and mother could all be associated to a given contact.

Error:
Patient.contact[3].name: Duplicate id value 'CI-12742541-0' * Patient.contact[2].name: Duplicate id value 'CI-12743963-0'

Tests Impacted:
USCP-01: Server returns valid results for Patient search by _id.
USCP-03: Server returns valid results for Patient search by name.
USCP-04: Server returns valid results for Patient search by birthdate+name.
USCP-12: Patient resources returned from previous search conform to the US Core Patient Profile.

Your environment

Steps to reproduce
Tell us how to reproduce this issue.
REQUEST:
GET 200 https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Patient?_id=12744437

RESPONSE:
Request
Headers
User-Agent: Ruby FHIR Client
Accept-Charset: utf-8
Accept: application/fhir+json
Authorization: Bearer
Response
Headers
content-type: application/fhir+json; charset=utf-8
transfer-encoding: chunked
connection: keep-alive
date: Tue, 16 Mar 2021 18:40:04 GMT
cache-control: no-cache
etag: W/"8d9b943a3dfd7427e5a6394d3894b6f6"
server-response-time: 1056.192052
vary: Origin
x-request-id: e6c4157a-5d29-494e-8579-1ff0f4edfc1d
x-runtime: 1.056078
x-cache: Miss from cloudfront
via: 1.1 9724c58d66570574c4bf5a2b0c0f3038.cloudfront.net (CloudFront)
x-amz-cf-pop: IAD79-C3
x-amz-cf-id: 9z9_-LoMZ-Z8aDb4x6UoCPafvc8WjJ8wa9vZAL_AQM7JquVIHaANlw==
Body
{
"resourceType": "Bundle",
"id": "cda2d440-72ab-4b7a-b781-23503b494a22",
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Patient?_id=12744437"
}
],
"entry": [
{
"fullUrl": "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Patient/12744437",
"resource": {
"resourceType": "Patient",
"id": "12744437",
"meta": {
"versionId": "13",
"lastUpdated": "2021-03-03T05:55:41.000Z"
},
"text": {
"status": "extensions",
"div": "<div xmlns="http://www.w3.org/1999/xhtml">

Patient

Name: KRAUS, DAVID

Status: Active

DOB: Jan 2, 1970

Birth Sex: Male

Administrative Gender: Male

Marital Status: Single

"
},
"extension": [
{
"valueCode": "M",
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
},
{
"extension": [
{
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2054-5",
"display": "Black or African American",
"userSelected": false
},
"url": "ombCategory"
},
{
"valueString": "Black or African American",
"url": "text"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2186-5",
"display": "Not Hispanic or Latino",
"userSelected": false
},
"url": "ombCategory"
},
{
"valueString": "Not Hispanic, Latino, or Spanish Origin",
"url": "text"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"id": "CI-490172192-0",
"use": "usual",
"type": {
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/4",
"code": "2",
"display": "Community Medical Record Number",
"userSelected": true
},
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR",
"display": "Medical record number",
"userSelected": false
}
],
"text": "Community Medical Record Number"
},
"system": "urn:oid:2.16.840.1.113883.3.787.0.0",
"value": "9002630555"
},
{
"id": "CI-490098947-1",
"use": "usual",
"type": {
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/4",
"code": "10",
"display": "MRN",
"userSelected": true
},
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR",
"display": "Medical record number",
"userSelected": false
}
],
"text": "MRN"
},
"system": "urn:oid:2.16.840.1.113883.6.1000",
"value": "490098947",
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"id": "CI-490098946-3",
"use": "usual",
"type": {
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/4",
"code": "22",
"display": "Military Id",
"userSelected": true
}
],
"text": "Military Id"
},
"system": "urn:oid:2.16.840.1.113883.3.42.10001.100001.12",
"value": "10050007806",
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"id": "CI-490160317-4",
"use": "usual",
"type": {
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/4",
"code": "2553236785",
"display": "MIllennium Person Identifier",
"userSelected": true
}
],
"text": "MIllennium Person Identifier"
},
"_system": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"value": "15230",
"period": {
"start": "2020-12-18T19:15:38.000Z"
}
}
],
"active": true,
"name": [
{
"id": "CI-12744437-0",
"use": "official",
"text": "KRAUS, DAVID",
"family": "KRAUS",
"given": [
"DAVID"
],
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"id": "CI-490098966-0",
"use": "usual",
"text": "INFERNO, JEFF",
"family": "INFERNO",
"given": [
"JEFF"
],
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"id": "CI-490211977-1",
"use": "old",
"text": "INFERNO, TESTONE",
"family": "INFERNO",
"given": [
"TESTONE"
],
"period": {
"start": "2020-09-28T10:34:27.000Z",
"end": "2021-03-03T05:55:41.000Z"
}
}
],
"telecom": [
{
"id": "CI-PH-29829142-0",
"system": "phone",
"value": "5739234567",
"rank": 1,
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"id": "CI-PH-29829144-1",
"system": "phone",
"value": "8162345123",
"use": "work",
"rank": 1,
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"id": "CI-PH-29829146-2",
"system": "phone",
"value": "9132221324",
"use": "home",
"rank": 1,
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"id": "CI-PH-29829145-3",
"system": "phone",
"value": "2125555554",
"use": "mobile",
"rank": 1,
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
}
],
"gender": "male",
"birthDate": "1970-01-02",
"deceasedBoolean": false,
"address": [
{
"id": "CI-24333243-0",
"use": "home",
"text": "9876 Main St\nKANSAS CITY, MO 64113\nUS",
"line": [
"9876 Main St"
],
"city": "KANSAS CITY",
"state": "MO",
"postalCode": "64113",
"country": "US",
"period": {
"start": "2021-01-20T18:18:17.000Z"
}
}
],
"maritalStatus": {
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/38",
"code": "309239",
"display": "Single",
"userSelected": true
},
{
"system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
"code": "U",
"display": "unmarried",
"userSelected": false
}
],
"text": "Single"
},
"contact": [
{
"relationship": [
{
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/351",
"code": "1152",
"display": "Emergency Contact",
"userSelected": true
},
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"code": "C",
"display": "Emergency Contact",
"userSelected": false
}
],
"text": "Emergency Contact"
}
],
"name": {
"id": "CI-12742541-0",
"use": "official",
"text": "HARRIS, DANA",
"family": "HARRIS",
"given": [
"DANA"
]
},
"telecom": [
{
"system": "phone",
"value": "2125555553",
"use": "home",
"rank": 1,
"period": {
"start": "2020-04-27T16:36:47.000Z"
}
},
{
"system": "email",
"value": "[email protected]",
"use": "home",
"rank": 1,
"period": {
"start": "2020-07-28T14:53:41.000Z"
}
}
],
"address": {
"use": "home",
"text": "\nUS",
"country": "US",
"period": {
"start": "2020-09-09T22:24:03.000Z"
}
},
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"relationship": [
{
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/351",
"code": "1153",
"display": "Family Member",
"userSelected": true
}
],
"text": "Family Member"
}
],
"name": {
"id": "CI-12743963-0",
"use": "official",
"text": "HARRIS, DANA",
"family": "HARRIS",
"given": [
"DANA"
],
"period": {
"start": "2020-09-16T21:28:50.000Z"
}
},
"telecom": [
{
"system": "phone",
"value": "2125555553",
"use": "home",
"rank": 1,
"period": {
"start": "2020-04-27T16:36:47.000Z"
}
},
{
"system": "email",
"value": "[email protected]",
"use": "home",
"rank": 1,
"period": {
"start": "2020-07-28T14:53:41.000Z"
}
}
],
"address": {
"use": "home",
"text": "\nUS",
"country": "US",
"period": {
"start": "2020-09-09T22:24:03.000Z"
}
},
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"relationship": [
{
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/351",
"code": "1156",
"display": "Guardian",
"userSelected": true
}
],
"text": "Guardian"
}
],
"name": {
"id": "CI-12743963-0",
"use": "official",
"text": "HARRIS, DANA",
"family": "HARRIS",
"given": [
"DANA"
],
"period": {
"start": "2020-09-16T21:28:50.000Z"
}
},
"telecom": [
{
"system": "phone",
"value": "2125555553",
"use": "home",
"rank": 1,
"period": {
"start": "2020-04-27T16:36:47.000Z"
}
},
{
"system": "email",
"value": "[email protected]",
"use": "home",
"rank": 1,
"period": {
"start": "2020-07-28T14:53:41.000Z"
}
}
],
"address": {
"use": "home",
"text": "\nUS",
"country": "US",
"period": {
"start": "2020-09-09T22:24:03.000Z"
}
},
"period": {
"start": "2020-09-28T10:34:27.000Z"
}
},
{
"relationship": [
{
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/351",
"code": "1156",
"display": "Guardian",
"userSelected": true
}
],
"text": "Guardian"
}
],
"name": {
"id": "CI-12742541-0",
"use": "official",
"text": "HARRIS, DANA",
"family": "HARRIS",
"given": [
"DANA"
]
},
"telecom": [
{
"system": "phone",
"value": "2125555553",
"use": "home",
"rank": 1,
"period": {
"start": "2020-04-27T16:36:47.000Z"
}
},
{
"system": "email",
"value": "[email protected]",
"use": "home",
"rank": 1,
"period": {
"start": "2020-07-28T14:53:41.000Z"
}
}
],
"address": {
"use": "home",
"text": "\nUS",
"country": "US",
"period": {
"start": "2020-09-09T22:24:03.000Z"
}
},
"period": {
"start": "2020-09-28T10:34:27.000Z",
"end": "2020-09-16T21:28:50.000Z"
}
}
],
"communication": [
{
"language": {
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/36",
"code": "151",
"display": "English",
"userSelected": true
},
{
"system": "urn:ietf:bcp:47",
"code": "en",
"display": "English",
"userSelected": false
}
],
"text": "English"
},
"preferred": true
}
],
"generalPractitioner": [
{
"id": "CI-490099001-0",
"reference": "Practitioner/11938004",
"display": "Bradford, MD, Michael Cerner"
}
]
}
}
]
}

Include:

Expected behavior
I would expect a failure when the same contact appears numerous times with different relationships

Actual behavior
Failures on numerous tests
image
image
image
image
image

Inferno Single Patient API MedicationRequest test USCMR-10 failed with contained Medication resource.

Inferno Standalone Patient App, MedicationRequest Tests, USCMR-10 test failed with the error message :MedicationRequest.medication.ofType(Reference): Unable to find matching profile.
The MedicationRequest resource includes a contained Medication Resource (see the output below).

Your environment

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.4.1
  • Which browser and version(s) is the bug present on?: Chrome

Steps to reproduce
Tell us how to reproduce this issue.
Use a test patient with medications and run Single Patient API MedicationRequest tests. Medicaction should be a contained resource within the MedicationRequest resource. According to HL7 FHIR® US Core Implementation Guide STU3 Release 3.1.1 guide, https://www.hl7.org/fhir/us/core/MedicationRequest-uscore-mo2.html MedicationRequest can include a reference to a contained Medication resource.

Include:

Actual behavior
Tell us what happens instead. Include screenshots if possible.

{
"resourceType": "MedicationRequest",
"id": "4B01EB2C42D349209991AB814DC0DB5F.10001",
"meta": {
"lastUpdated": "2020-11-16T18:22:35-05:00"
},
"medicationReference": {
"reference": "#10001"
},
"contained": [
{
"resourceType": "Medication",
"id": "10001",
"code": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "208416",
"display": "Sulfamethoxazole 400 MG / Trimethoprim 80 MG Oral Tablet [Bactrim]"
},
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "198334",
"display": "Sulfamethoxazole 400 MG / Trimethoprim 80 MG Oral Tablet"
}
],
"text": "sulfamethoxazole-trimethoprim"
}
}
],
"status": "active",
"intent": "order",
"reportedBoolean": false,
"subject": {
"reference": "Patient/4B01EB2C42D349209991AB814DC0DB5F",
"display": "Matchett,Greta-baby Blake"
},
"encounter": {
"reference": "Encounter/4B01EB2C42D349209991AB814DC0DB5F.108260",
"display": "Inferno,Initial"
},
"authoredOn": "2020-11-16T18:22:33-05:00",
"requester": {
"reference": "Practitioner/40134EF110CA4C07988F544E90057844",
"display": "Admin,Admin"
},
"dosageInstruction": [
{
"text": "sulfamethoxazole-trimethoprim (Bactrim) 400 mg-80 mg Tablet Directions: 1 tablet oral daily Continued By: Admin Admin "
}
],
"text": {
"status": "generated",
"div": "<div xmlns="http://www.w3.org/1999/xhtml\">MedicationRequest
Patient:Matchett,Greta-baby Blake;
Encounter:Inferno,Initial;
Status:active;
Intent:order;
Medication:
System:http://www.nlm.nih.gov/research/umls/rxnorm Code:208416 Display:Sulfamethoxazole 400 MG / Trimethoprim 80 MG Oral Tablet [Bactrim] Text:sulfamethoxazole-trimethoprim;
System:http://www.nlm.nih.gov/research/umls/rxnorm Code:198334 Display:Sulfamethoxazole 400 MG / Trimethoprim 80 MG Oral Tablet Text:sulfamethoxazole-trimethoprim;
Authored On:2020-11-16T18:22:33-05:00;
Dosage Instructions:sulfamethoxazole-trimethoprim (Bactrim) 400 mg-80 mg Tablet Directions: 1 tablet oral daily Continued By: Admin Admin ;
"
}
}

Observation validation fails when using effectivePeriod

When running the Single Patient API tests, the tests for Observations fail when I have one with the effectivePeriod field. This is the error message:
Invalid Observation: Observation.effective.ofType(Period): vs-1: if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day [($this as dateTime).toString().length() >= 8]

Imho, this error is incorrect, since the vs-1 constraint should only fire when the field is of type dateTime.
If I do not supply an Observation with an effectivePeriod, I cannot get all the tests to pass either, since it is one of the mustSupport elements.

  • Edition of inferno (Community or Program): Program
  • Version of inferno: 1.3.0

Steps to reproduce
Add an Observation with an effectivePeriod field to your server and run the Single Patient API tests on that server.
See some of the Observation tests fail with the error listed above.

Expected behavior
The Observation with effectivePeriod should pass validation of the constraint without any problem.

What is purpose of other scopes apart from required one at Standalone Patient Scope box.

Hi,

when the application is looking for only three resources i.e, Patient, Condition, Observation then what is purpose of passing other scopes which are automatically populated in the box.

however, the application is verifying the other resources that are not requested at the time of authorisation.

Suppose if user has given access to client only three resources i.e, Patient, Condition, Observation in that case if client request for other scope then it would be rejected.

Thanks,
Tarun

image

SMART on FHIR Discovery tests should only verify applicable capabilities are advertised at each endpoint

The (g)(10) program certification tests are designed so that implementers can use different FHIR & authorization endpoints for the standalone-patient and ehr-clinician launches. If an implementer chooses to do this, then the there shouldn't be an expectation for the two separate well-known endpoints to both advertise all capabilities. The well-known endpoint only needs to advertise capabilities appropriate for that endpoint, and therefore that use case.

See https://chat.fhir.org/#narrow/stream/179309-inferno/topic/Inferno.20standalone.20requires.20launch-ehr

This applies to the *-OSD-06 set of tests.

This may require slight rewording of this step in the ONC test procedure:

[Both] The health IT developer demonstrates the ability of the “.well-known/smart-configuration.json” path to support at least the following as detailed in the implementation specification adopted in § 170.215(a)(3):
“authorization_endpoint”;
“token_endpoint”; and
“capabilities” (including support for all the “SMART on FHIR Core Capabilities”).

Proprietary code/systems

Unknown proprietary codes and systems are issuing a warning. We recommend changing this to an "informational" message.

Missing required data elements in USCDI v1 that aren't represented in US Core v3.1

ONC certification criteria states that all USCDI v1 needs to be supported, including the following:

  • Patient Demographics - Suffix
  • Patient Demographics - Previous Name
  • Allergies and Intolerance - Reaction

However, US Core v3.1 does not currently tag relevant elements as 'MUST SUPPORT':

  • Patient.name.suffix
  • Patient.name.period
  • AllergyIntolerance.reaction

Since they are not marked as MUST SUPPORT, Inferno does not require them to be present before passing the tests. US Core is planning an errata release that will address this issue, but in the meantime Inferno should communicate the fact that these also need to be represented in order to meet the requirements of USCDI.

Unable to supply 2 date search parameters for CarePlan search by patient/category/date

Is your feature request related to a problem? Please describe it.
I am running inferno v2.9.0 locally and trying to validate against a locally run fhir server.

Describe the solution you'd like to see implemented
In our solution, we support 2 dates for CarePlan resource.
Eg: http://localhost/r4/2c4XXX-XXX-XXX-XXX5fde9f/CarePlan?patient=9898989&date=ge2020-01-08T15:40:00.000Z&date=le2020-01-08T15:40:36.000Z.
However I do not see how to extend USCore310CareplanSequence to add such a scenario. If i supply 2 dates, it overwrites and takes the latest variable

  • A description of the solution.
    Seeking recommendation
  • Details of the technical implementation, if you've thought about it.
  • Any caveats/tradeoffs of the proposed solution.

Describe alternatives you've considered
Looking for suggestions.

Also would like to see if I run locally and try to validate my locally run FHIR server, does inferno reads my capability statement and adjust the tests to be run accordingly? Did not see get any clarity from the documentation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.