FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.us.directory-attestation
Resource TypeTestScript
IdTestScript-odYxqzPToJTN3A8GN.json
FHIR VersionR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: TestScript

Resource TestScript "odYxqzPToJTN3A8GN"

url: http://

version: 1.0.0-ballot

name: Subscriptions

title: Subscriptions

status: draft

date: 2022-06-14 23:07:30+0000

publisher: HL7 Patient Administration Working Group

contact: HL7 Patient Administration Working Group: https://www.hl7.org/Special/committees/pafm,pafm@lists.HL7.org

jurisdiction: United States of America (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#US)

fixture

autocreate: true

autodelete: true

resource: Subscription/s7aTc2yk4YQyBRify

fixture

autocreate: true

autodelete: true

resource: Subscription/s7aTc2yk4YQyBRify

fixture

autocreate: true

autodelete: true

resource: Organization/o6AJtyEk6sSsHWLjt: St. James Infirmary - Covid Ward "St. James Infirmary"

fixture

autocreate: true

autodelete: true

resource: Practitioner/pZzusFYr3PBYyRnot " CAMRON"

test

name: Subscribe to Organization updates via rest-hooks

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')Subscribe to Organization updates via rest-hooksPUT {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRifyjsontrueput{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 201(Success).createdfalse

test

name: Delete Subscription

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')Delete SubscriptionDELETE {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRifyjsontruedelete{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 204(Gone).noContentfalse

test

name: Attest a new Organization (St. James Infirmary)

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')OrganizationAttest a new Organization (St. James Infirmary)PUT {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjtjsontrueput{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 201(Success).createdfalse

test

name: Delete an existing Organization (St. James Infirmary)

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')OrganizationDelete an existing Organization (St. James Infirmary)DELETE {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjtjsontruedelete{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 204(Gone).noContentfalse

test

name: Attest a new Practitioner (Dr. Allison Camron)

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')PractitionerAttest a new Practitioner (Dr. Allison Camron)PUT {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnotjsontrueput{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 201(Success).createdfalse

test

name: Delete an existing Practitioner (Allison Camron)

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')PractitionerDelete an existing Practitioner (Allison Camron)DELETE {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnotjsontruedelete{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 204(Gone).noContentfalse

Source1

{
  "resourceType": "TestScript",
  "id": "odYxqzPToJTN3A8GN",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "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
          }
        }
      ]
    }
  ]
}