FHIR © HL7.org  |  Server Home  |  Health Intersections FHIR Server v1.0.351  |  FHIR Version 1.0.2  | User: ANONYMOUS (Unknown)  

History Record

XML or JSON representation

Links: First Previous Next Last  (12 found). Search: http://test.fhir.org/r2/TestScript/_history?&_prior=2020-09-21T10:32:30.186Z&_format=text/xhtml&history-id=ca186c70-99c8-4219-9ed0-53e0ba59b2 

TestScript "update" Version "2"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: update

name: Update Test Script

description: Test Script for update of the patient resource

fixture

resource: Patient/patient-example.xml

fixture

resource: Patient/patient-example-updated.xml

setup

action

Operations

-TypeSourceId
*createexample-patient

test

name: Update Patient

description: Update a patient and validate response.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

required: true

operation

type: delete

resource: Patient

description: Patient Delete Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#delete

required: true

operation

type: update

resource: Patient

description: Patient Update Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#update

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

teardown

action

Operations

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="update"/>
  <meta>
    <versionId value="2"/>
    <lastUpdated value="2020-07-27T19:29:13.344Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: update</p>
      <p>
        <b>name</b>: Update Test Script</p>
      <p>
        <b>description</b>: Test Script for update of the patient resource</p>
      <blockquote>
        <p>
          <b>fixture</b>
        </p>
        <p>
          <b>resource</b>:
          <a>Patient/patient-example.xml</a>
        </p>
      </blockquote>
      <blockquote>
        <p>
          <b>fixture</b>
        </p>
        <p>
          <b>resource</b>:
          <a>Patient/patient-example-updated.xml</a>
        </p>
      </blockquote>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>SourceId</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>create</td>
              <td>example-patient</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Update Patient</p>
        <p>
          <b>description</b>: Update a patient and validate response.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: delete</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Delete Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#delete</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: update</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Update Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#update</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>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>
      <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>
  </text>
  <url value="http://hl7.org/fhir/TestScript/update"/>
  <name value="Update Test Script"/>
  <status value="draft"/>
  <description value="Test Script for update of the patient resource"/>
  <fixture id="example-patient">
    <resource>
      <reference value="Patient/example"/>
    </resource>
  </fixture>
  <fixture id="example-patient-updated">
    <resource>
      <reference value="Patient/pat1"/>
    </resource>
  </fixture>
  <setup>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <sourceId value="example-patient"/>
      </operation>
    </action>
  </setup>
  <test id="UPDATE01">
    <name value="Update Patient"/>
    <description value="Update a patient and validate response."/>
    <metadata>
      <capability>
        <required value="true"/>
        <description value="Patient Create, Read, and Delete Operations"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#delete"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
      <capability>
        <validated value="true"/>
        <description value="Patient Update Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#update"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="update"/>
        </type>
        <sourceId value="example-patient-updated"/>
        <targetId value="example-patient"/>
      </operation>
    </action>
    <action>
      <assert>
        <responseCode value="201"/>
      </assert>
    </action>
    <action>
      <assert>
        <headerField value="Last-Modified"/>
        <operator value="notEmpty"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <targetId value="example-patient"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
  </test>
  <teardown>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <targetId value="example-patient"/>
      </operation>
    </action>
  </teardown>
</TestScript>

TestScript "search" Version "2"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: search

name: Read, Search and Conditional Create and Delete

description: Test Script for testing search, read, and conditional create and delete

Fixtures

-Resource
*Patient/patient-example.xml

variable

name: V1

sourceId: R1

headerField: Location

variable

name: V2

sourceId: R3

path: fhir:Patient/fhir:name/fhir:given/@value

setup

action

Operations

-TypeResourceParams
*deletePatientgiven=John&family=Doe

test

name: Create

description: Create, read, search, conditional create, conditional delete.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Conditional Create Operation

link: http://hl7-fhir.github.io/http.html#2.1.0.13.1

required: true

validated: true

operation

type: delete

resource: Patient

description: Conditional Delete Operation

link: http://hl7-fhir.github.io/http.html#2.1.0.12.1

required: true

validated: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

operation

type: search

resource: Patient

description: Patient Search Operation

link: http://hl7-fhir.github.io/http.html#2.1.0.14

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Operations

-
*

action

Operations

-
*

action

