This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Study List -> sl | |
| getStudyList((studyList) => { | |
| for (var i = 0; i < studyList.length; i++) { | |
| const slEach = studyList[i]; | |
| const slPatientAttr = slEach.PatientMainDicomTags; | |
| const slMainAttr = slEach.MainDicomTags; | |
| const slSeries = slEach.Series; | |
| const slPatientName = slPatientAttr.PatientName; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function download(data, name, type) { | |
| var link = document.createElement("a"); | |
| var data = JSON.stringify(data, null, 4); | |
| var blob = new Blob([data], { | |
| type: 'application/octet-stream' | |
| }); | |
| var url = URL.createObjectURL(blob, { | |
| type: type | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "12345" | |
| { | |
| "modality": "MRI", | |
| { | |
| "slice": "1" | |
| { | |
| "freehand": [[x11 y11], | |
| [x12 y12], | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "12345" | |
| { | |
| "modality": "MRI", | |
| "birad": "3", | |
| { | |
| "annotation_date": "08082017", | |
| "slice": "1" | |
| { | |
| "freehand": [[x11 y11], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import { bindActionCreators } from 'redux'; | |
| import { connect } from 'react-redux'; | |
| import * as Actions from '../actions'; | |
| /* MATERIAL-UI COMPONENTS IMPORT */ | |
| import { withStyles, createStyleSheet } from 'material-ui/styles'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Theme Name: Fashionistas | |
| Theme URI: http://athemes.com/theme/fashionista | |
| Author: aThemes | |
| Author URI: http://athemes.com | |
| Description: Fashionistas is a bold and fun theme built on Bootstrap, suitable for magazine style blogs. | |
| Version: 1.7 | |
| License: GNU General Public License v3.0 | |
| License URI: license.txt | |
| Tags: black, white, two-columns, fixed-layout, threaded-comments, full-width-template, custom-menu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * | | | | ANALYTICS CONTAINER | | | | | |
| * | |
| * 6_7_avg_weight_per_cattle_type | |
| * average_first_birth_per_cattle_type | |
| * avg_weight_per_cattle_type | |
| * births_this_year | |
| * females_6_7_avg_weight_per_cattle_type | |
| * females_avg_weight_per_cattle_type | |
| * females_per_cattle_type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const livestockAnimalCattleBreedEnumLocale = { | |
| BOVINE: "Bovino", // COWS | |
| CAPRINE: "Caprino", // GOATS | |
| EQUINE: "Equino", // HORSES | |
| OVINE: "Ovino", // SHEEP | |
| POULTRY: "Aves de capoeira", // CHICKENS, DUCKS, TURKEYS, ETC | |
| SUINE: "Suino" // PIGS | |
| }; | |
| const livestockSexEnumLocale = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import _ from 'lodash'; | |
| let Tabs = ({ | |
| tabs = [], | |
| activeTab, | |
| rightIcons = [], | |
| i18n | |
| }) => { |