ahdis/ch-emed-pmp

LIST: unknown extension in entries because of meta.profile

Closed this issue · 2 comments

ziegm commented

Slicing information (This element does not match any known slice defined in the profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement) in the validation of a Medication List document.
In the element meta.profile is the ch-emed-medicationstatement, not the more specific ch-emed-medicationstatement-list specified (also for the other entry types). That could be changed, to avoid the slicing information...

               "meta": {
                    "profile": [
                        "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement",
                        "http://hl7.org/fhir/StructureDefinition/MedicationStatement"
                    ]
                },
               "meta": {
                    "profile": [
                        "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation",
                        "http://hl7.org/fhir/StructureDefinition/Observation"
                    ]
                },

etc.

Indeed, this one is an easy fix. It will be included in the next release.

Redeployed with a better support for PML documents.