FHIR Chat · Resource conversion · implementers

Stream: implementers

Topic: Resource conversion


view this post on Zulip Grahame Grieve (Jun 14 2018 at 01:36):

GF#13888 proposes the creation of a $convert to convert resources between json and xml

view this post on Zulip Grahame Grieve (Jun 14 2018 at 01:38):

other possible conversions of interest:

  • from one version to another
  • from one isomorph to another
  • from questionnaireResponse to specific resource(s)
  • from profile to questionnaire
  • from CDA/v2 to bundle (or vice versa) (or oven openEHR or openMHealth)

view this post on Zulip Grahame Grieve (Jun 14 2018 at 01:39):

I'd like to go ahead and add an operation with parameters to support all of these conversions, labelled as draft, with a warning that it's added to support experimentation, and implementers should only rely on it if they can deal with changes going forward

view this post on Zulip Jean Duteau (Jun 14 2018 at 03:11):

How does the caller know what maps you are going to use for the conversion?

view this post on Zulip Grahame Grieve (Jun 14 2018 at 03:12):

that would be one of the parameters if they cared to specify

view this post on Zulip Christiaan Knaap (Jun 14 2018 at 11:25):

I'd prefer different operations for these different types of conversions. Parameter list will get unwieldy if we stuff all in one I think.
Also, some will return 1 resource, other multiple. And it is easier to convey in the CapabilityStatement which you do and don't support. Suggestion:

$convert-format
$convert-version
(isomorph is unclear to me, it is not defined in the spec as far as I can find)
$explode-response
$generate-questionnaire
$convert-standard

view this post on Zulip Vadim Peretokin (Jun 14 2018 at 11:50):

Kind of related, if you'd like to convert resources xml <-> json just in the browser, https://fhir-formats.github.io does the job


Last updated: Apr 12 2022 at 19:14 UTC