FHIR Chat · PHIN VADS to FHIR ValueSet · IG creation

Stream: IG creation

Topic: PHIN VADS to FHIR ValueSet


view this post on Zulip Andy Stevens (Dec 08 2021 at 21:00):

@Grahame Grieve I believe you're the one who originally implemented support in IGs for using PHIN VADS value set links by having that package with the ValueSet JSON (which has been amazingly useful so thank you). My team extensively uses PHIN VADS in conjunction with the CDC for projects and we were wondering if you were able to share how you were able to create those ValueSets, like if it's a script or something that converts them, so we could use it for some of the recently updated value sets as well as possibly share with the CDC the process that the community has been using to handle PHIN VADS in FHIR-related works.

view this post on Zulip Grahame Grieve (Dec 08 2021 at 21:09):

https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/misc/PhinVadsImporter.java

view this post on Zulip Grahame Grieve (Dec 08 2021 at 21:09):

I think there's problems with it, and running it again or something is on my to do list, so I can release a new PhinVads package

view this post on Zulip Grahame Grieve (Dec 08 2021 at 21:10):

this is my notes about it:

view this post on Zulip Grahame Grieve (Dec 08 2021 at 21:10):

Making new versions of this package:

  • delete everything in \source and all value sets in ..\packages\us.cdc.phinvads\package (but not package.json!)
  • go to https://phinvads.cdc.gov/vads/SearchVocab.action and then click on Browser all Value Sets
  • Download All value sets as text
  • Copy all the value sets from the zip into \source
  • run /org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/misc/PhinVadsImporter.java with 2 parameters
    \source
    ..\packages\us.cdc.phinvads\package
    (use the full directory names)

  • then make a new entry in package-list.json (remove current=true for the last package)

  • update the stated package version in ..\packages\us.cdc.phinvads\package\package.json
  • run the package release process

Last updated: Apr 12 2022 at 19:14 UTC