Re: name of language to define OPTs ?

2019-10-12 Thread Dileep V S
As I understand it is XML
Regards

On Sat 12 Oct, 2019, 9:44 PM Georg Fette, 
wrote:

> Hello,
> What is the language name in which templates (OPT and OPT2) are defined ?
> Greetings
> Georg
>
> --
> -
> Dipl.-Inf. Georg Fette  Raum: B001
> Universität WürzburgTel.: +49-(0)931-31-85516
> Am Hubland  Fax.: +49-(0)931-31-86732
> 97074 Würzburg  mail: georg.fe...@uni-wuerzburg.de
> -
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: API for adding data to an EHR

2019-09-27 Thread Dileep V S
Please have a look at

https://specifications.openehr.org/releases/ITS-REST/Release-1.0.0/ehr.html#composition

The instance of the template goes in the body. Different implementations
have used different JSON formats for the payload. Ethercis supports both
FLAT (originally from ThinkEHR) and it's own ECISFLAT formats.

regards


Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
<http://ayushehr.com> e: dil...@healthelife.in


On Fri, Sep 27, 2019 at 6:23 PM Georg Fette 
wrote:

> Hello,
> In which part of the openEHR API is the definition of how to add an
> instance of a template to an existing EHR ?
> Something like "add  to " ?
> Greetings
> Georg
>
> --
> -
> Dipl.-Inf. Georg Fette  Raum: B001
> Universität WürzburgTel.: +49-(0)931-31-85516
> Am Hubland  Fax.: +49-(0)931-31-86732
> 97074 Würzburg  mail: georg.fe...@uni-wuerzburg.de
> -
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL for all specializations of an archetype

2019-05-30 Thread Dileep V S
thanks
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
<http://ayushehr.com> e: dil...@healthelife.in


On Thu, May 30, 2019 at 5:27 PM Ian McNicoll  wrote:

> I assume so, and possibly for specialisations. I would be a bit wary about
> using it for different major versions of an archetype since by definition
> at least some of the paths may have changed.
>
> Ian
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
>
> Director, freshEHR Clinical Informatics Ltd.
> CCIO inidus Ltd. i...@inidus.com
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Thu, 30 May 2019 at 12:37, Dileep V S  wrote:
>
>> Thanks Ian,
>>
>> Can the wildcard(*) be used for different versions of the archetype also
>>
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
>> <http://ayushehr.com> e: dil...@healthelife.in
>>
>>
>> On Thu, May 30, 2019 at 2:42 PM Ian McNicoll  wrote:
>>
>>> It should do - something like this works on ThinkEhr. I'm not sure if
>>> other AQls support it
>>>
>>> SELECT o FROM EHR e CONTAINS ACTION a[openEHR-EHR-ACTION.procedure.v1]
>>> CONTAINS OBSERVATION o[openEHR-EHR-CLUSTER.device-invasive*]
>>>
>>> Ian
>>>
>>> Dr Ian McNicoll
>>> mobile +44 (0)775 209 7859
>>> office +44 (0)1536 414994
>>> skype: ianmcnicoll
>>> email: i...@freshehr.com
>>> twitter: @ianmcnicoll
>>>
>>>
>>>
>>> Director, freshEHR Clinical Informatics Ltd.
>>> CCIO inidus Ltd. i...@inidus.com
>>> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
>>> Hon. Senior Research Associate, CHIME, UCL
>>>
>>>
>>> On Thu, 30 May 2019 at 09:57, Dileep V S  wrote:
>>>
>>>> Hi,
>>>> Does AQL allow defining containment so that the basic archetype and all
>>>> it's specializations can be included in the query? f yes can somebody share
>>>> the syntax?
>>>>
>>>> regards
>>>> Dileep V S
>>>> *Founder*
>>>> HealtheLife Ventures LLP
>>>> m: +91 9632888113
>>>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>>>> w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
>>>> <http://ayushehr.com> e: dil...@healthelife.in
>>>> ___
>>>> openEHR-technical mailing list
>>>> openEHR-technical@lists.openehr.org
>>>>
>>>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>>>
>>> ___
>>> openEHR-technical mailing list
>>> openEHR-technical@lists.openehr.org
>>>
>>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>>
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>>
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL for all specializations of an archetype

2019-05-30 Thread Dileep V S
Thanks Ian,

Can the wildcard(*) be used for different versions of the archetype also

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
<http://ayushehr.com> e: dil...@healthelife.in


On Thu, May 30, 2019 at 2:42 PM Ian McNicoll  wrote:

> It should do - something like this works on ThinkEhr. I'm not sure if
> other AQls support it
>
> SELECT o FROM EHR e CONTAINS ACTION a[openEHR-EHR-ACTION.procedure.v1]
> CONTAINS OBSERVATION o[openEHR-EHR-CLUSTER.device-invasive*]
>
> Ian
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
>
> Director, freshEHR Clinical Informatics Ltd.
> CCIO inidus Ltd. i...@inidus.com
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Thu, 30 May 2019 at 09:57, Dileep V S  wrote:
>
>> Hi,
>> Does AQL allow defining containment so that the basic archetype and all
>> it's specializations can be included in the query? f yes can somebody share
>> the syntax?
>>
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
>> <http://ayushehr.com> e: dil...@healthelife.in
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>>
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


AQL for all specializations of an archetype

2019-05-30 Thread Dileep V S
Hi,
Does AQL allow defining containment so that the basic archetype and all
it's specializations can be included in the query? f yes can somebody share
the syntax?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
<http://ayushehr.com> e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: Retrieving healthcare facility ID details using aql

2019-05-17 Thread Dileep V S
Thanks Ian,

I could get the path from RAW json
(c/context/health_care_facility/external_ref/id/value as orgId). This works
for composer but not for health_care_facility and give error in Ethercis.
Looks like and Ethercis bug. So I will raise a ticket there.

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
<http://ayushehr.com> e: dil...@healthelife.in


On Fri, May 17, 2019 at 12:48 PM Ian McNicoll  wrote:

> Hi Dileep
>
> GERT /composition format=RAW
>
> Ian
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Fri, 17 May 2019 at 06:06, Dileep V S  wrote:
>
>> Iam testing with Ethercis
>> Thomas's pointers were very useful. However I tried all the following
>> options and still getting error
>>
>> c/context/health_care_facility/identifiers/id/value as orgID
>> c/context/health_care_facility/identifiers/id as orgID
>> c/context/health_care_facility/identifiers/value as orgID
>>
>> I will try Ian's suggestion of getting the RAW JSON of the composition to
>> try and figure out, but am not sure how to get the JSON file. Is there an
>> API for this in Ethercis?
>>
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
>> <http://ayushehr.com> e: dil...@healthelife.in
>>
>>
>> On Thu, May 16, 2019 at 8:14 PM Ian McNicoll  wrote:
>>
>>> I was about to say the same thing. The other helpful approach is just to
>>> return the whole composition as a RAW JSON or XML file and see how the
>>> paths work out - they will normally be very close tothintended AQL.
>>>
>>> Thomas's suggestion may be correct for Ethercis but I think that
>>> Think!Ehr actually maps that FLAT JSON construct to  the external_ref in
>>> PARRTY_IDENTIFED rather  then the identifiers attribute that is a PARTY_REF
>>> class which has an id attribute which has a value attribute which is a
>>> String
>>>
>>>
>>> c/context/health_care_facility/external_ref/id/value as facilityId  should
>>> work on ThinkEhr
>>>
>>> Ian
>>>
>>> Dr Ian McNicoll
>>> mobile +44 (0)775 209 7859
>>> office +44 (0)1536 414994
>>> skype: ianmcnicoll
>>> email: i...@freshehr.com
>>> twitter: @ianmcnicoll
>>>
>>>
>>> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
>>> Director, freshEHR Clinical Informatics Ltd.
>>> Director, HANDIHealth CIC
>>> Hon. Senior Research Associate, CHIME, UCL
>>>
>>>
>>> On Thu, 16 May 2019 at 13:07, Thomas Beale 
>>> wrote:
>>>
>>>> Hi Dileep,
>>>>
>>>> Here the UML site is your friend. This is the part of the model
>>>> <https://specifications.openehr.org/releases/UML/latest/#Diagrams___18_1_83e026d_1433773264253_175551_6601>you
>>>> are referring to.
>>>>
>>>> Click through PARTY_IDENTIFIED and you will see that the relevant
>>>> property is 'identifiers', not 'identifier'.
>>>>
>>>> Alternatively, see here in the RM Common IM spec
>>>> <https://specifications.openehr.org/releases/RM/latest/common.html#_party_identified_class>
>>>> .
>>>>
>>>> - thomas
>>>> On 16/05/2019 13:00, Dileep V S wrote:
>>>>
>>>> Hi,
>>>> I am committing the heatcare facility id context details n my
>>>> compositions as below
>>>>
>>>> "clinical_notes/context/health_care_facility|id": "123456-123",
>>>>
>>>> "clinical_notes/context/health_care_facility|id_scheme": "UUID",
>>>>
>>>> "clinical_notes/context/health_care_facility|id_namespace": "
>>>> EHR.NETWORK",
>>>>
>>>> "clinical_notes/context/health_care_facility|name": "HealtheLife",
>>>>
>>>> Trying to retrieve th

Re: Retrieving healthcare facility ID details using aql

2019-05-16 Thread Dileep V S
Iam testing with Ethercis
Thomas's pointers were very useful. However I tried all the following
options and still getting error

c/context/health_care_facility/identifiers/id/value as orgID
c/context/health_care_facility/identifiers/id as orgID
c/context/health_care_facility/identifiers/value as orgID

I will try Ian's suggestion of getting the RAW JSON of the composition to
try and figure out, but am not sure how to get the JSON file. Is there an
API for this in Ethercis?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
<http://ayushehr.com> e: dil...@healthelife.in


On Thu, May 16, 2019 at 8:14 PM Ian McNicoll  wrote:

> I was about to say the same thing. The other helpful approach is just to
> return the whole composition as a RAW JSON or XML file and see how the
> paths work out - they will normally be very close tothintended AQL.
>
> Thomas's suggestion may be correct for Ethercis but I think that Think!Ehr
> actually maps that FLAT JSON construct to  the external_ref in
> PARRTY_IDENTIFED rather  then the identifiers attribute that is a PARTY_REF
> class which has an id attribute which has a value attribute which is a
> String
>
>
> c/context/health_care_facility/external_ref/id/value as facilityId  should
> work on ThinkEhr
>
> Ian
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Thu, 16 May 2019 at 13:07, Thomas Beale 
> wrote:
>
>> Hi Dileep,
>>
>> Here the UML site is your friend. This is the part of the model
>> <https://specifications.openehr.org/releases/UML/latest/#Diagrams___18_1_83e026d_1433773264253_175551_6601>you
>> are referring to.
>>
>> Click through PARTY_IDENTIFIED and you will see that the relevant
>> property is 'identifiers', not 'identifier'.
>>
>> Alternatively, see here in the RM Common IM spec
>> <https://specifications.openehr.org/releases/RM/latest/common.html#_party_identified_class>
>> .
>>
>> - thomas
>> On 16/05/2019 13:00, Dileep V S wrote:
>>
>> Hi,
>> I am committing the heatcare facility id context details n my
>> compositions as below
>>
>> "clinical_notes/context/health_care_facility|id": "123456-123",
>>
>> "clinical_notes/context/health_care_facility|id_scheme": "UUID",
>>
>> "clinical_notes/context/health_care_facility|id_namespace": "EHR.NETWORK
>> ",
>>
>> "clinical_notes/context/health_care_facility|name": "HealtheLife",
>>
>> Trying to retrieve this in aql using
>>
>> c/context/health_care_facility/id/value as orgID
>> andc/context/health_care_facility/identifier/value as orgID
>>
>> both returns error "Could not interpret
>> field:context/health_care_facility/identifier/value"
>>
>> What is the aql syntax to retrieve healthcare facility ID
>>
>> regards
>>
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
>> <http://ayushehr.com> e: dil...@healthelife.in
>>
>> ___
>> openEHR-technical mailing 
>> listopenEHR-technical@lists.openehr.orghttp://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>
>> --
>> Thomas Beale
>> Principal, Ars Semantica <http://www.arssemantica.com>
>> Consultant, ABD Project, Intermountain Healthcare
>> <https://intermountainhealthcare.org/>
>> Management Board, Specifications Program Lead, openEHR Foundation
>> <http://www.openehr.org>
>> Health IT blog <http://wolandscat.net/> | Culture blog
>> <http://wolandsothercat.net/> | The Objective Stance
>> <https://theobjectivestance.net/>
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>>
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Retrieving healthcare facility ID details using aql

