Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Pablo Pazos Gutiérrez
    @ppazos
    check the request when you click on a template
    {"openEHR-EHR-COMPOSITION.health_summary.v1":{"name":"Health summary","children":{"openEHR-EHR-SECTION.vital_signs.v0":{"name":"Vital signs","children":{"openEHR-EHR-OBSERVATION.respiration.v1":{"name":"Respirations","children":{}},"openEHR-EHR-OBSERVATION.pulse.v1":{"name":"Pulse/Heart beat","children":{}},"openEHR-EHR-OBSERVATION.blood_pressure.v1":{"name":"Blood Pressure","children":{}},"openEHR-EHR-OBSERVATION.body_temperature.v2":{"name":"Body temperature","children":{}},"openEHR-EHR-OBSERVATION.body_weight.v1":{"name":"Body weight","children":{}},"openEHR-EHR-OBSERVATION.height.v1":{"name":"Height/Length","children":{}},"openEHR-EHR-OBSERVATION.indirect_oximetry.v0":{"name":"Indirect oximetry","children":{}}}}}}}
    Pablo Pazos Gutiérrez
    @ppazos
    Screenshot_2019-09-04_17-01-37.png
    melpakkam
    @melpakkam
    I am using IE 11 is that a problem
    Pablo Pazos Gutiérrez
    @ppazos
    ah maybe a JS issue on IE!
    I'm testing in FF and Chrome
    melpakkam
    @melpakkam
    Ok let me try chrome
    Pablo Pazos Gutiérrez
    @ppazos
    maybe the JS console in IE is giving you an error
    melpakkam
    @melpakkam
    it works in chrome
    Pablo Pazos Gutiérrez
    @ppazos
    can you please check if IE is showing any javascript errors?
    I might need to buy a windows license to test IE :P
    melpakkam
    @melpakkam
    let me check
    SCRIPT438: Object doesn't support property or method 'repeat'
    query_create-2998659b30f7feda8480f63a12069bd4.js (4,287)
    IE error
    Pablo Pazos Gutiérrez
    @ppazos
    got it!
    it should work fine in other browser
    Pablo Pazos Gutiérrez
    @ppazos
    melpakkam
    @melpakkam
    oh.
    What do u think of developing a UI tool which can be used to build the UI forms using the OPT? Users can drag and drop the items on the canvas from the OPT
    Pablo Pazos Gutiérrez
    @ppazos
    yep, many companies have something similar, it's a form builder from the data definitions (OPTs), I worked on defining a GUI model that could contain the GUI metadata on top of the OPT metadata, but didn't embarked on creating a full app since it requires a lot of work and I don't have clients for that
    I can share what I have of that GUI model
    melpakkam
    @melpakkam
    Please share it
    melpakkam
    @melpakkam
    @ppazos can you please share the code for GUI model.
    Pablo Pazos Gutiérrez
    @ppazos
    Hi @melpakkam it's an spec, no code yet. I need to do some formatting to the doc before sharing. I'll try to do it on the weekend.
    melpakkam
    @melpakkam
    @ppazos thank you
    melpakkam
    @melpakkam
    @ppazos Is the HTML form generator in CoT a rest based service? I need to use it to generate some forms for a poc. What is the best way of consuming it.
    Pablo Pazos Gutiérrez
    @ppazos
    @melpakkam not yet, I guess is not difficult to do but would require some work. also worth doing it if we have some clients using it, until now nobody requested to use the CoT as service
    Syam
    @syamlal
    @ppazos Hi, I kind of new to the EHR domain. Trying to create an EHR system with the CaboLabs-EHRServer as the storage and a java application as the front.I managed to run the EHRServer using Grails locally, uploaded some OPT template files created using the Ocean Template Designer. The next step is to parse template and create a UI for the user to create a COMPOSITION and save it to the EHRServer . I tried the oet parser from https://github.com/openEHR/java-libs succeeded in parsing using org.openehr.schemas.v1.TemplateDocument.Factory.parse()
    but could't using the openEHR.v1.template.TemplateDocument.Factory.parse().
    Just need guidance on my next step. Can I use the above libraries for this or am I doing it all wrong . Please help
    Pablo Pazos Gutiérrez
    @ppazos
    @syamlal Hi! OET is the source format for templates, in software you should use OPTs, exported from OETs using the Template Designer
    Recommendation: you should not parse OETs or use them anywhere in the EHR
    Syam
    @syamlal
    I want to create a java based UI based on the templates uploaded to the openEHRServer.
    Pablo Pazos Gutiérrez
    @ppazos
    As said: you need OPTs not OETs, please watch the video
    Syam
    @syamlal
    @ppazos I have already followed your video and uploaded some OPT templates created using the Ocean Template Designer like the way you mentioned . I can now list and get all those templates using api/v1/templates and api/v1/templates/$uid APIs. which returns the same OPT as I uploaded right?, now how can I process it to create a UI for the user to populate data and upload as compositions using java .
    Pablo Pazos Gutiérrez
    @ppazos
    yes there are simple ways of creating UIs, in the toolkit we have a very simple form generator http://server001.cloudehrserver.com/cot/opt/html_form_generator it uses OPTs
    melpakkam
    @melpakkam
    @ppazos Can you make the COT html form generation as a service? Is there anything I can help you to make it as service?
    Pablo Pazos Gutiérrez
    @ppazos
    I think there are some areas to work on: 1. detect current issues of the GUI generator, 2. define improvements and scope, 3. create service. The issue with the service would be usage, so I'll need to limit public usage, because that can affect other services provided from the same server. I think most of the tools in the CoT could be transformed into SaaS with limited public access, and paid tiered access to help with the server usage (also we might need a bigger server).
    My concerns are really about infrastructure more than the software part @melpakkam :)
    melpakkam
    @melpakkam
    @ppazos Is there a way I can run that as a service in my local machine. I am in the process of making a POC for the entire workflow of displaying the opt as html and saving in ehrserver.
    Pablo Pazos Gutiérrez
    @ppazos
    we dont have a service implemented, cant do that right now, what is available is the command line tool openEHR-OPT in my GitHub repo
    melpakkam
    @melpakkam
    @ppazos I can install openEhr in local machine and execute the command line?
    Pablo Pazos Gutiérrez
    @ppazos
    @melpakkam openEHR is the standard :) the openEHR-OPT is a command line tool, check uigen https://github.com/ppazos/openEHR-OPT
    melpakkam
    @melpakkam
    @ppazos Sorry I meant openEHRServer -OPT
    melpakkam
    @melpakkam

    @ppazos I get this error when I run the build.bat org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
    .\lib\staxon-1.3.jar: 1: Unexpected input: ''; Expecting <EOF> @ line 1, column 3.
    PK
    ^

    1 error

    I have groovy 3.0 installed
    Pablo Pazos Gutiérrez
    @ppazos
    @melpakkam in the project root there is no build.bat file https://github.com/ppazos/cabolabs-ehrserver
    melpakkam
    @melpakkam
    @ppazos I am trying to use the COT application. https://github.com/ppazos/openEHR-OPT
    Pablo Pazos Gutiérrez
    @ppazos
    @melpakkam tested on linux with groovy 2.5.5, the build.sh works, can't see major differences between the sh and the bat though, try with that version of groovy please
    melpakkam
    @melpakkam
    ok will do.