FHIR Chat · Additional parameters for $health-card-issue · smart/health-cards

Stream: smart/health-cards

Topic: Additional parameters for $health-card-issue


view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:33):

I've defined two additional parameters in my implementation of $health-card-issue.

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:33):

The first is trivial, but useful for demonstration purposes: add images=true

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:33):

http://test.fhir.org/r4/Patient/1026/$health-cards-issue?credentialType=https://smarthealth.cards%23health-card&images=true

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:34):

the second is little more difficult. The spec says:

view this post on Zulip Josh Mandel (Sep 20 2021 at 22:36):

Images: cool! How do you tell which VC an image corresponds to? Just parse it and see?

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:36):

yes I decided not to worry about that for now. They will be in order, but they effectively have separate consumers, I think

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:37):

I mean, I could do something about that but it would be clunky

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:37):

on the second issue:

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:37):

The spec says:

Verifiers SHALL be able to meaningfully process and interpret codes from ALL of the systems listed above

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:37):

AIR, GTIN, CVX, SCT, ICD-11, ATC

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:37):

but in fact, that this statement is not true in reality: it's not happening.

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:39):

and this is likely an operational problem for us in Australia in the short term. So I have a parameter display=true. if you provide that, the immunization and observation codes will include a display, even though the display is prohibited.

view this post on Zulip Josh Mandel (Sep 20 2021 at 22:39):

(this comes back to our vocabulary thread (I think the list is too long and includes things that are difficult or impossible to support, and which don't provide real value -- they're just there to avoid making jurisdictions angry.)

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:39):

right GTIN is impossible

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:40):

http://test.fhir.org/r4/Patient/1026/$health-cards-issue?credentialType=https://smarthealth.cards%23health-card&images=true&displays=true

view this post on Zulip Josh Mandel (Sep 20 2021 at 22:40):

Cheating on display is a great move for improving display to consumers, but doesn't help verifiers verify automatically

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:40):

leads to an immunization that looks like this:

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:41):

{
              "resourceType" : "Immunization",
              "status" : "completed",
              "vaccineCode" : {
                "coding" : [
                  {
                    "system" : "https://www.humanservices.gov.au/organisations/health-professionals/enablers/air-vaccine-code-formats",
                    "code" : "COVAST"
                  }
                ]
              },
              "patient" : {
                "reference" : "resource:0"
              },
              "occurrenceDateTime" : "2021-08-28",
              "performer" : [
                {
                  "actor" : {
                    "display" : "Blackburn Clinic"
                  }
                }
              ]
            }

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:41):

oh. so much for that. I need to do more work there :-(

view this post on Zulip Josh Mandel (Sep 20 2021 at 22:41):

Haha

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:42):

forgot to provide the code system in question !

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:43):

right, looks like this:

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:43):

{
              "resourceType" : "Immunization",
              "status" : "completed",
              "vaccineCode" : {
                "coding" : [
                  {
                    "system" : "https://www.humanservices.gov.au/organisations/health-professionals/enablers/air-vaccine-code-formats",
                    "code" : "COVAST",
                    "display" : "COVID-19 Vaccine AstraZeneca"
                  }
                ]
              },
              "patient" : {
                "reference" : "resource:0"
              },
              "occurrenceDateTime" : "2021-08-28",
              "performer" : [
                {
                  "actor" : {
                    "display" : "Blackburn Clinic"
                  }
                }
              ]
            }

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:44):

doesn't help verifiers verify automatically

Well... I can verify them all except GTIN. No one can verify them, I think. But you can't even support GTIN.

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:45):

if you support the code system, you look up the code. If you don't... you can't do anything with it either. But showing the code to a consumer... a non-starter. So ignore the display if you don't need it

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:45):

so: I really think that display should not be prohibited. Sure, discuss the cost of including it, and the issues, but it has to be allowed unless the terminology approach changes

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:48):

here's the difference it makes in a little known operating system:

view this post on Zulip Grahame Grieve (Sep 20 2021 at 22:48):

0227FEE7-3116-4215-8E14-9A1B5F095E7D.jpg

view this post on Zulip Peter Jordan (Sep 20 2021 at 23:43):

@Grahame Grieve - any thought being given to mapping from that Australian Code System (with the lovely URI) for this purpose? We're mapping NZMT codes to CVX in NZ internal implementations already as no one outside of NZ supports NZMT.

view this post on Zulip Grahame Grieve (Sep 20 2021 at 23:44):

I do not know. @Michael Lawley ?

view this post on Zulip Grahame Grieve (Sep 20 2021 at 23:46):

How are you managing the mapping?


Last updated: Apr 12 2022 at 19:14 UTC