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

FHIR IG analytics

Packagehl7.fhir.us.directory-attestation
Resource TypeTestScript
IdTestScript-XA9eSGbRZR7Nrz2Gd.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 "XA9eSGbRZR7Nrz2Gd"

url: http://

version: 1.0.0-ballot

name: Tiered_OAuth_Restricted_Data

title: Tiered OAuth - Restricted Access to Womens Shelters

status: draft

date: 2022-06-14 23:19: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: Location/lyW5mPW2nf3DHC7h6: OrgA CT Location 2 "OrgA CT Location 2"

fixture

autocreate: true

autodelete: true

resource: ExampleScenario/5psortwYNqr2vLNwQ

test

name: Social Worker - Access Role

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')Social Worker - Access RolePUT {{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3ypjsontrueput{{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp

action

Asserts

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

test

name: Women's Shelter Location

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')LocationWomen's Shelter LocationPUT {{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6jsontrueput{{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6

action

Asserts

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

test

name: Restriction on accessing Women's Shelters

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')Restriction on accessing Women's SheltersPUT {{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRRjsontrueput{{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR

action

Asserts

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

test

name: Betty Busybody

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')PractitionerBetty BusybodyPUT {{hostname}}/baseR4/Practitionerjsontrueput{{hostname}}/baseR4/Practitioner

action

Asserts

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

Source1

{
  "resourceType": "TestScript",
  "id": "XA9eSGbRZR7Nrz2Gd",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://",
  "version": "1.0.0-ballot",
  "name": "Tiered_OAuth_Restricted_Data",
  "title": "Tiered OAuth - Restricted Access to Womens Shelters",
  "status": "draft",
  "date": "2022-06-14T23:19:30.696Z",
  "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": "73594318-988d-5647-b3d8-1f1841578c27",
      "autocreate": true,
      "autodelete": true,
      "resource": {
        "reference": "Location/lyW5mPW2nf3DHC7h6",
        "type": "Location",
        "display": "OrgA CT Location 2"
      }
    },
    {
      "id": "43552bb8-5e5e-58e2-b233-36727b1d9d87",
      "autocreate": true,
      "autodelete": true,
      "resource": {
        "reference": "ExampleScenario/5psortwYNqr2vLNwQ",
        "type": "ExampleScenario"
      }
    }
  ],
  "test": [
    {
      "id": "4222467a-7bc0-54e4-9879-88fa0c05c412",
      "name": "Social Worker - Access Role",
      "action": [
        {
          "operation": {
            "type": {
              "system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code": "update"
            },
            "label": "Social Worker - Access Role",
            "description": "PUT {{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp",
            "accept": "json",
            "encodeRequestUrl": true,
            "method": "put",
            "url": "{{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp"
          }
        },
        {
          "assert": {
            "description": "Confirm that the returned HTTP status is 201(Success).",
            "response": "created",
            "warningOnly": false
          }
        }
      ]
    },
    {
      "id": "ef27765c-a138-5669-b255-17bb91d30cc0",
      "name": "Women's Shelter Location",
      "action": [
        {
          "operation": {
            "type": {
              "system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code": "update"
            },
            "resource": "Location",
            "label": "Women's Shelter Location",
            "description": "PUT {{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6",
            "accept": "json",
            "encodeRequestUrl": true,
            "method": "put",
            "url": "{{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6"
          }
        },
        {
          "assert": {
            "description": "Confirm that the returned HTTP status is 201(Success).",
            "response": "created",
            "warningOnly": false
          }
        }
      ]
    },
    {
      "id": "309ca261-92bf-5063-ba69-77f29c52c671",
      "name": "Restriction on accessing Women's Shelters",
      "action": [
        {
          "operation": {
            "type": {
              "system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code": "update"
            },
            "label": "Restriction on accessing Women's Shelters",
            "description": "PUT {{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR",
            "accept": "json",
            "encodeRequestUrl": true,
            "method": "put",
            "url": "{{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR"
          }
        },
        {
          "assert": {
            "description": "Confirm that the returned HTTP status is 201(Success).",
            "response": "created",
            "warningOnly": false
          }
        }
      ]
    },
    {
      "id": "5fa71b21-0437-58c1-9110-2e19b3ada768",
      "name": "Betty Busybody",
      "action": [
        {
          "operation": {
            "type": {
              "system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code": "update"
            },
            "resource": "Practitioner",
            "label": "Betty Busybody",
            "description": "PUT {{hostname}}/baseR4/Practitioner",
            "accept": "json",
            "encodeRequestUrl": true,
            "method": "put",
            "url": "{{hostname}}/baseR4/Practitioner"
          }
        },
        {
          "assert": {
            "description": "Confirm that the returned HTTP status is 201(Success).",
            "response": "created",
            "warningOnly": false
          }
        }
      ]
    }
  ]
}