National Healthcare Directory Attestation and Verification
1.0.0-ballot - ballot US

This page is part of the National Healthcare Directory Attestation (v1.0.0-ballot: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Subscriptions - XML Representation

Draft as of 2022-06-14

Raw xml | Download



<TestScript xmlns="http://hl7.org/fhir">
  <id value="odYxqzPToJTN3A8GN"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: TestScript</b></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource TestScript "odYxqzPToJTN3A8GN" </p></div><p><b>url</b>: <code>http://</code></p><p><b>version</b>: 1.0.0-ballot</p><p><b>name</b>: Subscriptions</p><p><b>title</b>: Subscriptions</p><p><b>status</b>: draft</p><p><b>date</b>: 2022-06-14 11:07:30+0000</p><p><b>publisher</b>: HL7 Patient Administration Working Group</p><p><b>contact</b>: HL7 Patient Administration Working Group: <a href="https://www.hl7.org/Special/committees/pafm">https://www.hl7.org/Special/committees/pafm</a>,<a href="mailto:pafm@lists.HL7.org">pafm@lists.HL7.org</a></p><p><b>jurisdiction</b>: United States of America <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (unknown#US)</span></p><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href="Subscription-s7aTc2yk4YQyBRify.html">Subscription/s7aTc2yk4YQyBRify</a></p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href="Subscription-s7aTc2yk4YQyBRify.html">Subscription/s7aTc2yk4YQyBRify</a></p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href="Organization-o6AJtyEk6sSsHWLjt.html">Organization/o6AJtyEk6sSsHWLjt: St. James Infirmary - Covid Ward</a> "St. James Infirmary"</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href="Practitioner-pZzusFYr3PBYyRnot.html">Practitioner/pZzusFYr3PBYyRnot</a> " CAMRON"</p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Subscribe to Organization updates via rest-hooks</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')</td><td>Subscribe to Organization updates via rest-hooks</td><td>PUT {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify</td><td>json</td><td>true</td><td>put</td><td>{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Delete Subscription</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')</td><td>Delete Subscription</td><td>DELETE {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify</td><td>json</td><td>true</td><td>delete</td><td>{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 204(Gone).</td><td>noContent</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Attest a new Organization (St. James Infirmary)</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')</td><td>Organization</td><td>Attest a new Organization (St. James Infirmary)</td><td>PUT {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt</td><td>json</td><td>true</td><td>put</td><td>{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Delete an existing Organization (St. James Infirmary)</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')</td><td>Organization</td><td>Delete an existing Organization (St. James Infirmary)</td><td>DELETE {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt</td><td>json</td><td>true</td><td>delete</td><td>{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 204(Gone).</td><td>noContent</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Attest a new Practitioner (Dr. Allison Camron)</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')</td><td>Practitioner</td><td>Attest a new Practitioner (Dr. Allison Camron)</td><td>PUT {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot</td><td>json</td><td>true</td><td>put</td><td>{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Delete an existing Practitioner (Allison Camron)</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')</td><td>Practitioner</td><td>Delete an existing Practitioner (Allison Camron)</td><td>DELETE {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot</td><td>json</td><td>true</td><td>delete</td><td>{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 204(Gone).</td><td>noContent</td><td>false</td></tr></table></blockquote></blockquote></div>
  </text>
  <url value="http://"/>
  <version value="1.0.0-ballot"/>
  <name value="Subscriptions"/>
  <title value="Subscriptions"/>
  <status value="draft"/>
  <date value="2022-06-14T23:07:30.522Z"/>
  <publisher value="HL7 Patient Administration Working Group"/>
  <contact>
    <name value="HL7 Patient Administration Working Group"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.hl7.org/Special/committees/pafm"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="pafm@lists.HL7.org"/>
    </telecom>
  </contact>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
    </coding>
  </jurisdiction>
  <fixture id="2118c65c-f320-567c-baa9-efd1ad4abb8d">
    <autocreate value="true"/>
    <autodelete value="true"/>
    <resource>
      <reference value="Subscription/s7aTc2yk4YQyBRify"/>
      <type value="Subscription"/>
    </resource>
  </fixture>
  <fixture id="4d5c229a-1c32-5418-89e6-6bc75887e055">
    <autocreate value="true"/>
    <autodelete value="true"/>
    <resource>
      <reference value="Subscription/s7aTc2yk4YQyBRify"/>
      <type value="Subscription"/>
    </resource>
  </fixture>
  <fixture id="69c02b22-fb36-5b29-a62e-530e7b583efd">
    <autocreate value="true"/>
    <autodelete value="true"/>
    <resource>
      <reference value="Organization/o6AJtyEk6sSsHWLjt"/>
      <type value="Organization"/>
      <display value="St. James Infirmary - Covid Ward"/>
    </resource>
  </fixture>
  <fixture id="e751df8a-4678-5744-9344-4813e27c066c">
    <autocreate value="true"/>
    <autodelete value="true"/>
    <resource>
      <reference value="Practitioner/pZzusFYr3PBYyRnot"/>
      <type value="Practitioner"/>
    </resource>
  </fixture>
  <test id="85ab6581-ce9e-5981-bdf1-9150958d20e3">
    <name value="Subscribe to Organization updates via rest-hooks"/>
    <action>
      <operation>
        <type>
          <system
                  value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
          <code value="update"/>
        </type>
        <label value="Subscribe to Organization updates via rest-hooks"/>
        <description
                     value="PUT {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify"/>
        <accept value="json"/>
        <encodeRequestUrl value="true"/>
        <method value="put"/>
        <url value="{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify"/>
      </operation>
    </action>
    <action>
      <assert>
        <description
                     value="Confirm that the returned HTTP status is 201(Success)."/>
        <response value="created"/>
        <warningOnly value="false"/>
      </assert>
    </action>
  </test>
  <test id="730b1dcf-a077-5989-90c3-29b5290d9b07">
    <name value="Delete Subscription"/>
    <action>
      <operation>
        <type>
          <system
                  value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
          <code value="delete"/>
        </type>
        <label value="Delete Subscription"/>
        <description
                     value="DELETE {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify"/>
        <accept value="json"/>
        <encodeRequestUrl value="true"/>
        <method value="delete"/>
        <url value="{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify"/>
      </operation>
    </action>
    <action>
      <assert>
        <description value="Confirm that the returned HTTP status is 204(Gone)."/>
        <response value="noContent"/>
        <warningOnly value="false"/>
      </assert>
    </action>
  </test>
  <test id="31c11e63-c042-5f13-8470-e5706042c7c8">
    <name value="Attest a new Organization (St. James Infirmary)"/>
    <action>
      <operation>
        <type>
          <system
                  value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
          <code value="update"/>
        </type>
        <resource value="Organization"/>
        <label value="Attest a new Organization (St. James Infirmary)"/>
        <description
                     value="PUT {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt"/>
        <accept value="json"/>
        <encodeRequestUrl value="true"/>
        <method value="put"/>
        <url value="{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt"/>
      </operation>
    </action>
    <action>
      <assert>
        <description
                     value="Confirm that the returned HTTP status is 201(Success)."/>
        <response value="created"/>
        <warningOnly value="false"/>
      </assert>
    </action>
  </test>
  <test id="6c0476a3-c808-51ca-9986-3dcbaa584286">
    <name value="Delete an existing Organization (St. James Infirmary)"/>
    <action>
      <operation>
        <type>
          <system
                  value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
          <code value="delete"/>
        </type>
        <resource value="Organization"/>
        <label value="Delete an existing Organization (St. James Infirmary)"/>
        <description
                     value="DELETE {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt"/>
        <accept value="json"/>
        <encodeRequestUrl value="true"/>
        <method value="delete"/>
        <url value="{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt"/>
      </operation>
    </action>
    <action>
      <assert>
        <description value="Confirm that the returned HTTP status is 204(Gone)."/>
        <response value="noContent"/>
        <warningOnly value="false"/>
      </assert>
    </action>
  </test>
  <test id="b2e518b3-c12c-5b3b-b7d7-f0dda6aa3733">
    <name value="Attest a new Practitioner (Dr. Allison Camron)"/>
    <action>
      <operation>
        <type>
          <system
                  value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
          <code value="update"/>
        </type>
        <resource value="Practitioner"/>
        <label value="Attest a new Practitioner (Dr. Allison Camron)"/>
        <description
                     value="PUT {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot"/>
        <accept value="json"/>
        <encodeRequestUrl value="true"/>
        <method value="put"/>
        <url value="{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot"/>
      </operation>
    </action>
    <action>
      <assert>
        <description
                     value="Confirm that the returned HTTP status is 201(Success)."/>
        <response value="created"/>
        <warningOnly value="false"/>
      </assert>
    </action>
  </test>
  <test id="d4044822-df8b-51dd-86fe-5c1582a7c501">
    <name value="Delete an existing Practitioner (Allison Camron)"/>
    <action>
      <operation>
        <type>
          <system
                  value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
          <code value="delete"/>
        </type>
        <resource value="Practitioner"/>
        <label value="Delete an existing Practitioner (Allison Camron)"/>
        <description
                     value="DELETE {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot"/>
        <accept value="json"/>
        <encodeRequestUrl value="true"/>
        <method value="delete"/>
        <url value="{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot"/>
      </operation>
    </action>
    <action>
      <assert>
        <description value="Confirm that the returned HTTP status is 204(Gone)."/>
        <response value="noContent"/>
        <warningOnly value="false"/>
      </assert>
    </action>
  </test>
</TestScript>