Thanks Ian, Maybe if narrative can't be coded text, we might want to add that clarification to the specs or, as you suggest, use string as type. What do members of the SEC think about this?
-- Kind regards, Eng. Pablo Pazos GutiƩrrez http://cabolabs.com From: i...@freshehr.com Date: Fri, 17 Jun 2016 21:13:03 +0100 Subject: Re: Issues setting constraints to INSTRUCTIONS in the Archetype Editor To: openehr-technical@lists.openehr.org 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: i...@freshehr.com twitter: @ianmcnicoll Co-Chair, openEHR Foundation ian.mcnicoll@openehr.orgDirector, freshEHR Clinical Informatics Ltd. Director, HANDIHealth CIC Hon. Senior Research Associate, CHIME, UCL On 17 June 2016 at 20:50, pablo pazos <pazospa...@hotmail.com> 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 _______________________________________________ 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