FHIR Chat · Test validator · test-validator

Stream: test-validator

Topic: Test validator


view this post on Zulip Ilya Beda (Apr 14 2020 at 15:25):

{"resourceType": "Patient"}

view this post on Zulip Ilya Beda (Apr 14 2020 at 15:26):

@test-validator

view this post on Zulip test-validator (Apr 14 2020 at 15:26):

{
  "id": "allok",
  "resourceType": "OperationOutcome",
  "issue": [
    {
      "severity": "informational",
      "code": "informational",
      "diagnostics": "all ok"
    }
  ]
}

view this post on Zulip Ilya Beda (Apr 14 2020 at 15:26):

{"resourceType": "Patient"}

view this post on Zulip Ilya Beda (Apr 14 2020 at 15:26):

@test-validator

view this post on Zulip test-validator (Apr 14 2020 at 15:26):

{
  "id": "allok",
  "resourceType": "OperationOutcome",
  "issue": [
    {
      "severity": "informational",
      "code": "informational",
      "diagnostics": "all ok"
    }
  ]
}

view this post on Zulip Ilya Beda (Apr 14 2020 at 15:26):

{"resourceType": "Patient", "foo":"bar"}

view this post on Zulip Ilya Beda (Apr 14 2020 at 15:26):

@test-validator

view this post on Zulip 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"
}

view this post on Zulip 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)

view this post on Zulip 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/"
  }
}

view this post on Zulip 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.

view this post on Zulip Grahame Grieve (Apr 15 2020 at 11:43):

ok. we should have a server soon

view this post on Zulip Ilya Beda (May 14 2020 at 07:18):

Hi!
Are there any updates on getting the validation server?

view this post on Zulip 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)

view this post on Zulip 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

view this post on Zulip Grahame Grieve (Jan 31 2022 at 00:03):

what's 'negative test data'?


Last updated: Apr 12 2022 at 19:14 UTC