FHIR Chat · Invalid codes · committers

Stream: committers

Topic: Invalid codes


view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:23):

GF#10292 - this task is about fixing a bug in the generator that allowed invalid bindings. The following bindings are illegal:
- ModuleMetadata.type
- ActionDefinition.type
- ElementDefinition.type
- Account.status
- Medication.vcategory
- MedicationStatement.category
- Sequence.type
- StructureDefinition,.type

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:23):

@Paul Knapp - please fix the accounting one. That should be CodeableConcept

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:24):

some of these others are just errors. Disappointing.

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:24):

but some represent real challenges to resolve

view this post on Zulip Bryn Rhodes (Jul 21 2016 at 22:26):

ModuleMetadata and ActionDefinition can actually be removed, no resources are using them anymore (and the type elements in the resources that have module metadata are Codings now). I just have to move the value sets defined there out, that's why they're still in the build. Should I just remove those?

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:27):

yes please

view this post on Zulip Bryn Rhodes (Jul 21 2016 at 22:51):

So I was using those definitions to get the value sets defined, how do I move those out to a shared definition?

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:52):

where are they used now?

view this post on Zulip Bryn Rhodes (Jul 21 2016 at 22:54):

ActivityDefinition, PlanDefinition, Library and Measure.

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:57):

and they all refer to it by the canonical url?

view this post on Zulip Bryn Rhodes (Jul 21 2016 at 22:58):

Yes.

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:58):

so you pick one of them and change the reference to valueset-[x] and put the value set in the same folder as the one that you picked

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:58):

leave the others as canonical references

view this post on Zulip Grahame Grieve (Jul 21 2016 at 22:59):

doesn't matter which one

view this post on Zulip Bryn Rhodes (Jul 21 2016 at 22:59):

Got it.

view this post on Zulip Brian Postlethwaite (Jul 21 2016 at 23:45):

Account.status should be required binding right?

view this post on Zulip Brian Postlethwaite (Jul 21 2016 at 23:45):

Account is still a VERY draft resource.

view this post on Zulip Grahame Grieve (Jul 21 2016 at 23:47):

yes, it should

view this post on Zulip Bryn Rhodes (Jul 22 2016 at 00:06):

Okay, I have a fix for ModuleMetadata, am I okay to commit?

view this post on Zulip Grahame Grieve (Jul 22 2016 at 00:12):

yes

view this post on Zulip Bryn Rhodes (Jul 22 2016 at 00:14):

Working on ActionDefinition now.

view this post on Zulip Brian Postlethwaite (Jul 22 2016 at 01:10):

Account status has been done and is now built too

view this post on Zulip Grahame Grieve (Jul 22 2016 at 01:11):

thanks

view this post on Zulip Bryn Rhodes (Jul 22 2016 at 01:46):

And I assume I'm okay to commit ActionDefinition too?

view this post on Zulip Grahame Grieve (Jul 22 2016 at 22:22):

yes

view this post on Zulip Paul Knapp (Jul 24 2016 at 18:03):

Not a coding? - what would be the value of translations? or text?

view this post on Zulip Lloyd McKenzie (Jul 24 2016 at 19:15):

@Paul Knapp - migration, support by multiple recipients of the same instance. (Presumption in FHIR is that interfaces should not have to be customized for individual receivers, even if that may have been historic convention.

view this post on Zulip Paul Knapp (Jul 24 2016 at 19:36):

SO if teh valueset is required what is the 'other' valueset one would translate to?

view this post on Zulip Grahame Grieve (Jul 24 2016 at 20:45):

Lloyd is assuming - based on wide experience - that different systems will be using different source terminologies, and that our experience is that there is much value in passing both the source code and the required code. This is one of the oldest capabilities in v2

view this post on Zulip Paul Knapp (Jul 24 2016 at 20:46):

SO then it should not be required and be CodeableConcept?

view this post on Zulip Grahame Grieve (Jul 24 2016 at 20:47):

well, it would usually be one or the other.

view this post on Zulip Grahame Grieve (Jul 24 2016 at 20:48):

looks it is code and required now, which is fine. I don't recall why I thought it should be CodeableConcept

view this post on Zulip Paul Knapp (Jul 24 2016 at 21:12):

ok - we can alwasy fixup later


Last updated: Apr 12 2022 at 19:14 UTC