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
{{ message }}
Repository navigation
Commit df68a11
Browse filesBrowse the repository at this point in the historyBrowse files
Role: Act as an expert in healthcare data engineering and the Open Syndrome Definition (OSD) framework.
113
+
114
+
Task: Generate two text files for testing data filtering and syndromic surveillance pipelines.
115
+
116
+
File 1: Synthetic Dataset (CSV Format)
117
+
118
+
Create a synthetic dataset of roughly 20 ambulatory care records.
119
+
120
+
The data must be in [Insert Language, e.g., Brazilian Portuguese, English, German].
121
+
122
+
Include the following columns: recording_ts (timestamp), icd_code (ICD-10 code), sex (encoded as [Insert Encoding, e.g., M/F/D]), age (integer), and chief_complaint (string of the symptoms).
123
+
124
+
Ensure the clinical presentation logically matches the ICD-10 code and age.
125
+
126
+
File 2: OSD Mapping File (YAML Format)
127
+
128
+
Create a YAML configuration file that maps the CSV columns to Open Syndrome Definition concepts.
129
+
130
+
Define a profile named ambulatory_care.
131
+
132
+
Include a value_encodings section that defines the mapping for the sex column.
133
+
134
+
Under columns, map each CSV column to its respective OSD concept (e.g., demographic_criteria, diagnosis), attribute (e.g., age, sex), and dtype (integer, string).
135
+
136
+
Please output the exact CSV and YAML code in clearly separated code blocks so I can copy them directly into my environment.
137
+
"""
138
+
return (prompt,)
139
+
140
+
141
+
@app.cell
142
+
def_(mo, prompt):
109
143
mo.callout(
110
144
mo.md(
111
-
"This is a prototype of how to filter your data using definitions from the Open Syndrome Initiative.\n\n"
112
-
"We do not store any data."
145
+
f"""
146
+
This is a prototype for filtering your CSV data using definitions from the [Open Syndrome Initiative](https://opensyndrome.org/).
147
+
148
+
You can either provide a sample of your own data, up to 10 MB, or generate a toy dataset using your preferred GenAI tool.
149
+
150
+
<details>
151
+
<summary>Prompt</summary>
152
+
```
153
+
{prompt}
154
+
```
155
+
</details>
156
+
157
+
Next, you will need to create a map of your data and the Open Syndrome Definition concepts you want to filter on. Don't worry! We have an example ready for you.
0 commit comments