Skip to content

Commit

Permalink
merge conflicts resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
awatson1978 committed Dec 23, 2023
2 parents 096b8f7 + 501c1e8 commit 6e0b3b8
Show file tree
Hide file tree
Showing 18 changed files with 9,706 additions and 13,525 deletions.
2 changes: 1 addition & 1 deletion .meteor/.versions
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ [email protected]
clinical:[email protected]
clinical:[email protected]
clinical:[email protected]
clinical:hl7-fhir-data-infrastructure@6.33.0
clinical:hl7-fhir-data-infrastructure@6.24.0
clinical:[email protected]
[email protected]
[email protected]
Expand Down
24 changes: 12 additions & 12 deletions .meteor/cordova-plugins
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# com.telerik.plugins.healthkit@https://github.com/rossmartin/HealthKit.git
# [email protected]
# [email protected]
# [email protected]
# [email protected]
# [email protected]
# [email protected]
# [email protected]
# [email protected]
# [email protected]
# [email protected]
# [email protected]
com.telerik.plugins.healthkit@https://github.com/rossmartin/HealthKit.git
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
17 changes: 8 additions & 9 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ alanning:roles
# DATA INFRASTRUCTURE
[email protected] # The database Meteor supports right now
[email protected] # Reactive variable for tracker
react-meteor-data # React higher-order component for reactively tracking Meteor data
react-meteor-data@2.4.0 # React higher-order component for reactively tracking Meteor data
[email protected]
[email protected]
[email protected]
Expand All @@ -39,18 +39,16 @@ [email protected] # Enable ECMAScript2015+ syntax in app code
[email protected] # Server-side component of the `meteor shell` command
[email protected]
npdev:react-loadable
# fourseven:scss
littledata:synced-cron

# CLINICAL INFRASTRUCTURE
clinical:[email protected]
clinical:[email protected]
clinical:extended-api
clinical:fonts
clinical:hl7-resource-datatypes
clinical:hl7-fhir-data-infrastructure
# clinical:[email protected]
# clinical:[email protected]
# clinical:json-routes
# clinical:vault-server
# clinical:uscore
clinical:json-routes
clinical:vault-server
clinical:uscore

# TESTING
# meteortesting:mocha
Expand All @@ -72,3 +70,4 @@ clinical:hl7-fhir-data-infrastructure
# mitre:space-health-registry
# symptomatic:data-relay
# symptomatic:data-importer

1 change: 1 addition & 0 deletions app/accounts/Accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ let apiHostFromSettings = get(Meteor, 'settings.public.interfaces.accountsServer
// console.log('Accounts.apiHost', apiHostFromSettings);

const accountsRest = new RestClient({
// apiHost: 'http://localhost:4000',
apiHost: apiHostFromSettings,
rootPath: '/accounts'
});
Expand Down
1 change: 0 additions & 1 deletion app/core/AppLoadingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const drawerWidth = get(Meteor, 'settings.public.defaults.drawerWidth', 280);

import { Meteor } from 'meteor/meteor';


function AppLoadingPage(props) {
// if(logger){
// logger.debug('Rendering the AppLoadingPage.');
Expand Down
16 changes: 16 additions & 0 deletions app/layout/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,22 @@ function Header(props) {
Session.toggle('mainAppDialogOpen');
}

function toggleLoginDialog(){
console.log('Toggle login dialog open/close.')
Session.set('mainAppDialogJson', false);
Session.set('mainAppDialogMaxWidth', "sm");

if(Session.get('currentUser')){
Session.set('mainAppDialogTitle', "Logout");
Session.set('mainAppDialogComponent', "LogoutDialog");
} else {
Session.set('mainAppDialogTitle', "Login");
Session.set('mainAppDialogComponent', "LoginDialog");
}

Session.toggle('mainAppDialogOpen');
}


let demographicItems;
let dateTimeItems;
Expand Down
13 changes: 13 additions & 0 deletions app/patient/AutoDashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ export function AutoDashboard(props){
basicQuery: {}
}

data.selectedPatientId = useTracker(function(){
return Session.get('selectedPatientId');
}, []);
data.selectedPatient = useTracker(function(){
if(Session.get('selectedPatientId')){
return Patients.findOne({id: Session.get('selectedPatientId')});
} else if(get(Session.get('currentUser'), 'patientId')){
return Patients.findOne({id: get(Session.get('currentUser'), 'patientId')});
}
}, []);
data.patients = useTracker(function(){
return Patients.find().fetch();
}, []);

let [careTeamsPage, setCareTeamsPage] = useState(0);
let [carePlansPage, setCarePlansPage] = useState(0);
Expand Down
13 changes: 13 additions & 0 deletions certs/jwks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"keys": [
{
"kty": "EC",
"use": "sig",
"crv": "P-256",
"kid": "yRwxp3sb7ldGlbGcw42zkcamMCo_9QZqUqKR6ZFQtH8",
"x": "ivxR4CWtwm4B0D4Bqbg3YnlQO6SuzF-VFZ66D44IDLA",
"y": "T6EdDPqAz9sIBrTXaR0KTFlbQsmdCbV4ZpObVo_80MY",
"alg": "ES256"
}
]
}
14 changes: 14 additions & 0 deletions certs/private.jwks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"keys": [
{
"kty": "EC",
"d": "hp2_IVKLNhXUZCqz38TBnp4fHqsMq-dVwxDNhnTtRYI",
"use": "sig",
"crv": "P-256",
"kid": "yRwxp3sb7ldGlbGcw42zkcamMCo_9QZqUqKR6ZFQtH8",
"x": "ivxR4CWtwm4B0D4Bqbg3YnlQO6SuzF-VFZ66D44IDLA",
"y": "T6EdDPqAz9sIBrTXaR0KTFlbQsmdCbV4ZpObVo_80MY",
"alg": "ES256"
}
]
}
2 changes: 1 addition & 1 deletion client/meteor-adapter-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ export const wrapMeteorClient = (Meteor, Accounts, AccountsClient) => {
obj: AccountsClient,
method: 'logout',
});
};
};
Loading

0 comments on commit 6e0b3b8

Please sign in to comment.