Skip to content

Commit

Permalink
Merge pull request #26 from cdisc-org/BC-Package-R7
Browse files Browse the repository at this point in the history
Fix BC dates
  • Loading branch information
lexjansen authored Mar 26, 2024
2 parents e36bdfd + 6a11e69 commit 3dcbef6
Show file tree
Hide file tree
Showing 59 changed files with 67 additions and 65 deletions.
9 changes: 5 additions & 4 deletions utilities/convert_bc_xlsx2yaml.sas
Original file line number Diff line number Diff line change
Expand Up @@ -114,22 +114,23 @@
%let package=20240402;
%let folder=20240402_r7;
%let TargetFolder=&root/yaml/&folder/bc;
%let OverrideDate=%str(2024-04-02);

%let ExcelFile=&root/curation/BC_Package_R7_GF.xlsx;

%generate_yaml_from_bc(excel_file=&ExcelFile, type=bc_gf, package=&package, override_package_date=%str(2023-04-02), out_folder=&TargetFolder, range=%str(BC_GF));
%generate_yaml_from_bc(excel_file=&ExcelFile, type=bc_gf, package=&package, override_package_date=&OverrideDate, out_folder=&TargetFolder, range=%str(BC_GF));

%let ExcelFile=&root/curation/BC_Package_R7_FACV.xlsx;

%generate_yaml_from_bc(excel_file=&ExcelFile, type=bc_facv, package=&package, override_package_date=%str(2023-04-02), out_folder=&TargetFolder, range=%str(BC_FACV));
%generate_yaml_from_bc(excel_file=&ExcelFile, type=bc_facv, package=&package, override_package_date=&OverrideDate, out_folder=&TargetFolder, range=%str(BC_FACV));

%let ExcelFile=&root/curation/BC_Package_R7_DD.xlsx;

%generate_yaml_from_bc(excel_file=&ExcelFile, type=bc_dd, package=&package, override_package_date=%str(2023-04-02), out_folder=&TargetFolder, range=%str(BC_DD));
%generate_yaml_from_bc(excel_file=&ExcelFile, type=bc_dd, package=&package, override_package_date=&OverrideDate, out_folder=&TargetFolder, range=%str(BC_DD));

%let ExcelFile=&root/curation/BC_Package_R7_BC_updates.xlsx;

%generate_yaml_from_bc(excel_file=&ExcelFile, type=bc_updates, package=&package, override_package_date=%str(2023-04-02), out_folder=&TargetFolder, range=%str(Biomedical Concepts));
%generate_yaml_from_bc(excel_file=&ExcelFile, type=bc_updates, package=&package, override_package_date=&OverrideDate, out_folder=&TargetFolder, range=%str(Biomedical Concepts));

ods listing close;
ods html5 file="&root/utilities/reports/convert_bc_xlsx2yaml_issues_&todays..html";
Expand Down
9 changes: 5 additions & 4 deletions utilities/convert_sdtm_xlsx2yaml.sas
Original file line number Diff line number Diff line change
Expand Up @@ -120,22 +120,23 @@ options mprint;
%let package=20240402;
%let folder=20240402_r7;
%let TargetFolder=&root/yaml/&folder/sdtm;
%let OverrideDate=%str(2024-04-02);

%let checkrelationships=0;
%let ExcelFile=&root/curation/BC_Package_R7_GF.xlsx;
%generate_yaml_from_bc_sdtm(excel_file=&Excelfile, type=sdtm_gf, package=&package, override_package_date=%str(2024-04-02), out_folder=&TargetFolder, subsetsDS=subsets, range=%str(SDTM_GF), debug=0, check_relationships=&checkrelationships);
%generate_yaml_from_bc_sdtm(excel_file=&Excelfile, type=sdtm_gf, package=&package, override_package_date=&OverrideDate, out_folder=&TargetFolder, subsetsDS=subsets, range=%str(SDTM_GF), debug=0, check_relationships=&checkrelationships);

%let checkrelationships=0;
%let ExcelFile=&root/curation/BC_Package_R7_FACV.xlsx;
%generate_yaml_from_bc_sdtm(excel_file=&Excelfile, type=sdtm_facv, package=&package, override_package_date=%str(2024-04-02), out_folder=&TargetFolder, subsetsDS=subsets, range=%str(SDTM_FACV), debug=0, check_relationships=&checkrelationships);
%generate_yaml_from_bc_sdtm(excel_file=&Excelfile, type=sdtm_facv, package=&package, override_package_date=&OverrideDate, out_folder=&TargetFolder, subsetsDS=subsets, range=%str(SDTM_FACV), debug=0, check_relationships=&checkrelationships);

