From 568fa1ed225ea3da80d8aa5e5b0a6594eb6b354b Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Thu, 3 Aug 2023 20:08:08 -0700 Subject: [PATCH] rename additional usages of "source" page to "explore" --- .../list-fallback-resource.component.html | 2 +- .../list-generic-resource.component.ts | 2 +- .../report-medical-history-condition.component.html | 8 ++++---- ...-medical-history-explanation-of-benefit.component.html | 4 ++-- frontend/src/app/pages/explore/explore.component.ts | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/app/components/list-fallback-resource/list-fallback-resource.component.html b/frontend/src/app/components/list-fallback-resource/list-fallback-resource.component.html index ae48ac22..20599d91 100644 --- a/frontend/src/app/components/list-fallback-resource/list-fallback-resource.component.html +++ b/frontend/src/app/components/list-fallback-resource/list-fallback-resource.component.html @@ -9,6 +9,6 @@ diff --git a/frontend/src/app/components/list-generic-resource/list-generic-resource.component.ts b/frontend/src/app/components/list-generic-resource/list-generic-resource.component.ts index 5638c40b..c2698d8c 100644 --- a/frontend/src/app/components/list-generic-resource/list-generic-resource.component.ts +++ b/frontend/src/app/components/list-generic-resource/list-generic-resource.component.ts @@ -85,7 +85,7 @@ export class ListGenericResourceComponent implements OnInit, ResourceListCompone */ onSelect({ selected }) { console.log('Select Event', selected); - this.router.navigateByUrl(`/source/${selected[0].source_id}/resource/${selected[0].source_resource_id}`); + this.router.navigateByUrl(`/explore/${selected[0].source_id}/resource/${selected[0].source_resource_id}`); } diff --git a/frontend/src/app/components/report-medical-history-condition/report-medical-history-condition.component.html b/frontend/src/app/components/report-medical-history-condition/report-medical-history-condition.component.html index 6bf1254c..d9249ff5 100644 --- a/frontend/src/app/components/report-medical-history-condition/report-medical-history-condition.component.html +++ b/frontend/src/app/components/report-medical-history-condition/report-medical-history-condition.component.html @@ -1,6 +1,6 @@
-
+
{{conditionDisplayModel?.sort_title ? conditionDisplayModel?.sort_title : (conditionGroup | fhirPath: "Condition.code.text.first()":"Condition.code.coding.display.first()")}} @@ -62,10 +62,10 @@
-
+
{{encounter.period_start | date}}
-
+
{{encounter.location_display }}
@@ -136,7 +136,7 @@
Device:
    -
  • +
  • {{device.model}}
diff --git a/frontend/src/app/components/report-medical-history-explanation-of-benefit/report-medical-history-explanation-of-benefit.component.html b/frontend/src/app/components/report-medical-history-explanation-of-benefit/report-medical-history-explanation-of-benefit.component.html index 749de0ed..8acb2948 100644 --- a/frontend/src/app/components/report-medical-history-explanation-of-benefit/report-medical-history-explanation-of-benefit.component.html +++ b/frontend/src/app/components/report-medical-history-explanation-of-benefit/report-medical-history-explanation-of-benefit.component.html @@ -1,6 +1,6 @@
-
+
{{eobDisplayModel?.sort_title ? eobDisplayModel?.sort_title : condition?.display ? condition?.display : 'unknown'}} @@ -135,7 +135,7 @@
Device:
    -
  • +
  • {{device.model}}
diff --git a/frontend/src/app/pages/explore/explore.component.ts b/frontend/src/app/pages/explore/explore.component.ts index 221093f3..642c7625 100644 --- a/frontend/src/app/pages/explore/explore.component.ts +++ b/frontend/src/app/pages/explore/explore.component.ts @@ -40,7 +40,7 @@ export class ExploreComponent implements OnInit { } public exploreSource(sourceListItem: SourceListItem, ) { - this.router.navigateByUrl(`/source/${sourceListItem.source.id}`, { + this.router.navigateByUrl(`/explore/${sourceListItem.source.id}`, { state: sourceListItem.source });