Re: Recommended versioning strategy for Templates

2018-09-01 Thread Pablo Pazos
In the EHRServer we use that approach, template ids have a version number
and language:
https://github.com/ppazos/cabolabs-ehrserver/wiki/Template-Management-(from-EHRServer-v1.3)

But that is not related to querying.

On Sat, Sep 1, 2018 at 2:21 PM Ian McNicoll  wrote:

> We have informally started to add major version number to our template
> names. Our assumption is that major and minor changes to any component,
> which are not constrained out, should bubble-up to the template. e.g if we
> switched from blood_pressure.v1 to blood_pressure.v2 that would require a
> template major change. OTOH if we went from blood_pressure.v1.1 -> 1.2 but
> none of the 1.2 changes impacted the template we would not change the
> template minor version.
>
> Not sure if that is fully thought through but it follows the spirit of the
> archetype id scheme, 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 Sat, 1 Sep 2018 at 18:12, Pablo Pazos  wrote:
>
>> In the EHRServer the implementation of queries allow to express a
>> specific version of an archetype a.b.v1 or all versions a.b.*
>>
>> We don't use filters based on templates yet.
>>
>> Not sure how that is implemented in AQL but maybe there is a matches
>> operation that can match a regex for any archetype version.
>>
>> On Sat, Sep 1, 2018 at 2:03 PM Thomas Beale 
>> wrote:
>>
>>> Dileep,
>>>
>>> the Archetype Identification specification
>>>  may
>>> provide some answers. It undoubtedly needs further development in this area.
>>>
>>> - thomas
>>>
>>> On 01/09/2018 15:04, Dileep V S wrote:
>>>
>>> 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?
>>>
>>>
>>>
>>> --
>>> Thomas Beale
>>> Principal, Ars Semantica 
>>> Consultant, ABD Project, Intermountain Healthcare
>>> 
>>> Management Board, Specifications Program Lead, openEHR Foundation
>>> 
>>> Chartered IT Professional Fellow, BCS, British Computer Society
>>> 
>>> Health IT blog  | Culture blog
>>>  | The Objective Stance
>>> 
>>> ___
>>> 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*
>> pablo.pa...@cabolabs.com
>> +598 99 043 145
>> skype: cabolabs
>> Subscribe to our newsletter 
>> 
>> http://www.cabolabs.com
>> https://cloudehrserver.com
>>
>> ___
>> 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
>


-- 
*Ing. Pablo Pazos Gutiérrez*
pablo.pa...@cabolabs.com
+598 99 043 145
skype: cabolabs
Subscribe to our newsletter 

http://www.cabolabs.com
https://cloudehrserver.com
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: Recommended versioning strategy for Templates

2018-09-01 Thread Ian McNicoll
We have informally started to add major version number to our template
names. Our assumption is that major and minor changes to any component,
which are not constrained out, should bubble-up to the template. e.g if we
switched from blood_pressure.v1 to blood_pressure.v2 that would require a
template major change. OTOH if we went from blood_pressure.v1.1 -> 1.2 but
none of the 1.2 changes impacted the template we would not change the
template minor version.

Not sure if that is fully thought through but it follows the spirit of the
archetype id scheme, 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 Sat, 1 Sep 2018 at 18:12, Pablo Pazos  wrote:

> In the EHRServer the implementation of queries allow to express a specific
> version of an archetype a.b.v1 or all versions a.b.*
>
> We don't use filters based on templates yet.
>
> Not sure how that is implemented in AQL but maybe there is a matches
> operation that can match a regex for any archetype version.
>
> On Sat, Sep 1, 2018 at 2:03 PM Thomas Beale 
> wrote:
>
>> Dileep,
>>
>> the Archetype Identification specification
>>  may
>> provide some answers. It undoubtedly needs further development in this area.
>>
>> - thomas
>>
>> On 01/09/2018 15:04, Dileep V S wrote:
>>
>> 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?
>>
>>
>>
>> --
>> Thomas Beale
>> Principal, Ars Semantica 
>> Consultant, ABD Project, Intermountain Healthcare
>> 
>> Management Board, Specifications Program Lead, openEHR Foundation
>> 
>> Chartered IT Professional Fellow, BCS, British Computer Society
>> 
>> Health IT blog  | Culture blog
>>  | The Objective Stance
>> 
>> ___
>> 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*
> pablo.pa...@cabolabs.com
> +598 99 043 145
> skype: cabolabs
> Subscribe to our newsletter 
> 
> http://www.cabolabs.com
> https://cloudehrserver.com
>
> ___
> 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: Recommended versioning strategy for Templates

2018-09-01 Thread Pablo Pazos
In the EHRServer the implementation of queries allow to express a specific
version of an archetype a.b.v1 or all versions a.b.*

We don't use filters based on templates yet.

Not sure how that is implemented in AQL but maybe there is a matches
operation that can match a regex for any archetype version.

On Sat, Sep 1, 2018 at 2:03 PM Thomas Beale 
wrote:

> Dileep,
>
> the Archetype Identification specification
>  may
> provide some answers. It undoubtedly needs further development in this area.
>
> - thomas
>
> On 01/09/2018 15:04, Dileep V S wrote:
>
> 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?
>
>
>
> --
> Thomas Beale
> Principal, Ars Semantica 
> Consultant, ABD Project, Intermountain Healthcare
> 
> Management Board, Specifications Program Lead, openEHR Foundation
> 
> Chartered IT Professional Fellow, BCS, British Computer Society
> 
> Health IT blog  | Culture blog
>  | The Objective Stance
> 
> ___
> 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*
pablo.pa...@cabolabs.com
+598 99 043 145
skype: cabolabs
Subscribe to our newsletter 

http://www.cabolabs.com
https://cloudehrserver.com
___
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


Re: Recommended versioning strategy for Templates

2018-09-01 Thread Thomas Beale

Dileep,

the Archetype Identification specification 
 may 
provide some answers. It undoubtedly needs further development in this area.


- thomas


On 01/09/2018 15:04, Dileep V S wrote:

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?




--
Thomas Beale
Principal, Ars Semantica 
Consultant, ABD Project, Intermountain Healthcare 

Management Board, Specifications Program Lead, openEHR Foundation 

Chartered IT Professional Fellow, BCS, British Computer Society 

Health IT blog  | Culture blog 
 | The Objective Stance 

___
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