FHIR IG analytics| Package | hl7.fhir.us.directory-attestation |
| Resource Type | TestScript |
| Id | TestScript-odYxqzPToJTN3A8GN.json |
| FHIR Version | R4 |
No resources found
No resources found
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
- Type Label Description Accept EncodeRequestUrl Method Url * Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Subscribe to Organization updates via rest-hooks PUT {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify json true put {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 201(Success). created false
test
name: Delete Subscription
action
Operations
- Type Label Description Accept EncodeRequestUrl Method Url * Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') Delete Subscription DELETE {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify json true delete {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 204(Gone). noContent false
test
name: Attest a new Organization (St. James Infirmary)
action
Operations
- Type Resource Label Description Accept EncodeRequestUrl Method Url * Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Organization Attest a new Organization (St. James Infirmary) PUT {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt json true put {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 201(Success). created false
test
name: Delete an existing Organization (St. James Infirmary)
action
Operations
- Type Resource Label Description Accept EncodeRequestUrl Method Url * Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') Organization Delete an existing Organization (St. James Infirmary) DELETE {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt json true delete {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 204(Gone). noContent false
test
name: Attest a new Practitioner (Dr. Allison Camron)
action
Operations
- Type Resource Label Description Accept EncodeRequestUrl Method Url * Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Practitioner Attest a new Practitioner (Dr. Allison Camron) PUT {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot json true put {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 201(Success). created false
test
name: Delete an existing Practitioner (Allison Camron)
action
Operations
- Type Resource Label Description Accept EncodeRequestUrl Method Url * Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') Practitioner Delete an existing Practitioner (Allison Camron) DELETE {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot json true delete {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 204(Gone). noContent false
{
"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
}
}
]
}
]
}