Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    serefarikan
    @serefarikan
    @guyver7 please open an issue here for adl workbench: https://github.com/openEHR/adl-tools
    Thomas Beale is the author of that tool and he is usually very responsive so you should get some response if you open your issue there
    guyver7
    @guyver7
    Thanks @serefarikan
    sasurfer
    @sasurfer
    Hi, Please excuse me if I'm a little OT...... I'd like to instantiate openehr objects calling the java-libs. What fork/version of the library should I consider (official one: https://github.com/openEHR/java-libs/tree/master, ethercis:https://github.com/ethercis/openehr-java-libs , and others) ? and are there tutorials/user guide to help?
    Ricardo Gonçalves
    @ricardofago
    They are quite similar but the EtherCIS one is a fork with a few particularities compared to the openEHR one... There were some discussions about merging but I haven't heard from it, but hopefully it should be easy to check with the commits or a diff
    If you are going to use it with an EtherCIS CDR I'd probably go with the EtherCIS java-libs
    Ricardo Gonçalves
    @ricardofago
    Otherwise it should be also possible to build a bridge to fix any gaps you face
    Not sure about docs but there is this Brazilian project (https://github.com/dhteodoro/sus-openehr-builder) that used the java-libs (I think they made some changes of their own) to generate compositions from exported tabular data, which may be of help
    sasurfer
    @sasurfer
    thanks @ricardofago
    Ricardo Gonçalves
    @ricardofago
    Has anyone tried the example generation from template on EtherCIS 1.3.0? I had some success months ago on 1.2.0, updated after the release and now just noticed I can't get it to work on 1.3.0 with any of the formats trying multiple templates
    Ricardo Gonçalves
    @ricardofago
    Alright, got it working with format=ECISFLAT and format=XML, format=FLAT returns an exception due to some JSON map stuff (not really an issue for us, since it relies on Marand's property that we're not expecting to use) and format=STRUCTURED returns null with no information on the console
    Tony Shannon
    @tony-shannon
    thanks for update on that issue @ricardofago
    Mikko Sarapelto
    @mikkoSarapelto
    is GET /template/{templateId} implemented?
    Mikko Sarapelto
    @mikkoSarapelto
    Audit log correctly lists templateId for the request, but the response is a list of templates (same as GET /template/)
    Tony Shannon
    @tony-shannon
    Hi @mikkoSarapelto , you have shared a question and some information and they appear linked, can you clarify if you have an outstanding question please? T
    Mikko Sarapelto
    @mikkoSarapelto

    @tony-shannon Yes, I was asking if GET /template/{templateId} implemented as described in Ehrscape reference:
    GET /template/{templateId} "Returns an OpenEhr template in its web-appropriate representation (as a JSON object)."

    When I request /template/Allergies (e.g.) I instead get a list of templates (identical to GET /template)

    Tony Shannon
    @tony-shannon
    ok thanks, I think you need to take a look at the template id field within a template, they are usually worded more precisely
    see here as an example
    this may help
    Ian McNicoll
    @freshehr
    Hi @mikkoSarapelto - the current answer is 'no'. This is not supported by EtherCis.
    Mikko Sarapelto
    @mikkoSarapelto
    @freshehr Thank you. Are there plans to implement it? Or some similar method (like Ehrscape /form).
    Tony Shannon
    @tony-shannon
    thanks for clarifying Ian.. @freshehr , TBH @mikkoSarapelto we dont find ourselves needing to do what your asking to do (so I wasnt aware :O) but perhaps it would be useful to explain what you are trying to do.
    We keep our templates in our github repos and load them up , can modify outside etherCIS and reload
    Ian McNicoll
    @freshehr
    The json 'web template' that Maran/Better Ehrscape returns is (for now) proprietary to Marand, though they are currently working to publish the spec. It would be easy enough to get the current call to return the original .opt xml, (and this is part of the formal openEHR REST API) but, as Tony says, I don't see that as a particular priority, since you should already have the original .opt in some other kind of staging environment.
    Mikko Sarapelto
    @mikkoSarapelto

    I'm dynamically making forms for templates in the front-end.

    I could use the original .opt, but modern web frameworks handle JSON significantly better than XML. Most (if not all?) template info is already available in JSONB, so it would be nifty to get it in an easy-to-iterate format.

    Tony Shannon
    @tony-shannon
    Ok @mikkoSarapelto we handle that type of transform in our Qewd layer. See
    Mikko Sarapelto
    @mikkoSarapelto

    I took a look at the QEWD integration and EtherCIS does support getting the web template:

    openEHR.startSession(host, null, function (openEHRSession) {
        var url = '/rest/v1/template/' + escape(templateName);
        if (host === 'ethercis') url = url + '/introspect';

    It's just under a different API path. /template/{templateId}/introspect

    Ian McNicoll
    @freshehr
    Cool - I knew that functionality existed but no via REST - it is very close to the Marand web template format but not identical - standardisaton of this is coming
    Meron
    @MerNat
    Hello EtherCIS team!
    Meron
    @MerNat
    Does EtherCIS work via GraphQL?