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 - JSON Representation

Draft as of 2022-06-14

Raw json | Download


{
  "resourceType" : "TestScript",
  "id" : "odYxqzPToJTN3A8GN",
  "text" : {
    "status" : "generated",
    "div" : "<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>"
  },
  "url" : "http://",
  "version" : "1.0.0-ballot",
  "name" : "Subscriptions",
  "title" : "Subscriptions",
  "status" : "draft",
  "date" : "2022-06-14T23:07:30.522Z",
  "publisher" : "HL7 Patient Administration Working Group",
  "contact" : [
    {
      "name" : "HL7 Patient Administration Working Group",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.hl7.org/Special/committees/pafm"
        },
        {
          "system" : "email",
          "value" : "pafm@lists.HL7.org"
        }
      ]
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "US"
        }
      ]
    }
  ],
  "fixture" : [
    {
      "id" : "2118c65c-f320-567c-baa9-efd1ad4abb8d",
      "autocreate" : true,
      "autodelete" : true,
      "resource" : {
        "reference" : "Subscription/s7aTc2yk4YQyBRify",
        "type" : "Subscription"
      }
    },
    {
      "id" : "4d5c229a-1c32-5418-89e6-6bc75887e055",
      "autocreate" : true,
      "autodelete" : true,
      "resource" : {
        "reference" : "Subscription/s7aTc2yk4YQyBRify",
        "type" : "Subscription"
      }
    },
    {
      "id" : "69c02b22-fb36-5b29-a62e-530e7b583efd",
      "autocreate" : true,
      "autodelete" : true,
      "resource" : {
        "reference" : "Organization/o6AJtyEk6sSsHWLjt",
        "type" : "Organization",
        "display" : "St. James Infirmary - Covid Ward"
      }
    },
    {
      "id" : "e751df8a-4678-5744-9344-4813e27c066c",
      "autocreate" : true,
      "autodelete" : true,
      "resource" : {
        "reference" : "Practitioner/pZzusFYr3PBYyRnot",
        "type" : "Practitioner"
      }
    }
  ],
  "test" : [
    {
      "id" : "85ab6581-ce9e-5981-bdf1-9150958d20e3",
      "name" : "Subscribe to Organization updates via rest-hooks",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "update"
            },
            "label" : "Subscribe to Organization updates via rest-hooks",
            "description" : "PUT {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "put",
            "url" : "{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 201(Success).",
            "response" : "created",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "id" : "730b1dcf-a077-5989-90c3-29b5290d9b07",
      "name" : "Delete Subscription",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "delete"
            },
            "label" : "Delete Subscription",
            "description" : "DELETE {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "delete",
            "url" : "{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 204(Gone).",
            "response" : "noContent",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "id" : "31c11e63-c042-5f13-8470-e5706042c7c8",
      "name" : "Attest a new Organization (St. James Infirmary)",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "update"
            },
            "resource" : "Organization",
            "label" : "Attest a new Organization (St. James Infirmary)",
            "description" : "PUT {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "put",
            "url" : "{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 201(Success).",
            "response" : "created",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "id" : "6c0476a3-c808-51ca-9986-3dcbaa584286",
      "name" : "Delete an existing Organization (St. James Infirmary)",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "delete"
            },
            "resource" : "Organization",
            "label" : "Delete an existing Organization (St. James Infirmary)",
            "description" : "DELETE {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "delete",
            "url" : "{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 204(Gone).",
            "response" : "noContent",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "id" : "b2e518b3-c12c-5b3b-b7d7-f0dda6aa3733",
      "name" : "Attest a new Practitioner (Dr. Allison Camron)",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "update"
            },
            "resource" : "Practitioner",
            "label" : "Attest a new Practitioner (Dr. Allison Camron)",
            "description" : "PUT {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "put",
            "url" : "{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 201(Success).",
            "response" : "created",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "id" : "d4044822-df8b-51dd-86fe-5c1582a7c501",
      "name" : "Delete an existing Practitioner (Allison Camron)",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "delete"
            },
            "resource" : "Practitioner",
            "label" : "Delete an existing Practitioner (Allison Camron)",
            "description" : "DELETE {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "delete",
            "url" : "{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 204(Gone).",
            "response" : "noContent",
            "warningOnly" : false
          }
        }
      ]
    }
  ]
}