Asserts

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="search"/>
  <meta>
    <versionId value="2"/>
    <lastUpdated value="2020-07-27T19:29:12.640Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: search</p>
      <p>
        <b>name</b>: Read, Search and Conditional Create and Delete</p>
      <p>
        <b>description</b>: Test Script for testing search, read, and conditional create and delete</p>
      <h3>Fixtures</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Resource</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>
            <a>Patient/patient-example.xml</a>
          </td>
        </tr>
      </table>
      <blockquote>
        <p>
          <b>variable</b>
        </p>
        <p>
          <b>name</b>: V1</p>
        <p>
          <b>sourceId</b>: R1</p>
        <p>
          <b>headerField</b>: Location</p>
      </blockquote>
      <blockquote>
        <p>
          <b>variable</b>
        </p>
        <p>
          <b>name</b>: V2</p>
        <p>
          <b>sourceId</b>: R3</p>
        <p>
          <b>path</b>: fhir:Patient/fhir:name/fhir:given/@value</p>
      </blockquote>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Params</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>delete</td>
              <td>Patient</td>
              <td>given=John&amp;family=Doe</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Create</p>
        <p>
          <b>description</b>: Create, read, search, conditional create, conditional delete.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Conditional Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7-fhir.github.io/http.html#2.1.0.13.1</a>
            </p>
            <p>
              <b>required</b>: true</p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: delete</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Conditional Delete Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7-fhir.github.io/http.html#2.1.0.12.1</a>
            </p>
            <p>
              <b>required</b>: true</p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: search</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Search Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7-fhir.github.io/http.html#2.1.0.14</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>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>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>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>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>Operations</h3>
          <table>
            <tr>
              <td>-</td>
            </tr>
            <tr>
              <td>*</td>
            </tr>
          </table>
        </blockquote>
        <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>
    </div>
  </text>
  <url value="http://hl7.org/fhir/TestScript/search"/>
  <name value="Read, Search and Conditional Create and Delete"/>
  <status value="draft"/>
  <description value="Test Script for testing search, read, and conditional create and delete"/>
  <metadata>
    <capability>
      <required value="true"/>
      <description value="Patient Create and Read Operations"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
    <capability>
      <required value="true"/>
      <description value="Patient Conditional Delete Operation"/>
      <link value="http://hl7-fhir.github.io/http.html#2.1.0.12.1"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
    <capability>
      <required value="true"/>
      <description value="Patient Conditional Create Operation"/>
      <link value="http://hl7-fhir.github.io/http.html#2.1.0.13.1"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
  </metadata>
  <fixture id="example-patient">
    <resource>
      <reference value="Patient/example"/>
    </resource>
  </fixture>
  <variable>
    <name value="V1"/>
    <headerField value="Location"/>
    <sourceId value="R1"/>
  </variable>
  <variable>
    <name value="V2"/>
    <path value="fhir:Patient/fhir:name/fhir:given/@value"/>
    <sourceId value="R3"/>
  </variable>
  <setup>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <resource value="Patient"/>
        <params value="given=John&amp;family=Doe"/>
      </operation>
    </action>
  </setup>
  <test id="Test1">
    <name value="Create"/>
    <description value="Create, read, search, conditional create, conditional delete."/>
    <metadata>
      <link>
        <url value="http://hl7.org/implement/standards/FHIR-Develop/patient.html"/>
        <description value="FHIR Patient"/>
      </link>
      <capability>
        <validated value="true"/>
        <description value="Patient Search Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#search"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <sourceId value="example-patient"/>
      </operation>
    </action>
    <action>
      <assert>
        <responseCode value="201"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="search"/>
        </type>
        <resource value="Patient"/>
        <contentType value="json"/>
        <params value="?given=John&amp;family=Doe"/>
        <responseId value="R1"/>
      </operation>
    </action>
    <action>
      <assert>
        <headerField value="Location"/>
        <operator value="notEmpty"/>
        <warningOnly value="true"/>
      </assert>
    </action>
    <action>
      <assert>
        <operator value="equals"/>
        <path value="fhir:Patient/fhir:birthDate/@value"/>
        <sourceId value="R1"/>
        <value value="1974-12-31"/>
      </assert>
    </action>
    <action>
      <assert>
        <navigationLinks value="true"/>
        <warningOnly value="true"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="search"/>
        </type>
        <accept value="json"/>
        <responseId value="R2"/>
        <url value="${V1}"/>
      </operation>
    </action>
    <action>
      <assert>
        <contentType value="json"/>
      </assert>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="search"/>
        </type>
        <resource value="Patient"/>
        <accept value="json"/>
        <params value="?given=John&amp;family=Doe&amp;birthdate=1974-12-31"/>
        <responseId value="R3"/>
      </operation>
    </action>
    <action>
      <assert>
        <contentType value="json"/>
      </assert>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <compareToSourceId value="R2"/>
        <compareToSourcePath value="fhir:Patient/fhir:birthDate/@value"/>
        <path value="fhir:Patient/fhir:birthDate/@value"/>
        <sourceId value="R3"/>
      </assert>
    </action>
    <action>
      <assert>
        <path value="fhir:Patient/fhir:name/fhir:given/@value"/>
        <sourceId value="R3"/>
        <value value="John"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <requestHeader>
          <field value="If-None-Exist"/>
          <value value="Patient?given=John&amp;Doe&amp;birthdate=1974-12-31"/>
        </requestHeader>
        <sourceId value="F1"/>
      </operation>
    </action>
    <action>
      <assert>
        <responseCode value="200"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <resource value="Patient"/>
        <params value="?given=John&amp;family=Doe&amp;birthdate=1974-12-31"/>
      </operation>
    </action>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <resource value="Patient"/>
        <params value="/${V2}"/>
      </operation>
    </action>
    <action>
      <assert>
        <responseCode value="410"/>
      </assert>
    </action>
  </test>
</TestScript>

TestScript "ReadTestScript" Version "2"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: ReadTestScript

name: ReadTestScript

description: TestScript for Sprinkler tests (R001, R002, R003, R004) for testing basic READ requests.

Fixtures

-Resource
*Patient resource

setup

action

Operations

-TypeSourceId
*createF1

test

name: Get Test Data Person

description: Result headers on normal read.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

required: true

operation

type: delete

resource: Patient

description: Patient Delete Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#delete

required: true

operation

type: update

resource: Patient

description: Patient Update Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#update

required: true

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Try Read Unknown Resource Type

description: Read unknown resource type

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

test

name: Try Read Non Existing Resource

description: Read non-existing resource id

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

test

name: Try Read Bad Formatted Resource Id

description: Read bad formatted resource id

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

teardown

action

