Hi Pablo,
The ordered checkbox actually applies to the ITEM_TREE within the activity
INSTRUCTION[at0000] matches { -- Care Plan
activities cardinality matches {0..*; unordered} matches {
ACTIVITY[at0001] occurrences matches {0..1} matches { -- Activity
action_archetype_id matches {/openEHR-EHR-ACTION\.care_plan\.v1/}
description matches {
ITEM_TREE[at0004] matches { -- Tree
items cardinality matches {0..*; ordered} matches {
ELEMENT[at0017] occurrences matches {0..1} matches { -- Care Plan Name
What is your use-case for strict ordering of activities?
With regard to 'narrative' - that should definitely just be free text - it
is intended as a pure narrative representation of the key parts of the
instruction as a 'sanity check' for complex orders. It should not be
CODED_TEXT, and arguably just 'string'.
Ian
Dr Ian McNicoll
mobile +44 (0)775 209 7859
office +44 (0)1536 414994
skype: ianmcnicoll
email: [email protected]
twitter: @ianmcnicoll
Co-Chair, openEHR Foundation [email protected]
Director, freshEHR Clinical Informatics Ltd.
Director, HANDIHealth CIC
Hon. Senior Research Associate, CHIME, UCL
On 17 June 2016 at 20:50, pablo pazos <[email protected]> wrote:
> Hi,
>
> I created an INSTRUCTION archetype, under Definition > Current Activity
> there is a checkbox "ordered" that seems not to be working since when I
> check it I see the same on the ADL:
>
> activities cardinality matches {0..*; *unordered*}
>
>
> This is a question really, since INSTRUCTION.narrative is DV_TEXT, it can
> also be DV_CODED_TEXT (looking at the specs I couldn't find anything
> against it). If this is correct, shouldn't the AE provide a feature to set
> the narrative as coded text?
>
>
> BTW, I'm using v2.2.905 Beta.
>
> Thanks!
>
> --
> Kind regards,
> Eng. Pablo Pazos GutiƩrrez
> http://cabolabs.com <http://cabolabs.com/es/home>
> <http://twitter.com/ppazos>
>
> _______________________________________________
> openEHR-technical mailing list
> [email protected]
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
_______________________________________________
openEHR-technical mailing list
[email protected]
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org