%let checkrelationships=1;
%let ExcelFile=&root/curation/BC_Package_R7_DD.xlsx;
%generate_yaml_from_bc_sdtm(excel_file=&Excelfile, type=sdtm_dd, package=&package, override_package_date=%str(2024-04-02), out_folder=&TargetFolder, subsetsDS=subsets, range=%str(SDTM_DD), debug=0, check_relationships=&checkrelationships);
%generate_yaml_from_bc_sdtm(excel_file=&Excelfile, type=sdtm_dd, package=&package, override_package_date=&OverrideDate, out_folder=&TargetFolder, subsetsDS=subsets, range=%str(SDTM_DD), debug=0, check_relationships=&checkrelationships);

%let checkrelationships=0;
%let ExcelFile=&root/curation/BC_Package_R7_SDTM_updates.xlsx;
%generate_yaml_from_bc_sdtm(excel_file=&Excelfile, type=sdtm_updates, package=&package, override_package_date=%str(2024-04-02), out_folder=&TargetFolder, subsetsDS=subsets, range=%str(SDTM Dataset Specializations), debug=0, check_relationships=&checkrelationships);
%generate_yaml_from_bc_sdtm(excel_file=&Excelfile, type=sdtm_updates, package=&package, override_package_date=&OverrideDate, out_folder=&TargetFolder, subsetsDS=subsets, range=%str(SDTM Dataset Specializations), debug=0, check_relationships=&checkrelationships);

ods listing close;
ods html5 file="&root/utilities/reports/convert_sdtm_xlsx2yaml_issues_&todays..html";
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c116142.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C116142
ncitCode: C116142
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c124331.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C124331
ncitCode: C124331
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c135383.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C135383
ncitCode: C135383
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c135384.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C135384
ncitCode: C135384
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c135385.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C135385
ncitCode: C135385
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c135386.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C135386
ncitCode: C135386
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c170571.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C170571
ncitCode: C170571
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c174284.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C174284
ncitCode: C174284
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c176287.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C176287
ncitCode: C176287
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c184505.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C184505
ncitCode: C184505
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c198258.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C198258
ncitCode: C198258
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c199843.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C199843
ncitCode: C199843
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c25150.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C25150
ncitCode: C25150
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c25180.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C25180
ncitCode: C25180
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c25341.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C25341
ncitCode: C25341
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c25683.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C25683
ncitCode: C25683
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c81239.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C81239
ncitCode: C81239
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c93546.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C93546
ncitCode: C93546
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c93565.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C93565
ncitCode: C93565
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_dd_c99531.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C99531
ncitCode: C99531
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C111095
ncitCode: C111095
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C118936
ncitCode: C118936
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119229
ncitCode: C119229
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119231
ncitCode: C119231
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119232
ncitCode: C119232
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119233
ncitCode: C119233
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119234
ncitCode: C119234
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119236
ncitCode: C119236
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119238
ncitCode: C119238
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119239
ncitCode: C119239
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C119579
ncitCode: C119579
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C123424
ncitCode: C123424
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C123443
ncitCode: C123443
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_facv_c25284.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C25284
ncitCode: C25284
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_facv_c35552.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C35552
ncitCode: C35552
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_facv_c36292.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C36292
ncitCode: C36292
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_facv_c4876.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C4876
ncitCode: C4876
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_facv_c77140.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C77140
ncitCode: C77140
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_facv_c83119.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C83119
ncitCode: C83119
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c17208.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C17208
ncitCode: C17208
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c17248.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C17248
ncitCode: C17248
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c181330.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C181330
ncitCode: C181330
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c181331.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C181331
ncitCode: C181331
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c181332.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C181332
ncitCode: C181332
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c181333.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C181333
ncitCode: C181333
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c181334.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C181334
ncitCode: C181334
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c181335.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C181335
ncitCode: C181335
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c18302.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C18302
ncitCode: C18302
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c189439.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C189439
ncitCode: C189439
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c189440.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C189440
ncitCode: C189440
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c189441.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C189441
ncitCode: C189441
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c21049.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C21049
ncitCode: C21049
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c28614.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C28614
ncitCode: C28614
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c63331.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C63331
ncitCode: C63331
Expand Down
2 changes: 1 addition & 1 deletion yaml/20240402_r7/bc/biomedical_concept_bc_gf_c63479.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C63479
ncitCode: C63479
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C139084
ncitCode: C139084
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageDate: "2023-04-02"
packageDate: "2024-04-02"
packageType: bc
conceptId: C170598
ncitCode: C170598
Expand Down

0 comments on commit 3dcbef6

Please sign in to comment.