Operations

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="ReadTestScript"/>
  <meta>
    <versionId value="2"/>
    <lastUpdated value="2020-07-27T19:29:12.344Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: ReadTestScript</p>
      <p>
        <b>name</b>: ReadTestScript</p>
      <p>
        <b>description</b>: TestScript for Sprinkler tests (R001, R002, R003, R004) for testing basic READ requests.</p>
      <h3>Fixtures</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Resource</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>
            <a>Patient resource</a>
          </td>
        </tr>
      </table>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>SourceId</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>create</td>
              <td>F1</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Get Test Data Person</p>
        <p>
          <b>description</b>: Result headers on normal read.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: delete</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Delete Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#delete</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: update</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Update Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#update</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
        </blockquote>
        <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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Try Read Unknown Resource Type</p>
        <p>
          <b>description</b>: Read unknown resource type</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Description</b>
              </td>
              <td>
                <b>Link</b>
              </td>
              <td>
                <b>Required</b>
              </td>
              <td>
                <b>Validated</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>read</td>
              <td>Patient</td>
              <td>Patient Read Operation</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
              </td>
              <td>true</td>
              <td>true</td>
            </tr>
          </table>
        </blockquote>
        <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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Try Read Non Existing Resource</p>
        <p>
          <b>description</b>: Read non-existing resource id</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Description</b>
              </td>
              <td>
                <b>Link</b>
              </td>
              <td>
                <b>Required</b>
              </td>
              <td>
                <b>Validated</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>read</td>
              <td>Patient</td>
              <td>Patient Read Operation</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
              </td>
              <td>true</td>
              <td>true</td>
            </tr>
          </table>
        </blockquote>
        <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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Try Read Bad Formatted Resource Id</p>
        <p>
          <b>description</b>: Read bad formatted resource id</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Description</b>
              </td>
              <td>
                <b>Link</b>
              </td>
              <td>
                <b>Required</b>
              </td>
              <td>
                <b>Validated</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>read</td>
              <td>Patient</td>
              <td>Patient Read Operation</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
              </td>
              <td>true</td>
              <td>true</td>
            </tr>
          </table>
        </blockquote>
        <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>
      <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>
  </text>
  <url value="http://hl7.org/fhir/TestScript/multiserver"/>
  <name value="ReadTestScript"/>
  <status value="draft"/>
  <description value="TestScript for Sprinkler tests (R001, R002, R003, R004) for testing basic READ requests."/>
  <metadata>
    <capability>
      <required value="true"/>
      <validated value="true"/>
      <description value="Patient Create, Read, Update, and Delete Operations"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#update"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#delete"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
  </metadata>
  <fixture id="F1">
    <resource>
      <reference value="Patient/example"/>
      <display value="Patient resource"/>
    </resource>
  </fixture>
  <setup>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <sourceId value="F1"/>
      </operation>
    </action>
  </setup>
  <test id="R001">
    <name value="Get Test Data Person"/>
    <description value="Result headers on normal read."/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <accept value="xml"/>
        <targetId value="F1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <contentType value="xml"/>
      </assert>
    </action>
    <action>
      <assert>
        <headerField value="Last-Modified"/>
        <operator value="notEmpty"/>
      </assert>
    </action>
  </test>
  <test id="R002">
    <name value="Try Read Unknown Resource Type"/>
    <description value="Read unknown resource type"/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <resource value="Parameters"/>
        <params value="/1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="notFound"/>
      </assert>
    </action>
  </test>
  <test id="R003">
    <name value="Try Read Non Existing Resource"/>
    <description value="Read non-existing resource id"/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <resource value="Patient"/>
        <params value="/3141592unlikely"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="notFound"/>
      </assert>
    </action>
  </test>
  <test id="R004">
    <name value="Try Read Bad Formatted Resource Id"/>
    <description value="Read bad formatted resource id"/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <resource value="Patient"/>
        <params value="/ID-may-not-contain-CAPITALS"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="bad"/>
      </assert>
    </action>
  </test>
  <teardown>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <targetId value="F1"/>
      </operation>
    </action>
  </teardown>
</TestScript>

TestScript "multiserver" Version "2"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: multiserver

name: Multiserver Test Script

description: Multiserver Test Script

Fixtures

-Resource
*Patient/patient-example.xml

setup

action

Operations

-TypeContentTypeDestinationSourceId
*createxml0F1

test

name: Read Patient

description: Read the patient from server 0.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Write Patient

description: Write the patient read from server 0 to server 1.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Update Patient

description: Update the patient on server 0 with the one read from server 1.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

teardown

action

Operations

-
*

action

