You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eventTypes.json
+232-2Lines changed: 232 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2072,11 +2072,125 @@
2072
2072
"rectal",
2073
2073
"vaginal"
2074
2074
]
2075
+
}
2076
+
}
2077
+
}
2078
+
}
2079
+
},
2080
+
"medication/prescription-v1": {
2081
+
"description": "Medication prescription. Captures what the doctor prescribed: drug identity, dosage, frequency, and instructions. event.duration reflects the full treatment period.",
2082
+
"type": "object",
2083
+
"required": [
2084
+
"drug"
2085
+
],
2086
+
"properties": {
2087
+
"drug": {
2088
+
"description": "Coded drug identity, populated from datasets-service selection.",
2089
+
"type": "object",
2090
+
"required": [
2091
+
"label",
2092
+
"codes"
2093
+
],
2094
+
"properties": {
2095
+
"label": {
2096
+
"description": "Localized medication name for display",
2097
+
"type": "object",
2098
+
"properties": {
2099
+
"en": {
2100
+
"type": "string"
2101
+
}
2102
+
}
2075
2103
},
2076
-
"frequencyHours": {
2077
-
"description": "Interval between doses in hours. If set, event.duration should reflect the full treatment period",
2104
+
"description": {
2105
+
"description": "Localized full description (e.g. 'Aspirin 325 MG Oral Tablet')",
2106
+
"type": "object",
2107
+
"properties": {
2108
+
"en": {
2109
+
"type": "string"
2110
+
}
2111
+
}
2112
+
},
2113
+
"codes": {
2114
+
"description": "Coding identifiers across systems.",
2115
+
"type": "array",
2116
+
"items": {
2117
+
"type": "object",
2118
+
"required": [
2119
+
"code",
2120
+
"system",
2121
+
"hdsId"
2122
+
],
2123
+
"properties": {
2124
+
"code": {
2125
+
"type": "string"
2126
+
},
2127
+
"system": {
2128
+
"type": "string"
2129
+
},
2130
+
"source": {
2131
+
"type": "object",
2132
+
"properties": {
2133
+
"key": {
2134
+
"type": "string"
2135
+
}
2136
+
}
2137
+
},
2138
+
"hdsId": {
2139
+
"type": "string"
2140
+
}
2141
+
}
2142
+
}
2143
+
}
2144
+
}
2145
+
},
2146
+
"posology": {
2147
+
"description": "Prescribed dosage and schedule",
2148
+
"type": "object",
2149
+
"properties": {
2150
+
"doseValue": {
2151
+
"description": "Amount per intake (e.g. 2 for '2 tablets')",
2078
2152
"type": "number"
2079
2153
},
2154
+
"doseUnit": {
2155
+
"description": "HDS eventType reference for the dose unit",
2156
+
"type": "string",
2157
+
"enum": [
2158
+
"dose/tablet",
2159
+
"dose/drop",
2160
+
"dose/puff",
2161
+
"dose/application",
2162
+
"dose/suppository",
2163
+
"dose/unit",
2164
+
"volume/ml",
2165
+
"mass/mg",
2166
+
"mass/mcg",
2167
+
"mass/g"
2168
+
]
2169
+
},
2170
+
"route": {
2171
+
"description": "Route of administration",
2172
+
"type": "string",
2173
+
"enum": [
2174
+
"oral",
2175
+
"sublingual",
2176
+
"parenteral",
2177
+
"intravenous",
2178
+
"intramuscular",
2179
+
"subcutaneous",
2180
+
"inhalation",
2181
+
"nasal",
2182
+
"topical",
2183
+
"transdermal",
2184
+
"ophthalmic",
2185
+
"otic",
2186
+
"rectal",
2187
+
"vaginal"
2188
+
]
2189
+
},
2190
+
"frequency": {
2191
+
"description": "Prescribed frequency (e.g. 2 times per day)",
2192
+
"$ref": "#/types/frequency~1times-period"
2193
+
},
2080
2194
"asNeeded": {
2081
2195
"description": "True if taken as needed (PRN) rather than on schedule",
2082
2196
"type": "boolean"
@@ -2136,6 +2250,79 @@
2136
2250
"rate/mcg-hr": {
2137
2251
"description": "Micrograms per hour (transdermal)",
2138
2252
"type": "number"
2253
+
},
2254
+
"frequency/times-period": {
2255
+
"description": "Number of times per period. E.g. 2 times per day, 1 time per week.",
2256
+
"type": "object",
2257
+
"required": [
2258
+
"times",
2259
+
"period",
2260
+
"periodUnit"
2261
+
],
2262
+
"properties": {
2263
+
"times": {
2264
+
"description": "Number of intakes per period (e.g. 2 for 'twice a day')",
2265
+
"type": "number",
2266
+
"minimum": 1
2267
+
},
2268
+
"period": {
2269
+
"description": "Length of the period (e.g. 1 for 'per day', 8 for 'every 8 hours')",
2270
+
"type": "number",
2271
+
"minimum": 1
2272
+
},
2273
+
"periodUnit": {
2274
+
"description": "Unit of the period",
2275
+
"type": "string",
2276
+
"enum": [
2277
+
"h",
2278
+
"d",
2279
+
"wk",
2280
+
"mo",
2281
+
"y"
2282
+
]
2283
+
}
2284
+
}
2285
+
},
2286
+
"settings/preferred-locales": {
2287
+
"description": "User preferred locales, ordered by priority",
2288
+
"type": "array",
2289
+
"items": {
2290
+
"type": "string"
2291
+
}
2292
+
},
2293
+
"settings/theme": {
2294
+
"description": "UI theme preference",
2295
+
"type": "string",
2296
+
"enum": [
2297
+
"light",
2298
+
"dark"
2299
+
]
2300
+
},
2301
+
"settings/timezone": {
2302
+
"description": "User timezone (IANA identifier)",
2303
+
"type": "string"
2304
+
},
2305
+
"settings/date-format": {
2306
+
"description": "Preferred date display format",
2307
+
"type": "string",
2308
+
"enum": [
2309
+
"DD.MM.YYYY",
2310
+
"DD/MM/YYYY",
2311
+
"MM/DD/YYYY",
2312
+
"YYYY-MM-DD"
2313
+
]
2314
+
},
2315
+
"settings/unit-system": {
2316
+
"description": "Preferred measurement unit system",
<tr><td><spanstyle="font-weight: bold;" id="fertility-ttc-tta">fertility-ttc-tta</span><br><u>Type:</u> select<br><u>When:</u> P1D</td><td>Trying to conceive / Avoiding pregnancy<br>Current fertility intention<BR><SELECTstyle="width: 20em"><OPTION>0: TTA - Not taking risks. Would take all available measures to end a pregnancy.</OPTION><OPTION>1: TTA - Not taking risks. Would strongly consider placing baby for adoption.</OPTION><OPTION>2: TTA - Not taking risks. Would need some time, maybe counseling. Ultimately keeping the pregnancy.</OPTION><OPTION>4: TTA - Not taking risks. Currently content with family size but a surprise pregnancy would be welcome.</OPTION><OPTION>5: TTW/TTA - "Loosely TTA" known risks are taken in the fertile window. "OOPS" pregnancy would be welcome.</OPTION><OPTION>6: TTW - Charting only for health/curiosity. Unprotected intercourse happens whenever. Pregnancy very welcome.</OPTION><OPTION>7: TTW/TTC - Pregnancy very welcome (moving up the scale in very near future).</OPTION><OPTION>8: TTC - "Excited to start/grow a family TTC" Intentional intercourse every cycle. Excited to start/grow a family. But would not use any fertility treatments if needed.</OPTION><OPTION>9: TTC - "Highly hopeful TTC" Intentional intercourse every cycle. Would consider some but not all fertility treatments if needed.</OPTION><OPTION>10: TTC - " Seriously TTC" Intentional intercourse every cycle. Would pursue any/ALL fertility treatments or procedures if needed.</OPTION></SELECT></td><td><u>streamId:</u> fertility-ttc-tta<br><u>eventType(s):</u> ratio/generic<br><u>version:</u> v1</td></tr>
0 commit comments