Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Testreport-example.ttl

Example TestReport/testreport-example (Turtle)

FHIR Infrastructure Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification )

General TestReport Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/TestReport/testreport-example> a fhir:TestReport;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "testreport-example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: testreport-example</p><p><b>identifier</b>: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878</p><p><b>name</b>: TestReport Example for TestScript Example</p><p><b>status</b>: completed</p><p><b>testScript</b>: <a>TestScript/testscript-example</a></p><p><b>result</b>: pass</p><p><b>score</b>: 100.0</p><p><b>tester</b>: HL7 Execution Engine</p><p><b>issued</b>: 07/10/2016 8:25:34 AM</p><blockquote><p><b>participant</b></p><p><b>type</b>: test-engine</p><p><b>uri</b>: <a>http://projectcrucible.org</a></p><p><b>display</b>: Crucible</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: server</p><p><b>uri</b>: <a>http://fhir3.healthintersections.com.au/open</a></p><p><b>display</b>: HealthIntersections STU3</p></blockquote><blockquote><p><b>setup</b></p><blockquote><p><b>action</b></p><h3>Operations</h3><table><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>DELETE Patient</td><td><a>http://projectcrucible.org/permalink/1</a></td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>HTTP 204</td><td>http://projectcrucible.org/permalink/1</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Operations</h3><table><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>POST Patient/fixture-patient-create</td><td><a>http://projectcrucible.org/permalink/1</a></td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>HTTP 201</td><td>http://projectcrucible.org/permalink/1</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Read Patient</p><p><b>description</b>: Read a Patient and validate response.</p><blockquote><p><b>action</b></p><h3>Operations</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote></blockquote><blockquote><p><b>teardown</b></p><blockquote><p><b>action</b></p><h3>Operations</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote></blockquote></div>"
  ];
  fhir:TestReport.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878" ]
  ];
  fhir:TestReport.name [ fhir:value "TestReport Example for TestScript Example"];
  fhir:TestReport.status [ fhir:value "completed"];
  fhir:TestReport.testScript [
     fhir:link <http://hl7.org/fhir/TestScript/testscript-example>;
     fhir:Reference.reference [ fhir:value "TestScript/testscript-example" ]
  ];
  fhir:TestReport.result [ fhir:value "pass"];
  fhir:TestReport.score [ fhir:value "100.0"^^xsd:decimal];
  fhir:TestReport.tester [ fhir:value "HL7 Execution Engine"];
  fhir:TestReport.issued [ fhir:value "2016-10-07T08:25:34-05:00"^^xsd:dateTime];
  fhir:TestReport.participant [
     fhir:index 0;
     fhir:TestReport.participant.type [ fhir:value "test-engine" ];
     fhir:TestReport.participant.uri [ fhir:value "http://projectcrucible.org" ];
     fhir:TestReport.participant.display [ fhir:value "Crucible" ]
  ], [
     fhir:index 1;
     fhir:TestReport.participant.type [ fhir:value "server" ];
     fhir:TestReport.participant.uri [ fhir:value "http://fhir3.healthintersections.com.au/open" ];
     fhir:TestReport.participant.display [ fhir:value "HealthIntersections STU3" ]
  ];
  fhir:TestReport.setup [
     fhir:TestReport.setup.action [
       fhir:index 0;
       fhir:TestReport.setup.action.operation [
         fhir:TestReport.setup.action.operation.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.operation.message [ fhir:value "DELETE Patient" ];
         fhir:TestReport.setup.action.operation.detail [ fhir:value "http://projectcrucible.org/permalink/1" ]

[a fhir:TestReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "testreport-example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestReport</b><a name=\"testreport-example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource TestReport &quot;testreport-example&quot; </p></div><p><b>identifier</b>: id: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878</p><p><b>name</b>: TestReport Example for TestScript Example</p><p><b>status</b>: completed</p><p><b>testScript</b>: <a href=\"http://example.com/TestScript/testscript-example\">http://example.com/TestScript/testscript-example</a></p><p><b>result</b>: pass</p><p><b>score</b>: 100.0</p><p><b>tester</b>: HL7 Execution Engine</p><p><b>issued</b>: 2016-10-07T08:25:34-05:00</p><blockquote><p><b>participant</b></p><p><b>type</b>: test-engine</p><p><b>uri</b>: <a href=\"http://projectcrucible.org\">http://projectcrucible.org</a></p><p><b>display</b>: Crucible</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: server</p><p><b>uri</b>: <a href=\"http://fhir3.healthintersections.com.au/open\">http://fhir3.healthintersections.com.au/open</a></p><p><b>display</b>: HealthIntersections STU3</p></blockquote><blockquote><p><b>setup</b></p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>DELETE Patient</td><td><a href=\"http://projectcrucible.org/permalink/1\">http://projectcrucible.org/permalink/1</a></td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>HTTP 204</td><td>http://projectcrucible.org/permalink/1</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>POST Patient/fixture-patient-create</td><td><a href=\"http://projectcrucible.org/permalink/1\">http://projectcrucible.org/permalink/1</a></td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>HTTP 201</td><td>http://projectcrucible.org/permalink/1</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Read Patient</p><p><b>description</b>: Read a Patient and validate response.</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>GET Patient/fixture-patient-create</td><td><a href=\"http://projectcrucible.org/permalink/2\">http://projectcrucible.org/permalink/2</a></td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>HTTP 200</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>Last-Modified Present</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>Response is Patient</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>Response validates</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>Patient.name.family 'Chalmers'</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>Patient.name.given 'Peter'</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>Patient.name.family 'Chalmers'</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>Patient.name.family 'Chalmers'</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>Patient expected values.</td><td>http://projectcrucible.org/permalink/2</td></tr></table></blockquote></blockquote><blockquote><p><b>teardown</b></p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>pass</td><td>DELETE Patient/fixture-patient-create.</td><td><a href=\"http://projectcrucible.org/permalink/3\">http://projectcrucible.org/permalink/3</a></td></tr></table></blockquote></blockquote></div>"
  ] ; # 
  fhir:identifier [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878" ]
  ] ; # 
  fhir:name [ fhir:v "TestReport Example for TestScript Example"] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:testScript [
     fhir:v "http://example.com/TestScript/testscript-example"^^xsd:anyURI ;
     fhir:link <http://example.com/TestScript/testscript-example>
  ] ; # 
  fhir:result [ fhir:v "pass"] ; # 
  fhir:score [ fhir:v "100.0"^^xsd:decimal] ; # 
  fhir:tester [ fhir:v "HL7 Execution Engine"] ; # 
  fhir:issued [ fhir:v "2016-10-07T08:25:34-05:00"^^xsd:dateTime] ; # 
  fhir:participant ( [
     fhir:type [ fhir:v "test-engine" ] ;
     fhir:uri [ fhir:v "http://projectcrucible.org"^^xsd:anyURI ] ;
     fhir:display [ fhir:v "Crucible" ]
  ] [
     fhir:type [ fhir:v "server" ] ;
     fhir:uri [ fhir:v "http://fhir3.healthintersections.com.au/open"^^xsd:anyURI ] ;
     fhir:display [ fhir:v "HealthIntersections STU3" ]
  ] ) ; # 
  fhir:setup [
     fhir:action ( [
       fhir:operation [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "DELETE Patient" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/1"^^xsd:anyURI ]

       ]
     ], [
       fhir:index 1;
       fhir:TestReport.setup.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "HTTP 204" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/1" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "HTTP 204" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/1" ]

       ]
     ], [
       fhir:index 2;
       fhir:TestReport.setup.action.operation [
         fhir:TestReport.setup.action.operation.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.operation.message [ fhir:value "POST Patient/fixture-patient-create" ];
         fhir:TestReport.setup.action.operation.detail [ fhir:value "http://projectcrucible.org/permalink/1" ]

     ] [
       fhir:operation [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "POST Patient/fixture-patient-create" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/1"^^xsd:anyURI ]

       ]
     ], [
       fhir:index 3;
       fhir:TestReport.setup.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "HTTP 201" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/1" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "HTTP 201" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/1" ]

       ]
     ]
  ];
  fhir:TestReport.test [
     fhir:index 0;
     fhir:Element.id [ fhir:value "01-ReadPatient" ];
     fhir:TestReport.test.name [ fhir:value "Read Patient" ];
     fhir:TestReport.test.description [ fhir:value "Read a Patient and validate response." ];
     fhir:TestReport.test.action [
       fhir:index 0;
       fhir:TestReport.test.action.operation [
         fhir:TestReport.setup.action.operation.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.operation.message [ fhir:value "GET Patient/fixture-patient-create" ];
         fhir:TestReport.setup.action.operation.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] )
  ] ; # 
  fhir:test ( [
     fhir:id [ fhir:v "01-ReadPatient" ] ;
     fhir:name [ fhir:v "Read Patient" ] ;
     fhir:description [ fhir:v "Read a Patient and validate response." ] ;
     fhir:action ( [
       fhir:operation [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "GET Patient/fixture-patient-create" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2"^^xsd:anyURI ]

       ]
     ], [
       fhir:index 1;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "HTTP 200" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "HTTP 200" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ], [
       fhir:index 2;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "Last-Modified Present" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "Last-Modified Present" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ], [
       fhir:index 3;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "Response is Patient" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "Response is Patient" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ], [
       fhir:index 4;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "Response validates" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "Response validates" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ], [
       fhir:index 5;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "Patient.name.family 'Chalmers'" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "Patient.name.family 'Chalmers'" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ], [
       fhir:index 6;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "Patient.name.given 'Peter'" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "Patient.name.given 'Peter'" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ], [
       fhir:index 7;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "Patient.name.family 'Chalmers'" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "Patient.name.family 'Chalmers'" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ], [
       fhir:index 8;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "Patient.name.family 'Chalmers'" ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "Patient.name.family 'Chalmers'" ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ], [
       fhir:index 9;
       fhir:TestReport.test.action.assert [
         fhir:TestReport.setup.action.assert.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.assert.message [ fhir:value "Patient expected values." ];
         fhir:TestReport.setup.action.assert.detail [ fhir:value "http://projectcrucible.org/permalink/2" ]

     ] [
       fhir:assert [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "Patient expected values." ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/2" ]

       ]
     ]
  ];
  fhir:TestReport.teardown [
     fhir:TestReport.teardown.action [
       fhir:index 0;
       fhir:TestReport.teardown.action.operation [
         fhir:TestReport.setup.action.operation.result [ fhir:value "pass" ];
         fhir:TestReport.setup.action.operation.message [ fhir:value "DELETE Patient/fixture-patient-create." ];
         fhir:TestReport.setup.action.operation.detail [ fhir:value "http://projectcrucible.org/permalink/3" ]

     ] )
  ] ) ; # 
  fhir:teardown [
     fhir:action ( [
       fhir:operation [
         fhir:result [ fhir:v "pass" ] ;
         fhir:message [ fhir:v "DELETE Patient/fixture-patient-create." ] ;
         fhir:detail [ fhir:v "http://projectcrucible.org/permalink/3"^^xsd:anyURI ]

       ]
     ]
  ] .

<http://hl7.org/fhir/TestScript/testscript-example> a fhir:TestScript .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/TestReport/testreport-example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/TestReport/testreport-example.ttl> .

     ] )
  ]] . # 


# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.