forked from FHIR/sql-on-fhir-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfn_empty.json
57 lines (57 loc) · 1.02 KB
/
fn_empty.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"title": "fn_empty",
"description": "TBD",
"fhirVersion": ["5.0.0", "4.0.1", "3.0.2"],
"resources": [
{
"resourceType": "Patient",
"id": "p1",
"name": [
{
"use": "official",
"family": "f1"
}
]
},
{
"resourceType": "Patient",
"id": "p2"
}
],
"tests": [
{
"title": "empty names",
"tags": ["shareable"],
"view": {
"resource": "Patient",
"status": "active",
"select": [
{
"column": [
{
"name": "id",
"path": "id",
"type": "id"
},
{
"name": "name_empty",
"path": "name.empty()",
"type": "boolean"
}
]
}
]
},
"expect": [
{
"id": "p1",
"name_empty": false
},
{
"id": "p2",
"name_empty": true
}
]
}
]
}