From c5efcfc5a64c608f5cc4b91f5ba04951855a1e9a Mon Sep 17 00:00:00 2001 From: Krishna Kalluri Date: Fri, 17 Sep 2021 14:34:40 -0400 Subject: [PATCH] [DC-1308] Add pii_* files to aou-ehr-file-check script (#16) --- resources/omop/pii_address.json | 14 ++++++++++ resources/omop/pii_email.json | 14 ++++++++++ resources/omop/pii_mrn.json | 20 +++++++++++++++ resources/omop/pii_name.json | 38 ++++++++++++++++++++++++++++ resources/omop/pii_phone_number.json | 14 ++++++++++ 5 files changed, 100 insertions(+) create mode 100644 resources/omop/pii_address.json create mode 100644 resources/omop/pii_email.json create mode 100644 resources/omop/pii_mrn.json create mode 100644 resources/omop/pii_name.json create mode 100644 resources/omop/pii_phone_number.json diff --git a/resources/omop/pii_address.json b/resources/omop/pii_address.json new file mode 100644 index 0000000..eeacd3b --- /dev/null +++ b/resources/omop/pii_address.json @@ -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)." + } +] \ No newline at end of file diff --git a/resources/omop/pii_email.json b/resources/omop/pii_email.json new file mode 100644 index 0000000..d900726 --- /dev/null +++ b/resources/omop/pii_email.json @@ -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" + } +] \ No newline at end of file diff --git a/resources/omop/pii_mrn.json b/resources/omop/pii_mrn.json new file mode 100644 index 0000000..d11ab2d --- /dev/null +++ b/resources/omop/pii_mrn.json @@ -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)" + } +] \ No newline at end of file diff --git a/resources/omop/pii_name.json b/resources/omop/pii_name.json new file mode 100644 index 0000000..1f316af --- /dev/null +++ b/resources/omop/pii_name.json @@ -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.)" + } +] \ No newline at end of file diff --git a/resources/omop/pii_phone_number.json b/resources/omop/pii_phone_number.json new file mode 100644 index 0000000..afedcfc --- /dev/null +++ b/resources/omop/pii_phone_number.json @@ -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" + } +] \ No newline at end of file