Code Monkey home page Code Monkey logo

farser's People

Contributors

braytonstafford avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

farser's Issues

Display order is mixed up in MSH segment

See the image below.

The ordering of the MSH segment seems very hit or miss. Making a small edit and removing it sometimes fixes it. I saw this issue in another Segment but it seems very repeatable using the sample messages.

msh_segment_display_order_issue

I have tried this with the latest Safari and Chrome on Mac OS X 10.11.4 (beta 2).
Safari seems to have the MSH segment messed up, Chrome seems to have a bunch of other segments messaged up. See the additional screen shots here:

msh_segment_display_order_issue_chrome_01
msh_segment_display_order_issue_chrome_02
msh_segment_display_order_issue_chrome_03
msh_segment_display_order_issue_chrome_04
msh_segment_display_order_issue_chrome_05

Message Version error

Hello,

First of all nice work for Farser, that's very usefull.

I ran into an error though, when using "Version Id" field of "MSH" segment, with a value like "2.5^FRA^2.6", nothing happens.

In this case, Farser tries to get some infos from
"https://hl7.cc/api/segment?fieldIndex=5&messageType=ADT%5EA03%5EADT_A03&messageVersion=**2.5%5E**&segment=MSH", and this call fails.

The quick fix i found on my side was to change "Version Id" field from "2.5^FRA^2.6" to "2.5". This way, the http calls look like
"https://hl7.cc/api/segment?fieldIndex=5&messageType=ADT%5EA03%5EADT_A03&messageVersion=**2.5**&segment=PV1" and all works just fine.

I guess the reason why it is not working in the 1st case is that the %5E ('^') remains in the url, whereas it should not.

From what i see, a fix would be a quick change in $scope.Init(), where creating "segmentInfo" object, changing
from "messageVersion: $scope.message.split('\n')[0].split('|')[11]"
to "messageVersion: $scope.message.split('\n')[0].split('|')[11].split('^')[0]"

Components section doesn't respect data from fields with repetitions

Sample message where PID-3 had multiple repetitions. x^x^x^x^x^x~y^y^y^y^y^y
Field Repetitions separated them perfectly. But components section did not respect the repetion and produced 9 values (x,x,x,x,xy,y,y,y,y).

Recommendation, default components to populate first iteration on repeating fields and update if different repetition is selected in the Field Repetitions section.

Everything else seems to be working well for me.

Internal Server Error

Hi,
I am getting an internal server error this morning on controllers.js requests to /segment. In your own words, ya done goofed.

Thanks,
Ben Ganley

Correction Request File CSS

Good morning,
it would be possible to make some corrections to the CSS file, just to see the div and properly aligned titles, following the CSS file concerned and styles to be corrected:

https://hl7.cc/bower_components/angular-material-data-table/dist/md-data-table.min.css

md-data-table-toolbar > .md-title {
font-size: 20px;
in 18px

md-data-table-toolbar {
align-items: center;
background-color: #fff;
box-sizing: border-box;
display: flex;
height: 64px;
padding: 0 24px;
in 8px

table[md-data-table]:not([md-row-select]) > tbody > tr > td:first-child, table[md-data-table]:not([md-row-select]) > tfoot > tr > td:first-child, table[md-data-table]:not([md-row-select]) > thead:not([md-table-progress]) > tr > th:first-child {
padding: 0 28px 0 24px;
24px in 8px

if it were possible it would be even nicer to see since I use it frequently for business reasons, mainly for new additions on our application tests.

Greetings
Matthew

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.