SV: Usage of Compositoin.Category
bna at dips.no
Thu Mar 10 14:32:50 EST 2016
The most important thing for me is to precisely define the semantic meaning of the content in a composition. In this specific use-case the content of the composition is always a copy of the primary source.
This means that the Discharge letter only bring one new thing into the EHR - that is the fact that there is an approved discharge letter. But the entries in the composition is link and copies of entries in other primary sources.
The requirements to the system is quite small:
* Content of "report" documents MUST not be in the resultset when doing normal AQL queries.
* It MUST be possible to query for "report" compositions with specific content.
The solution to this problem is simple and I can give an example with an AQL query. Below is a standard query for body weight. Look at the WHERE condition. Here I am looking for all body weights which are NOT part of a report composition. This WHERE condition will be the default filter on all queries.
If the client would like to query for all body weights in report document, then just change from NOT EQUALS 434 to EQUALS 434.
FROM COMPOSITION c
CONTAINS OBSERVATION o[openEHR-EHR-OBSERVATION.body_weight.v1]
WHERE c/category/defining_code/terminology_id/value = 'openehr'AND c/category/defining_code/code_string != '434'
Given that we agree that there is a class of compositions which belongs to the "report" group.
Then we should add such semantic into the RM to make it precise and consistent.
Mobil +47 93 43 29 10
Fra: openEHR-technical [mailto:openehr-technical-bounces at lists.openehr.org] På vegne av Ian McNicoll
Sendt: mandag 7. mars 2016 18.16
Til: For openEHR technical discussions <openehr-technical at lists.openehr.org>
Emne: Re: Usage of Compositoin.Category
I finally got around to thinking a bit about this.
It is an interesting problem and I think I can see the need to specify different data handling requirements but I am not sure that overloading composition.category is the best approach here.
I suspect this will take a bit of teasing out (and other commit/query strategy metadata) - might it be better to put this in a cluster archetype in the Composition extension slot. That would let us play around with the requirements before pushing something definitive to the RM?
So far I have 3 axes:
1. Normal commit strategy: persistence vs. event i.e do we normally overwrite an existing composition.
2. Source-of-truth i.e. Should this document be regarded as the primary source of truth for certain kinds of data or otherwise e.g Does a system look into event compositions or e.g to a Problem list for 'current problems'
3. Is this a primary document or secondary document? e.g. a Discharge letter is a secondary document derived from other primary records.
Just starting the discussion :)
Dr Ian McNicoll
mobile +44 (0)775 209 7859
office +44 (0)1536 414994
email: ian at freshehr.com
Co-Chair, openEHR Foundation ian.mcnicoll at openehr.org Director, freshEHR Clinical Informatics Ltd.
Director, HANDIHealth CIC
Hon. Senior Research Associate, CHIME, UCL
On 17 February 2016 at 21:59, Bjørn Næss <bna at dips.no> wrote:
> We are discussing the use of Composition.Category which is a DV_CODED_TEXT.
> There is a terminology:
> <group name="composition category">
> <concept id="431" rubric="persistent"/>
> <concept id="433" rubric="event"/>
> Is it required to use only these categories or could an application
> set any DV_CODED_TEXT?
> I think it would be ok to allow any category in this.
> To be concrete:
> The use-case is discharge summaries. These are Compositions which only
> (“mostly”) contains links to existing entries. We will be using links
> but since the Composition should be transferred to another health
> provider it must be serialized and validated against an template.
> Technically this Compostions contains a lot of entries which is “link to self”.
> The idea we are considering is to introduce a category for these
> Compositions. The content will not be part of AQL results for normal
> use-cases. But IF you ask explicit for these categories you will be
> able to query for discharge summaries which contains body weight above 120 kg.
> If we only add the references as links it will not be possible to add
> them into forms and neither use a Template to validate the content.
> This is the reason we are “thinking out of the box”.
> Any comments on this?
> Best regards
> Bjørn Næss
> Product Owner – Arena EHR
> DIPS ASA
> Mobil +47 93 43 29 10
> openEHR-technical mailing list
> openEHR-technical at lists.openehr.org
openEHR-technical mailing list
openEHR-technical at lists.openehr.org
More information about the openEHR-technical