IHE ITI Technical Framework
The Final Text ITI Technical Framework is published here in HTML format and is no longer published as PDF. Trial Implementation supplements are available from the Volume 1 Table of Contents.

3.6 Change Context [ITI-6]

This section corresponds to transaction [ITI-6] of the IHE IT Infrastructure Technical Framework. Transaction [ITI-6] is used by the Context Participant and Context Manager Actors.

3.6.1 Scope

This transaction allows for an application supporting the Context Participant to change the values for one or more context subjects, forcing other Context Participant Actors to synchronize based on the new context values.

The Change Context Transaction is composed of multiple methods as defined by the HL7 Context Management “CCOW” Standard . There are two key characteristics to this transaction. The first is that the transaction has multiple phases consisting of instigating the change, surveying the other participants, and finally publishing the decision as to whether the context changed or not. The second characteristic is that the context change involves a specific subject. For the Patient Context Participant the subject being changed is the patient subject. For the Client Authentication Agent the subject being changed is the user subject. Applications that implement only the Patient Context Participant shall not expect the user subject to be set in context.

The semantics of the methods used are defined in the documents HL7 Context Management “CCOW” Standard: Component Technology Mapping: ActiveX or HL7 Context Management “CCOW” Standard: Component Technology Mapping: Web , in conjunction with the HL7 Context Management “CCOW” Standard: Subject Data Definitions document. The Context Participant can choose the technology implementation it wishes to implement. The Context Manager must support both technology implementations in order to accommodate whichever implementation a participant ends up choosing.

In the case where Patient Context Participant Actors use identifiers from different patient identifier domains the Context Manager shall be grouped with the Patient Identifier Cross-reference Consumer and the corresponding PIX Query transaction as defined in Section 3.9 to retrieve all identifiers the patient is known by. The IHE Context Manager encompasses more than a CCOW context manager function. See ITI TF-2: Appendix D for a complete discussion of the grouping of these two actors.

The CCOW architecture is defined as a set of components that implement defined interfaces and their detailed methods as specified in the HL7 Context Management “CCOW” Standard: Technology Independent Architecture document. This structure is different than the traditional IHE network transaction. As is depicted in the interaction diagram in Section 3.6.4, the IHE Change Context Transaction is composed of multiple CCOW-defined methods.

3.6.2 Use Case Roles

Actor: Client Authentication Agent

Role: Initiates context change for user subject by supplying new context values.

Actor: Patient Context Participant

Role: Initiates context change for patient subject by supplying new context values. After receiving the context survey results it finalizes context change decision. Applications containing this actor without a patient lookup function would not use this transaction.

Actor: Context Manager

Role: Manages Change Context Transaction lifecycle.

3.6.3 Referenced Standard

HL7 Context Management “CCOW” Standard, Version 1.4:

  Technology and Subject Independent Architecture

  Component Technology Mapping: ActiveX

  Component Technology Mapping: Web

  Subject Data Definitions

3.6.4 Messages

Figure 3.6-1: Change Context sequence

3.6.4.1 Context Change – StartContextChanges Method

3.6.4.1.1 Trigger Events

This method is triggered by a specific user gesture. The user gesture that triggers this transaction in for the Patient Context Participant is one of selecting a patient. The user gesture that triggers this transaction for the Client Authentication Agent is authentication of a user.

3.6.4.1.2 Message Semantics

The Patient Context Participant and/or the Client Authentication Agent will issue a StartContextChanges method of the ContextManager interface. Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.6.5, for a more detailed description of the parameters associated with this method. IHE specifies no restrictions or extensions to the CCOW definition of the StartContextChanges method.

3.6.4.1.3 Expected Actions

The Context Manager returns the pending context coupon. Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.6.5, for a more detailed description of the response issued by the Context Manager. IHE specifies no restrictions or extensions to the CCOW definition of the StartContextChanges method.

3.6.4.2 Change Context – SetItemValues Method

3.6.4.2.1 Trigger Events

The SetItemValues method is triggered by the return of a context coupon in response to the StartContextChanges method.

3.6.4.2.2 Message Semantics
3.6.4.2.2.1 Patient Context Participant Actor support for CCOW Patient Subject

The Patient Context Participant issues an invocation of the SetItemValues method of the ContextData interface to the Context Manager Actor. Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.4.4, for a more detailed description of the parameters associated with this method, to be issued by the Patient Context Participant Actor. The Patient Context Participant supports synchronization around the CCOW patient subject. A Patient Context Participant performing a Change Context Transaction shall set the Patient.Id.IdList.1 patient identifier item. All other patient identifier items as defined by the CCOW standard and shown in Table 3.6.4.2-1 Patient Subject Identifier Items, are subject to deprecation in future releases of the standard.

Table 3.6.4.2-1: Patient Subject Identifier Items

Patient Subject Identifier Item Name HL7 Meaning HL7 Data Type HL7 Semantic Constraints on Values Case Sensitive

Patient.Id.MRN. Suffix