Operations

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="multiserver"/>
  <meta>
    <versionId value="2"/>
    <lastUpdated value="2020-07-27T19:29:12.062Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: multiserver</p>
      <p>
        <b>name</b>: Multiserver Test Script</p>
      <p>
        <b>description</b>: Multiserver Test Script</p>
      <h3>Fixtures</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Resource</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>
            <a>Patient/patient-example.xml</a>
          </td>
        </tr>
      </table>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>ContentType</b>
              </td>
              <td>
                <b>Destination</b>
              </td>
              <td>
                <b>SourceId</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>create</td>
              <td>xml</td>
              <td>0</td>
              <td>F1</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Read Patient</p>
        <p>
          <b>description</b>: Read the patient from server 0.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Write Patient</p>
        <p>
          <b>description</b>: Write the patient read from server 0 to server 1.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Update Patient</p>
        <p>
          <b>description</b>: Update the patient on server 0 with the one read from server 1.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>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>
      <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>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
            </tr>
            <tr>
              <td>*</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
    </div>
  </text>
  <url value="http://hl7.org/fhir/TestScript/multiserver"/>
  <name value="Multiserver Test Script"/>
  <status value="draft"/>
  <description value="Multiserver Test Script"/>
  <multiserver value="true"/>
  <fixture id="F1">
    <resource>
      <reference value="Patient/example"/>
    </resource>
  </fixture>
  <setup>
    <metadata>
      <link>
        <url value="http://hl7.org/implement/standards/FHIR-Develop/patient.html"/>
        <description value="FHIR Patient"/>
      </link>
      <capability>
        <required value="true"/>
        <description value="Patient Create Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <contentType value="xml"/>
        <destination value="0"/>
        <sourceId value="F1"/>
      </operation>
    </action>
  </setup>
  <test id="READ01">
    <name value="Read Patient"/>
    <description value="Read the patient from server 0."/>
    <metadata>
      <capability>
        <validated value="true"/>
        <description value="Patient Read Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <destination value="0"/>
        <responseId value="R1"/>
        <targetId value="F1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <headerField value="Last-Modified"/>
        <operator value="notEmpty"/>
      </assert>
    </action>
    <action>
      <assert>
        <resource value="Patient"/>
      </assert>
    </action>
    <action>
      <assert>
        <minimumId value="F1"/>
      </assert>
    </action>
  </test>
  <test id="WRITE01">
    <name value="Write Patient"/>
    <description value="Write the patient read from server 0 to server 1."/>
    <metadata>
      <capability>
        <validated value="true"/>
        <description value="Patient Create Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
      <capability>
        <validated value="true"/>
        <description value="Patient Read Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <destination value="1"/>
        <sourceId value="R1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <destination value="1"/>
        <responseId value="R2"/>
        <targetId value="R1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <headerField value="Last-Modified"/>
        <operator value="notEmpty"/>
      </assert>
    </action>
    <action>
      <assert>
        <resource value="Patient"/>
      </assert>
    </action>
    <action>
      <assert>
        <minimumId value="F1"/>
      </assert>
    </action>
    <action>
      <assert>
        <minimumId value="R1"/>
      </assert>
    </action>
  </test>
  <test id="UPDATE01">
    <name value="Update Patient"/>
    <description value="Update the patient on server 0 with the one read from server 1."/>
    <metadata>
      <capability>
        <validated value="true"/>
        <description value="Patient Update Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#update"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="update"/>
        </type>
        <destination value="0"/>
        <sourceId value="R2"/>
        <targetId value="R1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <destination value="0"/>
        <responseId value="R3"/>
        <targetId value="R1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <headerField value="Last-Modified"/>
        <operator value="notEmpty"/>
      </assert>
    </action>
    <action>
      <assert>
        <resource value="Patient"/>
      </assert>
    </action>
    <action>
      <assert>
        <minimumId value="F1"/>
      </assert>
    </action>
    <action>
      <assert>
        <minimumId value="R1"/>
      </assert>
    </action>
    <action>
      <assert>
        <minimumId value="R2"/>
      </assert>
    </action>
  </test>
  <teardown>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <destination value="0"/>
        <targetId value="F1"/>
      </operation>
    </action>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <destination value="1"/>
        <targetId value="F1"/>
      </operation>
    </action>
  </teardown>
</TestScript>

TestScript "history" Version "2"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: history

name: History Test Script

description: Test Script for history of the patient resource

fixture

resource: Patient/patient-example.xml

fixture

resource: Patient/patient-example-updated.xml

setup

action

Operations

-TypeSourceId
*createexample-patient

action

Operations

-TypeSourceIdTargetId
*updateexample-patient-updatedexample-patient

test

name: History for specific resource

description: History for specific resource.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

operation

type: delete

resource: Patient

description: Patient Delete Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#delete

required: true

operation

type: update

resource: Patient

description: Patient Update Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#update

required: true

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

teardown

action

Operations

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="history"/>
  <meta>
    <versionId value="2"/>
    <lastUpdated value="2020-07-27T19:29:11.750Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: history</p>
      <p>
        <b>name</b>: History Test Script</p>
      <p>
        <b>description</b>: Test Script for history of the patient resource</p>
      <blockquote>
        <p>
          <b>fixture</b>
        </p>
        <p>
          <b>resource</b>:
          <a>Patient/patient-example.xml</a>
        </p>
      </blockquote>
      <blockquote>
        <p>
          <b>fixture</b>
        </p>
        <p>
          <b>resource</b>:
          <a>Patient/patient-example-updated.xml</a>
        </p>
      </blockquote>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>SourceId</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>create</td>
              <td>example-patient</td>
            </tr>
          </table>
        </blockquote>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>SourceId</b>
              </td>
              <td>
                <b>TargetId</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>update</td>
              <td>example-patient-updated</td>
              <td>example-patient</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: History for specific resource</p>
        <p>
          <b>description</b>: History for specific resource.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: delete</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Delete Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#delete</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: update</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Update Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#update</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
        </blockquote>
        <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>
      <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>
  </text>
  <url value="http://hl7.org/fhir/TestScript/history"/>
  <name value="History Test Script"/>
  <status value="draft"/>
  <description value="Test Script for history of the patient resource"/>
  <metadata>
    <capability>
      <required value="true"/>
      <description value="Patient Create, Read, Update, and Delete Operations"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#update"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#delete"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
  </metadata>
  <fixture id="example-patient">
    <resource>
      <reference value="Patient/example"/>
    </resource>
  </fixture>
  <fixture id="example-patient-updated">
    <resource>
      <reference value="Patient/pat1"/>
    </resource>
  </fixture>
  <setup>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <sourceId value="example-patient"/>
      </operation>
    </action>
    <action>
      <operation>
        <type>
          <code value="update"/>
        </type>
        <sourceId value="example-patient-updated"/>
        <targetId value="example-patient"/>
      </operation>
    </action>
  </setup>
  <test id="HISTORY01">
    <name value="History for specific resource"/>
    <description value="History for specific resource."/>
    <metadata>
      <capability>
        <required value="true"/>
        <description value="Patient History Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#history"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="history"/>
        </type>
        <targetId value="example-patient"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <resource value="Bundle"/>
      </assert>
    </action>
    <action>
      <assert>
        <operator value="equals"/>
        <path value="fhir:Bundle/fhir:total/@value"/>
        <value value="2"/>
      </assert>
    </action>
  </test>
  <teardown>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <targetId value="example-patient"/>
      </operation>
    </action>
  </teardown>
