# Task Planning/GDL

**URL:** https://discourse.openehr.org/c/specifications/task-planning-gdl/27.md

[Latest](https://discourse.openehr.org/latest.md) · [Categories](https://discourse.openehr.org/categories.md) · [Tags](https://discourse.openehr.org/tags.md)

---

## [About the Task Planning/GDL category](https://discourse.openehr.org/t/about-the-task-planning-gdl-category/314)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 0

</div>

Use this category for discussing the Task Planning and related specifications, as well as the Guideline Definition Language (GDL).

---

## [Is task planning (PROC) retired or not?](https://discourse.openehr.org/t/is-task-planning-proc-retired-or-not/16969)

<div class="topic-metadata">

**Author:** [@henrydwright](https://discourse.openehr.org/u/henrydwright)\
**Replies:** 2\
**Last updated:** [8 June 2026 13:44 UTC](https://discourse.openehr.org/t/is-task-planning-proc-retired-or-not/16969 "2026-06-08T13:44:55Z")

</div>

It’s not visible on the specifications website, but I see parts of it in the archetype designer (the Better one) and this website says not openEHR Task Planning v BPMN - Woland's CatWoland's Cat. What’s the truth - is i…

---

## ["Simple tasks" for some task planning?](https://discourse.openehr.org/t/simple-tasks-for-some-task-planning/5280)

<div class="topic-metadata">

**Author:** [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Replies:** 5\
**Last updated:** [24 June 2024 08:32 UTC](https://discourse.openehr.org/t/simple-tasks-for-some-task-planning/5280 "2024-06-24T08:32:45Z")

</div>

Hi! I once heard that Better had an implemetation of something I believe was called “Simple Tasks” or “Simple task engine”. If I remember correctly it was a way of setting up a number of (planned/anticipated) ACTION ins…

---

## [DLM Scores](https://discourse.openehr.org/t/dlm-scores/4166)

<div class="topic-metadata">

**Author:** [@Francini\_Hak](https://discourse.openehr.org/u/Francini_Hak)\
**Replies:** 6\
**Last updated:** [7 July 2023 15:02 UTC](https://discourse.openehr.org/t/dlm-scores/4166 "2023-07-07T15:02:19Z")

</div>

Good afternoon. I am creating scores using Decision Logic Modules. Following the DLM examples, I saw that the scoring criteria (conditions and points) are developed inside the DLM. However, the archetypes have ordinal v…

---

## [DL vs GDL2 - Purpose and difference](https://discourse.openehr.org/t/dl-vs-gdl2-purpose-and-difference/1485)

<div class="topic-metadata">

**Author:** [@Dileep\_V\_S](https://discourse.openehr.org/u/Dileep_V_S)\
**Replies:** 8\
**Last updated:** [28 April 2023 09:54 UTC](https://discourse.openehr.org/t/dl-vs-gdl2-purpose-and-difference/1485 "2023-04-28T09:54:09Z")

</div>

Hi, I am looking at the new TP & DL specs. I also see GDL and an a bit confused between what DL is for and what GDL is for. If we are building a new CDSS solution in openEHR, should we be using DL or GDL? How will that…

---

## [Help needed with openEHR GDL](https://discourse.openehr.org/t/help-needed-with-openehr-gdl/1537)

<div class="topic-metadata">

**Author:** [@Rinke](https://discourse.openehr.org/u/Rinke)\
**Replies:** 4\
**Last updated:** [1 November 2022 10:25 UTC](https://discourse.openehr.org/t/help-needed-with-openehr-gdl/1537 "2022-11-01T10:25:50Z")

</div>

Hi all, I’m a Dutch clinical informatics PDEng student. As part of my studies I am currently designing (and hopefully developing) a decision support tool to be used in a healthcare department. What I would like to do i…

---

## [Task planning implementation using executable flows](https://discourse.openehr.org/t/task-planning-implementation-using-executable-flows/2887)

<div class="topic-metadata">

**Author:** [@borut.jures](https://discourse.openehr.org/u/borut.jures)\
**Replies:** 0\
**Last updated:** [2 August 2022 10:16 UTC](https://discourse.openehr.org/t/task-planning-implementation-using-executable-flows/2887 "2022-08-02T10:16:07Z")

</div>

I made some progress on implementing task planning for RCHOPS-21. I managed to complete the first drug regimen diagram. It should be the same as the version on openEHR site (Figure 4. RCHOPS21 administration phase). …

---

## [An openEHR Decision Logic Module (DLM) in colour](https://discourse.openehr.org/t/an-openehr-decision-logic-module-dlm-in-colour/1001)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 4\
**Last updated:** [4 March 2022 16:55 UTC](https://discourse.openehr.org/t/an-openehr-decision-logic-module-dlm-in-colour/1001 "2022-03-04T16:55:23Z")

</div>

Of course, we’re still working on it, but here’s a sample of what we think can be a readable syntax for clinical guidelines / CDS authors. Reactions welcome.

---

## [Decision Language specification questions](https://discourse.openehr.org/t/decision-language-specification-questions/2001)

<div class="topic-metadata">

**Author:** [@Francini\_Hak](https://discourse.openehr.org/u/Francini_Hak)\
**Replies:** 2\
**Last updated:** [9 November 2021 14:21 UTC](https://discourse.openehr.org/t/decision-language-specification-questions/2001 "2021-11-09T14:21:45Z")

</div>

Good afternoon. I am reading the Decision Language specifications and I have a few questions. Is the DLM model concrete package related to the subject proxy? If so, how are they related? Especially for tracked variable…

---

## [EVENT found in Task Planning and RM](https://discourse.openehr.org/t/event-found-in-task-planning-and-rm/2027)

<div class="topic-metadata">

**Author:** [@borut.jures](https://discourse.openehr.org/u/borut.jures)\
**Replies:** 2\
**Last updated:** [4 November 2021 08:48 UTC](https://discourse.openehr.org/t/event-found-in-task-planning-and-rm/2027 "2021-11-04T08:48:29Z")

</div>

I’m trying to use Task Planning Release 1.6.0 (and latest) with RM 1.1.0 (and latest). An EVENT is found in Task Planning (1.6.0 and latest) and in RM Structures (1.1.0 and latest). Should I keep using Task Planning 1.…

---

## [Use of Draw.io format vs SVG for TP-VML](https://discourse.openehr.org/t/use-of-draw-io-format-vs-svg-for-tp-vml/1568)

<div class="topic-metadata">

**Author:** [@Dileep\_V\_S](https://discourse.openehr.org/u/Dileep_V_S)\
**Replies:** 1\
**Last updated:** [22 May 2021 18:14 UTC](https://discourse.openehr.org/t/use-of-draw-io-format-vs-svg-for-tp-vml/1568 "2021-05-22T18:14:23Z")

</div>

Looking at the work done in the TP-VML specs, we seem to have gone with the proprietary draw.io format for the palette. Is there any specific reason for this choice as we have more open and universal formats such as SVG? …

---

## [Decision Logic Modules - move data syntax closer to JSON](https://discourse.openehr.org/t/decision-logic-modules-move-data-syntax-closer-to-json/1289)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 0\
**Last updated:** [10 February 2021 20:54 UTC](https://discourse.openehr.org/t/decision-logic-modules-move-data-syntax-closer-to-json/1289 "2021-02-10T20:54:54Z")

</div>

As part of an ongoing effort to finalise the DLM language, I’ve upgraded its representation of static structures, including descriptive meta-data and terminology (logically the same data structures as in archetypes) to n…

---

## [TP-VML - better repeat loop visual figure](https://discourse.openehr.org/t/tp-vml-better-repeat-loop-visual-figure/1238)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 2\
**Last updated:** [25 January 2021 08:44 UTC](https://discourse.openehr.org/t/tp-vml-better-repeat-loop-visual-figure/1238 "2021-01-25T08:44:17Z")

</div>

Improved visual figure for TASK\_REPEAT (the for-loop like construct) here. Still a work in progress, suggestions welcome. Peek:

---

## [openEHR Process, Task Planning and Guidelines Overview](https://discourse.openehr.org/t/openehr-process-task-planning-and-guidelines-overview/1189)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 7\
**Last updated:** [25 January 2021 07:15 UTC](https://discourse.openehr.org/t/openehr-process-task-planning-and-guidelines-overview/1189 "2021-01-25T07:15:15Z")

</div>

For those following Task Planning, Decision Language etc, I have made a major update to the Overview spec. It is still draft, but is getting toward (I hope) a clearer explanation of the kinds of artefacts we deal with in…

---

## [Multiple Instances in TP](https://discourse.openehr.org/t/multiple-instances-in-tp/1188)

<div class="topic-metadata">

**Author:** [@niglesias](https://discourse.openehr.org/u/niglesias)\
**Replies:** 3\
**Last updated:** [27 December 2020 14:40 UTC](https://discourse.openehr.org/t/multiple-instances-in-tp/1188 "2020-12-27T14:40:44Z")

</div>

In the OpenEHR TP specification, in section 6.2.2.2. Repetition, is stated: The second attribute, repeat\_spec of type TASK\_REPEAT enables a Task or Group to be marked as repeating. This is not intended to replace the us…

---

## [Resource handling in Task Planning](https://discourse.openehr.org/t/resource-handling-in-task-planning/1170)

<div class="topic-metadata">

**Author:** [@niglesias](https://discourse.openehr.org/u/niglesias)\
**Replies:** 2\
**Last updated:** [20 December 2020 09:45 UTC](https://discourse.openehr.org/t/resource-handling-in-task-planning/1170 "2020-12-20T09:45:59Z")

</div>

Hello, Where can I find more information on how resources are allocated/released in TP? I have seen there is a Resource\_participation class which is referenced from the Performable\_action class. Is there something like…

---

## [Fixing the 'end-block' problem](https://discourse.openehr.org/t/fixing-the-end-block-problem/315)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 1\
**Last updated:** [13 December 2020 08:52 UTC](https://discourse.openehr.org/t/fixing-the-end-block-problem/315 "2020-12-13T08:52:16Z")

</div>

Here’s a typical example of the ‘end-block’ problem we get in current Task Planning visual modelling language (VML): In the current version of things, every end-block has a visual node, as shown above. This makes for …

---

## [Subject Proxy Service](https://discourse.openehr.org/t/subject-proxy-service/1112)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 0\
**Last updated:** [18 November 2020 21:58 UTC](https://discourse.openehr.org/t/subject-proxy-service/1112 "2020-11-18T21:58:55Z")

</div>

For those interested, here is a reasonable draft of the Subject Proxy Service, which provides a way to obtain values for subject variables (e.g. date of birth, diabetic status) from back-end systems. It corresponds to t…

---

## [Apply and interrupt a therapy. Sync between tasks](https://discourse.openehr.org/t/apply-and-interrupt-a-therapy-sync-between-tasks/1069)

<div class="topic-metadata">

**Author:** [@niglesias](https://discourse.openehr.org/u/niglesias)\
**Replies:** 12\
**Last updated:** [16 November 2020 16:38 UTC](https://discourse.openehr.org/t/apply-and-interrupt-a-therapy-sync-between-tasks/1069 "2020-11-16T16:38:07Z")

</div>

Hello everybody, Regarding the TP specification, if you need to model two parallel tasks, one is a daily medication and the other some lab tests, and you want to interrupt the medication when the lab tests are ready, wo…

---

## [Decision Logic Module example (RCHOPS21)](https://discourse.openehr.org/t/decision-logic-module-example-rchops21/1045)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 0\
**Last updated:** [22 October 2020 15:03 UTC](https://discourse.openehr.org/t/decision-logic-module-example-rchops21/1045 "2020-10-22T15:03:05Z")

</div>

Here is the NHS RCHOPS21 example, colourised for readability, in a recent blog post. Comments welcome here.

---

## [A step towards visual clinical programming](https://discourse.openehr.org/t/a-step-towards-visual-clinical-programming/952)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 3\
**Last updated:** [3 September 2020 14:23 UTC](https://discourse.openehr.org/t/a-step-towards-visual-clinical-programming/952 "2020-09-03T14:23:54Z")

</div>

I have introduced some new syntax ideas into the evolving Decision Logic Module (DLM) language, which is intended to become the formalism for representing next generation GDL guidelines and also decision logic associated…

---

## [Modeling constraints at TP-VML](https://discourse.openehr.org/t/modeling-constraints-at-tp-vml/828)

<div class="topic-metadata">

**Author:** [@Juha-Pekka.Tolvanen](https://discourse.openehr.org/u/Juha-Pekka.Tolvanen)\
**Replies:** 6\
**Last updated:** [10 August 2020 11:05 UTC](https://discourse.openehr.org/t/modeling-constraints-at-tp-vml/828 "2020-08-10T11:05:27Z")

</div>

Does TP-VML consider to cover also modeling constraints and guidance? Having these set in its metamodel would allow creating only syntactically “legal” models. Examples of such constraints are mandatory values, uniquenes…

---

## [Task Planning / GDL3 progress](https://discourse.openehr.org/t/task-planning-gdl3-progress/881)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 1\
**Last updated:** [29 July 2020 19:28 UTC](https://discourse.openehr.org/t/task-planning-gdl3-progress/881 "2020-07-29T19:28:13Z")

</div>

I have created a wiki page with the latest increment of TP / GDL3 syntax and architecture proposals. Feel free to discuss here, and/or attach comments to that page.

---

## [Task Planning Specification questions](https://discourse.openehr.org/t/task-planning-specification-questions/867)

<div class="topic-metadata">

**Author:** [@Cristiana\_Neto](https://discourse.openehr.org/u/Cristiana_Neto)\
**Replies:** 2\
**Last updated:** [14 July 2020 14:56 UTC](https://discourse.openehr.org/t/task-planning-specification-questions/867 "2020-07-14T14:56:10Z")

</div>

Hello, During an analysis of the TP specification, some questions arose that I would like to discuss: The class CALENDAR\_ENTRY has no properties in the specification. I think it would be pertinent to specify these pro…

---

## [Task Planning Specifications possible flaws](https://discourse.openehr.org/t/task-planning-specifications-possible-flaws/726)

<div class="topic-metadata">

**Author:** [@Cristiana\_Neto](https://discourse.openehr.org/u/Cristiana_Neto)\
**Replies:** 1\
**Last updated:** [26 May 2020 14:58 UTC](https://discourse.openehr.org/t/task-planning-specifications-possible-flaws/726 "2020-05-26T14:58:42Z")

</div>

Hello, I may have found some issues in the Task Planning specifications that should potentially be corrected, namely the use of start\_window in the TASK\_WAIT Class description, since this was replaced by PLAN\_ITEM.remin…

---

## [Task planning and ACTION archetypes](https://discourse.openehr.org/t/task-planning-and-action-archetypes/625)

<div class="topic-metadata">

**Author:** [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Replies:** 1\
**Last updated:** [1 May 2020 16:01 UTC](https://discourse.openehr.org/t/task-planning-and-action-archetypes/625 "2020-05-01T16:01:02Z")

</div>

Recently @heatherleslie and I have been discussing the limitations of ACTION archetypes and how they relate to Task planning, and we’d really like to know more about this topic. We feel that the intricacies of task plan…

---

## [Missing interface definition in Task Planning Specification](https://discourse.openehr.org/t/missing-interface-definition-in-task-planning-specification/158)

<div class="topic-metadata">

**Author:** [@jmewes](https://discourse.openehr.org/u/jmewes)\
**Replies:** 1\
**Last updated:** [17 November 2019 16:47 UTC](https://discourse.openehr.org/t/missing-interface-definition-in-task-planning-specification/158 "2019-11-17T16:47:20Z")

</div>

The Global Class Index contains a link to the interface I\_TASK\_PLAN\_DEFINITION which doesn’t exist in the HTML page of the Task Planning Specification. Here is the ADOC file for this interface: specifications-PROC/doc…