2019-05-16 Thread Dileep V S
Hi,
I am committing the heatcare facility id context details n my compositions
as below

"clinical_notes/context/health_care_facility|id": "123456-123",

"clinical_notes/context/health_care_facility|id_scheme": "UUID",

"clinical_notes/context/health_care_facility|id_namespace": "EHR.NETWORK",

"clinical_notes/context/health_care_facility|name": "HealtheLife",


Trying to retrieve this in aql using


c/context/health_care_facility/id/value as orgID
andc/context/health_care_facility/identifier/value as orgID


both returns error "Could not interpret
field:context/health_care_facility/identifier/value"


What is the aql syntax to retrieve healthcare facility ID


regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
<http://ayushehr.com> e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Problem with Pulse/Heart beat archetype

2019-05-16 Thread Dileep V S
Hi,

The Pulse/Heart beat archetype from CKM,(
https://www.openehr.org/ckm/archetypes/1013.1.170 ) when inserted into any
template is giving error in Template designer (Node ID must not be null).
Has any body faced this problem?

I think the problemis with the newer updates as I had used the same a year
back with out any problem.
regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com
<http://ayushehr.com> e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: openEHR on FHIR and vice versa

2018-12-17 Thread Dileep V S
I also concur with Bert that if CKM were to develop into what is intended
to be, the FHIR mapping problem can cease to be a major concern for
majority of the use cases.

Could we not look at extending term mapping in OpenEHR to cover this
requirement also? That way nodes in archetypes can be mapped to FHIT
resource nodes and can be contained within the archetypes

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in


On Tue, Dec 18, 2018 at 4:43 AM Bert Verhees  wrote:

> In fact is this a bit of exciting question. On one side, the OpenEhr
> community has the point of view that OpenEhr is static, CKM rules and is
> planned to cover the whole information requirement for healthcare. Do not
> invent your own archetypes, but use the high quality CKM archetypes is an
> advice I often hear, and for which is good reasoning.
>
> But if that is the case, then there is only need for a one time mapping
> between the CKM archetypes and FHIR.
>
> So, there is not really a problem.
>
> But on the other hand, if you have the opinion that CKM is something nice
> but you think that you can do better, or you need something else (for
> example wellness and sports archetypes), then you need to write your own
> FHIR mapping.
>
> But again, people only using CKM only need a one time mapping between an
> archetype and a FHIR resource which can last forever. The waiting is for
> the moment that CKM will create space to create these mappings.
>
> I wonder, would templates be a good way to arrange this?
>
> I am very interested in opinions about this
>
> Best regards
> Bert Verhees
>
> Op ma 17 dec. 2018 19:27 schreef Pablo Pazos 
>> I also did some mapping work FHIR -> openEHR using Mirth, but this is
>> ad-hoc, no automatic mapping yet, for that you need to define a lot of
>> constraints to make it work automatically. Maybe some semi-automatic tool
>> come out in the future, assisting architects on doing such mappings, either
>> way some kind of human intervention will be needed to define mapping
>> criteria when there are  1 to * mapping possibilities.
>>
>> On Fri, Dec 14, 2018 at 8:01 AM Jan-Marc Verlinden 
>> wrote:
>>
>>> We are doing something similar at the moment. but instead of doing this
>>> inside the archetype we are considering the use of an external mapping tool
>>> like Mirth Connect or OpenHIM. But we are not there yet.. :-)
>>>
>>> Jan-Marc Verlinden
>>> www.medrecord.io
>>> www.medsafe.io
>>> 0653785650
>>>
>>>
>>> Op vr 14 dec. 2018 om 11:49 schreef Diego Boscá :
>>>
>>>> Hello Georg,
>>>>
>>>> The main result of that paper was supporting FHIR as a reference model
>>>> to define archetypes (you can do that with no limitations on the currently
>>>> available tool). There is no openEHR archetype <-> FHIR profile service
>>>> yet, although I believe that providing a openEHR -> FHIR generical
>>>> transformation could be feasible.
>>>> Most of the results of this work are available as import/export
>>>> functions in LinkEHR: Importing StructureDefinitions should work for most
>>>> things (in fact, I have been updating this part recently and will have
>>>> better support for STU3 in next LinkEHR version we publish). The export
>>>> feature is in the original DSTU format though, I assume we should go
>>>> further and generate StructureDefinitions as in STU3. For the
>>>> transformation of data instances, as I said we use archetypes as way to
>>>> express FHIR profiles and resources, so transforming between them is no
>>>> more difficult than transforming between openEHR, CDA, ISO13606, ODM, etc.
>>>> which you can do with the LinkEHR studio (FYI, the LinkEHR Studio version
>>>> available on the website allows you to test this mapping/transformation
>>>> part, the only thing you won't be able to do is to export the output XQuery
>>>> transformation)
>>>>
>>>> Regards
>>>>
>>>> El vie., 14 dic. 2018 a las 11:19, Georg Fette (<
>>>> georg.fe...@uni-wuerzburg.de>) escribió:
>>>>
>>>>> Hello,
>>>>> I have just read the paper "Combining Archetypes with Fast Health
>>>>> Interoperability Resources in Future-proof Health Information
>>>>> Systems",
>>>>> in which the representation of openEHR archetypes as FHIR profiles is
>>>

Re: Use of LinkEHR to create OPTs like we do with Template designer

2018-12-13 Thread Dileep V S
Do you have any idea on how to get an account for ADL designer?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in


On Thu, Dec 13, 2018 at 5:38 PM Thomas Beale 
wrote:

> No, it is under heavy development, and will definitely become the main
> tool for modellers - or maybe with LinkEHR it will be equally used as
> well (that is also well maintained). The UI tool is not open source;
> some of the core libs are I think. So you will not see current source
> code in Github or anywhere like that.
>
>  From what Diego is saying, LinkEHR is getting better at openEHR
> templates, so it may be that we have two excellent tools to work with,
> not a bad situation ...
>
> - thomas
>
> On 13/12/2018 05:35, Dileep V S wrote:
> > The last gitlab commit for this project is 3 year ago. Is that the
> > latest version?
> >
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: ID namespace for composer and healthcare facility

2018-12-13 Thread Dileep V S
Thanks Thomas for the additional information

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in


On Thu, Dec 13, 2018 at 3:26 PM Thomas Beale 
wrote:

> At the moment I think you can safely default the namespace attribute to a
> value like "EHR", "Demographic", "Terminology" etc, which acts as a service
> name or type.
>
> Now, if you look at the OBJECT_ID sub-types
> <https://specifications.openehr.org/releases/BASE/latest/base_types.html#_identification_package>,
> you'll see that they are either UID-based - i.e. based on GUID or maybe OID
> (avoid if humanly possible), or reverse domain names. These are all already
> globally unique.
>
> The subtypes ARCHETYPE_ID, TEMPLATE_ID (not in use) are also globally
> unique. To make archetype ids properly globally unique, they can/should
> have true namespaces prepended, as described here
> <https://specifications.openehr.org/releases/AM/latest/Identification.html#_source_artefact_identification>.
> Section 7 of that doc gives you some examples. The class that defines those
> identifiers is ARCHETYPE_HRID. All of these id types are for design
> artefacts, so I think not your primary concern right now. The type
> TERMINOLOGY_ID is the same, but less well controlled, but usually reliably
> global, because major terminologies tend to be in global use.
>
> The remaining type, GENERIC_ID, is assumed to be a string with a scheme
> type that makes it unique, but might not. The example is things like
> patient hospital ids. Ideally, national patient ids, social security
> numbers etc are unique.
>
> - thomas
> On 13/12/2018 03:14, Dileep V S wrote:
>
> Hi Thomas,
> Thanks for the info.
>
> Just to clarify my understanding, you feel that the namespace attribute in
> for information only and so can be set as we choose.
>
> However, I am not sure that I understand your statement "all target
> OBJECT_IDs of the various concrete types are already globally unique". Do
> you mean using UUIDs for EHRID, PersonID etc? Can you elaborate some more
> one how this is being managed?
>
>
> --
> Thomas Beale
> Principal, Ars Semantica <http://www.arssemantica.com>
> Consultant, ABD Project, Intermountain Healthcare
> <https://intermountainhealthcare.org/>
> Management Board, Specifications Program Lead, openEHR Foundation
> <http://www.openehr.org>
> Chartered IT Professional Fellow, BCS, British Computer Society
> <http://www.bcs.org/category/6044>
> Health IT blog <http://wolandscat.net/> | Culture blog
> <http://wolandsothercat.net/> | The Objective Stance
> <https://theobjectivestance.net/>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: Use of LinkEHR to create OPTs like we do with Template designer

2018-12-13 Thread Dileep V S
 File->new template does not seem to exist. However I could import OPT
files. However I am still enable to insert another archetype into a slot.
The options allow me to only create archetypes and archetype slots and not
insert and existing archetype.

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in


On Thu, Dec 13, 2018 at 2:31 PM Diego Boscá  wrote:

> Hi Dileep,
>
> You can create new templates based on archetypes (File->new template), or
> import your OPT. I recommend that you configure the local repository to
> access the directory, similar to how TD works
>
> Regards
>
> El jue., 13 dic. 2018 a las 9:52, Dileep V S ()
> escribió:
>
>> HI,
>>
>> I have been using Archetype editor and Template designer so far and am
>> experimenting with LinkEHR studio. I have managed to import, visualize and
>> edit OpenEHR archetypes(1.4).
>>
>> However I am not able to understand how to combine archetypes into a
>> template (like we do in Template designer) and export OPTs.I am importing
>> these OPTs into an EtherCIS server. Is this possible? if yes can somebody
>> point to the documentation for this(the documentation from LinkEGR only
>> talks about Archetypes)
>>
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>>
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>
>
>
> --
>
> [image: VeraTech for Health SL] <https://htmlsig.com/t/01C268PZ>
>
> [image: Twitter]  <https://htmlsig.com/t/01C47QQH> [image: LinkedIn]
> <https://htmlsig.com/t/01C4DPJG> [image: Maps]
> <https://htmlsig.com/t/01BZTWS7>
>
> Diego Boscá Tomás / Senior developer
> diebo...@veratech.es
> yamp...@gmail.com
>
> VeraTech for Health SL
> +34 654604676 <+34%20654604676>
> www.veratech.es
>
> La información contenida en este mensaje y/o archivo(s) adjunto(s),
> enviada desde VERATECH FOR HEALTH, SL, es confidencial/privilegiada y está
> destinada a ser leída sólo por la(s) persona(s) a la(s) que va dirigida. Le
> recordamos que sus datos han sido incorporados en el sistema de tratamiento
> de VERATECH FOR HEALTH, SL y que siempre y cuando se cumplan los requisitos
> exigidos por la normativa, usted podrá ejercer sus derechos de acceso,
> rectificación, limitación de tratamiento, supresión, portabilidad y
> oposición/revocación, en los términos que establece la normativa vigente en
> materia de protección de datos, dirigiendo su petición a Avda Puerto 237,
> 1º, pta 1 - 46011 Valencia o bien a través de correo electrónico
> d...@veratech.es
>
> Si usted lee este mensaje y no es el destinatario señalado, el empleado o
> el agente responsable de entregar el mensaje al destinatario, o ha recibido
> esta comunicación por error, le informamos que está totalmente prohibida, y
> puede ser ilegal, cualquier divulgación, distribución o reproducción de
> esta comunicación, y le rogamos que nos lo notifique inmediatamente y nos
> devuelva el mensaje original a la dirección arriba mencionada. Gracias
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: Use of LinkEHR to create OPTs like we do with Template designer

2018-12-13 Thread Dileep V S
Have seen news in the mailing list and have been wanting to try it for
sometime. Unfortunately the OpenEHR tools page link only seems to have a
test account login. Is there a version that can be used for production? or
at least save and rework with files securely?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in


