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-create-at-core | Version: 1.1.0 | |||
Active as of 2023-02-21 | Responsible: HL7® Austria | Computable Name: HL7® AT Core TestScript - Patient Create | ||
Copyright/Legal: This FHIR Test Script is licensed under Creative Commons (CC0) ‘No Rights Reserved’. Learn more at https://creativecommons.org/licenses |
TestScript creating a patient resource conformant to the AT Core Patient profile on a FHIR Server. FHIR Client may use any input patient resource, but the script can provide an example patient: Andreas Bucher - HL7ATCorePatientExample04. Expected Result: Server accepts creation of Patient resource that is conformant to the AT Core Patient profile.
Generated Narrative: TestScript
Resource TestScript "testscript-patient-create-at-core"
url: http://hl7.at/fhir/HL7ATCoreProfiles/4.0.1/TestScript/testscript-patient-create-at-core
version: 1.1.0
name: HL7® AT Core TestScript - Patient Create
title: HL7® AT Core TestScript - Patient Create
status: active
date: 2023-02-21
publisher: HL7® Austria
contact: Technical Committee for FHIR® at HL7® Austria: mailto:tc-fhir@hl7.at
description: TestScript creating a patient resource conformant to the AT Core Patient profile on a FHIR Server. FHIR Client may use any input patient resource, but the script can provide an example patient: Andreas Bucher - HL7ATCorePatientExample04. Expected Result: Server accepts creation of Patient resource that is conformant to the AT Core Patient profile.
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-createautocreate: false
autodelete: false
profile: http://hl7.at/fhir/HL7ATCoreProfiles/4.0.1/StructureDefinition/at-core-patient "HL7ATCorePatient"
Name | Path | SourceId |
patientResourceId | Patient/id | patient-create |
test
id
Step1-RegisterNewPatientname: RegisterNewPatient
description: Create a new patient conformant to the AT Core Patient profile, the server assigns the resource id using JSON.
action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin ResponseId SourceId Create (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code create = 'Create', stated as 'null') Patient Create patient with client assigned resource id. json json 1 true 1 create-response patient-create 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) or 201(Created). response in 200,201 false