Closed Farreeda closed 1 year ago
@VarshC , could you review this PR and ping me when done? This is to address issue #42 for context. Thanks!
Hey @Farreeda , thanks for this! Just had a moment to review the PR. For the following section:
### Task: Find All Patients with Strep Throat
Using the [API](@ref), find all patients with strep throat.
Suggested solution:
```julia
### Task: Find All Patients with Strep Throat
Using the [API](@ref), find all patients with strep throat.
Suggested solution:
```julia
strep_patients = occ.ConditionFilterPersonIDs(28060, conn)
For the patients who have strep throat diagnoses, find their race.
Suggested solution:
strep_patients_race = occ.GetPatientRace(strep_patients.person_id, conn)
For the patients who have strep throat diagnoses, find their gender.
Suggested solution:
strep_patients_gender = occ.GetPatientGender(strep_patients.person_id, conn)
Instead of switching references of `strep_patients` to `strep_patients.person_id`, let's instead switch the line: `strep_patients = occ.ConditionFilterPersonIDs(28060, conn)`
To
```julia
strep_patients = occ.ConditionFilterPersonIDs(28060, conn).person_id
Then let's merge the PR!
P.S. Also, thanks for a light review earlier @VarshC !
@Farreeda -- thanks for contributing!
For issue #42