On Thu, Dec 13, 2018 at 3:29 PM Thomas Beale 
wrote:

> Have you tried ADL designer
> <https://www.openehr.org/downloads/modellingtools>yet? This is the tool
> modellers are migrating to for general modelling of archetypes and
> templates, and it supports ADL 1.4 and .oet templates.
>
> - thomas
> On 13/12/2018 03:21, Dileep V S wrote:
>
> HI,
>
> I have been using Archetype editor and Template designer so far and am
> experimenting with LinkEHR studio. I have managed to import, visualize and
> edit OpenEHR archetypes(1.4).
>
> However I am not able to understand how to combine archetypes into a
> template (like we do in Template designer) and export OPTs.I am importing
> these OPTs into an EtherCIS server. Is this possible? if yes can somebody
> point to the documentation for this(the documentation from LinkEGR only
> talks about Archetypes)
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Use of LinkEHR to create OPTs like we do with Template designer

2018-12-13 Thread Dileep V S
HI,

I have been using Archetype editor and Template designer so far and am
experimenting with LinkEHR studio. I have managed to import, visualize and
edit OpenEHR archetypes(1.4).

However I am not able to understand how to combine archetypes into a
template (like we do in Template designer) and export OPTs.I am importing
these OPTs into an EtherCIS server. Is this possible? if yes can somebody
point to the documentation for this(the documentation from LinkEGR only
talks about Archetypes)

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: ID namespace for composer and healthcare facility

2018-12-13 Thread Dileep V S
Hi Thomas,
Thanks for the info.

Just to clarify my understanding, you feel that the namespace attribute in
for information only and so can be set as we choose.

However, I am not sure that I understand your statement "all target
OBJECT_IDs of the various concrete types are already globally unique". Do
you mean using UUIDs for EHRID, PersonID etc? Can you elaborate some more
one how this is being managed?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in


On Wed, Dec 12, 2018 at 5:51 PM Thomas Beale 
wrote:

> Hi Dileep,
>
> as far as I know, all target OBJECT_IDs of the various concrete types
> are already globally unique. I suspect the namespace attribute will not
> be used in the future, or will have just informational value. It would
> be useful to know what other implementers currently do with this attribute.
>
> - thomas
>
> On 12/12/2018 11:18, Dileep V S wrote:
> > Hi,
> > Compositions require id_namespace for composer and healthcare
> > facility, along with id & id_scheme, to uniquely identify them. How do
> > we ensure universal uniqueness for such name spaces? Is there any
> > central registry where EHR systems are supposed to register their
> > namespaces?
> >
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


ID namespace for composer and healthcare facility

2018-12-12 Thread Dileep V S
Hi,
Compositions require id_namespace for composer and healthcare facility,
along with id & id_scheme, to uniquely identify them. How do we ensure
universal uniqueness for such name spaces? Is there any central registry
where EHR systems are supposed to register their namespaces?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL on versioned compositions

2018-10-30 Thread Dileep V S
Hi Ian,

If we take an OP episode, it will consist of possibly a screening
encounter, then a consult encounter and one or more revisit encounters. We
will start with recording data such as complaints, diagnosis, medication
order etc . This data will be reviewed and updated in every subsequent
encounters. So a complaint/diagnosis recorded in the consult may get marked
as resolved during one of the subsequent revisits or sometimes something
new gets added. A medication order made during the consult may get
discontinued and another added later

The folders representing each of the encounters maintain a pointer to the
corresponding versions of the composition so that the snapshot of the
patient status is preserved and can be accessed(using an aql of versioned
composition) any time into the future.

We are not using persistent compositions anywhere. To display a persistent
status(Active complaints, diagnosis or medications), we use an aql to
filter on status to display the relevant information. We expect that the
doctor will review and update status of active items during an encounter.
This is important for us as we are approaching the problem from a person
centric view where the health status of the person concerned is evolving
with every health encounter. Our patient summary is thus, always the last
known status of the person.

By default the clinical information view is limited to an episode using
virtual folders. But a summary view across episodes is also possible if we
run the query outside the virtual folder context. Also in our case the
compositions can get versioned as an episode progresses.

I hope that helps. Do feel free to point out any problems with our approach

regards



Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Tue, Oct 30, 2018 at 3:02 PM, Ian McNicoll  wrote:

> Hi Dileep,
>
> It should be possible to query on versioned compositions but I feel a bit
> uncomfortable about using versioned data this way. For event-type
> compositions, I would only expect versions to be created as a result of an
> error correction, not as part of routine recording. For persistent-type
> compositions, new versions are routinely created but only when the previous
> version is reallyof little interest e.g summaries, status-tracking.
>
> I'm uneasy about your suggested approach. Can you spell out an example/
>
> Ian
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Tue, 30 Oct 2018 at 08:45, Dileep V S  wrote:
>
>> Hi,
>> We are implementing virtual folders to organize compositions as per
>> episodes of care and encounters. The plan is to keep track of versioned
>> compositions in encounters to capture the change of information(Complaints
>> and diagnosis getting resolved across encounters inside an episode).This
>> will allow us to view the compositions as they were in any encounter and
>> not the latest version always.
>>
>> For this we need to be able to query specific versions of compositions
>> using aql. Can some body point me to the documentation or examples of how
>> to do this?
>>
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-
>> technical_lists.openehr.org
>>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


AQL on versioned compositions

2018-10-30 Thread Dileep V S
Hi,
We are implementing virtual folders to organize compositions as per
episodes of care and encounters. The plan is to keep track of versioned
compositions in encounters to capture the change of information(Complaints
and diagnosis getting resolved across encounters inside an episode).This
will allow us to view the compositions as they were in any encounter and
not the latest version always.

For this we need to be able to query specific versions of compositions
using aql. Can some body point me to the documentation or examples of how
to do this?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Recommended versioning strategy for Templates

2018-09-01 Thread Dileep V S
Hi,

As an EHR solution evolves, the templates also tend to evolve to an
acceptable level, especially since the archetypes themselves are evolving.
However, all the data recorded using different versions of the OPT should
remain consistently and easily query-able with out the AQL becoming overly
complex and difficult to manage.

So is there any best practices in versioning the templates as they evolve
so that the incremental evolution does not break the AQLs. The question is
do we use the OPT filename(visually identifiable), Name filed in template
properties or any of the fields in authorship metadata for indicating the
template version?

Secondly, is there any template best practices document?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL support for an array of ehr_id

2018-09-01 Thread Dileep V S
thanks

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Sat, Sep 1, 2018 at 12:57 PM, Seref Arikan <
serefari...@kurumsalteknoloji.com> wrote:

