Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift data and healthkit (apple) omop cmd compatible #720

Open
exgete opened this issue Nov 19, 2024 · 0 comments
Open

swift data and healthkit (apple) omop cmd compatible #720

exgete opened this issue Nov 19, 2024 · 0 comments

Comments

@exgete
Copy link

exgete commented Nov 19, 2024

Have you some interest on an OMOP swiftdata healthkit product ?

This appaire difficult but in fact ... this look like this:
import HealthKit

class person {
var person_id: Int64 // person_id INT64 not null,
var gender_concept_id: Int64 // gender_concept_id INT64 not null,
var year_of_birthint: Int64 // year_of_birth INT64 not null,
var month_of_birth: Int64? // month_of_birth INT64,
var day_of_birth: Int64? // day_of_birth INT64,
var birth_datetime: Date? // birth_datetime datetime null,
var race_concept_id: Int64 // race_concept_id INT64 not null,
var ethnicity_concept_id:Int64 // ethnicity_concept_id INT64 not null,
var location_id: Int64? // location_id INT64,
var provider_id: Int64? // provider_id INT64,
var care_site_id: Int64? // care_site_id INT64,
var person_source_value: String // person_source_value STRING,
var gender_source_value HKBiologicalSex? // gender_source_value STRING,
var gender_source_concept_id: Int64 // gender_source_concept_id INT64,
var race_source_value: String // race_source_value STRING,
var race_source_concept_id: Int64, // race_source_concept_id INT64,
var ethnicity_source_value: String, // ethnicity_source_value STRING,
var ethnicity_source_concept_id: Int64, //ethnicity_source_concept_id INT64
}
etc...
Thank for your response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant