fhir-sheets 2.1.0__tar.gz → 2.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fhir-sheets might be problematic. Click here for more details.
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/PKG-INFO +1 -1
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/pyproject.toml +1 -1
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/cli/main.py +0 -1
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/model/resource_definition_entity.py +1 -1
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/LICENSE +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/README.md +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/__init__.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/cli/__init__.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/__init__.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/conversion.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/fhir_formatting.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/model/cohort_data_entity.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/model/resource_link_entity.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/read_input.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/special_values.py +0 -0
- {fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fhir-sheets
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.1
|
|
4
4
|
Summary: FhirSheets is a command-line tool that reads an Excel file in FHIR cohort format and generates FHIR bundle JSON files from it. Each row in the template Excel file is used to create an individual JSON file, outputting them to a specified folder.
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Author: Michael Riley
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "fhir-sheets"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.1"
|
|
4
4
|
description = "FhirSheets is a command-line tool that reads an Excel file in FHIR cohort format and generates FHIR bundle JSON files from it. Each row in the template Excel file is used to create an individual JSON file, outputting them to a specified folder."
|
|
5
5
|
authors = ["Michael Riley <Michael.Riley@gtri.gatech.edu>"]
|
|
6
6
|
packages = [{include = "fhir_sheets", from = "src"}]
|
|
@@ -29,7 +29,6 @@ def main(input_file, output_folder):
|
|
|
29
29
|
if not output_folder_path.exists():
|
|
30
30
|
output_folder_path.mkdir(parents=True, exist_ok=True) # Create the folder if it doesn't exist
|
|
31
31
|
resource_definition_entities, resource_link_entities, cohort_data = read_input.read_xlsx_and_process(input_file)
|
|
32
|
-
pprint(cohort_data)
|
|
33
32
|
#For each index of patients
|
|
34
33
|
for i in range(0,cohort_data.get_num_patients()):
|
|
35
34
|
# Construct the file path for each JSON file
|
{fhir_sheets-2.1.0 → fhir_sheets-2.1.1}/src/fhir_sheets/core/model/resource_definition_entity.py
RENAMED
|
@@ -17,4 +17,4 @@ class ResourceDefinition:
|
|
|
17
17
|
self.profiles = entity_data.get('Profile(s)')
|
|
18
18
|
|
|
19
19
|
def __repr__(self) -> str:
|
|
20
|
-
return f"
|
|
20
|
+
return f"ResourceDefinition(entity_name='{self.entity_name}', resource_type='{self.resource_type}', profiles={self.profiles})"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|