Patient’s medical record number, per PID-2 ST HL7 Table 0203Identifier Type = MR No
Patient.Id.MPI Patient’s identifier in the “Master Patient Index”, per PID-2 ST HL7 Table 0203Identifier Type = PT or PI (as agreed upon by context sharing systems) and Assigning Authority represents the MPI system No
Patient.Id.NationalIdNumber Patient’s national identifier number, per PID-2 ST HL7 Table 0203Identifier Type = PT and Assigning Authority represents agreed-upon National Authority No
Patient.Id.IdList A list of patient identifiers for a patient, per PID-3 CX May be a repeating set of CX item values each of which contains an identifier that denotes the same patient No

Adapted from the HL7 Context Management “CCOW” Standard, version 1.4

The Patient.Id.IdList.1 item shall populate component 1, (the patient identifier), and either sub-component 1, (namespace ID), of component 4, (the assigning authority), of the CX data item. This is to be consistent with the requirements for the patient identifier as defined in the PIX Query transaction documented in Section 3.9.4.1.2.2.

The Patient Context Participant should use the SetItemValues associated with the ContextData interface, as defined in Sections 17.3.4.4 and 17.3.4.5 respectively of the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document.

3.6.4.2.2.2 Client Authentication Agent Actor support for CCOW User Subject

The Client Authentication Agent supports synchronization around the CCOW user subject. A Client Authentication Agent performing a Change Context Transaction shall set the User.Id.Logon. Suffix identifier item, where the Suffix is assigned as Kerberos. This would make the item name to be used by the Client Authentication Agent User.Id.Logon.Kerberos. The value of User.Id.Kerberos shall be the username@realm.

The Client Authentication Agent shall use the SetItemValues associated with SecureContextData interface as defined in Section 17.3.13.3 of the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document.

3.6.4.2.3 Expected Actions

The Context Manager returns an acknowledgement of the changed data. IHE specifies no restrictions or extensions to the CCOW definition of the SetItemValues method. Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.4.4, for a more detailed description of the response issued by the Context Manager to the Patient Context Participant Actor. Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.13.3, for a more detailed description of the response issued by the Context Manager to the Client Authentication Agent Actor.

3.6.4.3 Context Change – EndContextChanges

3.6.4.3.1 Trigger Events

The EndContextChanges method is triggered by the completion of the SetItemValues method.

3.6.4.3.2 Message Semantics

The Patient Context Participant and Client Authentication Agent Actors issue an EndContextChanges method of the ContextManager interface to the Context Manager Actor. Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.6.6, for a description of the parameters associated with this method. IHE specifies no restrictions or extensions to the CCOW definition of the EndContextChanges method.

3.6.4.3.3 Expected Actions

The EndContextChanges method triggers the ContextChangesPending method as defined in Section 3.13.4.1. The Context Manager returns the results of the context survey to the instigating Patient Context Participant or Client Authentication Agent Actor.

If the instigating Patient Context Participant or Client Authentication Agent receives a unanimous acceptance in the survey results, then it triggers an accept in the PublishChangesDecision method.

If the instigating Patient Context Participant or Client Authentication Agent receives one or more Conditional Accept responses in the survey results, then the application containing the actor must ask the user to continue, suspend context participation, or cancel the pending context change transaction. The user’s decision to continue will result in the context change being accepted. The user’s decision to suspend context participation will cancel the change transaction and allow the user to temporarily use the application without affecting the current context session. The user’s decision to cancel will cancel the pending context change transaction. At this point the Patient Context Participant or Client Authentication Agent triggers the PublishChangesDecision with the user’s response.

In the event a participant application does not respond to the survey, after a configurable period of time the Context Manager will deem the application as “busy”. If the instigating participant application receives one or more busy responses, it shall only present the suspend or cancel choices. This prevents an application from inadvertently becoming out of synch with the context, unbeknownst to the user.

Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.6.6, for a more detailed description of the response issued by the Context Manager and actions required by the Patient Context Participant and or Client Authentication Agent Actors. IHE specifies no restrictions or extensions to the CCOW definition of the EndContextChanges method.

3.6.4.4 Context Change – PublishChangesDecision

3.6.4.4.1 Trigger Events

The PublishChangesDecision method is triggered by the return of EndContextChanges method.

3.6.4.4.2 Message Semantics

The Patient Context Participant and Client Authentication Agent Actors shall issue either an accept or cancel via the PublishChangesDecision method of the ContextManager interface to the Context Manager Actor. Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.6.8, for a more detailed description of the parameters associated with this method. IHE specifies no restrictions or extensions to the CCOW definition of the PublishChangesDecision method.

3.6.4.4.3 Expected Actions

When the PublishChangesDecision method is received by the Context Manager it triggers the ContextChangesAccepted or ContextChangesCancelled method as defined in Section 3.13.4.2 or Section 3.13.4.3 respectively. IHE specifies no restrictions or extensions to the CCOW definition of the PublishChangesDecision method. Refer to the HL7 Context Management “CCOW” Standard: Technology and Subject-Independent Architecture document, Section 17.3.6.8, for a description of the response issued by the Context Manager Actor.