Stream: test-validator
Topic: Test validator
Ilya Beda (Apr 14 2020 at 15:25):
{"resourceType": "Patient"}
Ilya Beda (Apr 14 2020 at 15:26):
@test-validator
test-validator (Apr 14 2020 at 15:26):
{ "id": "allok", "resourceType": "OperationOutcome", "issue": [ { "severity": "informational", "code": "informational", "diagnostics": "all ok" } ] }
Ilya Beda (Apr 14 2020 at 15:26):
{"resourceType": "Patient"}
Ilya Beda (Apr 14 2020 at 15:26):
@test-validator
test-validator (Apr 14 2020 at 15:26):
{ "id": "allok", "resourceType": "OperationOutcome", "issue": [ { "severity": "informational", "code": "informational", "diagnostics": "all ok" } ] }
Ilya Beda (Apr 14 2020 at 15:26):
{"resourceType": "Patient", "foo":"bar"}
Ilya Beda (Apr 14 2020 at 15:26):
@test-validator
test-validator (Apr 14 2020 at 15:26):
{ "resourceType": "OperationOutcome", "text": { "status": "generated", "div": "Invalid resource" }, "issue": [ { "severity": "fatal", "code": "invalid", "expression": "Patient.foo", "diagnostics": "extra property" } ], "id": "validationfail" }
Grahame Grieve (Apr 14 2020 at 19:50):
great. can we get the output to look something like this:
FHIR Validator: 1 error, 0 warnings & hints: "invalid resource" (details)
Grahame Grieve (Apr 14 2020 at 19:51):
Based on a response from the validator like this:
{ "resourceType": "OperationOutcome", "text": { "status": "generated", "div": "Invalid resource", "extension" : { "url" : "http://hl7.org/fhir/StructureDefinition/rendering-markdown", "valueMarkdown" : "**Invalid** resource" } }, "issue": [ { "severity": "fatal", "code": "invalid", "expression": "Patient.foo", "diagnostics": "extra property" } ], "id": "validationfail", "meta" : { "source" : "http://click.here/" } }
Ilya Beda (Apr 15 2020 at 09:43):
Sure, once we switch to the validation server that provides a rendering-markdown extension for OperationOutcome, I will update output.
Grahame Grieve (Apr 15 2020 at 11:43):
ok. we should have a server soon
Ilya Beda (May 14 2020 at 07:18):
Hi!
Are there any updates on getting the validation server?
Grahame Grieve (May 14 2020 at 07:19):
sigh. we got distracted by build issues, and put that aside for now :-( (Just so much to do 0 this is important but not urgent)
Ilia Kaplan (Jan 30 2022 at 11:06):
Hi ,
Can anyone please suggest where I can download negative test data . Specifically I need patient data ( not bundle)
Thanks
Grahame Grieve (Jan 31 2022 at 00:03):
what's 'negative test data'?
Last updated: Apr 12 2022 at 19:14 UTC