Skip to content

Commit

Permalink
(fix) - O3-3222 - make coded obs not appear duplicated. (openmrs#1221)
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Istenes <[email protected]>
  • Loading branch information
chibongho and brandones authored Jul 3, 2024
1 parent 2e52cb1 commit 3fd771f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const wardPatientCodedObsTags = (config: PatientCodedObsTagsElementConfig) => {
const color = conceptToTagColorMap?.get(uuid);
if (color) {
return (
<Tag type={color} key={uuid}>
<Tag type={color} key={`ward-coded-obs-tag-${o.uuid}`}>
{display}
</Tag>
);
Expand Down
3 changes: 2 additions & 1 deletion packages/esm-ward-app/src/ward-view/ward-view.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ const WardViewByLocation = () => {
// and not need the one from bedLayouts, however, the emr api
// does not respect custom representation right now and does not return
// all required fields for the patient object
return { ...admittedPatient, admitted: true };
// TODO: change after this is done. https://openmrs.atlassian.net/browse/EA-192
return { ...admittedPatient, patient, admitted: true };
}

// patient assigned a bed but *not* admitted
Expand Down

0 comments on commit 3fd771f

Please sign in to comment.