Coder Social home page Coder Social logo

growth-chart-app's People

Contributors

dpopcmh avatar dtphelan1 avatar hansenms avatar jmandel avatar porterfc avatar vlad-ignatov avatar zplata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

growth-chart-app's Issues

"Patient Not Found" error

Hopefully someone has seen this error - I'm receiving an error after selecting the sample patient. "There was an error loading the application: Patient not found."

The documentation states that the patient data should come with the access token response from the authorization server. In this case, it doesn't happen. I looked for errors in the app requests but didn't find any.

The problems appears on the growth-chart app. The "authorize" request includes the launch identifier and the app is correctly authorized. Despite this, when the access token is requested, the response doesn't contains the "patient" parameter. Because of that the growth-chart app cannot retrieve the patient data from the api-server, therefore throws an error. I can't figure out why the "patient" parameter is not defined.

IssueSummary.pdf

How to use a new FIHR server?

Hi,

I created an FHIR server and I want to connect to this server through your app and use my own data.
Is it possible? If yes, could you please guide me and tell me how?

LG
Sohrab

Fenton curves not showing

Hi --

Are people having luck seeing Fenton curves in Cerner?

I tried the app in the Cerner Sandbox at http://fhir.cerner.com/millennium/dstu2/ with

Patient: Timmy SMART

I get nice CDC curves, but nothing on Fenton.

See attached.

In the console it I get the following error when Fenton is chosen

Error: attribute d: Expected moveto path command ('M' or 'm'), "H48".
$ @ raphael.js:3789
raphael.js:3789 Error: attribute d: Expected moveto path command ('M' or 'm'), "H51.144186046511…".
$ @ raphael.js:3789

I think this is happening in the prod system as well, but since it is powerchart, I can only alert various objects and don't have access to dev tools since it is locked down IE11.

Thanks for any info,
kevin maloy.

screen shot 2017-07-12 at 12 14 05 pm
screen shot 2017-07-12 at 12 13 54 pm

TypeError: GC.get_data is not a function

when I am Integrating Growth Chart with my Application I am getting This ERROR from gc-app.js.I have added load-fhir-data.js also
Iam intigarting with web application on JAVA

Error running app: npm run serve

verbose stack Error: [email protected] serve: ./node_modules/http-server/bin/http-server -p 8000 -c-1 .
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:877:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd C:\mystuff\gitprojects\smart-fhir
17 error Windows_NT 6.1.7601
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "serve"
19 error node v6.9.4
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error [email protected] serve: ./node_modules/http-server/bin/http-server -p 8000 -c-1 .
22 error Exit status 1
23 error Failed at the [email protected] serve script './node_modules/http-server/bin/http-server -p 8000 -c-1 .'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the growthchart package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error ./node_modules/http-server/bin/http-server -p 8000 -c-1 .
23 error You can get information on how to open an issue for this project with:
23 error npm bugs growthchart
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls growthchart
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Removal of older versions of `ecstatic` is causing `npm install` to fail

The growth chart app depends on http-server 0.9.0, which depends on ecstatic <= 2.0. When cloning and doing npm install:

npm install
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ecstatic@^1.4.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'http-server'
npm ERR! notarget

Changing the http-server version:

{
  "name": "growthchart",
  "version": "0.1.3",
  "scripts": {
    "serve": "./node_modules/http-server/bin/http-server -p 9000 -c-1 .",
    "start": "npm run serve"
  },
  "dependencies": {
    "eslint": "^3.9.1",
    "fhirclient": "^0.1.9"
  },
  "devDependencies": {
    "http-server": "^0.10.0"
  }
}

appears to fix it.

Wrong reference to fhir-client.js

In this commit:

a5dc066

the reference to the fhir client was changes from local (in node_modules) to an external reference, which is returning 404, specifically:

<script src="node_modules/fhirclient/fhir-client.js"></script>

was changed to:

<script src="https://combinatronics.com/smart-on-fhir/client-js/master/build/fhir-client.js"></script>

in index.html and launch.html

This is causing the app to break

@vlad-ignatov, I think this is a bug. Urgent fix needed.

Obesity being calculated with weight percentile instead of BMI percentile?

Hi there!

At Iora Health, we are currently rolling out a trial of this incredible component in order for our providers to have immediate access to growth charts during pediatric patient visits. So far, the reception has been overwhelming -- our staff and our patients love it! Thanks for the amazing work.

