From 8af6717fdba57758a5912816baedc3bb8b83a4e3 Mon Sep 17 00:00:00 2001 From: John Grimes Date: Tue, 27 Aug 2024 10:29:18 +1000 Subject: [PATCH] Add profile-based tags and add reserved tags section to documentation --- README.md | 91 ++++++++++++++++++------------------ tests/basic.json | 22 ++++----- tests/collection.json | 10 ++-- tests/combinations.json | 12 ++--- tests/constant.json | 16 +++---- tests/constant_types.json | 28 +++++------ tests/fhirpath.json | 22 ++++----- tests/fhirpath_numbers.json | 2 +- tests/fn_boundary.json | 8 ++++ tests/fn_empty.json | 2 +- tests/fn_extension.json | 4 +- tests/fn_first.json | 4 +- tests/fn_join.json | 3 ++ tests/fn_oftype.json | 4 +- tests/fn_reference_keys.json | 6 +-- tests/foreach.json | 26 +++++------ tests/logic.json | 6 +-- tests/union.json | 20 ++++---- tests/validate.json | 10 ++-- tests/view_resource.json | 6 +-- tests/where.json | 16 +++---- 21 files changed, 165 insertions(+), 153 deletions(-) diff --git a/README.md b/README.md index c646547..6fff820 100644 --- a/README.md +++ b/README.md @@ -105,11 +105,8 @@ components of a test case file are: - **Title** (`title` attribute): A unique, descriptive title for the test object, differentiating it from others in the same test case. - **Tags** (`tags` attribute): A list of strings that categorize the test - case into relevant groups. This attribute helps in organizing and - filtering test cases based on their scope or focus. The reserved "core" - tag is considered to represent only required aspects of the - specification, other suites may be used for optional or experimental - aspects. + case into relevant groups. This attribute helps in organizing and + filtering test cases based on their scope or focus. See [Reserved Tags](#reserved-tags). - **ViewDefinition** (`view` attribute): Specifies the [ViewDefinition][] being tested. This attribute outlines the expected data view or transformation applied to the input fixtures. @@ -121,53 +118,57 @@ Below is an abstract representation of what a test case file might look like: ```json { - "title": "title", - "description": "...", - "fhirVersion": [ - "5.0.0", - "4.0.1" - ], - "resources": [ - { - "resourceType": "Patient", - "id": "pt-1" - }, - { - "resourceType": "Patient", - "id": "pt-2" - } - ], - "tests": [ - { - "title": "title of test case", - "tags": [ - "core" - ], - "view": { - "select": [ - { - "column": [ - { - "name": "id", - "path": "id" - } - ] - } - ] - }, - "expect": [ + "title": "title", + "description": "...", + "fhirVersion": ["5.0.0", "4.0.1"], + "resources": [ { - "id": "pt-1" + "resourceType": "Patient", + "id": "pt-1" }, { - "id": "pt-2" + "resourceType": "Patient", + "id": "pt-2" } - ] - } - ] + ], + "tests": [ + { + "title": "title of test case", + "tags": ["shareable"], + "view": { + "select": [ + { + "column": [ + { + "name": "id", + "path": "id" + } + ] + } + ] + }, + "expect": [ + { + "id": "pt-1" + }, + { + "id": "pt-2" + } + ] + } + ] } ``` +### Reserved Tags + +The following tags are reserved for categorizing test cases based on their +applicability to profiles within the core specification: + +- **shareable**: Test cases that validate conformance with the Shareable View Definition profile. +- **tabular**: Test cases that validate conformance with the Tabular View Definition profile. +- **experimental**: Test cases that cover experimental aspects of the specification. + ## Implement Test Runner To ensure comprehensive validation and interoperability, it is recommended for diff --git a/tests/basic.json b/tests/basic.json index 26bd433..2e4d4bf 100644 --- a/tests/basic.json +++ b/tests/basic.json @@ -31,7 +31,7 @@ "tests": [ { "title": "basic attribute", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -61,7 +61,7 @@ }, { "title": "boolean attribute with false", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -99,7 +99,7 @@ }, { "title": "two columns", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -137,7 +137,7 @@ }, { "title": "two selects with columns", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -179,7 +179,7 @@ }, { "title": "where - 1", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -208,7 +208,7 @@ }, { "title": "where - 2", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -237,7 +237,7 @@ }, { "title": "where returns non-boolean for some cases", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -266,7 +266,7 @@ }, { "title": "where as expr - 1", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -295,7 +295,7 @@ }, { "title": "where as expr - 2", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -324,7 +324,7 @@ }, { "title": "select & column", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -367,7 +367,7 @@ }, { "title": "column ordering", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ diff --git a/tests/collection.json b/tests/collection.json index 3d2f3ef..9b5f2a6 100644 --- a/tests/collection.json +++ b/tests/collection.json @@ -1,6 +1,6 @@ { "title": "collection", - "tags": ["core"], + "tags": ["shareable"], "description": "TBD", "fhirVersion": ["5.0.0", "4.0.1", "3.0.2"], "resources": [ @@ -47,7 +47,7 @@ "tests": [ { "title": "fail when 'collection' is not true", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -79,7 +79,7 @@ }, { "title": "collection = true", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -122,7 +122,7 @@ }, { "title": "collection = false relative to forEach parent", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -182,7 +182,7 @@ }, { "title": "collection = false relative to forEachOrNull parent", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", diff --git a/tests/combinations.json b/tests/combinations.json index b2a896d..c301241 100644 --- a/tests/combinations.json +++ b/tests/combinations.json @@ -19,7 +19,7 @@ "tests": [ { "title": "select", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -52,7 +52,7 @@ }, { "title": "column + select", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -95,7 +95,7 @@ }, { "title": "sibling select", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -136,7 +136,7 @@ }, { "title": "sibling select inside a select", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -181,7 +181,7 @@ }, { "title": "column + select, with where", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -221,7 +221,7 @@ }, { "title": "unionAll + forEach + column + select", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ diff --git a/tests/constant.json b/tests/constant.json index 5283fb6..051776f 100644 --- a/tests/constant.json +++ b/tests/constant.json @@ -36,7 +36,7 @@ "tests": [ { "title": "constant in path", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -76,7 +76,7 @@ }, { "title": "constant in forEach", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -107,7 +107,7 @@ }, { "title": "constant in where element", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -142,7 +142,7 @@ }, { "title": "constant in unionAll", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -197,7 +197,7 @@ }, { "title": "integer constant", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -237,7 +237,7 @@ }, { "title": "boolean constant", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -272,7 +272,7 @@ }, { "title": "accessing an undefined constant", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -299,7 +299,7 @@ }, { "title": "incorrect constant definition", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", diff --git a/tests/constant_types.json b/tests/constant_types.json index a49ba4b..ca5ddcd 100644 --- a/tests/constant_types.json +++ b/tests/constant_types.json @@ -294,7 +294,7 @@ "tests": [ { "title": "base64Binary", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Device", "status": "active", @@ -338,7 +338,7 @@ }, { "title": "code", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -382,7 +382,7 @@ }, { "title": "date", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -426,7 +426,7 @@ }, { "title": "dateTime", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "DetectedIssue", "status": "active", @@ -470,7 +470,7 @@ }, { "title": "decimal", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "status": "active", @@ -522,7 +522,7 @@ }, { "title": "id", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Task", "status": "active", @@ -590,7 +590,7 @@ }, { "title": "instant", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "status": "active", @@ -642,7 +642,7 @@ }, { "title": "oid", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Task", "status": "active", @@ -710,7 +710,7 @@ }, { "title": "positiveInt", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "ClaimResponse", "status": "active", @@ -754,7 +754,7 @@ }, { "title": "time", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "status": "active", @@ -806,7 +806,7 @@ }, { "title": "unsignedInt", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "ImagingStudy", "status": "active", @@ -850,7 +850,7 @@ }, { "title": "uri", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Measure", "status": "active", @@ -894,7 +894,7 @@ }, { "title": "url", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Task", "status": "active", @@ -962,7 +962,7 @@ }, { "title": "uuid", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Task", "status": "active", diff --git a/tests/fhirpath.json b/tests/fhirpath.json index a8d6d64..8f06329 100644 --- a/tests/fhirpath.json +++ b/tests/fhirpath.json @@ -47,7 +47,7 @@ "tests": [ { "title": "one element", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -77,7 +77,7 @@ }, { "title": "two elements + first", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -107,7 +107,7 @@ }, { "title": "collection", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -138,7 +138,7 @@ }, { "title": "index[0]", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -168,7 +168,7 @@ }, { "title": "index[1]", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -198,7 +198,7 @@ }, { "title": "out of index", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -228,7 +228,7 @@ }, { "title": "where", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -258,7 +258,7 @@ }, { "title": "exists", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -296,7 +296,7 @@ }, { "title": "nested exists", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -334,7 +334,7 @@ }, { "title": "string join", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -372,7 +372,7 @@ }, { "title": "string join: default separator", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", diff --git a/tests/fhirpath_numbers.json b/tests/fhirpath_numbers.json index 57f27e2..faf6f5d 100644 --- a/tests/fhirpath_numbers.json +++ b/tests/fhirpath_numbers.json @@ -23,7 +23,7 @@ "tests": [ { "title": "add observation", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "status": "active", diff --git a/tests/fn_boundary.json b/tests/fn_boundary.json index 25a850c..65c260d 100644 --- a/tests/fn_boundary.json +++ b/tests/fn_boundary.json @@ -48,6 +48,7 @@ "tests": [ { "title": "decimal lowBoundary", + "tags": ["experimental"], "view": { "resource": "Observation", "status": "active", @@ -89,6 +90,7 @@ }, { "title": "decimal highBoundary", + "tags": ["experimental"], "view": { "resource": "Observation", "status": "active", @@ -130,6 +132,7 @@ }, { "title": "datetime lowBoundary", + "tags": ["experimental"], "view": { "resource": "Observation", "status": "active", @@ -171,6 +174,7 @@ }, { "title": "datetime highBoundary", + "tags": ["experimental"], "view": { "resource": "Observation", "status": "active", @@ -212,6 +216,7 @@ }, { "title": "date lowBoundary", + "tags": ["experimental"], "view": { "resource": "Patient", "status": "active", @@ -241,6 +246,7 @@ }, { "title": "date highBoundary", + "tags": ["experimental"], "view": { "resource": "Patient", "status": "active", @@ -270,6 +276,7 @@ }, { "title": "time lowBoundary", + "tags": ["experimental"], "view": { "resource": "Observation", "status": "active", @@ -311,6 +318,7 @@ }, { "title": "time highBoundary", + "tags": ["experimental"], "view": { "resource": "Observation", "status": "active", diff --git a/tests/fn_empty.json b/tests/fn_empty.json index c222861..8db72b2 100644 --- a/tests/fn_empty.json +++ b/tests/fn_empty.json @@ -21,7 +21,7 @@ "tests": [ { "title": "empty names", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", diff --git a/tests/fn_extension.json b/tests/fn_extension.json index 51180b8..68b75ae 100644 --- a/tests/fn_extension.json +++ b/tests/fn_extension.json @@ -95,7 +95,7 @@ "tests": [ { "title": "simple extension", - "tags": ["core"], + "tags": ["shareable"], "description": "flatten simple extension", "view": { "resource": "Patient", @@ -133,7 +133,7 @@ }, { "title": "nested extension", - "tags": ["core"], + "tags": ["shareable"], "description": "flatten simple extension", "view": { "resource": "Patient", diff --git a/tests/fn_first.json b/tests/fn_first.json index f7aad42..9d6aa89 100644 --- a/tests/fn_first.json +++ b/tests/fn_first.json @@ -29,7 +29,7 @@ "tests": [ { "title": "table level first()", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -52,7 +52,7 @@ }, { "title": "table and field level first()", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ diff --git a/tests/fn_join.json b/tests/fn_join.json index c2f5cfa..edfc999 100644 --- a/tests/fn_join.json +++ b/tests/fn_join.json @@ -17,6 +17,7 @@ "tests": [ { "title": "join with comma", + "tags": ["experimental"], "view": { "resource": "Patient", "select": [ @@ -45,6 +46,7 @@ }, { "title": "join with empty value", + "tags": ["experimental"], "view": { "resource": "Patient", "select": [ @@ -73,6 +75,7 @@ }, { "title": "join with no value - default to no separator", + "tags": ["experimental"], "view": { "resource": "Patient", "select": [ diff --git a/tests/fn_oftype.json b/tests/fn_oftype.json index 96fb5c7..173cde0 100644 --- a/tests/fn_oftype.json +++ b/tests/fn_oftype.json @@ -33,7 +33,7 @@ "tests": [ { "title": "select string values", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "status": "active", @@ -71,7 +71,7 @@ }, { "title": "select integer values", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "status": "active", diff --git a/tests/fn_reference_keys.json b/tests/fn_reference_keys.json index 5c89ab5..2db587f 100644 --- a/tests/fn_reference_keys.json +++ b/tests/fn_reference_keys.json @@ -29,7 +29,7 @@ "tests": [ { "title": "getReferenceKey result matches getResourceKey without type specifier", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -55,7 +55,7 @@ }, { "title": "getReferenceKey result matches getResourceKey with right type specifier", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -81,7 +81,7 @@ }, { "title": "getReferenceKey result matches getResourceKey with wrong type specifier", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ diff --git a/tests/foreach.json b/tests/foreach.json index 07fc0aa..5a08cc9 100644 --- a/tests/foreach.json +++ b/tests/foreach.json @@ -60,7 +60,7 @@ "tests": [ { "title": "forEach: normal", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -107,7 +107,7 @@ }, { "title": "forEachOrNull: basic", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -158,7 +158,7 @@ }, { "title": "forEach: empty", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -188,7 +188,7 @@ }, { "title": "forEach: two on the same level", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -236,7 +236,7 @@ }, { "title": "forEach: two on the same level (empty result)", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -276,7 +276,7 @@ }, { "title": "forEachOrNull: null case", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -319,7 +319,7 @@ }, { "title": "forEach and forEachOrNull on the same level", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -380,7 +380,7 @@ }, { "title": "nested forEach", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -440,7 +440,7 @@ }, { "title": "nested forEach: select & column", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -498,7 +498,7 @@ }, { "title": "forEachOrNull & unionAll on the same level", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -570,7 +570,7 @@ }, { "title": "forEach & unionAll on the same level", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -634,7 +634,7 @@ }, { "title": "forEach & unionAll & column & select on the same level", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -726,7 +726,7 @@ }, { "title": "forEachOrNull & unionAll & column & select on the same level", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ diff --git a/tests/logic.json b/tests/logic.json index a66d8c9..ee3f733 100644 --- a/tests/logic.json +++ b/tests/logic.json @@ -30,7 +30,7 @@ "tests": [ { "title": "filtering with 'and'", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "where": [ @@ -58,7 +58,7 @@ }, { "title": "filtering with 'or'", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "where": [ @@ -92,7 +92,7 @@ }, { "title": "filtering with 'not'", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "where": [ diff --git a/tests/union.json b/tests/union.json index b4d09c5..548fa54 100644 --- a/tests/union.json +++ b/tests/union.json @@ -91,7 +91,7 @@ "tests": [ { "title": "basic", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -201,7 +201,7 @@ }, { "title": "unionAll + column", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -309,7 +309,7 @@ }, { "title": "duplicates", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -412,7 +412,7 @@ }, { "title": "empty results", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -454,7 +454,7 @@ }, { "title": "empty with forEachOrNull", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -529,7 +529,7 @@ }, { "title": "forEachOrNull and forEach", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -588,7 +588,7 @@ }, { "title": "nested", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -669,7 +669,7 @@ }, { "title": "one empty operand", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -754,7 +754,7 @@ }, { "title": "column mismatch", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -797,7 +797,7 @@ }, { "title": "column order mismatch", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", diff --git a/tests/validate.json b/tests/validate.json index 1fb1af9..892c46b 100644 --- a/tests/validate.json +++ b/tests/validate.json @@ -20,13 +20,13 @@ "tests": [ { "title": "empty", - "tags": ["core"], + "tags": ["shareable"], "view": {}, "expectError": true }, { "title": "missing resource", - "tags": ["core"], + "tags": ["shareable"], "view": { "select": [ { @@ -44,7 +44,7 @@ }, { "title": "wrong fhirpath", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -58,7 +58,7 @@ }, { "title": "wrong type in forEach", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -72,7 +72,7 @@ }, { "title": "where with path resolving to not boolean", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", diff --git a/tests/view_resource.json b/tests/view_resource.json index 28dcdde..5b39d1b 100644 --- a/tests/view_resource.json +++ b/tests/view_resource.json @@ -23,7 +23,7 @@ "tests": [ { "title": "only pts", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "status": "active", @@ -50,7 +50,7 @@ }, { "title": "only obs", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "status": "active", @@ -74,7 +74,7 @@ }, { "title": "resource not specified", - "tags": ["core"], + "tags": ["shareable"], "view": { "status": "active", "select": [ diff --git a/tests/where.json b/tests/where.json index e3b94bd..1a8b77e 100644 --- a/tests/where.json +++ b/tests/where.json @@ -48,7 +48,7 @@ "tests": [ { "title": "simple where path with result", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -76,7 +76,7 @@ }, { "title": "where path with no results", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -100,7 +100,7 @@ }, { "title": "where path with greater than inequality", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "select": [ @@ -128,7 +128,7 @@ }, { "title": "where path with less than inequality", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Observation", "select": [ @@ -156,7 +156,7 @@ }, { "title": "multiple where paths", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -187,7 +187,7 @@ }, { "title": "where path with an 'and' connector", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -215,7 +215,7 @@ }, { "title": "where path with an 'or' connector", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [ @@ -246,7 +246,7 @@ }, { "title": "where path that evaluates to true when empty", - "tags": ["core"], + "tags": ["shareable"], "view": { "resource": "Patient", "select": [