-
Type:
Wijzigingsverzoek
-
Status: Gesloten
-
Priority:
3
-
Resolution: Rejected
-
Fix Version/s: Niet van toepassing
-
Component/s: None
-
Blokkerend:Nee
-
Informatiestandaard:Alle
-
Informatiestandaard onderdelen:FHIR
-
FHIR Category:Profiles
Bij het valideren van een MedicationAgreement op basis van package 1.3.9 krijg ik de volgende foutmelding (in dit geval van Vonk fhir server)
{ "resourceType": "OperationOutcome", "id": "cfdbf809-884a-4dbd-80e0-ef83be8e816e", "meta": { "versionId": "6df15271-e5fe-4dda-9fc1-02204923454c", "lastUpdated": "2020-05-19T09:53:07.107+00:00" }, "issue": [ { "severity": "fatal", "code": "exception", "details": { "coding": [ { "system": "http://hl7.org/fhir/dotnet-api-operation-outcome", "code": "5003" } ], "text": "Internal logic failure: The value discriminator should have either a 'fixed[x]' or 'binding' element set on 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicationAgreement#MedicationRequest.modifierExtension.url'." }, "location": [ "MedicationRequest" ] } ] }
Lijjkt te maken te hebben met de slicing definitie van MedicationRequest.modifierExtension binnen het zib-MedicationAgreement profiel.
Om te reproduceren (met gebruik van de publieke vonk FHIR server):
```
curl -X POST \ 'https://vonk.fire.ly/R3/MedicationRequest/$validate' \ -H 'Accept: application/fhir+json' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/fhir+json' \ -H 'Postman-Token: 16b45f0d-2b3f-5826-fdd2-056f8d5797c9' \ -d '{ "resourceType": "MedicationRequest", "id": "142", "meta": { "profile": [ "http://nictiz.nl/fhir/StructureDefinition/zib-MedicationAgreement" ] }, "note": [ { "text": "test" } ] }'