</TestScript>

TestScript "example" Version "2"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: example

name: Test Script 1

description: Example Test Script

Fixtures

-Resource
*Patient resource

test

name: Read Patient

description: Read a patient and validate response.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

Operations

-TypeResourceDescriptionLinkRequired
*createPatientPatient Create Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#createtrue

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <meta>
    <versionId value="2"/>
    <lastUpdated value="2020-07-27T19:29:11.437Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: example</p>
      <p>
        <b>name</b>: Test Script 1</p>
      <p>
        <b>description</b>: Example Test Script</p>
      <h3>Fixtures</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Resource</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>
            <a>Patient resource</a>
          </td>
        </tr>
      </table>
      <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>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Description</b>
              </td>
              <td>
                <b>Link</b>
              </td>
              <td>
                <b>Required</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>create</td>
              <td>Patient</td>
              <td>Patient Create Operation</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
              </td>
              <td>true</td>
            </tr>
          </table>
        </blockquote>
        <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>
    </div>
  </text>
  <url value="http://hl7.org/fhir/TestScript/example"/>
  <version value="1.0"/>
  <name value="Test Script 1"/>
  <status value="draft"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7.9876"/>
  </identifier>
  <experimental value="true"/>
  <publisher value="HL7"/>
  <contact>
    <name value="Support"/>
    <telecom>
      <system value="email"/>
      <value value="support@gmail.com"/>
      <use value="temp"/>
    </telecom>
  </contact>
  <date value="2015-08-31"/>
  <description value="Example Test Script"/>
  <useContext>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="United States of America (the)"/>
    </coding>
  </useContext>
  <requirements value="Patient Create, Read, and Update Operations"/>
  <copyright value="&#169; HL7.org 2011+"/>
  <metadata>
    <capability>
      <required value="true"/>
      <description value="Patient Create, Read, and Update Operations"/>
      <destination value="1"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#update"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
  </metadata>
  <fixture id="F1">
    <autocreate value="false"/>
    <autodelete value="false"/>
    <resource>
      <reference value="Patient/example"/>
      <display value="Patient resource"/>
    </resource>
  </fixture>
  <profile id="patient-profile">
    <reference value="http://hl7.org/fhir/StructureDefinition/Patient"/>
  </profile>
  <setup>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <label value="SetupPatient"/>
        <description value="Create patient resource on test server"/>
        <accept value="json"/>
        <responseId value="create-response"/>
        <sourceId value="F1"/>
      </operation>
    </action>
    <action>
      <assert>
        <direction value="request"/>
        <responseCode value="201"/>
      </assert>
    </action>
  </setup>
  <test id="READ01">
    <name value="Read Patient"/>
    <description value="Read a patient and validate response."/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <encodeRequestUrl value="false"/>
        <responseId value="F1-read"/>
        <targetId value="F1"/>
      </operation>
    </action>
    <action>
      <assert>
        <label value="ReadOK"/>
        <description value="Test for OK response"/>
        <direction value="request"/>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <headerField value="Last-Modified"/>
        <operator value="notEmpty"/>
        <warningOnly value="true"/>
      </assert>
    </action>
    <action>
      <assert>
        <resource value="Patient"/>
      </assert>
    </action>
    <action>
      <assert>
        <validateProfileId value="patient-profile"/>
      </assert>
    </action>
    <action>
      <assert>
        <operator value="equals"/>
        <path value="fhir:Patient/fhir:name/fhir:family/@value"/>
        <value value="Chalmers"/>
      </assert>
    </action>
    <action>
      <assert>
        <operator value="equals"/>
        <path value="fhir:Patient/fhir:name/fhir:family/@value"/>
        <sourceId value="F1"/>
        <value value="Chalmers"/>
      </assert>
    </action>
    <action>
      <assert>
        <compareToSourceId value="F1-read"/>
        <compareToSourcePath value="fhir:Patient/fhir:name/fhir:family/@value"/>
        <operator value="equals"/>
        <path value="fhir:Patient/fhir:name/fhir:family/@value"/>
      </assert>
    </action>
    <action>
      <assert>
        <compareToSourceId value="F1-read"/>
        <compareToSourcePath value="fhir:Patient/fhir:name/fhir:family/@value"/>
        <path value="fhir:Patient/fhir:name/fhir:family/@value"/>
        <sourceId value="F1"/>
      </assert>
    </action>
    <action>
      <assert>
        <minimumId value="F1-min"/>
      </assert>
    </action>
  </test>
</TestScript>

TestScript "update" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: update

name: Update Test Script

description: Test Script for update of the patient resource

fixture

resource: Patient/patient-example.xml

fixture

resource: Patient/patient-example-updated.xml

setup

action

Operations

-TypeSourceId
*createexample-patient

test

name: Update Patient

description: Update a patient and validate response.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

required: true

operation

type: delete

resource: Patient

description: Patient Delete Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#delete

required: true

operation

type: update

resource: Patient

description: Patient Update Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#update

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

teardown

action

