Skip to content

Commit

Permalink
fix idHospital
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloarocha committed Jan 30, 2025
1 parent 49dd62f commit 051b2cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/prescription_drug_edit_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def _get_drug_or_create_from_substance(
)

sub_drug = Drug()
sub_drug.idHospital = 1
sub_drug.id = sub_drug_id
sub_drug.name = f"[SUB] {substance.name}"
sub_drug.sctid = substance.id
Expand Down

0 comments on commit 051b2cd

Please sign in to comment.