> The matches statement is part of Aql specification
>
>
> On Friday, August 31, 2018, Dileep V S  wrote:
>
>> Dear Ian,
>>
>> Thanks. Is this part of the AQL spec or a feature that THinkEhr has
>> implemented?
>>
>> Given the emerging importance of patient consent, given the GDPR and
>> similar rules coming our across the world (DISHA in India), this may become
>> a basic requirement in any EHR systems of the future. A static mapping of
>> an EHR to the creator organization, as is normal in provider centric
>> systems, may not be good enough.
>>
>> regards
>>
>>
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>>
>> On Thu, Aug 30, 2018 at 11:11 PM, Ian McNicoll  wrote:
>>
>>> Hi Dileep - this is supported by THinkEhr...
>>>
>>> SELECT
>>>e/ehr_id/value, a/data[at0001]/events[at0006]/time,
>>>   a/data[at0001]/events[at0006]/data[at0003]/items[at0004]/value,
>>>   a/data[at0001]/events[at0006]/data[at0003]/items[at0005]/value --
>>> diastolic
>>>  FROM EHR e CONTAINS OBSERVATION a[openEHR-EHR-OBSERVATION.bloo
>>> d_pressure.v1]
>>> WHERE e/ehr_id/value MATCHES { 'e241715b-3ca7-435e-a474-718579aadaa2',
>>> '0e7ac1d6-2dc6-40ec-8259-ac9f9a9727d1', 'ed74f788-4bd6-4e47-ab98-21164
>>> 3cc4b0c'}
>>>
>>> Ian
>>> Dr Ian McNicoll
>>> mobile +44 (0)775 209 7859
>>> office +44 (0)1536 414994
>>> skype: ianmcnicoll
>>> email: i...@freshehr.com
>>> twitter: @ianmcnicoll
>>>
>>>
>>> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
>>> Director, freshEHR Clinical Informatics Ltd.
>>> Director, HANDIHealth CIC
>>> Hon. Senior Research Associate, CHIME, UCL
>>>
>>>
>>> On Thu, 30 Aug 2018 at 18:23, Dileep V S  wrote:
>>>
>>>> Hi,
>>>>
>>>> I am not sure if this has been asked before. I am asking again since I
>>>> could not find an answer
>>>>
>>>> Does AQL support an array of EHRs? In AQL specs i can see examples to
>>>> query any a single EHR and across all EHRs in the system. If I want to
>>>> limit my query to a set of EHRs is it possible using AQL?
>>>>
>>>> Use case - As part of a dynamic consent management framework, we keep a
>>>> dynamic mapping of EHRs to organizations. This is kept updated based on
>>>> patient consent. So at any time a query is run by an organization, it
>>>> should be limited to the EHRs that it has consent at that point of time.
>>>>
>>>> regards
>>>> Dileep V S
>>>> *Founder*
>>>> HealtheLife Ventures LLP
>>>> m: +91 9632888113
>>>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>>>> w: healthelife.in  e: dil...@healthelife.in
>>>> ___
>>>> openEHR-technical mailing list
>>>> openEHR-technical@lists.openehr.org
>>>> http://lists.openehr.org/mailman/listinfo/openehr-technical_
>>>> lists.openehr.org
>>>>
>>>
>>> ___
>>> openEHR-technical mailing list
>>> openEHR-technical@lists.openehr.org
>>> http://lists.openehr.org/mailman/listinfo/openehr-technical_
>>> lists.openehr.org
>>>
>>>
>>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL support for an array of ehr_id

2018-08-31 Thread Dileep V S
Dear Ian,

Thanks for the pointer, I will check it out

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Fri, Aug 31, 2018 at 10:25 PM, Ian McNicoll  wrote:

> It seems to work on Ethercis for this
>
> {
> "executedAQL": "SELECT e/ehr_id/value FROM EHR e WHERE e/ehr_id/value
> matches { 'cd8abecd-9925-4313-86af-93aab4930eae' ,
> '3a579ae0-0cbe-425b-9ac9-f15b83750481' }",
> "resultSet": [
> {
> "ehr_id/value": "3a579ae0-0cbe-425b-9ac9-f15b83750481"
> },
> {
> "ehr_id/value": "cd8abecd-9925-4313-86af-93aab4930eae"
> }
> ]
> }
>
> Certainly should be legal AQL .
> Ian
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Fri, 31 Aug 2018 at 17:44, Dileep V S  wrote:
>
>> Dear Ian,
>>
>> Thanks. Is this part of the AQL spec or a feature that THinkEhr has
>> implemented?
>>
>> Given the emerging importance of patient consent, given the GDPR and
>> similar rules coming our across the world (DISHA in India), this may become
>> a basic requirement in any EHR systems of the future. A static mapping of
>> an EHR to the creator organization, as is normal in provider centric
>> systems, may not be good enough.
>>
>> regards
>>
>>
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>>
>> On Thu, Aug 30, 2018 at 11:11 PM, Ian McNicoll  wrote:
>>
>>> Hi Dileep - this is supported by THinkEhr...
>>>
>>> SELECT
>>>e/ehr_id/value, a/data[at0001]/events[at0006]/time,
>>>   a/data[at0001]/events[at0006]/data[at0003]/items[at0004]/value,
>>>   a/data[at0001]/events[at0006]/data[at0003]/items[at0005]/value --
>>> diastolic
>>>  FROM EHR e CONTAINS OBSERVATION a[openEHR-EHR-OBSERVATION.
>>> blood_pressure.v1]
>>> WHERE e/ehr_id/value MATCHES { 'e241715b-3ca7-435e-a474-718579aadaa2',
>>> '0e7ac1d6-2dc6-40ec-8259-ac9f9a9727d1', 'ed74f788-4bd6-4e47-ab98-
>>> 211643cc4b0c'}
>>>
>>> Ian
>>> Dr Ian McNicoll
>>> mobile +44 (0)775 209 7859
>>> office +44 (0)1536 414994
>>> skype: ianmcnicoll
>>> email: i...@freshehr.com
>>> twitter: @ianmcnicoll
>>>
>>>
>>> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
>>> Director, freshEHR Clinical Informatics Ltd.
>>> Director, HANDIHealth CIC
>>> Hon. Senior Research Associate, CHIME, UCL
>>>
>>>
>>> On Thu, 30 Aug 2018 at 18:23, Dileep V S  wrote:
>>>
>>>> Hi,
>>>>
>>>> I am not sure if this has been asked before. I am asking again since I
>>>> could not find an answer
>>>>
>>>> Does AQL support an array of EHRs? In AQL specs i can see examples to
>>>> query any a single EHR and across all EHRs in the system. If I want to
>>>> limit my query to a set of EHRs is it possible using AQL?
>>>>
>>>> Use case - As part of a dynamic consent management framework, we keep a
>>>> dynamic mapping of EHRs to organizations. This is kept updated based on
>>>> patient consent. So at any time a query is run by an organization, it
>>>> should be limited to the EHRs that it has consent at that point of time.
>>>>
>>>> regards
>>>> Dileep V S
>>>> *Founder*
>>>> HealtheLife Ventures LLP
>>>> m: +91 9632888113
>>>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>>>> w: healthelife.in  e: dil...@healthelife.in
>>>> ___
>>>> openEHR-technical mailing list
>>>> openEHR-technical@lists.openehr.org
>>>> http://lists.openehr.org/mailman/listinfo/openehr-
>>>> technical_lists.openehr.org
>>>>
>>>
>>> ___
>>> openEHR-technical mailing list
>>> openEHR-technical@lists.openehr.org
>>> http://lists.openehr.org/mailman/listinfo/openehr-
>>> technical_lists.openehr.org
>>>
>>>
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-
>> technical_lists.openehr.org
>>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL support for an array of ehr_id

2018-08-31 Thread Dileep V S
Dear Ian,

Thanks. Is this part of the AQL spec or a feature that THinkEhr has
implemented?

Given the emerging importance of patient consent, given the GDPR and
similar rules coming our across the world (DISHA in India), this may become
a basic requirement in any EHR systems of the future. A static mapping of
an EHR to the creator organization, as is normal in provider centric
systems, may not be good enough.

regards


Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Thu, Aug 30, 2018 at 11:11 PM, Ian McNicoll  wrote:

> Hi Dileep - this is supported by THinkEhr...
>
> SELECT
>e/ehr_id/value, a/data[at0001]/events[at0006]/time,
>   a/data[at0001]/events[at0006]/data[at0003]/items[at0004]/value,
>   a/data[at0001]/events[at0006]/data[at0003]/items[at0005]/value --
> diastolic
>  FROM EHR e CONTAINS OBSERVATION a[openEHR-EHR-OBSERVATION.
> blood_pressure.v1]
> WHERE e/ehr_id/value MATCHES { 'e241715b-3ca7-435e-a474-718579aadaa2',
> '0e7ac1d6-2dc6-40ec-8259-ac9f9a9727d1', 'ed74f788-4bd6-4e47-ab98-
> 211643cc4b0c'}
>
> Ian
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Thu, 30 Aug 2018 at 18:23, Dileep V S  wrote:
>
>> Hi,
>>
>> I am not sure if this has been asked before. I am asking again since I
>> could not find an answer
>>
>> Does AQL support an array of EHRs? In AQL specs i can see examples to
>> query any a single EHR and across all EHRs in the system. If I want to
>> limit my query to a set of EHRs is it possible using AQL?
>>
>> Use case - As part of a dynamic consent management framework, we keep a
>> dynamic mapping of EHRs to organizations. This is kept updated based on
>> patient consent. So at any time a query is run by an organization, it
>> should be limited to the EHRs that it has consent at that point of time.
>>
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-
>> technical_lists.openehr.org
>>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: Strange behavior in Template designer 2.8.94 Beta

2018-08-19 Thread Dileep V S
Dear Peter,

Thanks for your reply. However I am not sure I fully understand the logic
of this.

OpenEHR has a way to represent multi occurrence nodes (by appending 0, 1
etc to the path) such that the paths will remain unique. This should work
even when the mode is constrained with a name as well. May be I am missing
something here.

I am not sure what you mean by cloning the node? Can this be done in
Template designer? if yes how

regards



Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Sun, Aug 19, 2018 at 5:46 PM, Peter Gummer 
wrote:

> Hi Dileep,
>
> Yes, this is expected. The behaviour was first noticed about 10 years ago,
> and initially it was reported as a bug. After some thought we realised that
> it’s the correct behaviour. I found it incredibly annoying too!
>
> My memory of the exact reasoning is poor, after all of these years; but I
> think it’s something like this:
>
>
>1. Initially, the name of the archetype node is unconstrained. As a
>consequence, any name would be valid for this node. Therefore, there’s an
>unlimited number of unique paths to the data that could be stored at this
>node’s path: for example, at1234[name = “a”], at1234[name =
>“b”], at1234[name = “c”], etc.
>2. In the template, when you constrain the archetype node to a single
>specific name, there is only one possible path to the the node: for
>example, at1234[name=“whatever name you’ve constrained it to”]. There’s
>only one possible unique path to this. Therefore, the maximum
> occurrences possible is 1.
>
>
> Essentially, this arises because there has to be one unique path to each
> node in the data. This is important so that each data node can be
> identified unambiguously within the EHR.
>
> There is a workaround, however. (But again, my memory may be inaccurate,
> so please forgive me if this isn’t quite right or complete.) To allow
> multiple occurrences, you need to clone the node. Then you can rename the
> clone. Although the renamed clone will be single-occurrence, this will
> retain the original node as multiple occurrences. Or at least I think this
> is how it works — it’s been quite a few years!
>
> I have an even vaguer recollection that ADL 2.0 may have resolved this in
> a more satisfactory way. Perhaps Thomas or someone can elucidate.
>
> Hope this helps,
> Peter
>
>
> On 19 Aug 2018, at 20:24, Dileep V S  wrote:
>
> Hi,
>
> I am observing a strange behavior in the template designer and whated to
> check if this is the expected behavior and if not how to manage it.
>
> In any template, when ever I rename any archetypes, their occurrence gets
> set to [0..1] automatically (single occurrence). The options for selecting
> multiple occurrences is no more available.
>
> Have anybody else noticed this problem? Is there any way to work around
> this as some of these archetypes need to be multiple occurrences
>
> Please see screenshots attached for reference
>
> regards
>
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL on specific list of compositions

2018-08-17 Thread Dileep V S
Very interesting discussion that has helped us get some of our thoughts
clarified. We have started building a virtual folder as a service outside
Ethercis to cover our requirements and are hoping to migrate the structure
into the EHR server at a later date.

The plan is to cover both the things mentioned in Thomas's response. We
intend to get a list of compositions associated with a folder from this
service and pass it to the AQL to get what we want.

However, I am not sure how to rebuild the folder structure if it is lost.
We do not have any folder related information inside Compositions and so
the query can only go from folder to the composition and not the other way.
Keeping folder details in Composition may not be a good idea as folder is
meant to be virtual grouping and can have some dynamism around it. Also
same composition can, in theory, be part of multiple folders. There is also
the concept of a folder hierarchy that exists only within the folder
service.

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Fri, Aug 17, 2018 at 9:30 PM, Thomas Beale 
wrote:

>
> The easiest way to think about this question is: if someone trashed the
> Folder structure, could we (some admin app) rebuild it? The answer is
> interesting. It should normally be possible to rebuild the Folder /
> Composition association structure (it's not containment, just referencing),
> but of course, if you stored other information in the Folders, for example
> in the recently SEC-approved other_details structure, then you would lose
> that.
>
> So the Folder approach does two things:
>
>- represents a pre-built query result (the Folder/Composition
>associations) - giving instant access, and avoiding having to construct the
>query, which is usually somewhat messy.
>- allows other information to be stored directly about the thing the
>Folder represents, e.g. admission / stay in a facility.
>
> - thomas
>
> On 17/08/2018 16:20, Seref Arikan wrote:
>
> Hi Ian,
>
> When the fact that the Composition is associated to an encounter or
> episode of care is recorded by including a reference to that composition in
> a folder, some clinical context/information related to that composition is
> now stored outside the composition, by means of a refence in a folder
>
> Unless I'm missing an Aql feature that can help, you can no longer select
> those compositions via Aql (since Aql does not support/specify how to
> resolve refs)
>
> If you follow the encounter id approach you mentioned, then you could use
> Aql.
>
> In fact, if Ethercis had support for Folder, Dileep would still not be
> able to get those compositions with a singl query: he'd need to fetchs uids
> from a folder with one query, then perform a second query to get
> compositions in the way I suggested.
>
> I'm probably being unnecessarily picky here, just pointing at the
> difference between approaches and trying to put my finger on any downstream
> issues. I'm not doing a great job of it though :)
>
> On Friday, August 17, 2018, Ian McNicoll  wrote:
>
>> Hi Seref,
>>
>> I'm not sure I understand your concerns here. I think the use case is
>> where there is a need to group compositions by some other higher level
>> construct which usually reflect something like an admission, episode of
>> outpatient care or perhaps a community plan of care.
>>
>> As Dileep has indicated he probably would use folders if Ethercis
>> supported them. Another alternative is to create an Encounter ID for each
>> new encounter (which in Dileep's example, I think I would call an episode
>> of care, and simply tag each composition with that Encounter ID e.g create
>> a cluster archetype to hold this in every Composition/ other_context. I
>> have done that on other projects. So it is a case of looking of all
>> composition with EncounterId = x
>> Now I would probably go down the Folder route, if I could.
>> Ian
>> Dr Ian McNicoll
>> mobile +44 (0)775 209 7859
>> office +44 (0)1536 414994
>> skype: ianmcnicoll
>> email: i...@freshehr.com
>> twitter: @ianmcnicoll
>>
>>
>> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
>> Director, freshEHR Clinical Informatics Ltd.
>> Director, HANDIHealth CIC
>> Hon. Senior Research Associate, CHIME, UCL
>>
>>
>> On Fri, 17 Aug 2018 at 13:59, Seref Arikan > .com> wrote:
>>
>>> I'm used to thinking compositions as semantcally self contained units of
>>> information, at the very least using references to other means of
>>> expressing semantics (as in

Re: AQL on specific list of compositions

2018-08-17 Thread Dileep V S
We are working on the same lines. As Ethecis does not have folder concept
currently, we are doing this minimally outside as a different service.

 thanks for the pointer
Regards



On Fri 17 Aug, 2018, 5:28 PM Thomas Beale,  wrote:

> There is a bigger question of how best to model 'encounter' and
> 'admission', which some implementers are doing with Folders, particularly
> DIPS in Norway. I suspect that some version of using Folders (or else some
> kind of tagging, which is semantically equivalent) will be the long term
> approach to doing this.
>
> - thomas
>
> On 17/08/2018 10:54, Dileep V S wrote:
>
> Hi,
>
> Can you write an AQL to query only on a list of specific compositions? Is
> there any sample for reference?
>
> I am trying to create the concept of clinical encounters and maintain a
> collection of compositions per encounter. I am using AQL to retrieve data
> per encounter and need to pass the corresponding set of compositions.
>
> Thanks in advance
>
> regards
>
>
> --
> Thomas Beale
> Principal, Ars Semantica <http://www.arssemantica.com>
> Consultant, ABD Project, Intermountain Healthcare
> <https://intermountainhealthcare.org/>
> Management Board, Specifications Program Lead, openEHR Foundation
> <http://www.openehr.org>
> Chartered IT Professional Fellow, BCS, British Computer Society
> <http://www.bcs.org/category/6044>
> Health IT blog <http://wolandscat.net/> | Culture blog
> <http://wolandsothercat.net/> | The Objective Stance
> <https://theobjectivestance.net/>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL on specific list of compositions

2018-08-17 Thread Dileep V S
thanks Ian, Seref

 regards

On Fri 17 Aug, 2018, 4:25 PM Ian McNicoll,  wrote:

> Beat me to it :(
>
> Ian
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Fri, 17 Aug 2018 at 11:52, Seref Arikan <
> serefari...@kurumsalteknoloji.com> wrote:
>
>> Modifying Ian's example for a/uid/value and using uid values instead of
>> names should do the trick
>>
>> On Friday, August 17, 2018, Dileep V S  wrote:
>>
>>> Thanks Ian,
>>>
>>> However my requirement is different. I seem to have confused you with
>>> the way my question was framed.
>>>
>>> What I meant by composition ID was in fact Composition UID. I want to
>>> query the same template (/name/value), but limited to specific commits
>>> (compositionUIDs).
>>>
>>> I hope that helps
>>>
>>> regards
>>>
>>> Dileep V S
>>> *Founder*
>>> HealtheLife Ventures LLP
>>> m: +91 9632888113
>>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>>> w: healthelife.in  e: dil...@healthelife.in
>>>
>>> On Fri, Aug 17, 2018 at 3:54 PM, Ian McNicoll  wrote:
>>>
>>>> Hi Dileep,
>>>>
>>>> I do this by querying on the name attribute of the root composition
>>>> archetype - see the examples in
>>>>
>>>>
>>>> https://github.com/RippleOSI/Ripple-openEHR/blob/master/docs/bindings/Current%20Ripple%20Headings/Clinical%20notes/clinical_notes.md
>>>>
>>>> You can of course query on multiple names.
>>>>
>>>> where a/name/value matches {'Clinical Notes', 'Other Clinical Notes'}
>>>>
>>>> Going forward I would expect the list of allowable composition names to
>>>> come from a controlled vocabulary or even a local terminology.
>>>>
>>>> Ian
>>>>
>>>> Dr Ian McNicoll
>>>> mobile +44 (0)775 209 7859
>>>> office +44 (0)1536 414994
>>>> skype: ianmcnicoll
>>>> email: i...@freshehr.com
>>>> twitter: @ianmcnicoll
>>>>
>>>>
>>>> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
>>>> Director, freshEHR Clinical Informatics Ltd.
>>>> Director, HANDIHealth CIC
>>>> Hon. Senior Research Associate, CHIME, UCL
>>>>
>>>>
>>>> On Fri, 17 Aug 2018 at 10:54, Dileep V S  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Can you write an AQL to query only on a list of specific compositions?
>>>>> Is there any sample for reference?
>>>>>
>>>>> I am trying to create the concept of clinical encounters and maintain
>>>>> a collection of compositions per encounter. I am using AQL to retrieve 
>>>>> data
>>>>> per encounter and need to pass the corresponding set of compositions.
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>> regards
>>>>>
>>>>> Dileep V S
>>>>> *Founder*
>>>>> HealtheLife Ventures LLP
>>>>> m: +91 9632888113
>>>>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>>>>> w: healthelife.in  e: dil...@healthelife.in
>>>>> ___
>>>>> openEHR-technical mailing list
>>>>> openEHR-technical@lists.openehr.org
>>>>>
>>>>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>>>>
>>>>
>>>> ___
>>>> openEHR-technical mailing list
>>>> openEHR-technical@lists.openehr.org
>>>>
>>>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>>>
>>>>
>>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>>
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: AQL on specific list of compositions

2018-08-17 Thread Dileep V S
Thanks Ian,

However my requirement is different. I seem to have confused you with the
way my question was framed.

What I meant by composition ID was in fact Composition UID. I want to query
the same template (/name/value), but limited to specific commits
(compositionUIDs).

I hope that helps

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Fri, Aug 17, 2018 at 3:54 PM, Ian McNicoll  wrote:

> Hi Dileep,
>
> I do this by querying on the name attribute of the root composition
> archetype - see the examples in
>
> https://github.com/RippleOSI/Ripple-openEHR/blob/master/
> docs/bindings/Current%20Ripple%20Headings/Clinical%
> 20notes/clinical_notes.md
>
> You can of course query on multiple names.
>
> where a/name/value matches {'Clinical Notes', 'Other Clinical Notes'}
>
> Going forward I would expect the list of allowable composition names to
> come from a controlled vocabulary or even a local terminology.
>
> Ian
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Fri, 17 Aug 2018 at 10:54, Dileep V S  wrote:
>
>> Hi,
>>
>> Can you write an AQL to query only on a list of specific compositions? Is
>> there any sample for reference?
>>
>> I am trying to create the concept of clinical encounters and maintain a
>> collection of compositions per encounter. I am using AQL to retrieve data
>> per encounter and need to pass the corresponding set of compositions.
>>
>> Thanks in advance
>>
>> regards
>>
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-
>> technical_lists.openehr.org
>>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


AQL on specific list of compositions

2018-08-17 Thread Dileep V S
Hi,

Can you write an AQL to query only on a list of specific compositions? Is
there any sample for reference?

I am trying to create the concept of clinical encounters and maintain a
collection of compositions per encounter. I am using AQL to retrieve data
per encounter and need to pass the corresponding set of compositions.

Thanks in advance

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: Unique paths for nodes in multiple instances of one archetype in the same OPT

2018-07-06 Thread Dileep V S
Thanks Ian,

I will also test with Ethercis and update

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Fri, Jul 6, 2018 at 8:12 PM, Ian McNicoll  wrote:

> Hi Dileep,
>
> I'll check the AQL against Ethercis ASAP - Chrisitian has done a lot
> of work in this area recently.
>
> The issue of how best to distinguish different nodes on the same path is
> an old and long conversation. There are quite a few different requirements/
> use-cases.
>
> What I suggested is perfectly legitimate, the AQL for each path will be
> different as you can use a qualified name predicate in the AQL but I agree
> it would be helpful to be able to carry the slot meaning (optionally) in
> the patient data not just in the design-time definition.
>
> I know Thomas has talked about this in the past. It would need a somewhat
> significant change to the RM, I think.
>
> Ian
>
>
>
>
>
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Fri, 6 Jul 2018 at 14:55, Dileep V S  wrote:
>
>> Thanks Ian/Silje,
>>
>> I will take a look at what Ian has suggested. But if Ethercis dos not
>> support it, I will be back to square one. In that case would specializing
>> the person_name and organisation archetypes for requester and receiver make
>> sense?
>>
>> On further thought, I feel that what Ian has suggested is a work around
>> and not part of the standard specs. Has there been any thoughts on a more
>> elegant solution to be included in the standards? A more robust solution
>> may be to include the slot id in the path and also in AQL so that same
>> archetype in 2 different slots will have different paths. But then again
>> this does not cover the situation where one slot is required to contain
>> multiple instances of the same archetype.
>>
>> Silje,
>> Thanks for the pointer to the new version of service request archetype.
>> Will use that
>>
>> regards
>>
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113
>> a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>>
>> On Fri, Jul 6, 2018 at 4:02 PM, Bakke, Silje Ljosland <
>> silje.ljosland.ba...@nasjonalikt.no> wrote:
>>
>>> As a side note, the “Service request” archetype has just (yesterday, in
>>> fact) been published as INSTRUCTION.service_request.v1.
>>>
>>> Regards,
>>> *Silje*
>>>
>>>
>>>
>>> *From:* openEHR-technical [mailto:openehr-technical-
>>> boun...@lists.openehr.org] *On Behalf Of *Ian McNicoll
>>> *Sent:* Friday, July 06, 2018 11:16 AM
>>> *To:* For openEHR technical discussions >> openehr.org>
>>> *Subject:* Re: Unique paths for nodes in multiple instances of one
>>> archetype in the same OPT
>>>
>>>
>>>
>>> Hi Dileep,
>>>
>>>
>>>
>>> The usual approach I take here is to rename the clustered archetype to
>>> reflect local use, which works out as
>>>
>>>
>>>
>>> [openEHR-EHR-COMPOSITION.request.v1]
>>> [openEHR-EHR-INSTRUCTION.request.v0]
>>>
>>> [openEHR-EHR-CLUSTER.organisation.v0, 'Requesting organisation']
>>>
>>> [openEHR-EHR-CLUSTER.person_name.v1]
>>>
>>> [openEHR-EHR-CLUSTER.organisation.v0, ' Receiving organisation']
>>>
>>> [openEHR-EHR-CLUSTER.person_name.v1]
>>>
>>>
>>>
>>> and is queryable on AQL.
>>>
>>>
>>>
>>> see https://github.com/RippleOSI/Ripple-openEHR/tree/
>>> master/docs/bindings/Current%20Ripple%20Headings/Referrals
>>>
>>> Note that the AQL described was not working correctly on Ethercis in the
>>> past but that issue may have been fixed.
>>>
>>>
>>>
>>> Ian
>>>
>>>
>>> Dr Ian McNicoll
>>> mobile +44 (0)775 209 7859
>>> office +44 (0)1536 414994
>>> skype: ianmcnicoll
>>> email: i...@freshehr.com
>>> twitter: @ianmcnicoll
>>>
>>>
>>>
>>> Co-Chair, ope

Re: Unique paths for nodes in multiple instances of one archetype in the same OPT

2018-07-06 Thread Dileep V S
Thanks Ian/Silje,

I will take a look at what Ian has suggested. But if Ethercis dos not
support it, I will be back to square one. In that case would specializing
the person_name and organisation archetypes for requester and receiver make
sense?

On further thought, I feel that what Ian has suggested is a work around and
not part of the standard specs. Has there been any thoughts on a more
elegant solution to be included in the standards? A more robust solution
may be to include the slot id in the path and also in AQL so that same
archetype in 2 different slots will have different paths. But then again
this does not cover the situation where one slot is required to contain
multiple instances of the same archetype.

Silje,
Thanks for the pointer to the new version of service request archetype.
Will use that

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Fri, Jul 6, 2018 at 4:02 PM, Bakke, Silje Ljosland <
silje.ljosland.ba...@nasjonalikt.no> wrote:

> As a side note, the “Service request” archetype has just (yesterday, in
> fact) been published as INSTRUCTION.service_request.v1.
>
> Regards,
> *Silje*
>
>
>
> *From:* openEHR-technical [mailto:openehr-technical-
> boun...@lists.openehr.org] *On Behalf Of *Ian McNicoll
> *Sent:* Friday, July 06, 2018 11:16 AM
> *To:* For openEHR technical discussions  openehr.org>
> *Subject:* Re: Unique paths for nodes in multiple instances of one
> archetype in the same OPT
>
>
>
> Hi Dileep,
>
>
>
> The usual approach I take here is to rename the clustered archetype to
> reflect local use, which works out as
>
>
>
> [openEHR-EHR-COMPOSITION.request.v1]
> [openEHR-EHR-INSTRUCTION.request.v0]
>
> [openEHR-EHR-CLUSTER.organisation.v0, 'Requesting organisation']
>
> [openEHR-EHR-CLUSTER.person_name.v1]
>
> [openEHR-EHR-CLUSTER.organisation.v0, ' Receiving organisation']
>
> [openEHR-EHR-CLUSTER.person_name.v1]
>
>
>
> and is queryable on AQL.
>
>
>
> see https://github.com/RippleOSI/Ripple-openEHR/tree/
> master/docs/bindings/Current%20Ripple%20Headings/Referrals
>
> Note that the AQL described was not working correctly on Ethercis in the
> past but that issue may have been fixed.
>
>
>
> Ian
>
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
>
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
>
>
>
>
> On Fri, 6 Jul 2018 at 10:07, Dileep V S  wrote:
>
> Hi,
>
>
>
> We are trying to create a service request template using the following
> structure
>
>
>
> [openEHR-EHR-COMPOSITION.request.v1]
> [openEHR-EHR-INSTRUCTION.request.v0]
>
> [openEHR-EHR-CLUSTER.organisation.v0]
>
> [openEHR-EHR-CLUSTER.person_name.v1]
>
> [openEHR-EHR-CLUSTER.organisation.v0]
>
> [openEHR-EHR-CLUSTER.person_name.v1]
>
>
>
> The first set of organization & person name archetypes are for the
> requester and the second set for the receiver.
>
>
>
> However in the template editor, the paths for the nodes of both these
> instances are the same(Eg. Orgaization name, Identifier, unstructured name
> etc). This, we feel, will create problems in the AQL as we cannot uniquely
> identify the nodes. How do we solve this problem. Is there any better way
> to model the template
>
>
>
> I m attaching the template file set for reference
>
>
>
> Regards
>
>
>
> Dileep V S
>
> *Founder*
>
> *HealtheLife Ventures LLP*
>
> m:
>
> +91 9632888113
>
> a:
>
> 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>
> w:
>
> healthelife.in  e: dil...@healthelife.in
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Unique paths for nodes in multiple instances of one archetype in the same OPT

2018-07-06 Thread Dileep V S
Hi,

We are trying to create a service request template using the following
structure

[openEHR-EHR-COMPOSITION.request.v1]
[openEHR-EHR-INSTRUCTION.request.v0]
[openEHR-EHR-CLUSTER.organisation.v0]
[openEHR-EHR-CLUSTER.person_name.v1]
[openEHR-EHR-CLUSTER.organisation.v0]
[openEHR-EHR-CLUSTER.person_name.v1]

The first set of organization & person name archetypes are for the
requester and the second set for the receiver.

However in the template editor, the paths for the nodes of both these
instances are the same(Eg. Orgaization name, Identifier, unstructured name
etc). This, we feel, will create problems in the AQL as we cannot uniquely
identify the nodes. How do we solve this problem. Is there any better way
to model the template

I m attaching the template file set for reference

Regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
<>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Are there any tutorial on ADL 2.0

2018-01-04 Thread Dileep V S
Hi,

So far I have been using the template designer and archetype editor to
create templates. But I want to explore using ADL 2.0 going forward.

Since the graphical tools available are limited, I am considering hand
coding in ADL 2.0. However I am unable to find any documentation other than
the OpenEHR specification (
http://openehr.org/releases/AM/latest/docs/ADL2/ADL2.html). Is there any
help, documentation or guide that explains the process step by step to get
me started?

Thanks in advance for your help

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: Process to follow for coding using Terminology server

2017-12-20 Thread Dileep V S
Thanks Ian,

I tested and it works. Your detailed explanation was a great help. I am
sure you will make a very good teacher. Though Pablo also said the same
thing first, I did not fully get it.


regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Wed, Dec 20, 2017 at 2:03 PM, Ian McNicoll <i...@freshehr.com> wrote:

> Hi Dileep,
>
> As Pablo says, any DV_TEXT can be sub-classed as DV_CODED_TEXT.
>
> How are you storing the composition data ,FLAT JSON?
>
> If so you can save coded data for any DV_TEXT node as follows
>
>   
> "adverse_reaction_list/allergies_and_adverse_reactions/adverse_reaction_risk:0/causative_agent|code":
> "91936005",
>   
> "adverse_reaction_list/allergies_and_adverse_reactions/adverse_reaction_risk:0/causative_agent|value":
> "allergy to penicillin",
>   "adverse_reaction_list/allergies_and_adverse_reactions/adverse_reaction_
> risk:0/causative_agent|terminology": "SNOMED-CT",
>
>  
> "adverse_reaction_list/allergies_and_adverse_reactions/adverse_reaction_risk:0/causative_agent":
> "non-coded text",
>
> The fulll RAW JSON equivalent is
>
> {
> "@class": "ELEMENT",
> "name": {
> "@class": "DV_TEXT",
> "value": "Causative agent"
> },
> "archetype_node_id": "at0002",
> "value": {
> "@class": "DV_CODED_TEXT",
> "value": "allergy to penicillin",
> "defining_code": {
> "@class": "CODE_PHRASE",
> "terminology_id": {
> "@class": "TERMINOLOGY_ID",
> "value": "SNOMED-CT"
> },
> "code_string": "91936005"
> }
> }
> },
>
> AQL to retreive is something like
>
>   b_a/data[at0001]/items[at0002]/value/value as causative_agent_value,
> b_a/data[at0001]/items[at0002]/value/defining_code/code_string as
> causative_agent_code,
> b_a/data[at0001]/items[at0002]/value/defining_code/terminology_id/value
> as causative_agent_terminology,
>
> Ian
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
> On 20 December 2017 at 05:41, Dileep V S <dil...@healthelife.in> wrote:
>
>> Hi,
>>
>> We are in the process of adding a terminology server to code the
>> composition date. However many of the nodes that can be coded are text
>> fields (Eg. Symptom/sign name in Symptom/sign archetype that we have used
>> in Complaints template). As we understand, the data type has to be changed
>> to CODED-TEXT before we can store coded data.
>>
>> What is the best practice to do this? Shall we go ahead and edit the
>> archetypes, in which case our archetypes will no longer be same as the ones
>> in CKM? Are there more robust mechanisms to achieve this without breaking
>> compliance to CKM?
>>
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113 <+91%2096328%2088113>
>> a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>>
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_
>> lists.openehr.org
>>
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Process to follow for coding using Terminology server

2017-12-19 Thread Dileep V S
Hi,

We are in the process of adding a terminology server to code the
composition date. However many of the nodes that can be coded are text
fields (Eg. Symptom/sign name in Symptom/sign archetype that we have used
in Complaints template). As we understand, the data type has to be changed
to CODED-TEXT before we can store coded data.

What is the best practice to do this? Shall we go ahead and edit the
archetypes, in which case our archetypes will no longer be same as the ones
in CKM? Are there more robust mechanisms to achieve this without breaking
compliance to CKM?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: Problem with creating medication order with Template designer

2017-12-19 Thread Dileep V S
Hi,

Thanks to all for the quick responses. The latest version from CKM do not
give this error.

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Tue, Dec 19, 2017 at 1:25 PM, Sebastian Garde <
sebastian.ga...@oceaninformatics.com> wrote:

> Hi,
>
>
>
> There are unnecessary existence constraints in the archetype, e.g.
>
>
>
> *value existence matches {0..1}*
>
>
>
> While I don’t think that this is technically wrong, this constraint is
> superfluous as it doesn’t constrain anything.
>
> This may be what Template Designer is having problems with…just try to
> remove any occurrence of “*existence matches {0..1}*” in the archetype.
>
> Or, if you can, use the archetypes from CKM, they don’t have this
> “constraint”.
>
>
>
> Regards
>
> Sebastian
>
>
>
> *Von:* openEHR-technical [mailto:openehr-technical-
> boun...@lists.openehr.org] *Im Auftrag von *Dileep V S
> *Gesendet:* Dienstag, 19. Dezember 2017 08:39
> *An:* For openEHR technical discussions <openehr-technical@lists.
> openehr.org>
> *Betreff:* Re: Problem with creating medication order with Template
> designer
>
>
>
> Thanks Peter,
>
>
>
> I am getting the same problem with both timing_daily and
> timing_repetition. So far my efforts to trace the issue has not been
> successful. I am attaching the updated zip file with the offending
> Archetypes also.
>
>
>
> regards
>
>
> [image: https://drive.google.com/uc?id=0BxQc41y9yqs6bkE5a1JQQVBjZG8]
>
> Dileep V S
>
> *Founder*
>
> *HealtheLife Ventures LLP*
>
> m:
>
> +91 9632888113
>
> a:
>
> 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>
> w:
>
> healthelife.in  e: dil...@healthelife.in
>
>
>
> On Tue, Dec 19, 2017 at 11:59 AM, Peter Gummer <peter.gum...@gmail.com>
> wrote:
>
> Hi Dileep,
>
>
>
> According to the error message, the problem is with the timing_repetition
> archetype. The error says that it has an unexpected attribute: existence.
>
>
>
> Your zip file doesn’t contain this archetype so I can’t take a look at it
> myself, but it should be easy to find the existence attribute.
>
>
>
> Regards,
>
> Peter
>
>
>
>
>
> On 19 Dec 2017, at 16:53, Dileep V S <dil...@healthelife.in> wrote:
>
>
>
> Hi,
>
>
>
> I am trying to create a medication order template using Template designer
> and am getting  an error while trying to add 
> openEHR-EHR-CLUSTER.timing_daily.v0
> and openEHR-EHR-CLUSTER.timing_repetition.v0. More details along with the
> screenshot of the error in the attached file. I am also attaching the
> template file set for reference.
>
>
>
> I looked at the offending Archetypes, but could not find any problem. If
> any of you have faced similar problems before, pls point me in the right
> direction to find a solution.
>
>
>
> Thanks in advance for your help
>
>
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: information about allowable data in a openEHR format

2017-11-22 Thread Dileep V S
Dear David,

OpenEHR supports a wide variety of data types. Please refer to
http://openehr.org/releases/RM/latest/docs/data_types/data_types.html for
more details on the data types supported. That said the simple answer to
your question is that all that you are looking for are supported. You can
also have a look at some of the large number of archetypes available in the
OpenEHR CKM (http://www.openehr.org/ckm/) to see how each of the data types
have been used in practice.

As for how a patient record looks, a patient record in OpenEHR is made up
of independent compositions, which are instances of use case driven
templates. Templates in turn are made up of one or more archetypes. So a
patient record can contain multiple JSONs(each representing a composition).

As per my understanding, the JSON structure of compositions can vary
depending upon the implementation. The following link has more details on
the JSON format used by Ethercis (an opensource OpenEHR server
implementation)

https://github.com/ethercis/ethercis/blob/master/doc/flat%20json.md

I hope that helps

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Wed, Nov 22, 2017 at 8:10 PM, Monaghan, David S <david_monag...@optum.com
> wrote:

> Hey all,
>
> Apologies for asking what is probably a simple question but I’m just
> starting out in this space now.
>
> My question is:
>
> If I have a patient record with ICD-9 and ICD-10 codes, Pharmacy codes,
> procedure codes, patient data such as age, sex, height, weight etc. and
> also free form clinical notes. Can I store all this kinda of data in a
> openEHR format? And if so could you provide me with a sample json of what
> that kind of patient record would look like?
>
>
>
> Or point me in the right direction?
>
>
>
> Thanks so much
>
>
>
> Kind regards
>
> Dave
>
>
>
> *Dr David Monaghan  **| Optum*
>
> Lead Machine Learning Researcher – Product Engineering and Data Solutions
>
> BLOCK C, SPENCER DOCK, Dublin, Ireland
>
> T +353 749 200 436
>
> E david_monag...@optum.com
>
> *www.optum.com <http://www.optum.com/>*
>
>
>
> *Our United Culture  *The way forward
>
> Integrity  |  Compassion  |  Relationships  |  Innovation  |  Performance
>
>
>
> Optum Services (Ireland) Limited, a private company limited by shares,
> registered in Ireland with company number 579794 and with its registered
> office at 70 Sir John Rogerson's Quay, Dublin 2.
>
>
>
>
>
>
>
>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: AQL for multi-occurrence nodes

2017-11-02 Thread Dileep V S
Dear Thomas,

Can you point me to details of Java structures

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Thu, Nov 2, 2017 at 8:12 PM, Thomas Beale <thomas.be...@openehr.org>
wrote:

> Hi Dileep
>
> On 27/10/2017 04:15, Dileep V S wrote:
>
> Hi,
>
> What is the expected response to AQL on a node with multiple occurrences?
> Does it return all the occurrences or only the first one?
>
>
> querying is always about returning everything that matches - it's a
> declarative concept, not a procedural one.
>
>
> If it is expected to return all occurrences, what is the structure of the
> response? will the occurrences be returned as an array?
>
>
> In REST terms, see here
> <https://openehr.github.io/specifications-ITS/query.html>. If you want
> other structures, e.g. C# / Java / other language etc, please respond here,
> there are answers for that as well.
>
> - thomas
>
> --
> Thomas Beale
> Principal, Ars Semantica <http://www.arssemantica.com>
> Consultant, ABD Team, Intermountain Healthcare
> <https://intermountainhealthcare.org/>
> Management Board, Specifications Program Lead, openEHR Foundation
> <http://www.openehr.org>
> Chartered IT Professional Fellow, BCS, British Computer Society
> <http://www.bcs.org/category/6044>
> Health IT blog <http://wolandscat.net/> | Culture blog
> <http://wolandsothercat.net/>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: AQL for multi-occurrence nodes

2017-11-02 Thread Dileep V S
Thanks everybody for the clarification.

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Thu, Nov 2, 2017 at 10:43 PM, Pablo Pazos <pablo.pa...@cabolabs.com>
wrote:

>
>
> On Fri, Oct 27, 2017 at 3:15 AM, Dileep V S <dil...@healthelife.in> wrote:
>
>> Hi,
>>
>> What is the expected response to AQL on a node with multiple occurrences?
>> Does it return all the occurrences or only the first one?
>>
>>
> If the query matches multiple occurrences of data defined by the same
> archetype node, then all the matched occurrences should be returned. It
> doesn't make sense to return the first occurrence since each occurrence
> contains different clinical data.
>
>
>> If it is expected to return all occurrences, what is the structure of the
>> response? will the occurrences be returned as an array?
>>
>
> IMO the result will have the structure of the items in the SELECT, if the
> query projection is a COMPOSITION, then the result will be a list of
> compositions, and those might contain multiple occurrences of a node. On
> this context, the match in the WHERE might be that exists a node at certain
> path that contains certain value, that path might have multiple occurrences
> of a node, and the resulting compositions will be returned if any of those
> occurrences have that value.
>
> If the SELECT has a projection for the matched nodes that might have
> multiple occurrences, a list of those nodes will be returned, and those
> might be from many COMPOSITIONs. If the results are just a plain list, it
> will be difficult to know which occurrences have the same context
> (contained on the same composition), I prefer to return the composition uid
> alongside with the data and a timestamp.
>
>
>>
>> If only the first one is returned, how do we get all the occurrences?
>> Adding multiple select lines in aql may not be practical as the number of
>> occurrences can vary.
>>
>
> I don't think this is an issue of AQL, but an implementations issue on not
> supporting multiple occurrences of nodes on query results. Multiple
> occurrences is a basic part of the openEHR spec IMO and very common in
> clinical records, like having more than one diagnosis on the same document.
>
> As Thomas said, the query should return anything that matches, multiple
> occurrences included.
>
>
>>
>> Can nay body give a select statement syntax for this?
>>
>> regards
>>
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113 <+91%2096328%2088113>
>> a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>>
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_
>> lists.openehr.org
>>
>
>
>
> --
> Ing. Pablo Pazos Gutiérrez
> e: pablo.pa...@cabolabs.com
> p: +598 99 043 145
> skype: cabolabs
> <http://cabolabs.com/>
> http://www.cabolabs.com
> https://cloudehrserver.com
> Subscribe to our newsletter <http://eepurl.com/b_w_tj>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: Does aql support multiple ehrids?

2017-10-27 Thread Dileep V S
Thanks Ian

Regards

Dileep V S
Founder
HealtheLife Ventures LLP
+91 9632888113
103, Innovation Centre, IIIT, Electronics City, Bangalore 560100,
healthelife.in

On 27-Oct-2017 3:12 PM, "Ian McNicoll" <i...@freshehr.com> wrote:

> Marand THinkEHR supports this ...
>
> WHERE e/ehr_id/value MATCHES {
>
> 'e241715b-3ca7-435e-a474-718579aadaa2',
>
> '0e7ac1d6-2dc6-40ec-8259-ac9f9a9727d1',
>
> 'ed74f788-4bd6-4e47-ab98-211643cc4b0c'}
>
>
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
> On 27 October 2017 at 07:20, Dileep V S <dil...@healthelife.in> wrote:
>
>> Hi,
>>
>> I have tested aql with single ehr and across all ehrs(without any ehrid).
>> Can we pass an array of ehrids in an aql to limit the query to selected
>> ehrs?
>>
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113 <+91%2096328%2088113>
>> a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>>
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_
>> lists.openehr.org
>>
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Does aql support multiple ehrids?

2017-10-27 Thread Dileep V S
Hi,

I have tested aql with single ehr and across all ehrs(without any ehrid).
Can we pass an array of ehrids in an aql to limit the query to selected
ehrs?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

AQL for multi-occurrence nodes

2017-10-27 Thread Dileep V S
Hi,

What is the expected response to AQL on a node with multiple occurrences?
Does it return all the occurrences or only the first one?

If it is expected to return all occurrences, what is the structure of the
response? will the occurrences be returned as an array?

If only the first one is returned, how do we get all the occurrences?
Adding multiple select lines in aql may not be practical as the number of
occurrences can vary.

Can nay body give a select statement syntax for this?

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: Suitable data type to record frequency of something happening

2017-09-29 Thread Dileep V S
Dear Heather,

For frequency, use the Frequency property and the {Qualified real/Time}
> Unit. This will display a popup where you choose one unit from the left
> column and one from the right. Select ‘1’ from the left and the unit of
> your choice (eg wk) from the right – this allows you to say a frequency
> like 5/week, where ‘5’ will be the quantity value recorded in the system


I tested this, but feel is is not the most elegant way. The unit part shows
up as 1/d, 1/wk, 1/mo (for /day, /week & /month respectively). While
recording values you have to select a number and one of the units. So if I
have to record 5/week, the composition will have magnitude as '5' and unit
as '1/wk'. The UI will need to do some manipulation/mapping to present an
elegant view to the user (1/wk >/week).

A more elegant method would be a ability to mark units as /d, /wk, /mo etc.

regards



Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Fri, Sep 29, 2017 at 2:57 AM, Heather Leslie <
heather.les...@oceanhealthsystems.com> wrote:

> Hi Dileep,
>
>
>
> For frequency, use the Frequency property and the {Qualified real/Time}
> Unit. This will display a popup where you choose one unit from the left
> column and one from the right. Select ‘1’ from the left and the unit of
> your choice (eg wk) from the right – this allows you to say a frequency
> like 5/week, where ‘5’ will be the quantity value recorded in the system
>
>
>
> Re Quantity>Time vs Duration – the relevant section of the specs are here:
>
>- QUANTITY: http://www.openehr.org/releases/RM/latest/docs/data_
>types/data_types.html#_dv_quantity_class
>
> <http://www.openehr.org/releases/RM/latest/docs/data_types/data_types.html#_dv_quantity_class>
>– “Can also be used for time durations, where it is more convenient to
>treat these as simply a number of seconds rather than days, months, years.”
>- DURATION: http://www.openehr.org/releases/RM/latest/docs/data_
>types/data_types.html#_dv_duration_class
>
> <http://www.openehr.org/releases/RM/latest/docs/data_types/data_types.html#_dv_duration_class>.
>In practice we model duration mostly – for example to record age of a
>person or duration of an operation.
>
>
>
> I can only recall modelling Time using the Quantity data type in one
> archetype – http://www.openehr.org/ckm/#showArchetype_1013.1.44 - for the
> specifications of how a stimulus has been set up in an audiometer. I’m
> honestly not sure if this is a good use case as it has had no collaborative
> review but it definitely seemed not to fit the proper use of duration as a
> period of time with respect to a notional point in time. I’m interested in
> other’s views as to whether they agree or not.
>
>
>
> And others might have other use cases I’m not aware of.
>
> If someone can document simply and succinctly the difference, with use
> cases, I’d be grateful for the clarification too. It’s not easy.
>
>
>
> Regards
>
>
>
> Heather
>
>
>
> *From:* openEHR-technical [mailto:openehr-technical-
> boun...@lists.openehr.org] *On Behalf Of *Dileep V S
> *Sent:* Friday, 29 September 2017 3:21 AM
> *To:* For openEHR technical discussions <openehr-technical@lists.
> openehr.org>
> *Subject:* Suitable data type to record frequency of something happening
>
>
>
> Hi,
>
> I need to record the frequency of occurrence of an event.Typical readings
> will be like 2/day, 5/week, 1/month etc.In archetype editor I could not
> find a suitable property to use under quantity. The count also does not
> work as it does not have a unit associated. Please advise the best approach.
>
>
>
> Also what is the difference between Duration and Quantity with time
> property? Both seem to be doing the same.
>
>
>
> regards
>
> Duration and
>
> Dileep V S
>
> *Founder*
>
> *HealtheLife Ventures LLP*
>
> m:
>
> +91 9632888113
>
> a:
>
> 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>
> w:
>
> healthelife.in  e: dil...@healthelife.in
>
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: Suitable data type to record frequency of something happening

2017-09-29 Thread Dileep V S
Thanks for the replies and clarifications. I will try the frequency
property and see if I can figure it out

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Fri, Sep 29, 2017 at 12:13 PM, David Moner <dam...@gmail.com> wrote:

> There is no functional difference between those two data types.
>
> In order to avoid this duality, in the new data types for the revised ISO
> 13606 we have defined Duration as a specialization of Physical Quantity,
> with units constrained to units of time. The reasoning behind this decision
> is that a period of time should be always stored using the minimal unit of
> measurement. Then, we can transform it automatically to any desired format
> for visualization purposes.
>
>
>
> 2017-09-28 19:21 GMT+02:00 Dileep V S <dil...@healthelife.in>:
>
>> Hi,
>>
>> I need to record the frequency of occurrence of an event.Typical readings
>> will be like 2/day, 5/week, 1/month etc.In archetype editor I could not
>> find a suitable property to use under quantity. The count also does not
>> work as it does not have a unit associated. Please advise the best approach.
>>
>> Also what is the difference between Duration and Quantity with time
>> property? Both seem to be doing the same.
>>
>> regards
>> Duration and
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113 <+91%2096328%2088113>
>> a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>>
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_
>> lists.openehr.org
>>
>
>
>
> --
> David Moner Cano
>
> Web: http://www.linkedin.com/in/davidmoner
> Twitter: @davidmoner
> Skype: davidmoner
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Suitable data type to record frequency of something happening

2017-09-28 Thread Dileep V S
Hi,

I need to record the frequency of occurrence of an event.Typical readings
will be like 2/day, 5/week, 1/month etc.In archetype editor I could not
find a suitable property to use under quantity. The count also does not
work as it does not have a unit associated. Please advise the best approach.

Also what is the difference between Duration and Quantity with time
property? Both seem to be doing the same.

regards
Duration and
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Is 'Choice' datatype available in Archetype editor an OpenEHR standard

2017-09-22 Thread Dileep V S
Hi,
Archetype editor includes a datatype called "Choice'. This allows more than
one data type(text & coded text for example) for the same node. Is this
OpenEHR standard?

regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: openEHR related News: Ripple Foundation launches EtherCIS to the world of Healthcare

2017-07-27 Thread Dileep V S
A big thank you to all the people behind Ethercis and Ripple. You work, I
am sure,  would herald the turning point in the long life of OpenEHR and is
bound to accelerate it's adoption, especially in countries like India,
where the healthcare market is very cost sensitive. We have been testing
Ethercis for a couple of months now and have found it to be extremely
promising.

Apart from the product quality, Christian has been extremely supportive and
understanding of any issues that we have faced. Special thanks to Ian for
taking personal initiative to look for ways for helping us make progress.
Happy to be part of a great community.

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Thu, Jul 27, 2017 at 9:49 PM, Tony Shannon <
tony.shannon@ripple.foundation> wrote:

> Dear openEHR Colleagues,
>
> At long last I'm pleased to announce some news to the openEHR community,
> which I hope you will find of interest/value to you.
>
> Those of you who know me, know I have been championing openEHR for quite
> some time, I believe it is key to the future of healthcare.
> You may also know that I have been an advocate for an open source
> implementation of openEHR in action for quite some time too.
>
> In my opinion if we want openEHR to truly transform the world of healthIT
> and healthcare, we need to make the related tools very easily available
> around the world.
>
> So, building on some great work began years ago with Seref Arikan
> (Opereffa) and aligned to the leading edge open source work of Pablo Pazos
> with Cabolabs EHRServer.
> I'm very pleased to announce the public release of EtherCIS, as an
> internationally leading open source example of the openEHR standard in
> action, including support for AQL.
> http://ripple.foundation/2017/07/ripple-foundation-launches-
> ethercis-world-healthcare/
>
> Over the last 2 years, the work to get EtherCIS to this point has been
> done within the context of a broad open platform push (begun out of Leeds
> in England).
> Initially known as the Ripple Open Source Initiative, the effort has since
> evolved to become the work of the non profit Ripple Foundation which I
> lead.
> http://ripple.foundation
>
> We have supported the development of EtherCIS in the context of developing
> and testing of a highly usable/open source "showcase stack", which we will
> share more details on later.
>
> For now I wanted to thank a few folk who have made this development
> possible,
> Of course the many many folk who have brought openEHR to the point that is
> already at... you know who you are , I know many of you as friends and
> again a word of thanks today.
> Dr Ian McNicoll who has helped with his usual good humoured leadership of
> the openEHR mission and supporting/overseeing the openEHR aspects to our
> work,
> Marand for their ongoing help with their openEHR EHRscape service which is
> a key part of our Ripple showcase.
> and last by by no means least..
> Christian Chevalley without whom , this world leading open source example
> of the openEHR standard in action would not have been possible.
>
> Christian may wish to say a few words about his work here shortly, but
> suffice to say Christian has put his heart and soul into this very valuable
> work and working with us to open source this work, has gifted something
> very useful to the world.
> I appreciate all he has done to make this public release of EtherCIS
> possible, which I believe to now be the leading open source example of
> openEHR in action.
>
>
> We believe that openEHR has been designed to support the needs of 21st
> Century Healthcare.
> We know openEHR is in action around the world and the change that is
> needed has begun.
> You may have seen some of our recent/related openEHR videos which we hope
> you like and hope you share. http://ripple.foundation/news/
>
> We believe the time has come for an open source implementation of openEHR
> in action to take openEHR to the next level, around the world.
> We wanted to share this news with the openEHR community to encourage you
> and your colleagues to review all of our work and EtherCIS in particular.
> We now invite you to review it, critique it, spread the word about it and
> help us improve it.
>
> We hope this news is of interest and value to your own work.
> EtherCIS has arrived..
> The time for openEHR is now...
>
> Kind Regards
>
> Tony
>
> Dr. Tony Shannon
> Director, Ripple Foundation   ripple.foundation
> tony.shannon@ripple.foundation
>
>
> ___
> openEHR-clinical mailing list
> ope

Re: Add SNOMED codes to values in Internal code set

2017-05-03 Thread Dileep V S
Thank you. Will have a look

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Tue, May 2, 2017 at 7:06 PM, Bjørn Næss <b...@dips.no> wrote:

> We simply add the wanted SNOMED codes to the Template. This works well for
> smaller subsets .  One example may be found in the URL below.
> Unfortunately the examples are Norwegian, but I guess you will find the
> relevant elements .
>
> https://github.com/bjornna/dips-ckm/blob/nymaster/
> templates/EyeModule/FU%20-%20Synsfelt.oet
>
>
>
> Vennlig hilsen
>
> Bjørn Næss
>
> Produktansvarlig
>
> DIPS ASA
>
>
>  Opprinnelig melding 
> Fra: Dileep V S <dil...@healthelife.in>
> Dato: 15.04.2017 11:00 (GMT+01:00)
> Til: For openEHR technical discussions <openehr-technical@lists.
> openehr.org>
> Emne: Add SNOMED codes to values in Internal code set
>
> Hi,
>
> I am trying to model some archetypes using coded text. The option values
> should ideally come from SNOMED. Currently we do not have access to a
> terminology service and so we are using Internal codes to achieve what we
> want.
>
> However we would like recorded values to also include their SNOMED codes
> for backward compatibility when we start using terminology service in the
> future. How can we include a terminology code with the option values in
> internal code set.
>
> Regards
> Dileep V S
> *Founder*
> HealtheLife Ventures LLP
> m: +91 9632888113
> a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
> w: healthelife.in  e: dil...@healthelife.in
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Add SNOMED codes to values in Internal code set

2017-04-15 Thread Dileep V S
Hi,

I am trying to model some archetypes using coded text. The option values
should ideally come from SNOMED. Currently we do not have access to a
terminology service and so we are using Internal codes to achieve what we
want.

However we would like recorded values to also include their SNOMED codes
for backward compatibility when we start using terminology service in the
future. How can we include a terminology code with the option values in
internal code set.

Regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: Including reference range in archetypes

2017-04-13 Thread Dileep V S
Thanks Ian,

I will explore your pointers in details and come back if I need any help.

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Thu, Apr 13, 2017 at 1:52 PM, Ian McNicoll <i...@freshehr.com> wrote:

> Hi Dileep,
>
> This is a common scenario, that right now is mostly handled in application
> code.
>
> My understanding of normal_range/reference_ranges (part of the quantity
> model) is that these are intended to carry the normal ranges that apply to
> a biological observation such as lab_test or perhaps imaging_ exam, rather
> than (as in your case) a sort of rule that is applied to caclulate or
> categorise risk.
>
> The most high profile comparable example I know of , is the NEWS score.
>
> Archetype at NEWS (UK RCP), Published archetype [Internet]. openEHR
> Foundation, openEHR Clinical Knowledge Manager [cited: 2017-04-13].
> Available from: http://openehr.org/ckm/#showArchetype_1013.1.2423
>
> Rules at https://www.mdcalc.com/national-early-warning-score-news
>
> I would expect a UI to colour-code each component in a similar fashion, to
> indicate potential risk.
>
> You might want to explore GDL, which is an extension to openEHR that acts
> as a glue layer between archetypes and those sort of rules.
>
> http://www.openehr.org/releases/CDS/latest/docs/GDL/GDL.html
>
> There is also some interest in folding aspects of GDL inside archetypes as
> part of the 'rules' aspect of ADL. One of the barriers to getting this
> working at scale, is deciding what 'vendor-neutral' rules definition
> language to use. Not everyone is a fan of javascript but I do see some
> potential in this space given its ubiquity in the market.
>
> I'm not sure I have answered your question!!
>
> Regards,
>
> Ian
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: i...@freshehr.com
> twitter: @ianmcnicoll
>
>
> Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
> Director, freshEHR Clinical Informatics Ltd.
> Director, HANDIHealth CIC
> Hon. Senior Research Associate, CHIME, UCL
>
> On 12 April 2017 at 11:36, Dileep V S <dil...@healthelife.in> wrote:
>
>> Hi,
>>
>> I am trying to create an archetype that screens for health risks. All the
>> questions have ordinal data. Based on the values selected for the
>> questions, the consolidate risk value is calculated.
>>
>> I want the UIi to display appropriate warnings (coloring the risk value
>> etc) based on a reference range for the value. How can I include the
>> reference range in the archetype so that the UI can read that and display
>> the warnings?
>>
>> thanks for the help
>> regards
>> Dileep V S
>> *Founder*
>> HealtheLife Ventures LLP
>> m: +91 9632888113 <+91%2096328%2088113>
>> a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
>> w: healthelife.in  e: dil...@healthelife.in
>>
>> ___
>> openEHR-technical mailing list
>> openEHR-technical@lists.openehr.org
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_
>> lists.openehr.org
>>
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Including reference range in archetypes

2017-04-12 Thread Dileep V S
Hi,

I am trying to create an archetype that screens for health risks. All the
questions have ordinal data. Based on the values selected for the
questions, the consolidate risk value is calculated.

I want the UIi to display appropriate warnings (coloring the risk value
etc) based on a reference range for the value. How can I include the
reference range in the archetype so that the UI can read that and display
the warnings?

thanks for the help
regards
Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Re: Hand coding templates in ADL 1.4

2017-02-12 Thread Dileep V S
Hi,

Thank you all for the quick responses. We will try some of the other tools
mentioned in the replies and see if they will work for us. Overall what I
have gathered is as below (please correct if I am wrong)

   1. It will be better to stick to ADL 1.4 OPT for some more time
   2. documentation on oet is not widely distributed as it is a proprietary
   format. So manual coding with oet may not work
   3. An open source ADL 2.0 modelling tool is expected to be released soon
   (Any schedule of when it is expected?).
   4. Till the new tool comes out, the options are to use ocean & LinkEHR
   tools
   5. ADL 1.4 can be converted to ADL 2.0 easily. I assume this is using
   the ADL workbench. Not sure what happens after that as we still do not have
   tools to create 2.0 templates and export them to ADL 1.4 opt.

We work with EHRC (http://ehrc.iiitb.ac.in/work.html) as a technical
partner in their public health initiatives. Access to health in rural India
still faces many challenges. Indian govt. plans to cover 60% of the
population (mostly rural and less resourceful) in the public health
programs, which given the enormity of the work, will only be possible with
highly innovative approaches leveraging technology.

We believe that information should be the backbone of any large scale
innovation in healthcare delivery in India and are working on defining some
common models that can be deployed widely across a large country like
India. Standards in EHR are very nascent in India and a lot of work needs
to be done in this area.

At this point we are in the process of modelling some simple use cases to
build capability to do more serious stuff as things evolve. One question
that we are trying to answer is whether we should use OpenEHR approach for
demographics or use traditional modelling, since the demographic data model
is fairly stable. Some idea of how others have done this before will help
us as shorten our learning curve.

regards

Dileep V S
*Founder*
HealtheLife Ventures LLP
m: +91 9632888113
a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in  e: dil...@healthelife.in

On Sun, Feb 12, 2017 at 6:18 PM, Erik Sundvall <erik.sundv...@liu.se> wrote:

> Hi!
>
> Great to hear about your project! Please tell us a bit more if you have
> time, what are the pilot use-cases? (I am curious since we are planning
> some tests in Sweden too...)
>
> It is true that adl 1.4 is currently more used, but for new projects it is
> good to track the ADL 2 development. There are tools to automatically
> convert archetypes between 1.4 and 2.0, so it is possible to set up
> workflows starting from the either the 1.4 or 2.0 end.
>
> The ADL 2 tools are moving forward, so if your modellers will want to use
> web-based tools, then plan for 2.0 fairly soon.
> I hope you have seen :
> - https://openehr.atlassian.net/wiki/display/dev/Online+
> archetype+and+template+tools
> and
> - https://twitter.com/marandlab/status/826832144672686081
>
> Best regards,
> Erik Sundvall
> Ph.D. Medical Informatics. Information Architect. Tel: +46-72-524 54 55
> (or 010-1036252 in Sweden)
> Region Östergötland: erik.sundv...@regionostergotland.se (previously
> lio.se) http://www.regionostergotland.se/cmit/
> Linköping University: erik.sundv...@liu.se, http://www.imt.liu.se/~erisu/
>
> On Sun, Feb 12, 2017 at 1:11 PM, Pieter Bos <pieter@nedap.com> wrote:
>
>> The editing tools for adl 2 are still limited. However the template
>> editing by hand is easier in adl 2 than the earlier template xml formats
>> because it's the same adl with a few extra language constructs for
>> templates.
>>
>> And you can convert the ckm to adl 2 quite easily.
>>
>> Pieter Bos
>>
>>
>> Op 12 feb. 2017 om 12:04 heeft Diego Bosc? <yamp...@gmail.com<mailto:yamp
>> e...@gmail.com>> het volgende geschreven:
>>
>> Hello Dileep,
>>
>> If you stick with ADL 1.4 then you could use LinkEHR Studio (
>> http://linkehr.com) to create templates from other RM such as
>> demographic model. The same tool can be used to import OET and export OPT
>> for any given RM.
>>
>> Regards
>>
>> El 12/2/2017 9:44, "Dileep V S" <dil...@healthelife.in> dil...@healthelife.in>> escribi?:
>> Hi,
>>
>> We are exploring OpenEHR as part of a public health management pilot
>> project in India and have some questions that I am unable to find proper
>> answers.
>>
>> After studying the available libraries, tools and opensource server
>> implementations, ADL 1.4 seems to be more widely supported than the newer
>> ADL 2.0. The shared archetype repository (CKM) still contains only 1.4
>> version archetypes. In light of this, I am assuming that for an

Hand coding templates in ADL 1.4

2017-02-12 Thread Dileep V S
Hi,

We are exploring OpenEHR as part of a public health management pilot
project in India and have some questions that I am unable to find proper
answers.

After studying the available libraries, tools and opensource server
implementations, ADL 1.4 seems to be more widely supported than the newer
ADL 2.0. The shared archetype repository (CKM) still contains only 1.4
version archetypes. In light of this, I am assuming that for anybody
planning to adopt OpenEHR, it will be advisable to stick to ADL1.4 for now.

Further I have learned the following wrt. ADL 1.4 standards

File formats for 1.4 version

   - Archetypes  - ADL 1.4
   - Templates - OET
   - Operational template - OPT 1.4

Modelling tools - Archetype editor, template designer

I am stuck with trying to answer the following questions. It would be great
if somebody can help.

   1. Can we hand create templates that are not supported by the template
   designer? For example demographics?
   2. If yes how do we convert the hand coded OETs to OPTs?
   3. Where do we get more details on OET file syntax?

Thanks

Dileep
HealtheLife Ventures LLP
bamgalore
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org