FHIR Testing IG
0.1.0-SNAPSHOT - International flag

FHIR Testing IG, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0-SNAPSHOT built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-testing-ig/ and changes regularly. See the Directory of published versions

TestScript: Terminology Connectathon #1 Test Script

Official URL: http://hl7.org/fhir/TestScript/2014-02-washington-ts Version:
Standards status: Informative Draft Computable Name: TerminologyConnectathon1TestScript
Other Identifiers: OID:2.16.840.1.113883.4.642.12.7

This is the test script the 1st Terminology Services Connectathon

Language: en

url: http://hl7.org/fhir/TestScript/2014-02-washington-ts

identifier: Uniform Resource Identifier (URI)/urn:oid:2.16.840.1.113883.4.642.12.7

name: TerminologyConnectathon1TestScript

title: Terminology Connectathon #1 Test Script

status: Draft

description:

This is the test script the 1st Terminology Services Connectathon

fixture

id

extensional-case-1

fixture

id

extensional-case-2

fixture

id

extensional-case-3

fixture

id

extensional-case-4

fixture

id

intensional-case-1

fixture

id

intensional-case-2

fixture

id

intensional-case-3

fixture

id

test1-1-min

fixture

id

test1-2-min

fixture

id

test1-3-min

fixture

id

test1-5-min

fixture

id

test1-6-min

fixture

id

test2-1-min

fixture

id

test2-2-min

fixture

id

test2-3-min

fixture

id

test2-4-min

fixture

id

test2-5-min

fixture

id

test2-6-min

fixture

id

test2-7-min

fixture

id

test3-1-a-min

fixture

id

test3-1-b-min

fixture

id

test3-1-c-min

fixture

id

test3-2-a-min

fixture

id

test3-2-b-min

fixture

id

test3-2-c-min

fixture

id

test3-2-d-min

fixture

id

test3-2-e-min

fixture

id

test3-3-a-min

fixture

id

test3-3-b-min

fixture

id

test3-3-c-min

fixture

id

test3-3-d-min

fixture

id

test3-3-e-min

fixture

id

test3-4-a-min

fixture

id

test3-4-b-min

fixture

id

test3-4-c-min

fixture

id

test3-4-d-min

fixture

id

test3-4-e-min

fixture

id

test3-5-a-min

fixture

id

test3-5-b-min

fixture

id

test3-5-c-min

fixture

id

test3-5-d-min

fixture

id

test3-5-e-min

fixture

id

test3-6-a-min

fixture

id

test3-6-b-min

fixture

id

test3-6-c-min

fixture

id

test3-6-d-min

fixture

id

test3-6-e-min

fixture

id

test3-7-a-min

fixture

id

test3-7-b-min

fixture

id

test3-7-c-min

fixture

id

test3-7-d-min

fixture

id

test3-7-e-min

fixture

id

test4-1-a-min

fixture

id

test4-1-b-min

test

id

test1-1

name: Fixed expansion #1

description: Expanding a fixed limited value set, case #1

test

id

test1-2

name: Fixed expansion #2

description: Expanding a fixed limited value set, case #2

test

id

test1-3

name: Fixed expansion #3

description: Expanding a fixed limited value set, case #3

test

id

test1-4

name: Fixed expansion #4

description: Expanding a fixed limited value set, case #4

test

id

test1-5

name: Fixed expansion #5

description: Expanding a fixed limited value set, case #5

test

id

test1-6

name: Fixed expansion #6

description: Expanding a fixed limited value set, case #6

test

id

test1-7

name: Fixed expansion #7

description: Expanding a fixed limited value set, case #7

test

id

test2-1

name: Fixed expansion #1 + text filter

description: Expanding a fixed limited value set with a text filter 'f', case #1

test

id

test2-2

name: Fixed expansion with text filter #2

description: Expanding a fixed limited value set with a text filter 'mean', case #2

test

id

test2-3

name: Fixed expansion with text filter #3

description: Expanding a fixed limited value set with text filter 'fail', case #3

test

id

test2-4

name: Fixed expansion with a text filter #4

description: Expanding a fixed limited value set with a text filter 'f', case #4

test

id

test2-5

name: Intensional expansion with text filter #1

description: Expanding an intensional value set with text filter 'exp', case #1

test

id

test2-6

name: intensional expansion with text filter #2

description: Expanding an intensional value set with text filter = chronic, case #2

test

id

test2-7

name: intensional expansion with text filter #3

description: Expanding an intensional value set with text filter='renin', case #3

test

id

test3-1-a

name: Validation valueset #1 valid

