fhir-sheets 2.1.0__py3-none-any.whl → 2.1.1__py3-none-any.whl

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.
fhir_sheets/cli/main.py CHANGED
@@ -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
@@ -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"FhirEntity(entity_name='{self.entity_name}', resource_type='{self.resource_type}', profiles={self.profiles})"
20
+ return f"ResourceDefinition(entity_name='{self.entity_name}', resource_type='{self.resource_type}', profiles={self.profiles})"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fhir-sheets
3
- Version: 2.1.0
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,16 +1,16 @@
1
1
  fhir_sheets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  fhir_sheets/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- fhir_sheets/cli/main.py,sha256=OPuiQtWgmPbN_uErdSDgnAllFlMWO43A9ZhvAY9-dN8,2675
3
+ fhir_sheets/cli/main.py,sha256=0ctZTB30KwIHpjYyJgrEdJorDbn5WQIQuclIwHvp4Js,2650
4
4
  fhir_sheets/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  fhir_sheets/core/conversion.py,sha256=BcIPmEImW6QvKhUsp0ycPbT6QYHj_tjU0ajubsvFohg,19330
6
6
  fhir_sheets/core/fhir_formatting.py,sha256=eNM38Cp7TEdND1fIKhp2HTwzGYDqgWtr13A1qRT06cY,13011
7
7
  fhir_sheets/core/model/cohort_data_entity.py,sha256=tRfHxuZdXvSk-OerPpbCBEfJJAo6f1L-If-p0ltC51Q,1382
8
- fhir_sheets/core/model/resource_definition_entity.py,sha256=NYOBjGz2LyfjI9LVl7j34fcAp-qEmzrBTg9ZLpFfDxA,738
8
+ fhir_sheets/core/model/resource_definition_entity.py,sha256=1yRzNWwewCSle_6u8CBW_l7nGg1aQDVIJCprKKdv_MU,746
9
9
  fhir_sheets/core/model/resource_link_entity.py,sha256=-iCzGaKJt5ZISTSwBVmEuLIKzgRtbL_I7JRpoEc89h0,812
10
10
  fhir_sheets/core/read_input.py,sha256=ErChyIfadNKtWYOgM3hDO04btNe0T0xcFwzcUrcEYTQ,8149
11
11
  fhir_sheets/core/special_values.py,sha256=k2HcKaFlx41zMeIC-p-0DEtvqOWLT3tnMtyFX1XXXW8,15304
12
12
  fhir_sheets/core/util.py,sha256=gudEPi_xTDC9YHqUlGEkn_tA26HbhNjuqGgjtuOEINk,9
13
- fhir_sheets-2.1.0.dist-info/METADATA,sha256=Sa2ZBZJkuhtKzoukatr1ElKXR-IhdSSdoVMnKJqq0OY,2911
14
- fhir_sheets-2.1.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
15
- fhir_sheets-2.1.0.dist-info/licenses/LICENSE,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
16
- fhir_sheets-2.1.0.dist-info/RECORD,,
13
+ fhir_sheets-2.1.1.dist-info/METADATA,sha256=AlU4z_1F5CXwmSEaMT6rvGnR9RAp1JvyYpb3INJjThw,2911
14
+ fhir_sheets-2.1.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
15
+ fhir_sheets-2.1.1.dist-info/licenses/LICENSE,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
16
+ fhir_sheets-2.1.1.dist-info/RECORD,,