{ "description": "Testet die Validierungsoperation $validate-e-rezept mit einem gültigen E-Rezept-Bundle, wobei der Patient eine Allergy gegen das verschrieben Medikament hat.", "_filename": "Test_ValidateERezept_WARNING_PatientIntolerant.json", "package_name": "fhir.erezept.validator", "date": null, "publisher": null, "name": "ValidateERezept_WARNING_PatientIntolerant", "type": null, "experimental": null, "resourceType": "TestScript", "title": null, "package_version": "0.2.1", "status": "active", "id": "29cc1056-d587-43c3-87a9-a95bea697ea5", "kind": null, "url": "https://example.org/fhir/TestScript/validate-e-rezept-ok", "fixture": [ { "id": "validERezeptBundle", "resource": { "reference": "/TODO/Example_Request_003_minimum_incl_allergyIntolerance_match.json" }, "autocreate": false, "autodelete": false } ], "version": null, "test": [ { "name": "Validiere gültiges E-Rezept-Bundle, wobei der Patient eine Allergy gegen das verschrieben Medikament hat.", "action": [ { "operation": { "type": { "code": "operation" }, "accept": "application/fhir+json", "params": "$validate-e-rezept", "sourceId": "validERezeptBundle", "contentType": "application/fhir+json", "description": "Führe $validate-e-rezept mit gültigem E-Rezept-Bundle aus", "encodeRequestUrl": true } }, { "assert": { "resource": "OperationOutcome", "description": "Response ist ein OperationOutcome", "warningOnly": false } }, { "assert": { "response": "okay", "description": "Response ist 'okay'", "warningOnly": false } }, { "assert": { "path": "issue[0].severity", "value": "information", "operator": "equals", "description": "Issue Severity ist 'information'", "warningOnly": false } }, { "assert": { "path": "issue[0].code", "value": "information", "operator": "equals", "description": "Issue Code ist 'information'", "warningOnly": false } }, { "assert": { "path": "issue[0].details.text", "value": "okay", "operator": "equals", "description": "Details Text ist 'OK'", "warningOnly": false } } ] } ] }