description: Check that the code {http://example.org/fhir/CodeSystem/patient-contact-relationship}emergency is in the value set

test

id

test3-1-b

name: Validation valueset #1 invalid system

description: Check that the code {http://example.org/fhir/CodeSystem/patient-contact-relationshipX}emergency is not in the value set

test

id

test3-1-c

name: Validation valueset #1 invalid code

description: Check that the code {http://example.org/fhir/CodeSystem/patient-contact-relationship}emergencyX is not in the value set

test

id

test3-2-a

name: Validation valueset #2 valid

description: Check that the code {http://loinc.org}11378-7 'Systolic blood pressure at First encounter' is in the value set

test

id

test3-2-b

name: Validation valueset #2 valid code invalid display

description: Check that the code {http://loinc.org}11378-7 'Systolic blood pressure at First encounter' is in the value set, but supply a wrong display

test

id

test3-2-c

name: Validation valueset #2 invalid system

description: Check that the code {http://loinc.orgX}11378-7 'Systolic blood pressure at First encounter' is not in the value set

test

id

test3-2-d

name: Validation valueset #2 invalid code

description: Check that the code {http://loinc.org}11378-7X 'Systolic blood pressure at First encounter' is not in the value set

test

id

test3-2-e

name: Validation valueset #2 valid code not in valid set

description: Check that the code {http://loinc.org}13457-7 is not in the value set

test

id

test3-3-a

name: Validation valueset #3 valid

description: Check that the code {http://snomed.info/sct}371037005 'Systolic dysfunction' is in the value set

test

id

test3-3-b

name: Validation valueset #3 valid code invalid display

description: Check that the code {http://snomed.info/sct}371037005 'Systolic dysfunction' is in the value set, but give the wrong display`

test

id

test3-3-c

name: Validation valueset #3 invalid system

description: Check that the code {http://snomed.info/sctX}371037005 is not in the value set

test

id

test3-3-d

name: Validation valueset #3 invalid code

description: Check that the code {http://snomed.info/sct}371037005X is not in the value set

test

id

test3-3-e

name: Validation valueset #3 valid code not in valid set

description: Check that the code {http://snomed.info/sct}102261002 is not in the value set

test

id

test3-4-a

name: Validation valueset #4 valid

description: Check that the code {http://terminology.hl7.org/CodeSystem/v3-RoleCode}CHILD 'child' is in the value set

test

id

test3-4-b

name: Validation valueset #4 valid code invalid display

description: Check that the code {http://terminology.hl7.org/CodeSystem/v3-RoleCode}CHILD 'child' is in the value set, but give the wrong display`

test

id

test3-4-c

name: Validation valueset #4 invalid system

description: Check that the code {http://terminology.hl7.org/CodeSystem/v3-RoleCodeX}CHILD is not in the value set

test

id

test3-4-d

name: Validation valueset #4 invalid code

description: Check that the code {http://terminology.hl7.org/CodeSystem/v3-RoleCode}child is not in the value set (note: this coding system is case sensitive, so 'CHILD' is valid, but 'child' is not

test

id

test3-4-e

name: Validation valueset #4 valid code not in valid set

description: Check that the code {http://terminology.hl7.org/CodeSystem/v3-RoleCode}FULLINS is not in the value set

test

id

test3-5-a

name: Validation valueset #5 valid

description: Check that the code {http://loinc.org}11377-9 'Diastolic blood pressure at First encounter' is in the value set

test

id

test3-5-b

name: Validation valueset #5 valid code invalid display

description: Check that the code {http://loinc.org}11377-9 'Diastolic blood pressure at First encounter' is in the value set, but supply a wrong display

test

id

test3-5-c

name: Validation valueset #5 invalid system

description: Check that the code {http://loinc.orgX}11377-9 is not in the value set

test

id

test3-5-d

name: Validation valueset #5 invalid code

description: Check that the code {http://loinc.org}11377-9X is not in the value set

test

id

test3-5-e

name: Validation valueset #5 valid code not in valid set

description: Check that the code {http://loinc.org}13457-7 is not in the value set

test

id

test3-6-a

name: Validation valueset #6 valid

description: Check that the code {http://snomed.info/sct}8762007 'Chronic hypertension in obstetric context (disorder)' is in the value set

test

id

test3-6-b

name: Validation valueset #6 valid code invalid display

description: Check that the code {http://snomed.info/sct}8762007 'Chronic hypertension in obstetric context (disorder)' is in the value set, but give the wrong display`

test

id

test3-6-c

name: Validation valueset #6 invalid system

description: Check that the code {http://snomed.info/sctX}8762007 is not in the value set

test

id

test3-6-d

name: Validation valueset #6 invalid code

description: Check that the code {http://snomed.info/sct}8762007X is not in the value set

test

id

test3-6-e

name: Validation valueset #6 valid code not in valid set

description: Check that the code {http://snomed.info/sct}102261002 is not in the value set

test

id

test3-7-a

name: Validation valueset #7 valid

description: Check that the code {http://snomed.info/sct}8762007 'Chronic hypertension in obstetric context (disorder)' is in the value set

test

id

test3-7-b

name: Validation valueset #7 valid code invalid display

description: Check that the code {http://snomed.info/sct}8762007 'Chronic hypertension in obstetric context (disorder)' is in the value set, but give the wrong display`

test

id

test3-7-c

name: Validation valueset #7 invalid system

description: Check that the code {http://snomed.info/sctX}8762007 is not in the value set

test

id

test3-7-d

name: Validation valueset #7 invalid code

description: Check that the code {http://snomed.info/sct}8762007X is not in the value set

test

id

test3-7-e

name: Validation valueset #7 valid code not in valid set

description: Check that the code {http://snomed.info/sct}102261002 is not in the value set

test

id

test4-1-a

name: Valid - system/code parameters

description: Check that the code {http://example.org/fhir/CodeSystem/patient-contact-relationship}emergency is in the value set

test

id

test4-1-b

name: Invalid display - system/code parameters

description: Check that the code {http://example.org/fhir/CodeSystem/patient-contact-relationshipX}emergency is in the value set, but give the wrong display