From b07303edbcf2dffda0bb5e990daf8b1b126e3819 Mon Sep 17 00:00:00 2001 From: Anthony Kimpo Date: Tue, 17 Sep 2024 09:00:21 -0400 Subject: [PATCH] new ndlp config and allowed spec value (#489) Co-authored-by: Anthony Kimpo --- .../v1/ndlp-covidallmonthlyvaccination.json | 6 +- .../v1/ndlp-covidbridgevaccination.json | 6 +- .../v1/ndlp-genericimmunization.json | 157 ++++++++++++++++++ .../v1/ndlp-influenzavaccination.json | 6 +- .../v1/ndlp-routineimmunization.json | 6 +- upload-configs/v1/ndlp-rsvprevention.json | 6 +- .../v2/covid-all-monthly-vaccination-csv.json | 3 +- .../v2/covid-bridge-vaccination-csv.json | 3 +- ...v.json => generic-immunization-other.json} | 22 ++- .../v2/influenza-vaccination-csv.json | 3 +- .../v2/routine-immunization-other.json | 3 +- upload-configs/v2/rsv-prevention-csv.json | 3 +- 12 files changed, 201 insertions(+), 23 deletions(-) create mode 100644 upload-configs/v1/ndlp-genericimmunization.json rename upload-configs/v2/{h5-influenza-vaccination-csv.json => generic-immunization-other.json} (91%) diff --git a/upload-configs/v1/ndlp-covidallmonthlyvaccination.json b/upload-configs/v1/ndlp-covidallmonthlyvaccination.json index c5e5050c0..81be8424f 100644 --- a/upload-configs/v1/ndlp-covidallmonthlyvaccination.json +++ b/upload-configs/v1/ndlp-covidallmonthlyvaccination.json @@ -13,7 +13,8 @@ { "field_name": "meta_ext_sourceversion", "allowed_values": [ - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "required": true, "description": "Aligns with version of the specification." @@ -115,7 +116,8 @@ "HH2", "HR2", "DV3", - "FD3" + "FD3", + "XXA" ], "required": true, "description": "Drives metrics for vaccine admin progress at entity grouping level." diff --git a/upload-configs/v1/ndlp-covidbridgevaccination.json b/upload-configs/v1/ndlp-covidbridgevaccination.json index ad71d387d..82cb83657 100644 --- a/upload-configs/v1/ndlp-covidbridgevaccination.json +++ b/upload-configs/v1/ndlp-covidbridgevaccination.json @@ -13,7 +13,8 @@ { "field_name": "meta_ext_sourceversion", "allowed_values": [ - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "required": true, "description": "Aligns with version of the specification." @@ -115,7 +116,8 @@ "HH2", "HR2", "DV3", - "FD3" + "FD3", + "XXA" ], "required": true, "description": "Drives metrics for vaccine admin progress at entity grouping level." diff --git a/upload-configs/v1/ndlp-genericimmunization.json b/upload-configs/v1/ndlp-genericimmunization.json new file mode 100644 index 000000000..6144a3b5f --- /dev/null +++ b/upload-configs/v1/ndlp-genericimmunization.json @@ -0,0 +1,157 @@ +{ + "metadata_config": { + "version": "1.0", + "fields": [ + { + "field_name": "meta_ext_source", + "allowed_values": [ + "IZGW" + ], + "required": true, + "description": "Establishes where the data came from." + }, + { + "field_name": "meta_ext_sourceversion", + "allowed_values": [ + "V2024-09-04" + ], + "required": true, + "description": "Aligns with version of the specification." + }, + { + "field_name": "meta_ext_entity", + "allowed_values": [ + "AKA", + "ALA", + "ASA", + "AZA", + "ARA", + "CAA", + "CHA", + "COA", + "CTA", + "DEA", + "DCA", + "FMA", + "FLA", + "GAA", + "GUA", + "HIA", + "IDA", + "ILA", + "IAA", + "INA", + "KSA", + "KYA", + "LAA", + "MEA", + "MHA", + "MDA", + "MAA", + "MIA", + "MNA", + "MSA", + "MOA", + "MTA", + "NEA", + "NHA", + "NJA", + "NMA", + "BAA", + "NYA", + "NCA", + "NDA", + "NVA", + "MPA", + "OHA", + "OKA", + "ORA", + "PAA", + "PHA", + "PRA", + "RPA", + "RIA", + "SCA", + "SDA", + "TNA", + "TXA", + "UTA", + "VTA", + "VIA", + "VAA", + "WAA", + "WVA", + "WIA", + "WYA", + "DD2", + "HS2", + "DS2", + "BP2", + "IH2", + "VA2", + "CV1", + "WG1", + "WM1", + "RA1", + "KG1", + "AB1", + "PX1", + "AD1", + "CW1", + "HE1", + "HV1", + "MG1", + "SE1", + "MS1", + "HM1", + "GN1", + "TP1", + "CP1", + "MH1", + "GM1", + "PI1", + "TBA", + "THA", + "HH2", + "HR2", + "DV3", + "FD3", + "XXA" + ], + "required": true, + "description": "Drives metrics for vaccine admin progress at entity grouping level." + }, + { + "field_name": "meta_username", + "allowed_values": null, + "required": true, + "description": "Username of user who submitted the file to the IZGW. If this is a system to system submission then this should be the service account." + }, + { + "field_name": "meta_ext_objectkey", + "allowed_values": null, + "required": true, + "description": "This field is used to track back to the source filename/objectid." + }, + { + "field_name": "meta_ext_filename", + "allowed_values": null, + "required": true, + "description": "The name of the file submitted to the IZGW. File and extension should be named in accordance with guidelines outlined in the DUA." + }, + { + "field_name": "meta_ext_submissionperiod", + "allowed_values": null, + "required": true, + "description": "Submission period for the file submitted." + } + ] + }, + "copy_config": { + "folder_structure": "date_YYYY_MM_DD", + "targets": [ + "edav" + ] + }, + "compat_config_filename": "generic-immunization-other.json" +} \ No newline at end of file diff --git a/upload-configs/v1/ndlp-influenzavaccination.json b/upload-configs/v1/ndlp-influenzavaccination.json index 1843176ef..69d50ceff 100644 --- a/upload-configs/v1/ndlp-influenzavaccination.json +++ b/upload-configs/v1/ndlp-influenzavaccination.json @@ -14,7 +14,8 @@ "field_name": "meta_ext_sourceversion", "allowed_values": [ "V2022-12-31", - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "required": true, "description": "Aligns with version of the specification." @@ -116,7 +117,8 @@ "HH2", "HR2", "DV3", - "FD3" + "FD3", + "XXA" ], "required": true, "description": "Drives metrics for vaccine admin progress at entity grouping level." diff --git a/upload-configs/v1/ndlp-routineimmunization.json b/upload-configs/v1/ndlp-routineimmunization.json index bbdd0c08c..f8bc7d309 100644 --- a/upload-configs/v1/ndlp-routineimmunization.json +++ b/upload-configs/v1/ndlp-routineimmunization.json @@ -36,7 +36,8 @@ "field_name": "meta_ext_sourceversion", "allowed_values": [ "V2022-12-31", - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "required": true, "description": "Aligns with version of the specification." @@ -138,7 +139,8 @@ "HH2", "HR2", "DV3", - "FD3" + "FD3", + "XXA" ], "required": true, "description": "Drives metrics for vaccine admin progress at entity grouping level." diff --git a/upload-configs/v1/ndlp-rsvprevention.json b/upload-configs/v1/ndlp-rsvprevention.json index f0bc653e7..8a69edc2a 100644 --- a/upload-configs/v1/ndlp-rsvprevention.json +++ b/upload-configs/v1/ndlp-rsvprevention.json @@ -13,7 +13,8 @@ { "field_name": "meta_ext_sourceversion", "allowed_values": [ - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "required": true, "description": "Aligns with version of the specification." @@ -115,7 +116,8 @@ "HH2", "HR2", "DV3", - "FD3" + "FD3", + "XXA" ], "required": true, "description": "Drives metrics for vaccine admin progress at entity grouping level." diff --git a/upload-configs/v2/covid-all-monthly-vaccination-csv.json b/upload-configs/v2/covid-all-monthly-vaccination-csv.json index 3cc3db0a2..f3e80b432 100644 --- a/upload-configs/v2/covid-all-monthly-vaccination-csv.json +++ b/upload-configs/v2/covid-all-monthly-vaccination-csv.json @@ -260,7 +260,8 @@ "required": true, "allowed_values": [ "V2022-12-31", - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "description": "Aligns with version of the specification." }, diff --git a/upload-configs/v2/covid-bridge-vaccination-csv.json b/upload-configs/v2/covid-bridge-vaccination-csv.json index 7d48b2a20..ba5e02f73 100644 --- a/upload-configs/v2/covid-bridge-vaccination-csv.json +++ b/upload-configs/v2/covid-bridge-vaccination-csv.json @@ -260,7 +260,8 @@ "required": true, "allowed_values": [ "V2022-12-31", - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "description": "Aligns with version of the specification." }, diff --git a/upload-configs/v2/h5-influenza-vaccination-csv.json b/upload-configs/v2/generic-immunization-other.json similarity index 91% rename from upload-configs/v2/h5-influenza-vaccination-csv.json rename to upload-configs/v2/generic-immunization-other.json index 0d1cb78f3..fe7b00252 100644 --- a/upload-configs/v2/h5-influenza-vaccination-csv.json +++ b/upload-configs/v2/generic-immunization-other.json @@ -8,7 +8,8 @@ "allowed_values": [ "IZGW" ], - "description": "This field is the identifier for the sender of the data." + "description": "This field is the identifier for the sender of the data.", + "compat_field_name": "meta_ext_source" }, { "field_name": "data_producer_id", @@ -214,29 +215,33 @@ "FD3", "XXA" ], - "description": "This field indicates the jurisdiction associated with the data. If not provided, populate with null." + "description": "This field indicates the jurisdiction associated with the data. If not provided, populate with null.", + "compat_field_name": "meta_ext_entity" }, { "field_name": "received_filename", "required": true, "allowed_values": null, - "description": "This field is the name of the file when uploaded." + "description": "This field is the name of the file when uploaded.", + "compat_field_name": "meta_ext_filename" }, { "field_name": "data_stream_id", "required": true, "allowed_values": [ - "h5-influenza-vaccination" + "generic-immunization" ], - "description": "This field is the identifier for the data stream." + "description": "This field is the identifier for the data stream.", + "compat_field_name": "meta_destination_id" }, { "field_name": "data_stream_route", "required": true, "allowed_values": [ - "csv" + "other" ], - "description": "This recieved is the route of the data stream." + "description": "This recieved is the route of the data stream.", + "compat_field_name": "meta_ext_event" }, { "field_name": "meta_ext_objectkey", @@ -261,7 +266,8 @@ "required": true, "allowed_values": [ "V2022-12-31", - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "description": "Aligns with version of the specification." }, diff --git a/upload-configs/v2/influenza-vaccination-csv.json b/upload-configs/v2/influenza-vaccination-csv.json index dc9ced840..5af700dcb 100644 --- a/upload-configs/v2/influenza-vaccination-csv.json +++ b/upload-configs/v2/influenza-vaccination-csv.json @@ -260,7 +260,8 @@ "required": true, "allowed_values": [ "V2022-12-31", - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "description": "Aligns with version of the specification." }, diff --git a/upload-configs/v2/routine-immunization-other.json b/upload-configs/v2/routine-immunization-other.json index 7ca95f9b2..ac8f92364 100644 --- a/upload-configs/v2/routine-immunization-other.json +++ b/upload-configs/v2/routine-immunization-other.json @@ -260,7 +260,8 @@ "required": true, "allowed_values": [ "V2022-12-31", - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "description": "Aligns with version of the specification." }, diff --git a/upload-configs/v2/rsv-prevention-csv.json b/upload-configs/v2/rsv-prevention-csv.json index 9df999ecc..99bc232bf 100644 --- a/upload-configs/v2/rsv-prevention-csv.json +++ b/upload-configs/v2/rsv-prevention-csv.json @@ -260,7 +260,8 @@ "required": true, "allowed_values": [ "V2022-12-31", - "V2023-09-01" + "V2023-09-01", + "V2024-09-04" ], "description": "Aligns with version of the specification." },