HL7® Austria FHIR® Core Implementation Guide
1.1.0 - STU2
HL7® Austria FHIR® Core Implementation Guide - Local Development build (v1.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://hl7.at/fhir/HL7ATCoreProfiles/4.0.1/TestScript/testscript-patient-update-at-core | Version: 1.1.0 | |||
Active as of 2023-02-21 | Responsible: HL7® Austria | Computable Name: HL7® AT Core TestScript - Patient Update | ||
Copyright/Legal: This FHIR Test Script is licensed under Creative Commons (CC0) ‘No Rights Reserved’. Learn more at https://creativecommons.org/licenses |
TestScript updating an existing patient resource conformant to the AT Core Patient profile on a FHIR Server using the JSON format. FHIR Client may use any input patient resource, but the script can provide an example patient: Andreas Bucher - HL7ATCorePatientExample04 with an updated PI value of “11-22-33-44”. Expected Result: Server accepts update of Patient resource that is conformant to the AT Core Patient profile. The testscript uses a variable for the resource ID value which should match the Id of the resource being updated.
Generated Narrative: TestScript
Resource TestScript "testscript-patient-update-at-core"
url: http://hl7.at/fhir/HL7ATCoreProfiles/4.0.1/TestScript/testscript-patient-update-at-core
version: 1.1.0
name: HL7® AT Core TestScript - Patient Update
title: HL7® AT Core TestScript - Patient Update
status: active
date: 2023-02-21
publisher: HL7® Austria
contact: Technical Committee for FHIR® at HL7® Austria: mailto:tc-fhir@hl7.at
description: TestScript updating an existing patient resource conformant to the AT Core Patient profile on a FHIR Server using the JSON format. FHIR Client may use any input patient resource, but the script can provide an example patient: Andreas Bucher - HL7ATCorePatientExample04 with an updated PI value of “11-22-33-44”. Expected Result: Server accepts update of Patient resource that is conformant to the AT Core Patient profile. The testscript uses a variable for the resource ID value which should match the Id of the resource being updated.
copyright: This FHIR Test Script is licensed under Creative Commons (CC0) 'No Rights Reserved'. Learn more at https://creativecommons.org/licenses
Index | Profile |
1 | FHIR Client (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types code FHIR-Client = 'FHIR Client', stated as 'null') |
Index | Profile |
1 | FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'null') |
fixture
id
patient-updateautocreate: false
autodelete: false
profile: http://hl7.at/fhir/HL7ATCoreProfiles/4.0.1/StructureDefinition/at-core-patient "HL7ATCorePatient"
Name | Description | Hint |
patientResourceId | Enter the patient FHIR resource id the FHIR Client will send to the FHIR Server. | [Resource Id] |
test
id
Step1-UpdatePatientname: UpdatePatient
description: Update a patient resource conformant to the AT Core Patient profile.
action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params ResponseId SourceId Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Patient Update patient resource. json json 1 true 1 /${patientResourceId} create-response patient-update action
Asserts
Description Direction ValidateProfileId WarningOnly Validate that the returned resource conforms to the base FHIR Patient profile. request at-core-patient-profile false action
Asserts
Description Direction Operator ResponseCode WarningOnly Confirm that the returned HTTP status is 200(OK). response equals 200 false