Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
awatson1978 committed Jul 11, 2024
1 parent cfb01e2 commit 61f43d3
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 56 deletions.
8 changes: 4 additions & 4 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ npdev:react-loadable
littledata:synced-cron

# CLINICAL INFRASTRUCTURE
# clinical:extended-api
# clinical:fonts
# clinical:hl7-resource-datatypes
# clinical:hl7-fhir-data-infrastructure
clinical:extended-api
clinical:fonts
clinical:hl7-resource-datatypes
clinical:hl7-fhir-data-infrastructure
# clinical:json-routes
# clinical:vault-server
# clinical:uscore
Expand Down
28 changes: 1 addition & 27 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,10 @@ [email protected]
[email protected]
[email protected]
[email protected]
clinical:[email protected]
clinical:[email protected]
clinical:[email protected]
clinical:[email protected]
clinical:[email protected]
clinical:[email protected]
clinical:[email protected]
clinical:[email protected]
[email protected]
[email protected]
[email protected]
Expand All @@ -34,43 +30,25 @@ [email protected]
[email protected]
[email protected]
[email protected]
evaisse:[email protected]
[email protected]
fourseven:[email protected]
[email protected]
harrison:[email protected]
harrison:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
[email protected]
[email protected]
littledata:[email protected]
[email protected]
[email protected]
[email protected]
matb33:[email protected].0
matb33:[email protected].4
[email protected]
[email protected]
meteorhacks:[email protected]
[email protected]
[email protected]
[email protected]
mitre:[email protected]
mitre:[email protected]
mitre:[email protected]
mitre:[email protected]
[email protected]
[email protected]
[email protected]
Expand Down Expand Up @@ -104,10 +82,6 @@ [email protected]
[email protected]
[email protected]
[email protected]
symptomatic:[email protected]
symptomatic:[email protected]
symptomatic:[email protected]
symptomatic:[email protected]
[email protected]
tmeasday:[email protected]
[email protected]
Expand Down
3 changes: 2 additions & 1 deletion app/core/CapabilityStatementCheck.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import { Session } from 'meteor/session';
import { HTTP } from 'meteor/http';
import JSON5 from 'json5';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';


//=============================================================================================================================================
Expand Down
3 changes: 2 additions & 1 deletion app/core/ErrorDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import { Session } from 'meteor/session';
import { HTTP } from 'meteor/http';
import JSON5 from 'json5';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';


export function ErrorDialog(props){
Expand Down
3 changes: 2 additions & 1 deletion app/core/ForgotPasswordDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import { Meteor } from 'meteor/meteor';
import { HTTP } from 'meteor/http';
import JSON5 from 'json5';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';

import ResetPassword from '../accounts/ResetPassword';
import ForgotPassword from '../accounts/ForgotPassword';
Expand Down
3 changes: 2 additions & 1 deletion app/core/LoginDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import { Meteor } from 'meteor/meteor';
import { HTTP } from 'meteor/http';
import JSON5 from 'json5';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';

import Login from '../accounts/Login';

Expand Down
3 changes: 2 additions & 1 deletion app/core/LogoutDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import { Meteor } from 'meteor/meteor';
import { HTTP } from 'meteor/http';
import JSON5 from 'json5';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';

import Logout from '../accounts/Logout';

Expand Down
3 changes: 2 additions & 1 deletion app/core/ResetPasswordDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import { Meteor } from 'meteor/meteor';
import { HTTP } from 'meteor/http';
import JSON5 from 'json5';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';

import ResetPassword from '../accounts/ResetPassword';

Expand Down
3 changes: 2 additions & 1 deletion app/core/SignUpDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import { Session } from 'meteor/session';
import { HTTP } from 'meteor/http';
import JSON5 from 'json5';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';

import SignUp from '../accounts/SignUp';

Expand Down
4 changes: 3 additions & 1 deletion app/layout/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import moment from 'moment';
import { useTracker } from 'meteor/react-meteor-data';
import PatientChartWorkflowTabs from '../patient/PatientChartWorkflowTabs';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';

import theme from '../Theme';
import { logger } from '../Logger';
Expand Down Expand Up @@ -314,6 +315,7 @@ function Header(props) {
if(Session.get("selectedPatient")){
selectedPatient = Session.get("selectedPatient");

// titleText = FhirUtilities.pluckName(selectedPatient);
titleText = FhirUtilities.pluckName(selectedPatient);
logger.verbose("Selected patients name that we're displaying in the Title: " + titleText)
} else {
Expand Down
36 changes: 20 additions & 16 deletions app/layout/SettingsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { oauth2 as SMART } from "fhirclient";
// import Client from 'fhir-kit-client';
// import simpleOauthModule from 'simple-oauth2';

import { Patients } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { Patients } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import GravityMethods from '../../lib/GravityMethods';


Expand Down Expand Up @@ -270,21 +270,25 @@ function SettingsPage(props){
function indexPatientNames(){
if(confirm('This process will generate patient name.text fields for indexing. Are you sure you want to continue?')){

Patients.find().forEach(function(patientRecord){
console.log('name.text', FhirUtilities.assembleName(get(patientRecord, 'name[0]')))
if(!get(patientRecord, 'name[0].text')){
Patients.update({_id: patientRecord._id}, {$set: {
"name.0.text": FhirUtilities.assembleName(get(patientRecord, 'name[0]'))
}}, function(error, result){
if(error){
console.error('Patients.update error', error)
}
if(result){
console.log('Patients.update result', result)
}
});
}
})
if(typeof Patients === "object"){
Patients.find().forEach(function(patientRecord){
console.log('name.text', FhirUtilities.assembleName(get(patientRecord, 'name[0]')))
if(!get(patientRecord, 'name[0].text')){
Patients.update({_id: patientRecord._id}, {$set: {
"name.0.text": FhirUtilities.assembleName(get(patientRecord, 'name[0]'))
}}, function(error, result){
if(error){
console.error('Patients.update error', error)
}
if(result){
console.log('Patients.update result', result)
}
});
}
})
} else {
console.log('Patients collection not found. Skipping indexing. Please make sure the Patients collection is available.')
}


}
Expand Down
3 changes: 2 additions & 1 deletion app/patient/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import Grid from '@material-ui/core/Grid';

import { Session } from 'meteor/session';

import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
// import { FhirUtilities } from 'meteor/clinical:hl7-fhir-data-infrastructure';
import { FhirUtilities } from '../FhirUtilities';

import {
DynamicSpacer,
Expand Down

0 comments on commit 61f43d3

Please sign in to comment.