medizininformatik-initiative / kerndatensatzmodul-labor

Kerndatensatzmodul Labordaten
0 stars 1 forks source link

Snapshot missing value[x] slicing #3

Closed julsas closed 8 months ago

julsas commented 2 years ago

Momentan gibt es ein Problem mit den von Simplifier generierten Snapshots z.B. beim Reprofiling mit fsh fehlt auf value[x] der slicing discriminator und rules.

error Cannot read property 'discriminator' of undefined

Kann gefixt werden durch hinzufügen im Snapshot von:

                "slicing": {
                    "discriminator": [
                        {
                            "type": "type",
                            "path": "$this"
                        }
                    ],
                    "ordered": false,
                    "rules": "open"
                },
alexzautke commented 2 years ago

@julsas Bitte einmal im FSH Zulip Stream nachfragen. Der Discriminator für einen Type Slice sollte optional sein.

julsas commented 2 years ago

https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/Error.20w.2F.20type.20slices.20missing.20discriminator