This page is part of the FHIR Specification (v0.06: DSTU 1 Ballot 2). The current version which supercedes this version is 4.0.1. For a full list of available versions, see the Directory of published versions

 

Example of test

{"Test": {
  "text": {
    "status": "generated",
    "div": "<div>This contains correct corner-cases<\/div>"
  },
  "instantCorr": [
    {"value": "2012-12-31T12:01:24+05:00"},
    {"value": "2012-12-31T12:01:24Z"},
    {"value": "2012-12-31T12:01:24-01:30"}
  ],
  "uriCorr": [
    {"value": "www.hl7.org/fhir"},
    {"value": "http://www.hl7.org/fhir#somewhere"},
    {"value": "https://www.hl7.org/fhir:81"},
    {"value": "https://www.hl7.org/fhir:81?param=25"},
    {"value": "http://myUrl/%2E%2E/%2E%2E"},
    {"value": "ftp://ftp.student.vu.nl"},
    {"value": "/new/index.htm"}
  ],
  "decimalCorr": [
    {"value": "1234567890123456.1234567890123456"},
    {"value": "1234"},
    {"value": "0.5"},
    {"value": "0.314"}
  ],
  "stringCorr": [
    {"value": "nice"},
    {"value": "nice"}
  ],
  "integerCorr": [
    {"value": "2147483647"},
    {"value": "1"},
    {"value": "0"}
  ],
  "booleanCorr": [
    {"value": "org.hl7.fhir.instance.model.Boolean@38a35880"},
    {"value": "org.hl7.fhir.instance.model.Boolean@6c07588c"},
    {"value": "org.hl7.fhir.instance.model.Boolean@564686bc"},
    {"value": "org.hl7.fhir.instance.model.Boolean@3037cce4"}
  ],
  "b64Corr": [
    {"value": "cGxlYXN1cmUu"},
    {"value": "YW55IGNhcm5hbCBwbGVhc3VyZQ=="}
  ]
}}