FHIR Chat · Sample Data for Current Build of IG · Da Vinci/plan-net-connectathon

Stream: Da Vinci/plan-net-connectathon

Topic: Sample Data for Current Build of IG


view this post on Zulip Saul Kravitz (Aug 19 2020 at 17:28):

Sample data for current build version is here: https://github.com/HL7-DaVinci/pdex-plan-net-sample-data/tree/patient-api

view this post on Zulip Lee Surprenant (Aug 19 2020 at 17:56):

I built the samples and hit my first issue, investigating...
pharmacy-healthcareservice-020dc4c3a0f0cd9c0c99c2273

        {
            "severity": "error",
            "code": "invariant",
            "details": {
                "text": "generated-plannet-HealthcareService-1: Constraint violation: extension('http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-NewPatients-extension').count() = 1"
            },
            "expression": [
                "HealthcareService"
            ]
        },

view this post on Zulip Lee Surprenant (Aug 19 2020 at 17:59):

looks like its a difference in cardinality from the IG version our server is enforcing which had 1..1 for this extension

view this post on Zulip Lee Surprenant (Aug 19 2020 at 18:28):

ok, i updated our server and there's even more invalid content warnings now

view this post on Zulip Lee Surprenant (Aug 19 2020 at 18:29):

have you ran the samples through a validator yet?

view this post on Zulip Lee Surprenant (Aug 19 2020 at 18:30):

for example, lots of errors about missing the newly-required delivery-method extension

view this post on Zulip Lee Surprenant (Aug 19 2020 at 18:37):

is that what you were trying to warn me about?

view this post on Zulip Lee Surprenant (Sep 08 2020 at 16:26):

@Saul Kravitz has the sample data been updated for this week's connectathon?

view this post on Zulip Saul Kravitz (Sep 09 2020 at 11:34):

Yes. Saw your request to add a license and will try to add it today.

Get Outlook for iOS<https://aka.ms/o0ukef>

view this post on Zulip Lee Surprenant (Sep 09 2020 at 12:30):

cool, I think I'll update our server with the latest data then. i see our old endpoints are on the wiki page already, should I go ahead and update that to point at the server env we're using this time around? (we tear it down after the events)

view this post on Zulip Lee Surprenant (Sep 09 2020 at 12:36):

i found the hl7-september-connectathon branch and had a look yesterday. I think its "close" to right, but I had to make the following modifications for it to conform to the latest draft of the IG:

  • for Practitioner resources, replace "Memorized proficiency" (code: 06) with "Elementary proficiency" (code: 10)
  • for Organization resources, in the endpoint-usecase extension, fix the casing of the sub-extensions: "Type" to "type" and "Standard" to "standard"
  • for HealthcareService and Location, fix the code values in the acceptingPatients extension:
    • yes -> newpt
    • no -> nopt
    • existing -> existptonly

view this post on Zulip Saul Kravitz (Sep 09 2020 at 13:37):

Hi @Lee Surprenant , The master branch of the sample data generation is now the latest/greatest.
See the license cited here https://github.com/HL7-DaVinci/pdex-plan-net-sample-data/blob/master/README.md

view this post on Zulip Saul Kravitz (Sep 09 2020 at 13:38):

The hl7-september-connectathon branch was from September 2019....yes, we've been working on this for that long!

view this post on Zulip Lee Surprenant (Sep 09 2020 at 13:43):

awesome, thanks saul!

view this post on Zulip Lee Surprenant (Sep 09 2020 at 13:44):

that branch i mentioned was 11 commits ahead of master and github claimed was updated 7 days ago, so i thought maybe it must be the right one :-)

view this post on Zulip Lee Surprenant (Sep 09 2020 at 15:28):

@Saul Kravitz fyi i just switched over to the master branch and, unless i did something wrong, i think it has the same issues mentioned above

view this post on Zulip Saul Kravitz (Sep 09 2020 at 16:43):

@Lee Surprenant I will try to take a look this afternoon.

view this post on Zulip Saul Kravitz (Sep 09 2020 at 19:07):

hi @Lee Surprenant -- I've attempted to address all the issues you raised, and discovered some additional codes that had changed. The code has been pushed to github, so you should be able to try it.

Our server will be reloaded sometime this afternoon/evening.

view this post on Zulip Lee Surprenant (Sep 09 2020 at 19:13):

I think I'm still seeing bad acceptingPatients values in the Location resources

view this post on Zulip Lee Surprenant (Sep 09 2020 at 19:13):

checking on it

view this post on Zulip Lee Surprenant (Sep 09 2020 at 19:15):

yeah, it uses "existingptfam" but thats not a valid code

view this post on Zulip Lee Surprenant (Sep 09 2020 at 19:15):

it should be existptfam (per https://build.fhir.org/ig/HL7/davinci-pdex-plan-net/ValueSet-AcceptingPatientsVS.html)

view this post on Zulip Lee Surprenant (Sep 09 2020 at 19:17):

and the same issue in HealthcareService

view this post on Zulip Saul Kravitz (Sep 09 2020 at 19:53):

Argh...fixed that one too...it is the same code for both. Fixed and pushed to github.


Last updated: Apr 12 2022 at 19:14 UTC