One of our providers recently pointed out a potential issue with the "parent view" -- she had a patient with weight in the 91st percentile and BMI in the 97th percentile. According to the CDC definition of childhood obesity (http://www.cdc.gov/obesity/childhood/defining.html), the patient should be labeled "obese" in the parent view, but instead was labeled "overweight".

We suspect that perhaps the obesity measure is being calculated using the weight percentile rather than the BMI percentile? If so, was that intentional, and is it possible to configure the component to use BMI instead?

Thanks again for the amazing work!

Dates mismatch issue

For some patients, I noticed there is a dates mismatch in the height and weight results. After doing some research I figured its an issue with the date library used in the application. I also found a note in your Readme file which states:

Important

The XDate library instance used in the app contains a custom fix related to the date use in windows opened by the app. (https://github.com/medapptech/smart_growth_charts/commit/56270b92f646484539ca272e4508daaec450c6d7) In the event that the library needs to be upgraded with a new version, this fix may need to be reapplied.

However,I am not able to find that commit on github. I also tried updating my code to the new Xdate library. But even that did not work. Can you please let me how this issue was fixed.

Thanks,
Shyam

Error when load

The page says: Loading error. See console for details and the console write:
No 'state' parameter found in authorization response.

Wrong redirect on Windows

The app running on Windows performs wrong redirect.

How to reproduce:

  1. Setup and launch FHIR server locally
  2. Setup and launch Growth Chart locally
  3. Perform EHR SMART app launch
  4. FHIR server redirects to the Growth Chart application providing the code http://localhost:9000/?code=ey...ch

Receiving that request Growth Chart returns redirect 302. The location header contains //?code=ey...ch. Mind two lead slashes in the beginning of the string.

We could reproduce this behavior on Windows only. On Linux & Mac no such a problem

Need to verify Bulgarian translations and add to translations file

Currently, the app supports English, Spanish, and Bulgarian. There are a few problems I encountered coming across the translated phrases, particularly with Spanish. Some of the translations were direct-to-English translations, but had the wrong meaning. For example, in the current translations file, for the NICU toggle "ON" and "OFF", the Spanish translation is "EN" and "DE" respectively. But the more appropriate translation would be "ACTIVADO" and "DESACTIVADO", or "ACT." and "DESACT." for a truncated version.

Additionally, in one of my last PR's (#12) I added a new string that did not have a Bulgarian translation, as I don't have the resources to get a verified Bulgarian translation. There are also a few strings in the application that were not included in the translation files that remain as English throughout all language selections (ex: "See all" and "To here" in the table view).

I am currently working on getting the Spanish translations corrected with a Spanish translator, as well as tracking down some of the strings that were embedded in the code into the translation file. I'm hoping to leave this issue up in case in the future we can find someone to help verify correct Bulgarian translations, and hopefully add Bulgarian translations to missing strings.

issue with fetchAll & read

load-fhir-data.js, line 20-22 was recently changed to use .read() and .api.fetchAll(...),
however, the supporting methods do not appear to be checked in.
When updating to latest on Master, these lines failed with the below exception:

var ptFetch = smart.patient.read();
var vitalsFetch = smart.patient.api.fetchAll({type: "Observation", query: {code: {$or: ['3141-9', '8302-2', '8287-5', '39156-5', '18185-9', '37362-1', '11884-4']}}});
var familyHistoryFetch = smart.patient.api.fetchAll({type: "FamilyMemberHistory"});

Uncaught TypeError: Cannot read property 'read' of undefined (load-fhir-data.js:20)
onReady (load-fhir-data.js:20)
(anonymous function) (fhir-client.js:200)
fire (fhir-client.js:10245)
self.fireWith (fhir-client.js:10357)
deferred.(anonymous function) (fhir-client.js:10447)
(anonymous function) (fhir-client.js:59)
(anonymous function) (fhir-client.js:4301)

No 'state' parameter found. Please (re)launch the app.

Hello, I get the above message when started the app. I couldn't get into the app. Please advise how to get started here.

Message: No 'state' parameter found. Please (re)launch the app.

System Info:
npm 6.14.4
MacOS Catalina: 10.15.7
Chrome: 91.0
Firefox: 91.0

Wikipedia page

Dear Maintainers,

My name is Matthew Vita, a programmer in the healthcare industry. I am trying to help build up the high impact "List of open-source health software" Wikipedia page (https://en.wikipedia.org/wiki/List_of_open-source_health_software) and would love to add your software to the list. However, it appears that your project does not have a page on Wikipedia so I ask you to consider the following:

  1. Adding a nice article for your project (see the GNU Health article (https://en.wikipedia.org/wiki/GNU_Health) for a really good example and Ginkgo CADx (https://en.wikipedia.org/wiki/Ginkgo_CADx) for a lightweight, but acceptable example).
  2. Adding said article to "List of open-source health software" Wikipedia page (https://en.wikipedia.org/wiki/List_of_open-source_health_software).

(If you’re already on Wikipedia, my search-fu wasn’t working when I looked you up so please consider doing only step 2 above)

Thanks,
Matthew

Age <2 yo BMI curve

Our physicians do not use BMI in patients under 2yo and are requesting a weight for length curve as that is appropriate for the patient population. Has anyone coded around this?

Print Screen window pop-up very slow on IE

The current version of growth chart pops out a window for the print functionality. When the application is run in IE, launching the print window opens up the pop-up but the content is rendered very slowly. This results in the user staring at a blank page for several seconds and sometimes minutes before any UI gets rendered on the screen. This gives the user an impression that the UI is stuck.

The delay ranges from 14 sec to roughly 2mins depending on the number of data points to be drawn on the graphs.

In other browsers this page loads fairly quick.

@nschwertner, @vlad-ignatov Do you see the same behavior while running in IE?
IE Version's : IE 10 , 11

Bone Age observation's are not displayed in the Table.

Currently the growth chart app accepts an array of associative arrays containing the key-value pairs :

{
       date: v.effectiveDateTime,
       boneAgeMos: units.any(v.valueQuantity)
} 

which are collected here : Ref.
"boneAgeMos" is only used if the object is of type : SmartBoneage

But since we are never creating any objects of type SmartBoneage the key "boneAgeMos" is never read thus keeping the BoneAge to be displayed in the Table as always undefined.

@nschwertner Is this a bug or am I missing something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.