Operations

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="update"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-05-25T19:30:19.936Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: update</p>
      <p>
        <b>name</b>: Update Test Script</p>
      <p>
        <b>description</b>: Test Script for update of the patient resource</p>
      <blockquote>
        <p>
          <b>fixture</b>
        </p>
        <p>
          <b>resource</b>:
          <a>Patient/patient-example.xml</a>
        </p>
      </blockquote>
      <blockquote>
        <p>
          <b>fixture</b>
        </p>
        <p>
          <b>resource</b>:
          <a>Patient/patient-example-updated.xml</a>
        </p>
      </blockquote>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>SourceId</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>create</td>
              <td>example-patient</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Update Patient</p>
        <p>
          <b>description</b>: Update a patient and validate response.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: delete</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Delete Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#delete</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: update</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Update Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#update</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>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>
      <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>
  </text>
  <url value="http://hl7.org/fhir/TestScript/update"/>
  <name value="Update Test Script"/>
  <status value="draft"/>
  <description value="Test Script for update of the patient resource"/>
  <fixture id="example-patient">
    <resource>
      <reference value="Patient/example"/>
    </resource>
  </fixture>
  <fixture id="example-patient-updated">
    <resource>
      <reference value="Patient/pat1"/>
    </resource>
  </fixture>
  <setup>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <sourceId value="example-patient"/>
      </operation>
    </action>
  </setup>
  <test id="UPDATE01">
    <name value="Update Patient"/>
    <description value="Update a patient and validate response."/>
    <metadata>
      <capability>
        <required value="true"/>
        <description value="Patient Create, Read, and Delete Operations"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#delete"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
      <capability>
        <validated value="true"/>
        <description value="Patient Update Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#update"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="update"/>
        </type>
        <sourceId value="example-patient-updated"/>
        <targetId value="example-patient"/>
      </operation>
    </action>
    <action>
      <assert>
        <responseCode value="201"/>
      </assert>
    </action>
    <action>
      <assert>
        <headerField value="Last-Modified"/>
        <operator value="notEmpty"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <targetId value="example-patient"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
  </test>
  <teardown>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <targetId value="example-patient"/>
      </operation>
    </action>
  </teardown>
</TestScript>

TestScript "search" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: search

name: Read, Search and Conditional Create and Delete

description: Test Script for testing search, read, and conditional create and delete

Fixtures

-Resource
*Patient/patient-example.xml

variable

name: V1

sourceId: R1

headerField: Location

variable

name: V2

sourceId: R3

path: fhir:Patient/fhir:name/fhir:given/@value

setup

action

Operations

-TypeResourceParams
*deletePatientgiven=John&family=Doe

test

name: Create

description: Create, read, search, conditional create, conditional delete.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Conditional Create Operation

link: http://hl7-fhir.github.io/http.html#2.1.0.13.1

required: true

validated: true

operation

type: delete

resource: Patient

description: Conditional Delete Operation

link: http://hl7-fhir.github.io/http.html#2.1.0.12.1

required: true

validated: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

operation

type: search

resource: Patient

description: Patient Search Operation

link: http://hl7-fhir.github.io/http.html#2.1.0.14

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Operations

-
*

action

Operations

-
*

action

