FHIR Chat · importig CodeSystem with empty concept · hapi

Stream: hapi

Topic: importig CodeSystem with empty concept


view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 04:02):

hi everyone,
I've go an issue importing the german basic profile in hapi fhir 5.1. The issue is that the CodeSystem.concept is empty. My question is how can I import them ? Should I disable the validation, import them & then enable the validation again ?
Thank you in advance

view this post on Zulip Grahame Grieve (Aug 18 2020 at 04:49):

what version of FHIR, what's the value for content?

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 06:06):

hi,
FHIR R4. the files are form german base profile, the file is https://simplifier.net/packages/de.basisprofil.r4/0.9.11/files/142290/~json
thank you for checking

view this post on Zulip Grahame Grieve (Aug 18 2020 at 06:24):

then that shouldn't be a problem to load. What's the error and where does it come from?

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 06:28):

the error comes from the HAPI FHIR server : Profile http://hl7.org/fhir/StructureDefinition/shareablecodesystem, Element 'CodeSystem.concept': minimum required = 1, but only found 0

view this post on Zulip Grahame Grieve (Aug 18 2020 at 06:32):

well, it's not valid then. you can remove the profile claim...

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 06:33):

then I guess it makes sense to open an issue with the creators. Thank you!

view this post on Zulip Mareike Przysucha (Aug 18 2020 at 07:32):

@Gjergj Sheldija Do you mean with creators us from HL7 Germany?

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:08):

@Mareike Przysucha yes

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:12):

wanted to create an issue here https://github.com/hl7germany/basisprofil-de-r4/issues

view this post on Zulip Mareike Przysucha (Aug 18 2020 at 08:36):

I am asking because of this:
HL7 international also published empty codesystem here, e.g. http://terminology.hl7.org/CodeSystem/icnp. We followed this example, e.g. in https://simplifier.net/Basisprofil-DE-R4/alpha-id-duplicate-2 or in https://simplifier.net/Basisprofil-DE-R4/icd-10-gm-duplicate-2/~xml.

So I don't understand why it is okay for HL7 to publish empty code systems, and there is a problem with our code systems. Unless I missed a codesystem with a missing content-field, which might be possible.

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:37):

in their case they did not define a profile

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:38):

at least that's what i can see from comparing https://terminology.hl7.org/1.0.0/CodeSystem-icnp.json.html with https://simplifier.net/packages/de.basisprofil.r4/0.9.11/files/142290/~json

view this post on Zulip Mareike Przysucha (Aug 18 2020 at 08:39):

So the problem is the meta-tag?

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:40):

looks like
for the moment i'm testing a quick script with jq to strip that element and test importing all the files

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:41):

it makes sense, according to the doc https://www.hl7.org/fhir/resource.html#Meta > profile states : An assertion that the content conforms to a resource profile

view this post on Zulip Mareike Przysucha (Aug 18 2020 at 08:44):

I'll make an issue in our github-project.

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:55):

Thank you, created already. Is it ok ? https://github.com/hl7germany/basisprofil-de-r4/issues/108

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:55):

guess this is the one you created https://github.com/hl7germany/basisprofil-de-r4/issues/107 ?

view this post on Zulip Mareike Przysucha (Aug 18 2020 at 08:56):

correct. I'll make a cross reference.

view this post on Zulip Gjergj Sheldija (Aug 18 2020 at 08:56):

thank you :smile:


Last updated: Apr 12 2022 at 19:14 UTC