Skip to content

Commit

Permalink
[DC-1308] Add pii_* files to aou-ehr-file-check script (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksdkalluri authored Sep 17, 2021
1 parent 73eb1e2 commit c5efcfc
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 0 deletions.
14 changes: 14 additions & 0 deletions resources/omop/pii_address.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"type": "integer",
"name": "person_id",
"mode": "required",
"description": "The participant ID for this row"
},
{
"type": "integer",
"name": "location_id",
"mode": "required",
"description": "A foreign key to the location OMOP table for additional addresses (integer)."
}
]
14 changes: 14 additions & 0 deletions resources/omop/pii_email.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"type": "integer",
"name": "person_id",
"mode": "required",
"description": "The participant ID for this row"
},
{
"type": "string",
"name": "email",
"mode": "required",
"description": "The participant's email address"
}
]
20 changes: 20 additions & 0 deletions resources/omop/pii_mrn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"type": "integer",
"name": "person_id",
"mode": "required",
"description": "The participant ID for this row"
},
{
"type": "string",
"name": "health_system",
"mode": "required",
"description": "The health system for which the MRN applies."
},
{
"type": "string",
"name": "MRN",
"mode": "required",
"description": "A medical record number (or similar patient identifier)"
}
]
38 changes: 38 additions & 0 deletions resources/omop/pii_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"type": "integer",
"name": "person_id",
"mode": "required",
"description": "The participant ID for this row"
},
{
"type": "string",
"name": "first_name",
"mode": "required",
"description": "The participant’s first (given) name"
},
{
"type": "string",
"name": "middle_name",
"mode": "nullable",
"description": "The participant’s middle name (or initial)"
},
{
"type": "string",
"name": "last_name",
"mode": "required",
"description": "The participant’s last (family) name"
},
{
"type": "string",
"name": "suffix",
"mode": "nullable",
"description": "The participant’s provided suffix (eg, III)"
},
{
"type": "string",
"name": "prefix",
"mode": "nullable",
"description": "The participant’s provided prefix or title (eg, Dr.)"
}
]
14 changes: 14 additions & 0 deletions resources/omop/pii_phone_number.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"type": "integer",
"name": "person_id",
"mode": "required",
"description": "The participant ID for this row"
},
{
"type": "string",
"name": "phone_number",
"mode": "required",
"description": "The participant's phone number"
}
]

0 comments on commit c5efcfc

Please sign in to comment.