Skip to content

Commit

Permalink
Patient relationship bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred-Mutai committed Jan 26, 2024
1 parent 1127c3d commit ed43b5d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ export class LocatorPrettyViewerComponent implements OnInit {
for (const item of data[type]) {
if (type === 'obs' && item.concept.name.display) {
mappings[type][item.concept.name.display] =
item.value.display || item.value;
item.value && item.value.display
? item.value.display
: item.value || null;
} else if (type === 'attributes' && item.display) {
const parts = item.display.split('=');
if (parts.length === 2) {
Expand Down

0 comments on commit ed43b5d

Please sign in to comment.