Skip to content

Commit

Permalink
Merge pull request #153 from swiftss-org/bug/historical-episode-comment
Browse files Browse the repository at this point in the history
Bug/historical episode comment
  • Loading branch information
szigyi authored May 9, 2024
2 parents f30e7cd + 478dc79 commit 90520dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ $ activate venv
> .\venv\Scripts\activate
```

Run before committing/pushing:
```shell
./checkInCheck.sh
```


Install project dependencies:
```shell
Expand Down
1 change: 0 additions & 1 deletion tmh_registry/registry/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,6 @@ def create(self, validated_data):
)

pain_severity = validated_data.get("pain_severity", "")
print(f"{pain_severity=}")
follow_up = FollowUp.objects.create(
episode_id=episode.id,
date=validated_data["date"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_create_when_mapping_already_exists_with_different_patient_hospital_id(
data = {
"patient_id": mapping.patient.id,
"hospital_id": mapping.hospital.id,
"patient_hospital_id": "whatever",
"patient_hospital_id": 45678,
}

response = self.client.post(
Expand Down

0 comments on commit 90520dd

Please sign in to comment.