{

"resourceType": "TestReport",
"id": "testreport-example",
"identifier": {
  "system": "urn:ietf:rfc:3986",
  "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878"
},
"name": "TestReport Example for TestScript Example",
"status": "completed",
"testScript": {
  "reference": "TestScript/testscript-example"
},
"result": "pass",
"score": 100.0,
"tester": "HL7 Execution Engine",
"issued": "2016-10-07T08:25:34-05:00",
"participant": [
  {
    "type": "test-engine",
    "uri": "http://projectcrucible.org",
    "display": "Crucible"
  },
  {
    "type": "server",
    "uri": "http://fhir3.healthintersections.com.au/open",
    "display": "HealthIntersections STU3"
  }
],
"setup": {
  "action": [
    {
      "operation": {
        "result": "pass",
        "message": "DELETE Patient",
        "detail": "http://projectcrucible.org/permalink/1"
      }
    },
    {
      "assert": {
        "result": "pass",
        "message": "HTTP 204",
        "detail": "http://projectcrucible.org/permalink/1"
      }
    },
    {
      "operation": {
        "result": "pass",
        "message": "POST Patient/fixture-patient-create",
        "detail": "http://projectcrucible.org/permalink/1"
      }
    },
    {
      "assert": {
        "result": "pass",
        "message": "HTTP 201",
        "detail": "http://projectcrucible.org/permalink/1"
      }
    }
  ]
},
"test": [
  {
    "id": "01-ReadPatient",
    "name": "Read Patient",
    "description": "Read a Patient and validate response.",
    "action": [
      {
        "operation": {
          "result": "pass",
          "message": "GET Patient/fixture-patient-create",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "HTTP 200",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "Last-Modified Present",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "Response is Patient",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "Response validates",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "Patient.name.family 'Chalmers'",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "Patient.name.given 'Peter'",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "Patient.name.family 'Chalmers'",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "Patient.name.family 'Chalmers'",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      },
      {
        "assert": {
          "result": "pass",
          "message": "Patient expected values.",
          "detail": "http://projectcrucible.org/permalink/2"
        }
      }
    ]
  }
],
"teardown": {
  "action": [
    {
      "operation": {
        "result": "pass",
        "message": "DELETE Patient/fixture-patient-create.",
        "detail": "http://projectcrucible.org/permalink/3"
      }
    }
  ]
},
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}