# text.div
Generated Narrative: CodeSystem v3-ActRelationshipJoin

Language: en

Properties

This code system defines the following properties for its concepts

Name | Code | URI | Type | Description
Status | status | http://hl7.org/fhir/concept-properties#status | code | Designation of a concept's state. Normally is not populated unless the state is retired.

Concepts

This case-sensitive code system http://terminology.hl7.org/CodeSystem/v3-ActRelationshipJoin defines the following codes in a Is-A hierarchy:

Code | Display | Definition | Status
D | detached | Detach this branch from the other branches so it will not be resynchronized with the other branches. | active
K | kill | When all other concurrent branches are terminated, interrupt and discontinue this branch. | active
W | wait | Wait for this branch to terminate. | active
X | exclusive wait | Wait for any one of the branches in the set of exclusive wait branches to terminate, then discontinue all the other exclusive wait branches. | active

# description
A code specifying how concurrent Acts are resynchronized in a parallel branch construct.

*Discussion:* This attribute is part of the workflow control suite of attributes. An action plan is a composite Act with component Acts. In a sequential plan, each component has a sequenceNumber that specifies the ordering of the plan steps. Branches exist when multiple components have the same sequenceNumber. Branches are parallel if the splitCode specifies that more than one branch can be executed at the same time. The joinCode then specifies if and how the braches are resynchronized.

The principal re-synchronization actions are (1) the control flow waits for a branch to terminate (wait-branch), (2) the branch that is not yet terminated is aborted (kill-branch), (3) the branch is not re-synchronized at all and continues in parallel (detached branch).

A kill branch is only executed if there is at least one active wait (or exclusive wait) branch. If there is no other wait branch active, a kill branch is not started at all (rather than being aborted shortly after it is started.) Since a detached branch is unrelated to all other branches, active detached branches do not protect a kill-branch from being aborted.

# copyright
This material derives from the HL7 Terminology THO. THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.html

# property[].description
Designation of a concept's state. Normally is not populated unless the state is retired.

# concept[].definition
Detach this branch from the other branches so it will not be resynchronized with the other branches.

# concept[].definition
When all other concurrent branches are terminated, interrupt and discontinue this branch.

# concept[].definition
Wait for any one of the branches in the set of exclusive wait branches to terminate, then discontinue all the other exclusive wait branches.