Skip to content

Commit

Permalink
Attempt to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed Aug 14, 2024
1 parent e33bef4 commit 09c3199
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ public void shouldCreateNewAllergyAsJson() throws Exception {
assertThat(allergy.getPatient().getReferenceElement().getIdPart(), equalTo("da7f524f-27ce-4bb2-86d6-6d1d05312bd5"));
assertThat(allergy.getRecorder().getReferenceElement().getIdPart(), equalTo("c98a1558-e131-11de-babe-001e378eb67e"));
assertThat(allergy.getCategory().get(0).getCode(), equalTo("medication"));
assertThat(allergy.hasReaction(), is(true));
assertThat(allergy.getReactionFirstRep().hasSeverity(), is(true));
assertThat(allergy.getReactionFirstRep().getSeverity().toCode(), equalTo("severe"));
assertThat(allergy.getReactionFirstRep().getManifestationFirstRep().getCodingFirstRep().getCode(),
equalTo("5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"));
Expand Down

0 comments on commit 09c3199

Please sign in to comment.