-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb-index-conf.json
101 lines (100 loc) · 2.72 KB
/
db-index-conf.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"resources": [
{
"resource": "Condition",
"shardKey": ["subject"],
"indexes": [
{
"parameters": ["code", "recorded-date"],
"description": "Index to speed up search with condition code (and optionally recorded date) by cursor based pagination"
}
]
},
{
"resource": "Consent",
"shardKey": ["patient"],
"indexes": [
{
"parameters": ["mii-provision-provision-code"],
"description": "Index to speed up search with provision code by cursor based pagination"
}
]
},
{
"resource": "Encounter",
"shardKey": ["subject"],
"indexes": []
},
{
"resource": "Medication",
"indexes": [
{
"parameters": ["code"],
"description": "Index to speed up search with medication code"
}
]
},
{
"resource": "MedicationAdministration",
"shardKey": ["subject"],
"indexes": [
{
"parameters": ["medication", "effective-time"],
"description": "Index to speed up search with medication reference(and optionally with date) by cursor based pagination"
}
]
},
{
"resource": "Observation",
"shardKey": ["subject"],
"indexes": [
{
"parameters": ["code", "value-quantity"],
"description": "Index to speed up search with observation code (and optionally with value) by cursor based pagination"
},
{
"parameters": ["code", "date"],
"description": "Index to speed up search with observation code (and optionally with date) by cursor based pagination"
}
]
},
{
"resource": "Patient",
"shardKey": ["_id"],
"indexes": [
{
"parameters": ["gender", "__id"],
"description": "Index to speed up search with gender by cursor based pagination"
},
{
"parameters": ["birthdate", "__id"],
"description": "Index to speed up search with birthdate by cursor based pagination"
}
]
},
{
"resource": "Practitioner",
"indexes": []
},
{
"resource": "Procedure",
"shardKey": ["subject"],
"indexes": [
{
"parameters": ["code", "date"],
"description": "Index to speed up search with procedure code (and optionally date) by cursor based pagination"
}
]
},
{
"resource": "Specimen",
"shardKey": ["patient"],
"indexes": [
{
"parameters": ["type", "collected"],
"description": "Index to speed up search with specimen type (and optionally with collected date) by cursor based pagination"
}
]
}
]
}