Skip to content

Commit 1422d60

Browse files
committed
Remove metriport sdk integration
1 parent 5e836cd commit 1422d60

File tree

12 files changed

+1
-205
lines changed

12 files changed

+1
-205
lines changed

ios/FHIRmHealth/AppDelegate.mm

-4
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@
55
#import <ReactNativeNavigation/ReactNativeNavigation.h>
66
#import <RNNotifications.h>
77

8-
#import "MetriportConfiguration.h"
9-
108
@implementation AppDelegate
119

1210
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
1311
{
14-
[MetriportConfiguration checkBackgroundUpdates];
15-
1612
self.moduleName = @"FHIRmHealth";
1713
// You can add your custom initial props in the dictionary below.
1814
// They will be passed down to the ViewController used by React Native.

ios/Podfile.lock

-10
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ PODS:
7878
- hermes-engine/Pre-built (0.71.7)
7979
- HMSegmentedControl (1.5.6)
8080
- libevent (2.1.12)
81-
- metriport-react-native (1.1.1):
82-
- MetriportSDK
83-
- React-Core
84-
- MetriportSDK (1.0.28)
8581
- OpenSSL-Universal (1.1.1100)
8682
- RCT-Folly (2021.07.22.00):
8783
- boost
@@ -477,7 +473,6 @@ DEPENDENCIES:
477473
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
478474
- hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
479475
- libevent (~> 2.1.12)
480-
- "metriport-react-native (from `../node_modules/@metriport/react-native-sdk`)"
481476
- OpenSSL-Universal (= 1.1.1100)
482477
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
483478
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
@@ -531,7 +526,6 @@ SPEC REPOS:
531526
- fmt
532527
- HMSegmentedControl
533528
- libevent
534-
- MetriportSDK
535529
- OpenSSL-Universal
536530
- Sentry
537531
- SentryPrivate
@@ -551,8 +545,6 @@ EXTERNAL SOURCES:
551545
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
552546
hermes-engine:
553547
:podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec"
554-
metriport-react-native:
555-
:path: "../node_modules/@metriport/react-native-sdk"
556548
RCT-Folly:
557549
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
558550
RCTRequired:
@@ -642,8 +634,6 @@ SPEC CHECKSUMS:
642634
hermes-engine: 4438d2b8bf8bebaba1b1ac0451160bab59e491f8
643635
HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352
644636
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
645-
metriport-react-native: 2910b5dac653fb32ae30f538c691d3861f9fe8aa
646-
MetriportSDK: 2cbf59a74c7e282420358eeb6130ff0df13f47bb
647637
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
648638
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
649639
RCTRequired: 467cd79889cbcfd008d0ff7c697f73765d4578c3

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"@fortawesome/free-solid-svg-icons": "^6.3.0",
1616
"@fortawesome/react-native-fontawesome": "^0.3.0",
1717
"@invertase/react-native-apple-authentication": "^2.2.2",
18-
"@metriport/react-native-sdk": "^1.1.1",
1918
"@sentry/react-native": "^5.4.0",
2019
"fhir-react": "https://github.com/beda-software/fhir-react.git",
2120
"jwt-decode": "^3.1.2",

src/config/local.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
export const DATASTREAM_BASE_URL = 'http://localhost:8082';
22
export const DATASTREAM_API_URL = `${DATASTREAM_BASE_URL}/api/v1`;
3-
export const DATASTREAM_METRIPORT_URL = `${DATASTREAM_BASE_URL}/metriport`;
43
export const FHIR_API_URL = 'http://localhost:8080';
54
export const SENTRY_DSN = undefined;
6-
export const METRIPORT_CLIENT_KEY = undefined;
7-
export const METRIPORT_IDENTIFIER_SYSTEM_URL = 'https://api.sandbox.metriport.com';

src/config/staging.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
export const DATASTREAM_BASE_URL = 'https://ingest.emr.beda.software';
22
export const DATASTREAM_API_URL = `${DATASTREAM_BASE_URL}/api/v1`;
3-
export const DATASTREAM_METRIPORT_URL = `${DATASTREAM_BASE_URL}/metriport`;
43
export const FHIR_API_URL = 'https://aidbox.emr.beda.software';
54
export const SENTRY_DSN = 'https://[email protected]/4505090618294272';
6-
export const METRIPORT_CLIENT_KEY = 'ODhVZ0JWcXlmakJYMDZqZWNwNHdYOmY5Y2RhYzA2LWIxMzItNGNmNC05MzIwLTAzMmE1MzVmZmY5MQ';
7-
export const METRIPORT_IDENTIFIER_SYSTEM_URL = 'https://api.sandbox.metriport.com';

src/screens/ActivityFeed/index.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ import { ActivitySampleCategory } from 'models/activity';
1111

1212
import { ActivityFeedItem, ActivityFeedSection, useActivityFeed } from './hooks';
1313
import s from './styles';
14-
import { pushToMetriportScreen } from 'screens/MetriportConnect/navigation';
1514

1615
export interface ActivityFeedProps {}
1716

18-
export const ActivityFeed: FC<ActivityFeedProps & NavigationComponentProps> = observer(function ActivityFeed(props) {
17+
export const ActivityFeed: FC<ActivityFeedProps & NavigationComponentProps> = observer(function ActivityFeed() {
1918
const { user, activity, serviceStatus } = useStateTree();
2019
const { activities, ...controllers } = useActivityFeed(activity, serviceStatus);
2120

@@ -28,7 +27,6 @@ export const ActivityFeed: FC<ActivityFeedProps & NavigationComponentProps> = ob
2827
<Text style={s.title}>Activity</Text>
2928
</View>
3029
<View style={s.headerControls}>
31-
<Button icon={'plus'} onPress={() => pushToMetriportScreen(props.componentId, {})} />
3230
{controllers.isRunning ? (
3331
<Button icon={'stop'} onPress={controllers.stop} />
3432
) : (

src/screens/MetriportConnect/hooks.ts

-42
This file was deleted.

src/screens/MetriportConnect/index.tsx

-41
This file was deleted.

src/screens/MetriportConnect/navigation.ts

-19
This file was deleted.

src/screens/MetriportConnect/styles.ts

-22
This file was deleted.

src/services/metriport.ts

-42
This file was deleted.

yarn.lock

-15
Original file line numberDiff line numberDiff line change
@@ -1433,13 +1433,6 @@
14331433
"@jridgewell/resolve-uri" "3.1.0"
14341434
"@jridgewell/sourcemap-codec" "1.4.14"
14351435

1436-
"@metriport/react-native-sdk@^1.1.1":
1437-
version "1.1.1"
1438-
resolved "https://registry.yarnpkg.com/@metriport/react-native-sdk/-/react-native-sdk-1.1.1.tgz#436c422b061f8938ff5b0551eac9d111cfdfa33f"
1439-
integrity sha512-U16KgNH1F5t5O9E+WMet4+HfUxUvsZUfr+mS1zGIpc9yammdpeYTU5E/HNOlR/mXtt+555yqL+aKoiFOx2fVoQ==
1440-
dependencies:
1441-
react-native-webview "^11.26.1"
1442-
14431436
"@nicolo-ribaudo/[email protected]":
14441437
version "5.1.1-v1"
14451438
resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz#dbf733a965ca47b1973177dc0bb6c889edcfb129"
@@ -5858,14 +5851,6 @@ react-native-svg@^13.8.0:
58585851
css-select "^5.1.0"
58595852
css-tree "^1.1.3"
58605853

5861-
react-native-webview@^11.26.1:
5862-
version "11.26.1"
5863-
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-11.26.1.tgz#658c09ed5162dc170b361e48c2dd26c9712879da"
5864-
integrity sha512-hC7BkxOpf+z0UKhxFSFTPAM4shQzYmZHoELa6/8a/MspcjEP7ukYKpuSUTLDywQditT8yI9idfcKvfZDKQExGw==
5865-
dependencies:
5866-
escape-string-regexp "2.0.0"
5867-
invariant "2.2.4"
5868-
58695854
react-native-webview@^13.3.0:
58705855
version "13.3.0"
58715856
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-13.3.0.tgz#37e23179e40fb21ceaa7bdc53868f160f6de60d7"

0 commit comments

Comments
 (0)