Test Name |
Description |
Status |
Duration |
Test: Step1-CreateNewMedicationStatement |
Create a new MedicationStatement in JSON format where the client assigns the resource id. The expected response code is 201 (Created) with a content of either the created MedicationStatement resource in JSON format, an OperationOutcome resource in JSON format or an empty payload. |
Passed |
0.858s |
Test: Step1-CreateNewMedicationStatement |
Create a new MedicationStatement in JSON format where the client assigns the resource id. The expected response code is 201 (Created) with a content of either the created MedicationStatement resource in JSON format, an OperationOutcome resource in JSON format or an empty payload. |
Passed |
0.858s |
Operation |
updateCreate
- MedicationStatement
Origin: |
TouchstoneFHIR
|
Destination: |
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Request: |
Body |
Response: |
Body |
|
201 Created
|
0.584s |
Description: |
Create MedicationStatement with client assigned resource id. |
...more
[hide]
Type: |
updateCreate
|
Resource: |
MedicationStatement
|
Submitted URL: |
https://touchstone.aegis.net:52614/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Forwarded URL: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Definition: |
...more
[hide] {
"type" : "updateCreate",
"resource" : "MedicationStatement",
"accept" : "json",
"contentType" : "json",
"description" : "Create MedicationStatement with client assigned resource id.",
"origin" : 1,
"destination" : 1,
"params" : "/${createResourceId}",
"encodeRequestUrl" : true,
"sourceId" : "resource-create"
}
|
Request: |
...more
[hide]
Method: |
PUT |
Path: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Headers: |
|
|
Request: |
Body
|
Response: |
...more
[hide]
Status: |
HTTP/1.1 201 Created |
Headers: |
access-control-allow-origin |
|
content-length |
|
content-type |
|
date |
|
etag |
|
last-modified |
|
location |
|
server |
|
strict-transport-security |
|
|
|
Response: |
Body
|
|
Assert |
Assert
Confirm that the returned HTTP status is 201(Created).
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the returned HTTP status is 201(Created).",
"response" : "created",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected versioning HTTP Headers.
|
|
0.000s |
Rule: |
Confirm that 'ETag' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertETagIfSupported
|
Params: |
header:
ETag
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected versioning HTTP Headers.
|
|
0.000s |
Rule: |
Confirm that 'Last-Modified' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertLastModifiedIfSupported
|
Params: |
header:
Last-Modified
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.
|
|
0.000s |
Rule: |
Confirm that response 'Content-Type' header is present if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that response 'Content-Type' header contains application/fhir+json if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.
|
|
0.000s |
Rule: |
Confirm that response 'Content-Type' header contains charset=utf-8 if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that response body resource type is one of MedicationStatement,OperationOutcome if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.
Profile assertion skipped. The actual value "MedicationStatement" did not match the expected value "OperationOutcome" for resource type in response.
|
Skipped |
0.000s |
Profile assertion skipped. The actual value "MedicationStatement" did not match the expected value "OperationOutcome" for resource type in response.
Rule: |
Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'operationoutcome-profile' if resource is OperationOutcome in response body. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.
|
|
0.081s |
Rule: |
Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'resource-profile' if resource is MedicationStatement in response body. |
Definition: |
...more
[hide]
assertProfileIfResource
|
Params: |
validateProfileId:
resource-profile
resource:
MedicationStatement
resourceOperator:
equals
|
|
|
|
Test: Step2-ReadMedicationStatement |
Read the MedicationStatement in JSON format created in step 1. The expected response code is 200 (OK) with a content of the found MedicationStatement resource in JSON format. |
Passed |
0.708s |
Test: Step2-ReadMedicationStatement |
Read the MedicationStatement in JSON format created in step 1. The expected response code is 200 (OK) with a content of the found MedicationStatement resource in JSON format. |
Passed |
0.708s |
Operation |
read
- MedicationStatement
Origin: |
TouchstoneFHIR
|
Destination: |
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Response: |
Body |
|
200 OK
|
0.490s |
Description: |
MedicationStatement read operation with HTTP Header Accept set to JSON format. |
...more
[hide]
Type: |
read
|
Resource: |
MedicationStatement
|
Submitted URL: |
https://touchstone.aegis.net:52614/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Forwarded URL: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Definition: |
...more
[hide] {
"type" : "read",
"resource" : "MedicationStatement",
"accept" : "json",
"description" : "MedicationStatement read operation with HTTP Header Accept set to JSON format.",
"origin" : 1,
"destination" : 1,
"params" : "/${createResourceId}",
"responseId" : "create-read-response",
"encodeRequestUrl" : true
}
|
Request: |
...more
[hide]
Method: |
GET |
Path: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Headers: |
|
|
Response Id: |
create-read-response |
Response: |
...more
[hide]
Status: |
HTTP/1.1 200 OK |
Headers: |
access-control-allow-origin |
|
content-length |
|
content-type |
|
date |
|
etag |
|
last-modified |
|
server |
|
strict-transport-security |
|
|
|
Response: |
Body
|
|
Assert |
Assert
Confirm that the returned HTTP status is 200(OK).
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"response" : "okay",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
Source: |
create-read-response
|
|
Assert |
Assert
Confirm that the returned HTTP Header Content-Type is present.
|
|
0.000s |
Definition: |
...more
[hide] {
"operatorType" : "notEmpty",
"description" : "Confirm that the returned HTTP Header Content-Type is present.",
"headerField" : "Content-Type",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
Source: |
create-read-response
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected versioning HTTP Headers.
|
|
0.000s |
Rule: |
Confirm that 'ETag' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertETagIfSupported
|
Params: |
header:
ETag
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
Source: |
create-read-response
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected versioning HTTP Headers.
|
|
0.000s |
Rule: |
Confirm that 'Last-Modified' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertLastModifiedIfSupported
|
Params: |
header:
Last-Modified
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
Source: |
create-read-response
|
|
Assert |
Assert
Confirm that the returned resource type is MedicationStatement.
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the returned resource type is MedicationStatement.",
"resource" : "MedicationStatement",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
Source: |
create-read-response
|
|
Assert |
Assert
Validate that the returned resource conforms to the corresponding FHIR resource profile.
|
|
0.077s |
Definition: |
...more
[hide] {
"description" : "Validate that the returned resource conforms to the corresponding FHIR resource profile.",
"validateProfileId" : "resource-profile",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
Source: |
create-read-response
|
|
|
Test: Step3-UpdateMedicationStatement |
Update the MedicationStatement created in step 1 in JSON format. The expected response code is 200 (OK) with a content of either the updated MedicationStatement resource in JSON format, an OperationOutcome resource in JSON format or an empty payload. |
Passed |
1.392s |
Test: Step3-UpdateMedicationStatement |
Update the MedicationStatement created in step 1 in JSON format. The expected response code is 200 (OK) with a content of either the updated MedicationStatement resource in JSON format, an OperationOutcome resource in JSON format or an empty payload. |
Passed |
1.392s |
Operation |
update
- MedicationStatement
Origin: |
TouchstoneFHIR
|
Destination: |
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Request: |
Body |
Response: |
Body |
|
200 OK
|
0.482s |
Description: |
MedicationStatement update operation with JSON content. |
...more
[hide]
Type: |
update
|
Resource: |
MedicationStatement
|
Submitted URL: |
https://touchstone.aegis.net:52614/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Forwarded URL: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Definition: |
...more
[hide] {
"type" : "update",
"resource" : "MedicationStatement",
"accept" : "json",
"contentType" : "json",
"description" : "MedicationStatement update operation with JSON content.",
"origin" : 1,
"destination" : 1,
"params" : "/${createResourceId}",
"encodeRequestUrl" : true,
"sourceId" : "resource-update"
}
|
Request: |
...more
[hide]
Method: |
PUT |
Path: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Headers: |
|
|
Request: |
Body
|
Response: |
...more
[hide]
Status: |
HTTP/1.1 200 OK |
Headers: |
access-control-allow-origin |
|
content-length |
|
content-type |
|
date |
|
etag |
|
last-modified |
|
server |
|
strict-transport-security |
|
|
|
Response: |
Body
|
|
Assert |
Assert
Confirm that the returned HTTP status is 200(OK).
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"responseCode" : "200",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected versioning HTTP Headers.
|
|
0.001s |
Rule: |
Confirm that 'ETag' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertETagIfSupported
|
Params: |
header:
ETag
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected versioning HTTP Headers.
|
|
0.000s |
Rule: |
Confirm that 'Last-Modified' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertLastModifiedIfSupported
|
Params: |
header:
Last-Modified
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected update ok response HTTP Headers and body.
|
|
0.000s |
Rule: |
Confirm that response 'Content-Type' header is present if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected update ok response HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that response 'Content-Type' header contains application/fhir+json if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected update ok response HTTP Headers and body.
|
|
0.000s |
Rule: |
Confirm that response 'Content-Type' header contains charset=utf-8 if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected update ok response HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that response body resource type is one of MedicationStatement,OperationOutcome if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected update ok response HTTP Headers and body.
Profile assertion skipped. The actual value "MedicationStatement" did not match the expected value "OperationOutcome" for resource type in response.
|
Skipped |
0.000s |
Profile assertion skipped. The actual value "MedicationStatement" did not match the expected value "OperationOutcome" for resource type in response.
Rule: |
Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'operationoutcome-profile' if resource is OperationOutcome in response body. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected update ok response HTTP Headers and body.
|
|
0.081s |
Rule: |
Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'resource-profile' if resource is MedicationStatement in response body. |
Definition: |
...more
[hide]
assertProfileIfResource
|
Params: |
validateProfileId:
resource-profile
resource:
MedicationStatement
resourceOperator:
equals
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected update ok response HTTP Headers and body.
|
|
0.047s |
Rule: |
Confirm that path "meta/versionId" value is present in response body if resource is MedicationStatement in response body and versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertVersionIdIfResourceAndSupported
|
Params: |
xPath:
meta/versionId
jsonPath:
.meta.versionId
pathOperator:
notEmpty
resource:
MedicationStatement
resourceOperator:
equals
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
|
|
|
Operation |
read
- MedicationStatement
Origin: |
TouchstoneFHIR
|
Destination: |
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Response: |
Body |
|
200 OK
|
0.476s |
Description: |
Read the MedicationStatement in order to verify the updated contents. |
...more
[hide]
Type: |
read
|
Resource: |
MedicationStatement
|
Submitted URL: |
https://touchstone.aegis.net:52614/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Forwarded URL: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Definition: |
...more
[hide] {
"type" : "read",
"resource" : "MedicationStatement",
"accept" : "json",
"description" : "Read the MedicationStatement in order to verify the updated contents.",
"origin" : 1,
"destination" : 1,
"params" : "/${createResourceId}",
"encodeRequestUrl" : true
}
|
Request: |
...more
[hide]
Method: |
GET |
Path: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Headers: |
|
|
Response: |
...more
[hide]
Status: |
HTTP/1.1 200 OK |
Headers: |
access-control-allow-origin |
|
content-length |
|
content-type |
|
date |
|
etag |
|
last-modified |
|
server |
|
strict-transport-security |
|
|
|
Response: |
Body
|
|
Assert |
Assert
Confirm that the returned HTTP status is 200(OK).
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"responseCode" : "200",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that the returned content format is JSON ('application/fhir+json').
|
|
0.000s |
Definition: |
...more
[hide] {
"contentType" : "json",
"description" : "Confirm that the returned content format is JSON ('application/fhir+json').",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Validate that the returned resource conforms to the corresponding FHIR resource profile.
|
|
0.081s |
Definition: |
...more
[hide] {
"description" : "Validate that the returned resource conforms to the corresponding FHIR resource profile.",
"validateProfileId" : "resource-profile",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
|
Test: Step4-MedicationStatementHistoryInstance |
Retrieve the updated MedicationStatement instance's history in JSON format. The expected response code is 200 (OK) with a Bundle resource in JSON format of type history containing the created and updated versions of the MedicationStatement. |
Passed |
0.736s |
Test: Step4-MedicationStatementHistoryInstance |
Retrieve the updated MedicationStatement instance's history in JSON format. The expected response code is 200 (OK) with a Bundle resource in JSON format of type history containing the created and updated versions of the MedicationStatement. |
Passed |
0.736s |
Operation |
history-instance
- MedicationStatement
Origin: |
TouchstoneFHIR
|
Destination: |
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Response: |
Body |
|
200 OK
|
0.482s |
Description: |
Retrieve the history for a single, known MedicationStatement. |
...more
[hide]
Type: |
history-instance
|
Resource: |
MedicationStatement
|
Submitted URL: |
https://touchstone.aegis.net:52614/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7/_history |
Forwarded URL: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7/_history |
Definition: |
...more
[hide] {
"resource" : "MedicationStatement",
"accept" : "json",
"description" : "Retrieve the history for a single, known MedicationStatement.",
"origin" : 1,
"destination" : 1,
"params" : "/${createResourceId}/_history",
"encodeRequestUrl" : true
}
|
Request: |
...more
[hide]
Method: |
GET |
Path: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7/_history |
Headers: |
|
|
Response: |
...more
[hide]
Status: |
HTTP/1.1 200 OK |
Headers: |
access-control-allow-origin |
|
content-length |
|
content-type |
|
date |
|
server |
|
strict-transport-security |
|
|
|
Response: |
Body
|
|
Assert |
Assert
Confirm that the returned HTTP status is 200(OK).
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"responseCode" : "200",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that the returned content format is JSON ('application/fhir+json').
|
|
0.000s |
Definition: |
...more
[hide] {
"contentType" : "json",
"description" : "Confirm that the returned content format is JSON ('application/fhir+json').",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that the response payload contains the Bundle resource type.
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the response payload contains the Bundle resource type.",
"resource" : "Bundle",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Validate that the returned resource conforms to the corresponding FHIR bundle profile.
|
|
0.083s |
Definition: |
...more
[hide] {
"description" : "Validate that the returned resource conforms to the corresponding FHIR bundle profile.",
"validateProfileId" : "bundle-profile",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that the Bundle type is 'history'.
|
|
0.001s |
Definition: |
...more
[hide] {
"operatorType" : "equals",
"description" : "Confirm that the Bundle type is 'history'.",
"path" : ".type",
"value" : "history",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that there is more than one resource instance returned. There should be at least two from the create and update operations.
|
|
0.051s |
Definition: |
...more
[hide] {
"operatorType" : "greaterThan",
"description" : "Confirm that there is more than one resource instance returned. There should be at least two from the create and update operations.",
"expression" : "Bundle.entry.count()",
"value" : "1",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
|
Test: Step5-MedicationStatementVersionRead |
Retrieve a initially created version of a MedicationStatement instance in JSON format. The expected response code, if versioning is supported, is 200 (OK) with a content of the updated MedicationStatement resource in JSON format; if versioning is not supported, a 404 (Not Found) with an OperationOutcome resource in JSON format or an empty payload. |
Passed |
0.862s |
Test: Step5-MedicationStatementVersionRead |
Retrieve a initially created version of a MedicationStatement instance in JSON format. The expected response code, if versioning is supported, is 200 (OK) with a content of the updated MedicationStatement resource in JSON format; if versioning is not supported, a 404 (Not Found) with an OperationOutcome resource in JSON format or an empty payload. |
Passed |
0.862s |
Operation |
vread
- MedicationStatement
Origin: |
TouchstoneFHIR
|
Destination: |
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Response: |
Body |
|
200 OK
|
0.472s |
Description: |
Retrieve initially created version of the MedicationStatement instance. |
...more
[hide]
Type: |
vread
|
Resource: |
MedicationStatement
|
Submitted URL: |
https://touchstone.aegis.net:52614/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7/_history/412 |
Forwarded URL: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7/_history/412 |
Definition: |
...more
[hide] {
"type" : "vread",
"resource" : "MedicationStatement",
"accept" : "json",
"description" : "Retrieve initially created version of the MedicationStatement instance.",
"origin" : 1,
"destination" : 1,
"params" : "/${createResourceId}/_history/${createVersionId}",
"encodeRequestUrl" : true
}
|
Request: |
...more
[hide]
Method: |
GET |
Path: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7/_history/412 |
Headers: |
|
|
Response: |
...more
[hide]
Status: |
HTTP/1.1 200 OK |
Headers: |
access-control-allow-origin |
|
content-length |
|
content-type |
|
date |
|
etag |
|
last-modified |
|
server |
|
strict-transport-security |
|
|
|
Response: |
Body
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
|
|
0.009s |
Rule: |
Confirm that response status code is 200 if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertResponseCodeOkIfVersioning
|
Params: |
responseCode:
200
responseCodeOperator:
equals
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
Response status code assertion skipped. Expected no versioning to be supported by server capability statement.
|
Skipped |
0.123s |
Response status code assertion skipped. Expected no versioning to be supported by server capability statement.
Rule: |
Confirm that response status code is 404 if no versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertResponseCodeNotFoundIfNotVersioning
|
Params: |
responseCode:
404
responseCodeOperator:
equals
confFhirPath:
rest.resource.where(type = 'MedicationStatement').versioning.exists() and rest.resource.where(type = 'MedicationStatement').versioning = 'no-version'
confPathLabel:
no versioning
resource:
MedicationStatement
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that 'ETag' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertETagIfSupported
|
Params: |
header:
ETag
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that 'Last-Modified' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertLastModifiedIfSupported
|
Params: |
header:
Last-Modified
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='MedicationStatement']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='MedicationStatement')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
resource:
MedicationStatement
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
|
|
0.000s |
Rule: |
Confirm that response 'Content-Type' header is present if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
|
|
0.000s |
Rule: |
Confirm that response 'Content-Type' header contains application/fhir+json if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that response 'Content-Type' header contains charset=utf-8 if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
|
|
0.000s |
Rule: |
Confirm that response body resource type is one of MedicationStatement,OperationOutcome if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
Profile assertion skipped. The actual value "MedicationStatement" did not match the expected value "OperationOutcome" for resource type in response.
|
Skipped |
0.000s |
Profile assertion skipped. The actual value "MedicationStatement" did not match the expected value "OperationOutcome" for resource type in response.
Rule: |
Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'operationoutcome-profile' if resource is OperationOutcome in response body. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected vread ok response code, HTTP Headers and body.
|
|
0.052s |
Rule: |
Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'resource-profile' if resource is MedicationStatement in response body. |
Definition: |
...more
[hide]
assertProfileIfResource
|
Params: |
validateProfileId:
resource-profile
resource:
MedicationStatement
resourceOperator:
equals
|
|
|
|
Test: Step6-MedicationStatementSearchType |
Search for MedicationStatement resources in JSON format with an identifier equal to ${searchParamIdentifier}. The expected response code is 200 (OK) with a Bundle resource in JSON format of type history containing the found instances of the MedicationStatement. |
Passed |
0.728s |
Test: Step6-MedicationStatementSearchType |
Search for MedicationStatement resources in JSON format with an identifier equal to ${searchParamIdentifier}. The expected response code is 200 (OK) with a Bundle resource in JSON format of type history containing the found instances of the MedicationStatement. |
Passed |
0.728s |
Operation |
search-type
- MedicationStatement
Origin: |
TouchstoneFHIR
|
Destination: |
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Response: |
Body |
|
200 OK
|
0.478s |
Description: |
Search for the MedicationStatement by identifier. |
...more
[hide]
Type: |
search-type
|
Resource: |
MedicationStatement
|
Params: |
identifier
|
Submitted URL: |
https://touchstone.aegis.net:52614/fhir/MedicationStatement?identifier=wqf3DfPm1Yvlg7 |
Forwarded URL: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement?identifier=wqf3DfPm1Yvlg7 |
Definition: |
...more
[hide] {
"type" : "search",
"resource" : "MedicationStatement",
"accept" : "json",
"description" : "Search for the MedicationStatement by identifier.",
"origin" : 1,
"destination" : 1,
"params" : "?identifier=${searchParamIdentifier}",
"encodeRequestUrl" : true
}
|
Request: |
...more
[hide]
Method: |
GET |
Path: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement?identifier=wqf3DfPm1Yvlg7 |
Headers: |
|
|
Response: |
...more
[hide]
Status: |
HTTP/1.1 200 OK |
Headers: |
access-control-allow-origin |
|
content-length |
|
content-type |
|
date |
|
server |
|
strict-transport-security |
|
|
|
Response: |
Body
|
|
Assert |
Assert
Confirm that the returned HTTP status is 200(OK).
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the returned HTTP status is 200(OK).",
"responseCode" : "200",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that the returned content format is JSON ('application/fhir+json').
|
|
0.000s |
Definition: |
...more
[hide] {
"contentType" : "json",
"description" : "Confirm that the returned content format is JSON ('application/fhir+json').",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that the response payload contains the Bundle resource type.
|
|
0.000s |
Definition: |
...more
[hide] {
"description" : "Confirm that the response payload contains the Bundle resource type.",
"resource" : "Bundle",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Validate that the returned resource conforms to the corresponding FHIR bundle profile.
|
|
0.076s |
Definition: |
...more
[hide] {
"description" : "Validate that the returned resource conforms to the corresponding FHIR bundle profile.",
"validateProfileId" : "bundle-profile",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that the Bundle type is 'searchset'.
|
|
0.000s |
Definition: |
...more
[hide] {
"operatorType" : "equals",
"description" : "Confirm that the Bundle type is 'searchset'.",
"path" : ".type",
"value" : "searchset",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Confirm that there is at least one record returned. There could be other MedicationStatement records returned.
|
|
0.050s |
Definition: |
...more
[hide] {
"operatorType" : "greaterThan",
"description" : "Confirm that there is at least one record returned. There could be other MedicationStatement records returned.",
"expression" : "Bundle.entry.count()",
"value" : "0",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
|
Test: Step7-MedicationStatementDelete |
Delete a MedicationStatement instance in JSON format. The expected response is either a 200 (OK) with an optional OperationOutcome in JSON format or 204 (No Content) and the content is empty; i.e. no content. |
Passed |
0.643s |
Test: Step7-MedicationStatementDelete |
Delete a MedicationStatement instance in JSON format. The expected response is either a 200 (OK) with an optional OperationOutcome in JSON format or 204 (No Content) and the content is empty; i.e. no content. |
Passed |
0.643s |
Operation |
delete
- MedicationStatement
Origin: |
TouchstoneFHIR
|
Destination: |
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
Samply - Blazehttps://blaze.life.uni-leipzig.de/fhir
|
|
204 No Content
|
0.477s |
Description: |
Delete the MedicationStatement instance. |
...more
[hide]
Type: |
delete
|
Resource: |
MedicationStatement
|
Submitted URL: |
https://touchstone.aegis.net:52614/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Forwarded URL: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Definition: |
...more
[hide] {
"type" : "delete",
"resource" : "MedicationStatement",
"accept" : "json",
"description" : "Delete the MedicationStatement instance.",
"origin" : 1,
"destination" : 1,
"params" : "/${createResourceId}",
"encodeRequestUrl" : true
}
|
Request: |
...more
[hide]
Method: |
DELETE |
Path: |
https://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7 |
Headers: |
|
|
Response: |
...more
[hide]
Status: |
HTTP/1.1 204 No Content |
Headers: |
access-control-allow-origin |
|
date |
|
etag |
|
last-modified |
|
server |
|
strict-transport-security |
|
|
|
|
Assert |
Assert
Confirm that the returned HTTP status is either 200(OK), 204(No Content) or 404(Not Found).
|
|
0.000s |
Definition: |
...more
[hide] {
"operatorType" : "in",
"description" : "Confirm that the returned HTTP status is either 200(OK), 204(No Content) or 404(Not Found).",
"responseCode" : "200,204,404",
"warningOnly" : false,
"direction" : "response",
"stopTestOnFail" : true
}
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected delete ok response HTTP Headers and body.
Response status code assertion skipped. Expected message body but did not find it in response.
|
Skipped |
0.001s |
Response status code assertion skipped. Expected message body but did not find it in response.
Rule: |
Confirm that response status code is 200 if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected delete ok response HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that response status code is one of 204,404 if response body is absent. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected delete ok response HTTP Headers and body.
|
|
0.001s |
Rule: |
Confirm that 'ETag' header is present in response if versioning is supported by server conformance statement. |
Definition: |
...more
[hide]
assertETagIfSupported
|
Params: |
header:
ETag
headerOperator:
notEmpty
confXPath:
rest[mode/@value='server']/resource[type/@value='']/versioning
confJsonPath:
.rest[?(@.mode=='server')].resource[?(@.type=='')].versioning
confOperator:
in
confPathValue:
versioned,versioned-update
confPathLabel:
versioning
|
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected delete ok response HTTP Headers and body.
Header assertion skipped. Expected message body but did not find it in response.
|
Skipped |
0.001s |
Header assertion skipped. Expected message body but did not find it in response.
Rule: |
Confirm that response 'Content-Type' header is present if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected delete ok response HTTP Headers and body.
Header assertion skipped. Expected message body but did not find it in response.
|
Skipped |
0.000s |
Header assertion skipped. Expected message body but did not find it in response.
Rule: |
Confirm that response 'Content-Type' header contains application/fhir+json if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected delete ok response HTTP Headers and body.
Header assertion skipped. Expected message body but did not find it in response.
|
Skipped |
0.000s |
Header assertion skipped. Expected message body but did not find it in response.
Rule: |
Confirm that response 'Content-Type' header contains charset=utf-8 if response body is present. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected delete ok response HTTP Headers and body.
Resource assertion skipped. Expected response code to be greater than 399 but was 204 in response.
|
Skipped |
0.001s |
Resource assertion skipped. Expected response code to be greater than 399 but was 204 in response.
Rule: |
Confirm that response body resource type is OperationOutcome if response status code is greater than 399. |
Definition: |
|
|
Assert |
Assert
Complex ruleset assertion to conditionally validate expected delete ok response HTTP Headers and body.
Profile assertion skipped. Expected XML or JSON in response body but was empty.
|
Skipped |
0.001s |
Profile assertion skipped. Expected XML or JSON in response body but was empty.
Rule: |
Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'operationoutcome-profile' if resource is OperationOutcome in response body. |
Definition: |
|
|
|