Skip to content

Commit

Permalink
removing redundant parser code
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkells committed Jun 18, 2024
1 parent 0066de6 commit 7fded5b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions healthchain/data_generators/cdsdatagenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ def generate(
if parsed_free_text:
results.append(BundleEntry(resource=random.choice(parsed_free_text)))

if (
self.workflow.value in parsed_free_text.keys()
and parsed_free_text[self.workflow.value]
):
results.append(
BundleEntry(
resource=random.choice(parsed_free_text[self.workflow.value])
)
)
output = CdsFhirData(prefetch=Bundle(entry=results))
self.data = output
return output
Expand Down

0 comments on commit 7fded5b

Please sign in to comment.