Asserts

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="search"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-05-25T19:30:19.697Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: search</p>
      <p>
        <b>name</b>: Read, Search and Conditional Create and Delete</p>
      <p>
        <b>description</b>: Test Script for testing search, read, and conditional create and delete</p>
      <h3>Fixtures</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Resource</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>
            <a>Patient/patient-example.xml</a>
          </td>
        </tr>
      </table>
      <blockquote>
        <p>
          <b>variable</b>
        </p>
        <p>
          <b>name</b>: V1</p>
        <p>
          <b>sourceId</b>: R1</p>
        <p>
          <b>headerField</b>: Location</p>
      </blockquote>
      <blockquote>
        <p>
          <b>variable</b>
        </p>
        <p>
          <b>name</b>: V2</p>
        <p>
          <b>sourceId</b>: R3</p>
        <p>
          <b>path</b>: fhir:Patient/fhir:name/fhir:given/@value</p>
      </blockquote>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Params</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>delete</td>
              <td>Patient</td>
              <td>given=John&amp;family=Doe</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Create</p>
        <p>
          <b>description</b>: Create, read, search, conditional create, conditional delete.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Conditional Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7-fhir.github.io/http.html#2.1.0.13.1</a>
            </p>
            <p>
              <b>required</b>: true</p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: delete</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Conditional Delete Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7-fhir.github.io/http.html#2.1.0.12.1</a>
            </p>
            <p>
              <b>required</b>: true</p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: search</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Search Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7-fhir.github.io/http.html#2.1.0.14</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>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>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>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>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>Operations</h3>
          <table>
            <tr>
              <td>-</td>
            </tr>
            <tr>
              <td>*</td>
            </tr>
          </table>
        </blockquote>
        <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>
    </div>
  </text>
  <url value="http://hl7.org/fhir/TestScript/search"/>
  <name value="Read, Search and Conditional Create and Delete"/>
  <status value="draft"/>
  <description value="Test Script for testing search, read, and conditional create and delete"/>
  <metadata>
    <capability>
      <required value="true"/>
      <description value="Patient Create and Read Operations"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
    <capability>
      <required value="true"/>
      <description value="Patient Conditional Delete Operation"/>
      <link value="http://hl7-fhir.github.io/http.html#2.1.0.12.1"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
    <capability>
      <required value="true"/>
      <description value="Patient Conditional Create Operation"/>
      <link value="http://hl7-fhir.github.io/http.html#2.1.0.13.1"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
  </metadata>
  <fixture id="example-patient">
    <resource>
      <reference value="Patient/example"/>
    </resource>
  </fixture>
  <variable>
    <name value="V1"/>
    <headerField value="Location"/>
    <sourceId value="R1"/>
  </variable>
  <variable>
    <name value="V2"/>
    <path value="fhir:Patient/fhir:name/fhir:given/@value"/>
    <sourceId value="R3"/>
  </variable>
  <setup>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <resource value="Patient"/>
        <params value="given=John&amp;family=Doe"/>
      </operation>
    </action>
  </setup>
  <test id="Test1">
    <name value="Create"/>
    <description value="Create, read, search, conditional create, conditional delete."/>
    <metadata>
      <link>
        <url value="http://hl7.org/implement/standards/FHIR-Develop/patient.html"/>
        <description value="FHIR Patient"/>
      </link>
      <capability>
        <validated value="true"/>
        <description value="Patient Search Operation"/>
        <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#search"/>
        <conformance>
          <reference value="Conformance/example"/>
        </conformance>
      </capability>
    </metadata>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <sourceId value="example-patient"/>
      </operation>
    </action>
    <action>
      <assert>
        <responseCode value="201"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="search"/>
        </type>
        <resource value="Patient"/>
        <contentType value="json"/>
        <params value="?given=John&amp;family=Doe"/>
        <responseId value="R1"/>
      </operation>
    </action>
    <action>
      <assert>
        <headerField value="Location"/>
        <operator value="notEmpty"/>
        <warningOnly value="true"/>
      </assert>
    </action>
    <action>
      <assert>
        <operator value="equals"/>
        <path value="fhir:Patient/fhir:birthDate/@value"/>
        <sourceId value="R1"/>
        <value value="1974-12-31"/>
      </assert>
    </action>
    <action>
      <assert>
        <navigationLinks value="true"/>
        <warningOnly value="true"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="search"/>
        </type>
        <accept value="json"/>
        <responseId value="R2"/>
        <url value="${V1}"/>
      </operation>
    </action>
    <action>
      <assert>
        <contentType value="json"/>
      </assert>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="search"/>
        </type>
        <resource value="Patient"/>
        <accept value="json"/>
        <params value="?given=John&amp;family=Doe&amp;birthdate=1974-12-31"/>
        <responseId value="R3"/>
      </operation>
    </action>
    <action>
      <assert>
        <contentType value="json"/>
      </assert>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <compareToSourceId value="R2"/>
        <compareToSourcePath value="fhir:Patient/fhir:birthDate/@value"/>
        <path value="fhir:Patient/fhir:birthDate/@value"/>
        <sourceId value="R3"/>
      </assert>
    </action>
    <action>
      <assert>
        <path value="fhir:Patient/fhir:name/fhir:given/@value"/>
        <sourceId value="R3"/>
        <value value="John"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <requestHeader>
          <field value="If-None-Exist"/>
          <value value="Patient?given=John&amp;Doe&amp;birthdate=1974-12-31"/>
        </requestHeader>
        <sourceId value="F1"/>
      </operation>
    </action>
    <action>
      <assert>
        <responseCode value="200"/>
      </assert>
    </action>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <resource value="Patient"/>
        <params value="?given=John&amp;family=Doe&amp;birthdate=1974-12-31"/>
      </operation>
    </action>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <resource value="Patient"/>
        <params value="/${V2}"/>
      </operation>
    </action>
    <action>
      <assert>
        <responseCode value="410"/>
      </assert>
    </action>
  </test>
</TestScript>

TestScript "ReadTestScript" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: ReadTestScript

name: ReadTestScript

description: TestScript for Sprinkler tests (R001, R002, R003, R004) for testing basic READ requests.

Fixtures

-Resource
*Patient resource

setup

action

Operations

-TypeSourceId
*createF1

test

name: Get Test Data Person

description: Result headers on normal read.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

required: true

operation

type: delete

resource: Patient

description: Patient Delete Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#delete

required: true

operation

type: update

resource: Patient

description: Patient Update Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#update

required: true

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Try Read Unknown Resource Type

description: Read unknown resource type

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

test

name: Try Read Non Existing Resource

description: Read non-existing resource id

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

test

name: Try Read Bad Formatted Resource Id

description: Read bad formatted resource id

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

teardown

action

