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

TestScript: HL7® AT Core TestScript - Patient Create

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

Origins

-IndexProfile
*1FHIR Client (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types code FHIR-Client = 'FHIR Client', stated as 'null')

Destinations

-IndexProfile
*1FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'null')

fixture

id

patient-create

autocreate: false

autodelete: false

resource: Patient-HL7ATCorePatientCreateTestExample.html

profile: http://hl7.at/fhir/HL7ATCoreProfiles/4.0.1/StructureDefinition/at-core-patient "HL7ATCorePatient"

Variables

-NamePathSourceId
*patientResourceIdPatient/idpatient-create

test

id

Step1-RegisterNewPatient

name: RegisterNewPatient

description: Create a new patient conformant to the AT Core Patient profile, the server assigns the resource id using JSON.

action

Operations

-TypeResourceDescriptionAcceptContentTypeDestinationEncodeRequestUrlOriginResponseIdSourceId
*Create (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code create = 'Create', stated as 'null')PatientCreate patient with client assigned resource id.jsonjson1true1create-responsepatient-create

action

Asserts

-DescriptionDirectionValidateProfileIdWarningOnly
*Validate that the returned resource conforms to the base FHIR Patient profile.requestat-core-patient-profilefalse

action

Asserts

-DescriptionDirectionOperatorResponseCodeWarningOnly
*Confirm that the returned HTTP status is 200(OK) or 201(Created).responsein200,201false