FHIR Chat · unifhir testing (5/21) · cql

Stream: cql

Topic: unifhir testing (5/21)


view this post on Zulip Sam Sayer (May 18 2021 at 15:52):

@Greg Hunt @Alyson Rodgers We're getting a 502 when we try and do a GET or POST

view this post on Zulip Alyson Rodgers (May 18 2021 at 15:53):

What is the request URL you're trying?

view this post on Zulip Lauren DiCristofaro (May 18 2021 at 15:53):

GETs seem to be okay, but we're having problems with POSTing a Measure

view this post on Zulip Matthew Gramigna (May 18 2021 at 15:53):

POST http://connectathon.unifhir-nonprod.hcqis.org/fhir/Measure

view this post on Zulip Matthew Gramigna (May 18 2021 at 15:54):

This is the JSON content we have in the body. https://github.com/DBCG/connectathon/blob/master/fhir401/bundles/measure/EXM104-8.2.000/EXM104-8.2.000-files/measure-EXM104-8.2.000.json

We expected to maybe hit an issue with the reference resolving. But it gives us 502 bad gateway with the following error message:

{
  message: 'An invalid response was received from the upstream server'
}

view this post on Zulip Alyson Rodgers (May 18 2021 at 15:55):

looking...

view this post on Zulip Greg Hunt (May 18 2021 at 15:56):

Looking to see if this a routing issue

view this post on Zulip Greg Hunt (May 18 2021 at 16:01):

Ok I am updating the submit-data route to be exact

view this post on Zulip Greg Hunt (May 18 2021 at 16:01):

pushing changes now

view this post on Zulip Lauren DiCristofaro (May 18 2021 at 16:02):

We're not trying to use the $submit-data operation yet. Just trying to POST the measure to get it set up for $submit-data

view this post on Zulip Alyson Rodgers (May 18 2021 at 16:04):

understood @Lauren DiCristofaro . We think our routing rules were sending you to the $submit-data handler by mistake for your POST /Measure requests

view this post on Zulip Greg Hunt (May 18 2021 at 16:06):

OK try now

view this post on Zulip Greg Hunt (May 18 2021 at 16:06):

What to hijack Room 4?

view this post on Zulip Sam Sayer (May 18 2021 at 16:09):

let's do that, i think technically there is a break now so we should be able to use it

view this post on Zulip Sam Sayer (May 18 2021 at 16:10):

my zoom doesn't seem to want to cooperate :(

view this post on Zulip Greg Hunt (May 18 2021 at 17:08):

OK I fixed the header size issue

view this post on Zulip Greg Hunt (May 18 2021 at 18:07):

We are back in Room 4

view this post on Zulip Greg Hunt (May 18 2021 at 18:22):

@Matthew Gramigna hows it going

view this post on Zulip Matthew Gramigna (May 18 2021 at 18:24):

Sorry breakout went long.

We got a measure POST working after fixing some of the validation errors, now working on pulling out a submit data payload to be able to send at it to debug

view this post on Zulip Matthew Gramigna (May 18 2021 at 18:25):

Will join breakout in a bit

view this post on Zulip Matthew Gramigna (May 18 2021 at 18:30):

Working through some issues on our end with our payload. Our measureReport param uses ResourceType/id to reference the measure, not canonical URL. Your server expects the latter which is correct so we need to change it

view this post on Zulip Greg Hunt (May 18 2021 at 18:37):

2021/05/18 18:33:49 [warn] 23#0: *79319 a client request body is buffered to a temporary file /kong_prefix/client_body_temp/0000000004, client: 100.65.51.243, server: kong, request: "POST /fhir/Measure/60a3ed15b1bce66d27c4bd53/$submit-data HTTP/1.1", host: "connectathon.unifhir-nonprod.hcqis.org"
100.65.51.243 - - [18/May/2021:18:33:50 +0000] "POST /fhir/Measure/60a3ed15b1bce66d27c4bd53/$submit-data HTTP/1.1" 500 15 "-" "PostmanRuntime/7.26.8"
100.65.51.243 - - [18/May/2021:18:35:07 +0000] " }," 400 12 "-" "-"

view this post on Zulip Matthew Gramigna (May 18 2021 at 18:43):

Yeah I tested submit data manually with no resources, just measure report and patient. and it worked fine.

Updating the test client now to handle some nuanced cases

view this post on Zulip Alyson Rodgers (May 18 2021 at 19:22):

@Lauren DiCristofaro and @Matthew Gramigna we are deploying changes to support GET /fhir/Measure?version={version}. hope it helps simplify your changes

view this post on Zulip Matthew Gramigna (May 18 2021 at 19:56):

I think we are at hopefully the last error for submit data. Has to do with our test data

view this post on Zulip Matthew Gramigna (May 18 2021 at 19:56):

we're getting 422 unprocessable entity with this error message image.png

view this post on Zulip Matthew Gramigna (May 18 2021 at 19:56):

This was auto-generated by synthea on an Encounter resource

view this post on Zulip Alyson Rodgers (May 18 2021 at 20:31):

so is the issue that the particular code system doesn't exist? Can it be added manually?

view this post on Zulip Matthew Gramigna (May 18 2021 at 21:00):

@Alyson Rodgers yes, let's try that. Support for CRUD on the CodeSystem resource needs to be added to uniFHIR to allow us to do that, but we can test that

view this post on Zulip Matthew Gramigna (May 19 2021 at 12:17):

{
  "resourceType" : "CodeSystem",
  "id" : "diagnosis-role",
  "meta" : {
    "lastUpdated" : "2019-11-01T09:29:23.356+11:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "pa"
  }],
  "url" : "http://terminology.hl7.org/CodeSystem/diagnosis-role",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.1054"
  }],
  "version" : "4.0.1",
  "name" : "DiagnosisRole",
  "status" : "draft",
  "experimental" : false,
  "publisher" : "FHIR Project team",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "This value set defines a set of codes that can be used to express the role of a diagnosis on the Encounter or EpisodeOfCare record.",
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/diagnosis-role",
  "content" : "complete",
  "concept" : [{
    "code" : "AD",
    "display" : "Admission diagnosis"
  },
  {
    "code" : "DD",
    "display" : "Discharge diagnosis"
  },
  {
    "code" : "CC",
    "display" : "Chief complaint"
  },
  {
    "code" : "CM",
    "display" : "Comorbidity diagnosis"
  },
  {
    "code" : "pre-op",
    "display" : "pre-op diagnosis"
  },
  {
    "code" : "post-op",
    "display" : "post-op diagnosis"
  },
  {
    "code" : "billing",
    "display" : "Billing"
  }]
}

view this post on Zulip Matthew Gramigna (May 19 2021 at 12:40):

measure ID: 60a3ec49b1bce66d27c4bd51

view this post on Zulip Matthew Gramigna (May 19 2021 at 12:41):

http://hl7.org/fhir/diagnosis-role

view this post on Zulip Matthew Gramigna (May 19 2021 at 14:50):

Successful test result screenshots Screen-Shot-2021-05-19-at-10.49.01-AM.png Screen-Shot-2021-05-19-at-10.47.54-AM.png Screen-Shot-2021-05-19-at-10.47.46-AM.png Screen-Shot-2021-05-19-at-10.47.06-AM.png


Last updated: Apr 12 2022 at 19:14 UTC