Operations

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="ReadTestScript"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-05-25T19:30:19.436Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: ReadTestScript</p>
      <p>
        <b>name</b>: ReadTestScript</p>
      <p>
        <b>description</b>: TestScript for Sprinkler tests (R001, R002, R003, R004) for testing basic READ requests.</p>
      <h3>Fixtures</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Resource</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>
            <a>Patient resource</a>
          </td>
        </tr>
      </table>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>SourceId</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>create</td>
              <td>F1</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Get Test Data Person</p>
        <p>
          <b>description</b>: Result headers on normal read.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: delete</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Delete Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#delete</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: update</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Update Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#update</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
        </blockquote>
        <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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Try Read Unknown Resource Type</p>
        <p>
          <b>description</b>: Read unknown resource type</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Description</b>
              </td>
              <td>
                <b>Link</b>
              </td>
              <td>
                <b>Required</b>
              </td>
              <td>
                <b>Validated</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>read</td>
              <td>Patient</td>
              <td>Patient Read Operation</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
              </td>
              <td>true</td>
              <td>true</td>
            </tr>
          </table>
        </blockquote>
        <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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Try Read Non Existing Resource</p>
        <p>
          <b>description</b>: Read non-existing resource id</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Description</b>
              </td>
              <td>
                <b>Link</b>
              </td>
              <td>
                <b>Required</b>
              </td>
              <td>
                <b>Validated</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>read</td>
              <td>Patient</td>
              <td>Patient Read Operation</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
              </td>
              <td>true</td>
              <td>true</td>
            </tr>
          </table>
        </blockquote>
        <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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Try Read Bad Formatted Resource Id</p>
        <p>
          <b>description</b>: Read bad formatted resource id</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>Resource</b>
              </td>
              <td>
                <b>Description</b>
              </td>
              <td>
                <b>Link</b>
              </td>
              <td>
                <b>Required</b>
              </td>
              <td>
                <b>Validated</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>read</td>
              <td>Patient</td>
              <td>Patient Read Operation</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
              </td>
              <td>true</td>
              <td>true</td>
            </tr>
          </table>
        </blockquote>
        <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>
      <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>
  </text>
  <url value="http://hl7.org/fhir/TestScript/multiserver"/>
  <name value="ReadTestScript"/>
  <status value="draft"/>
  <description value="TestScript for Sprinkler tests (R001, R002, R003, R004) for testing basic READ requests."/>
  <metadata>
    <capability>
      <required value="true"/>
      <validated value="true"/>
      <description value="Patient Create, Read, Update, and Delete Operations"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#create"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#read"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#update"/>
      <link value="http://hl7.org/implement/standards/FHIR-Develop/http.html#delete"/>
      <conformance>
        <reference value="Conformance/example"/>
      </conformance>
    </capability>
  </metadata>
  <fixture id="F1">
    <resource>
      <reference value="Patient/example"/>
      <display value="Patient resource"/>
    </resource>
  </fixture>
  <setup>
    <action>
      <operation>
        <type>
          <code value="create"/>
        </type>
        <sourceId value="F1"/>
      </operation>
    </action>
  </setup>
  <test id="R001">
    <name value="Get Test Data Person"/>
    <description value="Result headers on normal read."/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <accept value="xml"/>
        <targetId value="F1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="okay"/>
      </assert>
    </action>
    <action>
      <assert>
        <contentType value="xml"/>
      </assert>
    </action>
    <action>
      <assert>
        <headerField value="Last-Modified"/>
        <operator value="notEmpty"/>
      </assert>
    </action>
  </test>
  <test id="R002">
    <name value="Try Read Unknown Resource Type"/>
    <description value="Read unknown resource type"/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <resource value="Parameters"/>
        <params value="/1"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="notFound"/>
      </assert>
    </action>
  </test>
  <test id="R003">
    <name value="Try Read Non Existing Resource"/>
    <description value="Read non-existing resource id"/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <resource value="Patient"/>
        <params value="/3141592unlikely"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="notFound"/>
      </assert>
    </action>
  </test>
  <test id="R004">
    <name value="Try Read Bad Formatted Resource Id"/>
    <description value="Read bad formatted resource id"/>
    <action>
      <operation>
        <type>
          <code value="read"/>
        </type>
        <resource value="Patient"/>
        <params value="/ID-may-not-contain-CAPITALS"/>
      </operation>
    </action>
    <action>
      <assert>
        <response value="bad"/>
      </assert>
    </action>
  </test>
  <teardown>
    <action>
      <operation>
        <type>
          <code value="delete"/>
        </type>
        <targetId value="F1"/>
      </operation>
    </action>
  </teardown>
</TestScript>

TestScript "multiserver" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: multiserver

name: Multiserver Test Script

description: Multiserver Test Script

Fixtures

-Resource
*Patient/patient-example.xml

setup

action

Operations

-TypeContentTypeDestinationSourceId
*createxml0F1

test

name: Read Patient

description: Read the patient from server 0.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Write Patient

description: Write the patient read from server 0 to server 1.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Update Patient

description: Update the patient on server 0 with the one read from server 1.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

validated: true

action

Operations

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

teardown

action

Operations

-
*

action

Operations

-
*

<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
  <id value="multiserver"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-05-25T19:30:19.171Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: multiserver</p>
      <p>
        <b>name</b>: Multiserver Test Script</p>
      <p>
        <b>description</b>: Multiserver Test Script</p>
      <h3>Fixtures</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Resource</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>
            <a>Patient/patient-example.xml</a>
          </td>
        </tr>
      </table>
      <blockquote>
        <p>
          <b>setup</b>
        </p>
        <blockquote>
          <p>
            <b>action</b>
          </p>
          <h3>Operations</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Type</b>
              </td>
              <td>
                <b>ContentType</b>
              </td>
              <td>
                <b>Destination</b>
              </td>
              <td>
                <b>SourceId</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>create</td>
              <td>xml</td>
              <td>0</td>
              <td>F1</td>
            </tr>
          </table>
        </blockquote>
      </blockquote>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Read Patient</p>
        <p>
          <b>description</b>: Read the patient from server 0.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Write Patient</p>
        <p>
          <b>description</b>: Write the patient read from server 0 to server 1.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>
              <td>*</td>
              <td>
                <a>http://hl7.org/implement/standards/FHIR-Develop/patient.html</a>
              </td>
              <td>FHIR Patient</td>
            </tr>
          </table>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: create</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Create Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#create</a>
            </p>
            <p>
              <b>required</b>: true</p>
          </blockquote>
          <blockquote>
            <p>
              <b>operation</b>
            </p>
            <p>
              <b>type</b>: read</p>
            <p>
              <b>resource</b>: Patient</p>
            <p>
              <b>description</b>: Patient Read Operation</p>
            <p>
              <b>link</b>:
              <a>http://hl7.org/implement/standards/FHIR-Develop/http.html#read</a>
            </p>
            <p>
              <b>validated</b>: true</p>
          </blockquote>
        </blockquote>
        <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>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>
      <blockquote>
        <p>
          <b>test</b>
        </p>
        <p>
          <b>name</b>: Update Patient</p>
        <p>
          <b>description</b>: Update the patient on server 0 with the one read from server 1.</p>
        <blockquote>
          <p>
            <b>metadata</b>
          </p>
          <h3>Links</h3>
          <table>
            <tr>
              <td>-</td>
              <td>
                <b>Url</b>
              </td>
              <td>
                <b>Description</b>
              </td>
            </tr>
            <tr>