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

Timestamp example #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nhanes-load-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ data in most HPDS environments to-date.

* RDBMS: Datetime for the fact data (start_date)

* The timestamp data should be loaded in ISO format, an internationally recognized standard for representing dates and times in a format that is clear to both people and machines and neutralized time zones. If data is loaded into PIC-SURE from different zones, the timezone is represented as Coordinated Universal Time (UTC). For some programs, such as GIC, the date and time data can have varying degrees of precision and meaning and should not be treated as precise values, especially when comparing data from different sources. For example, sometimes values are missing time information or have incorrect time zones at the time of data ingestion, and for some, the timestamp represents when the data was received, not when the event occurred.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISO 8601


For the example we are providing an allConcepts.csv file that is compressed
for compatibility with GitHub. The docker-compose service uncompresses the
file for you.
Expand Down
55 changes: 55 additions & 0 deletions nhanes-load-example/hpds/Timestamp Example.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
PATIENT_NUM,CONCEPT_PATH,NVAL_NUM,TVAL_CHAR,TIMESTAMP
1,SUBJECT_ID,8563,E,
1,\demographics\AGE\,45,E,1.67257E+12
1,\demographics\RACE\black\,,black,
1,\demographics\SEX\male\,,male,1.67257E+12
1,\examination\body measures\Body Mass Index (kg per m**2)\,30.19,E,1.67257E+12
1,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",82.1,E,1.67257E+12
2,SUBJECT_ID,28336,E,
2,\demographics\AGE\,85,E,1.67378E+12
2,\demographics\RACE\black\,,black,
2,\demographics\SEX\male\,,male,1.67378E+12
2,\examination\body measures\Body Mass Index (kg per m**2)\,26.32,E,1.67378E+12
2,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",100.7,E,1.67378E+12
3,SUBJECT_ID,28801,E,
3,\demographics\AGE\,0,E,1.67275E+12
3,\demographics\RACE\mexican\,,mexican,
3,\demographics\SEX\female\,,female,1.67275E+12
3,\examination\body measures\Body Mass Index (kg per m**2)\,25.1,E,1.67275E+12
3,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",90,E,1.67275E+12
1,SUBJECT_ID,8563,E,
1,\demographics\AGE\,45,E,1.67525E+12
1,\demographics\RACE\black\,,black,
1,\demographics\SEX\male\,,male,1.67525E+12
1,\examination\body measures\Body Mass Index (kg per m**2)\,30.19,E,1.67525E+12
1,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",82.1,E,1.67525E+12
2,SUBJECT_ID,28336,E,
2,\demographics\AGE\,85,E,1.67646E+12
2,\demographics\RACE\black\,,black,
2,\demographics\SEX\male\,,male,1.67646E+12
2,\examination\body measures\Body Mass Index (kg per m**2)\,26.32,E,1.67646E+12
2,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",100.7,E,1.67646E+12
3,SUBJECT_ID,28801,E,
3,\demographics\AGE\,0,E,1.67542E+12
3,\demographics\RACE\mexican\,,mexican,
3,\demographics\SEX\female\,,female,1.67542E+12
3,\examination\body measures\Body Mass Index (kg per m**2)\,25.1,E,1.67542E+12
3,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",90,E,1.67542E+12
1,SUBJECT_ID,8563,E,
1,\demographics\AGE\,45,E,1.67767E+12
1,\demographics\RACE\black\,,black,
1,\demographics\SEX\male\,,male,1.67767E+12
1,\examination\body measures\Body Mass Index (kg per m**2)\,30.19,E,1.67767E+12
1,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",82.1,E,1.67767E+12
2,SUBJECT_ID,28336,E,
2,\demographics\AGE\,85,E,1.67888E+12
2,\demographics\RACE\black\,,black,
2,\demographics\SEX\male\,,male,1.67888E+12
2,\examination\body measures\Body Mass Index (kg per m**2)\,26.32,E,1.67888E+12
2,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",100.7,E,1.67888E+12
3,SUBJECT_ID,28801,E,
3,\demographics\AGE\,0,E,1.67784E+12
3,\demographics\RACE\mexican\,,mexican,
3,\demographics\SEX\female\,,female,1.67784E+12
3,\examination\body measures\Body Mass Index (kg per m**2)\,25.1,E,1.67784E+12
3,"\laboratory\biochemistry\Glucose, plasma (mg per dL)\",90,E,1.67784E+12