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
Draft as of 2022-06-14 |
{
"resourceType" : "TestScript",
"id" : "gszMyXpwsdoAjJZeh",
"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 \"gszMyXpwsdoAjJZeh\" </p></div><p><b>url</b>: <code>http://</code></p><p><b>version</b>: 1.0.0-ballot</p><p><b>name</b>: UDAP_Dynamic_Client_Registration</p><p><b>title</b>: UDAP Dynamic Client Registration</p><p><b>status</b>: draft</p><p><b>date</b>: 2022-06-14 11:24:46+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></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: National Directory - FHIR Metadata</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>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>National Directory - FHIR Metadata</td><td>GET {{hostname}}/baseR4/metadata</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/baseR4/metadata</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 200(OK).</td><td>okay</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: National Directory - UDAP Metadata</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>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>National Directory - UDAP Metadata</td><td>GET {{hostname}}/.well-known/udap</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/.well-known/udap</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 200(OK).</td><td>okay</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Registration (UDAP)</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>Create (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code create = 'Create', stated as 'null')</td><td>Registration (UDAP)</td><td>POST {{hostname}}/oauth/registration</td><td>json</td><td>true</td><td>post</td><td>{{hostname}}/oauth/registration</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>: Registration (SMART on FHIR)</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>Create (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code create = 'Create', stated as 'null')</td><td>Registration (SMART on FHIR)</td><td>POST {{hostname}}/oauth/registration</td><td>json</td><td>true</td><td>post</td><td>{{hostname}}/oauth/registration</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>: Authorize - Stand Alone</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>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Authorize - Stand Alone</td><td>GET {{hostname}}/oauth/authorize</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/oauth/authorize</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 200(OK).</td><td>okay</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Authorize - EHR Launch</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>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Authorize - EHR Launch</td><td>GET {{hostname}}/oauth/authorize</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/oauth/authorize</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 200(OK).</td><td>okay</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Token request</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>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Token request</td><td>GET {{hostname}}/oauth/token</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/oauth/token</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 200(OK).</td><td>okay</td><td>false</td></tr></table></blockquote></blockquote></div>"
},
"url" : "http://",
"version" : "1.0.0-ballot",
"name" : "UDAP_Dynamic_Client_Registration",
"title" : "UDAP Dynamic Client Registration",
"status" : "draft",
"date" : "2022-06-14T23:24:46.024Z",
"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" : "47be8943-2604-5d89-abb9-5c4e13a5120b",
"autocreate" : true,
"autodelete" : true
},
{
"id" : "8b3f5577-4344-5c5e-91a0-ac4942632496",
"autocreate" : true,
"autodelete" : true
},
{
"id" : "b079ec7f-b12a-5fec-bd06-338c44571163",
"autocreate" : true,
"autodelete" : true
},
{
"id" : "f6c54af2-61fd-586d-afde-2d402ebf33af",
"autocreate" : true,
"autodelete" : true
},
{
"id" : "ff897a54-61db-5461-aebb-a42fc4ed0e4d",
"autocreate" : true,
"autodelete" : true
}
],
"test" : [
{
"id" : "61dcf836-8376-5637-90e0-24ede617b7b7",
"name" : "National Directory - FHIR Metadata",
"action" : [
{
"operation" : {
"type" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code" : "read"
},
"label" : "National Directory - FHIR Metadata",
"description" : "GET {{hostname}}/baseR4/metadata",
"accept" : "json",
"encodeRequestUrl" : true,
"method" : "get",
"url" : "{{hostname}}/baseR4/metadata"
}
},
{
"assert" : {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"response" : "okay",
"warningOnly" : false
}
}
]
},
{
"id" : "72dc5199-fe6f-5c22-bf91-73f0d040d35f",
"name" : "National Directory - UDAP Metadata",
"action" : [
{
"operation" : {
"type" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code" : "read"
},
"label" : "National Directory - UDAP Metadata",
"description" : "GET {{hostname}}/.well-known/udap",
"accept" : "json",
"encodeRequestUrl" : true,
"method" : "get",
"url" : "{{hostname}}/.well-known/udap"
}
},
{
"assert" : {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"response" : "okay",
"warningOnly" : false
}
}
]
},
{
"id" : "563db1ef-42e4-51e2-915d-714a157af21d",
"name" : "Registration (UDAP)",
"action" : [
{
"operation" : {
"type" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code" : "create"
},
"label" : "Registration (UDAP)",
"description" : "POST {{hostname}}/oauth/registration",
"accept" : "json",
"encodeRequestUrl" : true,
"method" : "post",
"url" : "{{hostname}}/oauth/registration"
}
},
{
"assert" : {
"description" : "Confirm that the returned HTTP status is 201(Success).",
"response" : "created",
"warningOnly" : false
}
}
]
},
{
"id" : "e3daf953-6237-5170-8750-3100c0d76cb3",
"name" : "Registration (SMART on FHIR)",
"action" : [
{
"operation" : {
"type" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code" : "create"
},
"label" : "Registration (SMART on FHIR)",
"description" : "POST {{hostname}}/oauth/registration",
"accept" : "json",
"encodeRequestUrl" : true,
"method" : "post",
"url" : "{{hostname}}/oauth/registration"
}
},
{
"assert" : {
"description" : "Confirm that the returned HTTP status is 201(Success).",
"response" : "created",
"warningOnly" : false
}
}
]
},
{
"id" : "dcd8fa9d-767f-5c63-9648-dffa6974d322",
"name" : "Authorize - Stand Alone",
"action" : [
{
"operation" : {
"type" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code" : "read"
},
"label" : "Authorize - Stand Alone",
"description" : "GET {{hostname}}/oauth/authorize",
"accept" : "json",
"encodeRequestUrl" : true,
"method" : "get",
"url" : "{{hostname}}/oauth/authorize"
}
},
{
"assert" : {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"response" : "okay",
"warningOnly" : false
}
}
]
},
{
"id" : "e61c9e92-fcdc-5ca3-8b0c-c80d55b50e4e",
"name" : "Authorize - EHR Launch",
"action" : [
{
"operation" : {
"type" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code" : "read"
},
"label" : "Authorize - EHR Launch",
"description" : "GET {{hostname}}/oauth/authorize",
"accept" : "json",
"encodeRequestUrl" : true,
"method" : "get",
"url" : "{{hostname}}/oauth/authorize"
}
},
{
"assert" : {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"response" : "okay",
"warningOnly" : false
}
}
]
},
{
"id" : "cca5c045-fedd-5617-9803-7542eed48739",
"name" : "Token request",
"action" : [
{
"operation" : {
"type" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code" : "read"
},
"label" : "Token request",
"description" : "GET {{hostname}}/oauth/token",
"accept" : "json",
"encodeRequestUrl" : true,
"method" : "get",
"url" : "{{hostname}}/oauth/token"
}
},
{
"assert" : {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"response" : "okay",
"warningOnly" : false
}
}
]
}
]
}