diff --git a/ios/FHIRmHealth/AppDelegate.mm b/ios/FHIRmHealth/AppDelegate.mm index bb7fdba..c86b1e6 100644 --- a/ios/FHIRmHealth/AppDelegate.mm +++ b/ios/FHIRmHealth/AppDelegate.mm @@ -5,14 +5,10 @@ #import #import -#import "MetriportConfiguration.h" - @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - [MetriportConfiguration checkBackgroundUpdates]; - self.moduleName = @"FHIRmHealth"; // You can add your custom initial props in the dictionary below. // They will be passed down to the ViewController used by React Native. diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 968f65a..b42a009 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -78,10 +78,6 @@ PODS: - hermes-engine/Pre-built (0.71.7) - HMSegmentedControl (1.5.6) - libevent (2.1.12) - - metriport-react-native (1.1.1): - - MetriportSDK - - React-Core - - MetriportSDK (1.0.28) - OpenSSL-Universal (1.1.1100) - RCT-Folly (2021.07.22.00): - boost @@ -477,7 +473,6 @@ DEPENDENCIES: - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) - libevent (~> 2.1.12) - - "metriport-react-native (from `../node_modules/@metriport/react-native-sdk`)" - OpenSSL-Universal (= 1.1.1100) - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) @@ -531,7 +526,6 @@ SPEC REPOS: - fmt - HMSegmentedControl - libevent - - MetriportSDK - OpenSSL-Universal - Sentry - SentryPrivate @@ -551,8 +545,6 @@ EXTERNAL SOURCES: :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" hermes-engine: :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" - metriport-react-native: - :path: "../node_modules/@metriport/react-native-sdk" RCT-Folly: :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" RCTRequired: @@ -642,8 +634,6 @@ SPEC CHECKSUMS: hermes-engine: 4438d2b8bf8bebaba1b1ac0451160bab59e491f8 HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 - metriport-react-native: 2910b5dac653fb32ae30f538c691d3861f9fe8aa - MetriportSDK: 2cbf59a74c7e282420358eeb6130ff0df13f47bb OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 RCTRequired: 467cd79889cbcfd008d0ff7c697f73765d4578c3 diff --git a/package.json b/package.json index c88ae12..1fd5816 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ "@fortawesome/free-solid-svg-icons": "^6.3.0", "@fortawesome/react-native-fontawesome": "^0.3.0", "@invertase/react-native-apple-authentication": "^2.2.2", - "@metriport/react-native-sdk": "^1.1.1", "@sentry/react-native": "^5.4.0", "fhir-react": "https://github.com/beda-software/fhir-react.git", "jwt-decode": "^3.1.2", diff --git a/src/config/local.ts b/src/config/local.ts index 73512c5..ffe1a88 100644 --- a/src/config/local.ts +++ b/src/config/local.ts @@ -1,7 +1,4 @@ export const DATASTREAM_BASE_URL = 'http://localhost:8082'; export const DATASTREAM_API_URL = `${DATASTREAM_BASE_URL}/api/v1`; -export const DATASTREAM_METRIPORT_URL = `${DATASTREAM_BASE_URL}/metriport`; export const FHIR_API_URL = 'http://localhost:8080'; export const SENTRY_DSN = undefined; -export const METRIPORT_CLIENT_KEY = undefined; -export const METRIPORT_IDENTIFIER_SYSTEM_URL = 'https://api.sandbox.metriport.com'; diff --git a/src/config/staging.ts b/src/config/staging.ts index 236d64a..77be4d5 100644 --- a/src/config/staging.ts +++ b/src/config/staging.ts @@ -1,7 +1,4 @@ export const DATASTREAM_BASE_URL = 'https://ingest.emr.beda.software'; export const DATASTREAM_API_URL = `${DATASTREAM_BASE_URL}/api/v1`; -export const DATASTREAM_METRIPORT_URL = `${DATASTREAM_BASE_URL}/metriport`; export const FHIR_API_URL = 'https://aidbox.emr.beda.software'; export const SENTRY_DSN = 'https://aaf5c7699f144d65bbb0c638a6ea7b67@o468421.ingest.sentry.io/4505090618294272'; -export const METRIPORT_CLIENT_KEY = 'ODhVZ0JWcXlmakJYMDZqZWNwNHdYOmY5Y2RhYzA2LWIxMzItNGNmNC05MzIwLTAzMmE1MzVmZmY5MQ'; -export const METRIPORT_IDENTIFIER_SYSTEM_URL = 'https://api.sandbox.metriport.com'; diff --git a/src/screens/ActivityFeed/index.tsx b/src/screens/ActivityFeed/index.tsx index e0db8a0..3ff6f3a 100644 --- a/src/screens/ActivityFeed/index.tsx +++ b/src/screens/ActivityFeed/index.tsx @@ -11,11 +11,10 @@ import { ActivitySampleCategory } from 'models/activity'; import { ActivityFeedItem, ActivityFeedSection, useActivityFeed } from './hooks'; import s from './styles'; -import { pushToMetriportScreen } from 'screens/MetriportConnect/navigation'; export interface ActivityFeedProps {} -export const ActivityFeed: FC = observer(function ActivityFeed(props) { +export const ActivityFeed: FC = observer(function ActivityFeed() { const { user, activity, serviceStatus } = useStateTree(); const { activities, ...controllers } = useActivityFeed(activity, serviceStatus); @@ -28,7 +27,6 @@ export const ActivityFeed: FC = ob Activity -