31
Behavioral Framework Background & Terminology

Behavioral Framework Background & Terminology. Behavioral Framework: Introduction Background.. What was the goal

Embed Size (px)

DESCRIPTION

Behavioral Framework  Provides a grammar to enable interoperability in complex, multi- enterprise domains (e.g. healthcare, life sciences, etc.)  Captures behavioral metadata that is considered SOA Best Practice  A number of public domain SOA models and specifications capture equivalent information  Several competing representation standards address the semantics of the BF, e.g. BPMN2, soalML, CDL, etc.  Leverages existing standards (especially RM-OPD)  Can be extended/localized to address specific behavioral requirements focused on cross-enterprise interoperability  Applicable to multiple interoperability paradigms (e.g. services, messages, documents)  Formalizes the notion of contract  Contracts are currently only implied in most service specifications

Citation preview

Page 1: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

Behavioral Framework

Background & Terminology

Page 2: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

Behavioral Framework: Introduction

Background .. What was the goal ..

Page 3: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

Behavioral Framework

Provides a grammar to enable interoperability in complex, multi-enterprise domains (e.g. healthcare, life sciences, etc.)

Captures behavioral metadata that is considered SOA Best Practice A number of public domain SOA models and specifications

capture equivalent information Several competing representation standards address the

semantics of the BF, e.g. BPMN2, soalML, CDL, etc. Leverages existing standards (especially RM-OPD) Can be extended/localized to address specific behavioral

requirements focused on cross-enterprise interoperability Applicable to multiple interoperability paradigms (e.g.

services, messages, documents) Formalizes the notion of contract

Contracts are currently only implied in most service specifications

Page 4: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF Concepts: Roles

Identifiers for “collections of behavior”- Identify a cohesive set of invokable capabilities, capacities,

or competencies Assignable to a system or an object

An object or system may have multiple roles Single role may be assumed by multiple objects or systems

Examples: Order Mgmt Service, Specimen Mgmt Service, etc. Roles are involved in Interactions

Each interaction involves two types of roles Commissioning Agent ( Service Consumer ) Responsible Agent ( Service Provider )

Roles are realized through Service Specifications

Role

Page 5: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

Interaction 1

Commissioner Agent(Service Consumer)

Responsible Agent(Service Provider)

Interaction 2

Interaction 3

ObligationAccountability• Interactions that realize

A business functions

Behaviors Role

Behavioral Framework: Concepts

Page 6: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF Concepts:Accountability and Behavior

• Behaviors in the SAIF BF are realized through service operations & Functional Profiles

• A defined behavior is realized through an Interaction (a service operation call)

• Accountability in the SAIF BF is realized through Functional Profiles and logically conjoined Interactions

• Function Profiles provide accountability by grouping behaviors

• Accountability example: successful placing of a lab.

1

Commissioner Agent

(Lab order placer)

Responsible Agent

(Lab order fulfiller)

2

3

Page 7: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF Concepts: Interactions

Roles have defined behaviors that can be realized through (internal) Actions and (external) Interactions- The BF is scoped to Interactions only. - Interaction example: Place a lab order

Interaction

Order a Lab!

Promise Lab Order!

Page 8: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF Concepts: Obligations

Obligations Define the scope of Role’s Interaction, i.e. specific “tasks”

or “deliverables” that the responsible Role must accomplish over the course of the Interaction

Page 9: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF Concepts: Contracts

Contracts in BF define Interactions between Roles

Contracts specify Overall requirements for the two roles in each Interaction Interaction patterns/information flow direction and

specifics Accountabilities Permissions Restrictions

The BF refers to contracts as “Contract Template” Emphasizes the fact that a contract can be robustly

defined before it is involked

Page 10: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

The Accountability Pattern and Contracts

• Aperational level, Expedia issues Joe a ticket to Kyoto• Parties: Joe (commissioner)

and Expedia (responsible)• Accountability: The activities

around Expedia acting as a Travel Agent for Joe, i.e. create an account, purchase ticket, deliver ticket, check flight

• Contracts aggregate Accountability, typecast Parties, and define Actions to support Accountability Types. • In other words … contracts bind design time specifications (Knowledge

Level) to run time components (Operational Level)• Knowledge level: travel agents issue tickets for a traveler through the

Accountability Type of Travel Agency

Page 11: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

Contracts and Conformance

Contracts provide the key to defining conformance- Conformance relies on

evaluating the interactions between roles.

- Interactions are enabled behavior between two roles that are bound to interfaces that allow them to perform actions to support some goal.

Page 12: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

Behavioral Framework

Models & Terminologyhttp://www.ncientarch.info/hl7_bf/hl7_bf/

Page 13: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: HL7 Dynamic Modelclass Behav ioral Model

Storyboard

artifactIdnamenarrative

Interaction

arti factIDnamenarrativestructuredNameinteractionType

ApplicationRole

arti factIDnamedescriptionstructuredName

SendingApplicationRole

::ApplicationRolearti factIDnamedescriptionstructuredName

Reciev ingApplicationRole

::ApplicationRolearti factIDnamedescriptionstructuredName

TriggerEv ent

artifactIDnamedescriptiontypestructuredName

InteractionBasedTriggerEv ent

::TriggerEventarti factIDnamedescriptiontypestructuredName

StateTransitionBasedTriggerEvent

::TriggerEventartifactIDnamedescriptiontypestructuredName

UserRequestBasedTriggerEv ent

::TriggerEventarti factIDnamedescriptiontypestructuredName

StaticModel

artifactIDnametype

ReceiverResponsibility

reason

Application

ConformanceStatement

StoryboardExample

narrative

InformationStructure

disjoint = false

1..*

1..*

sends

sender 1

1..*

receives

receiver 1

1..* {ordered} 0..*contains

1

0..*

0..*

0..*

0..*

fulfil ls

1

0..*

invokes

0..1

0..*

invokes

0..1

0..*

fulfil ls

0..*

0..*

0..*

intiates

1

Name:Package:Version:Author:

Behavioral ModelBehavioral Modelv01r04AbdulMalik Shakir

Page 14: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: Contracts Model

Page 15: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: CIM Package Description

Page 16: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: Packages

Page 17: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: Package Description

Page 18: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: Package Description

Page 19: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: CIM Package

List Code Systems

Read Only

Invalid Filter Criteria

Authenticated

None

• Code System• Code System Version

Terminology Provider

CTS2 Query Profile

TU Gets Code Systems: Satisfies UC

Terminology Users & Providers

None

Conceptual Placeholder (Not Modeled in BF)

Terminology Services

Page 20: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: CIM Package Description

Page 21: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: CIM Package Description

Page 22: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: CIM Package Description

Page 23: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: PIM Package

LexEVS Query Profile

None

Service Specification

getSupportedCodingSystems()

codingScheme

NoneFilter Criteria

Page 24: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: PIM Package Description

Page 25: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: PIM Package Description

Page 26: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: PSM Package

Runtime Package of Services (LexEVS Query Services)

Runtime Package of Services (LexEVS Services deployed as Grid Services)

getSupportedCodingSchemes(Filter Criteria: java.lang.String)

Platform Specific Schema: for input parameters

Page 27: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: PSM Package Description

Page 28: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: Solution Package•One Or More Roles

•One Or More Solutions Specifications

•One Or More Roles

•CDL Constructs

Page 29: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: Solution Specification Mapping to CIM

Page 30: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: Solution Package Description

Page 31: Behavioral Framework Background & Terminology. Behavioral Framework: Introduction  Background..  What was the goal

BF: Solution Package Description