1 eccf training 2.0 guidance for the platform independent model (pim) eccf training working group...

27
1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Upload: grant-armstrong

Post on 21-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

1

ECCF Training 2.0

Guidance for the Platform Independent

Model (PIM)

ECCF Training Working Group

January 2011

Page 2: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

2

Outline

• What is the PIM?• Looking through the viewpoints• Detailed look at artifacts by viewpoint

• Explanation• Example• Exercise

• Other Artifacts

Page 3: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

What is the PIM?

• From analysis in CIM to logical model in PIM• Independent of technology stack• Typically one PIM for one CIM

3

Page 4: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Looking through the viewpoints

• Enterprise Viewpoint• Minimal focus for the PIM (optional artifacts)• Mostly traceability to CIM

• Information Viewpoint• Constrained Local Information Model

• Computational / Behavioral• Service Contract

• Engineering / Implementation• Deployment Considerations

4

Page 5: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Artifacts by Viewpoint

Information Viewpoint

5

Page 6: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Information Model

• Add constraints and localizations to information model work begun in the CIM

• Artifacts:• Primary Information Object Types

• State Model

• Error Information Model

• Control Data Types

• Value Set Definitions

6

Page 7: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Primary Information Object Types

• What are the Primary Information Objects?• Represent the main functionality• Other objects are associated with primary objects• Generally form the input and output• State is controlled by functionality of the service• There can be more than one primary object type

• How do we define them?• Object Model• State Transition Model• Traceability to referenced models

7

Page 8: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA Gene Object Model

8

Page 9: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA Gene State Model

9

Page 10: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA Gene Model Reference UML

10

Page 11: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA Gene Model Traceability

Trace Attribute Name Type Description

LSPIM Symbol ST The official symbol for the gene based on an organism-specific database of gene symbols, such as HUGO, MGI or RGD

New fullName ST The title of the gene.

11

Gene

Page 12: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Error Information Model

• Defines the types for all the errors that the service may throw

12

Page 13: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA Exception Model

13

Page 14: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Control Data Type Definitions

• What are control data types?• Search Criteria• Exception Conditions• Input Criteria• Result Sets

14

Page 15: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA – Search Criteria Types

15

Page 16: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Value Set Definitions

• Attributes whose values are controlled by a list of valid values• Error Codes• Status Codes

16

Page 17: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA – Error Codes

Error Code Error Condition Description

MAE00000 Fatal Remote system error

MAE10001 Error Gene does not exist

MAE10002 Error Specified microarray is not supported

MAE10003 Error Reporter not found

17

Page 18: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Artifacts by Viewpoint

Computational / Behavioral Viewpoint

18

Page 19: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Interface Model

• Provides a logical grouping for service implementers

• Artifacts:• UML model of interfaces• List of operations• Detailed operation behavior descriptions

19

Page 20: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA – Interface Model

Interface No Interface Name Interface Description

MA-INF1 MAGeneAnnotationQuery Includes all of the operations for retrieving gene annotations

MA-INF2 MAFreestyleSearch Includes all of the operations for Freestyle Search

20

Page 21: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA – Interface Model UML

21

Page 22: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA – List of Operations (Truncated)

Operation No.

Operation Name Interface Name Operation Description

MA-INF1-OP1 getGenesBySymbol MAGeneAnnotationQuery Returns the genes named by the specified gene symbols and/or gene aliases

MA-INF1-OP2 getCellularLocations MAGeneAnnotationQuery Returns annotations describing a gene’s location within a cell

MA-INF2-OP1 freestyleSummarySearch MAFreestyleSearchProfile Returns a summary result for a given keyword or keywords

MA-INF2-OP2 freestyleSearch MAFreestyleSearchProfile Returns a list of results matching the given keyword or keywords

22

Page 23: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Operation Behavior Description

• Detailed description of the behavior of each interface operation

• Grouped by interface

• Includes:

• Description

• Pre-Conditions

• Security Conditions

• Inputs

• Outputs

• Post-Conditions

• Exception Conditions

• Additional Implementation Details

• Notes

23

Page 24: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA - getGenesByMicroArrayReporter

Behavior Description • Client supplies a ReporterSearchCriteria instance with a reporter name and a microarray design to search within

• The case of the reporter name is ignored• If the Microarray is null then all Microarrays are

searched• The system returns the matching Gene object(s), if any

Pre-Conditions None

Security Pre-Conditions

None

Inputs ReporterSearchCriteria

Outputs Fully-populated instance(s) of Gene

24

Page 25: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA - getGenesByMicroArrayReporter (cont.)

Post-Conditions None

Alternate Conditions No matching genes found

Exception Conditions • Specified microarray is not supported• Reporter not found

Additional Details None

Notes None

25

Page 26: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

Dynamic Model

• Describe the interactions of the service with sequence diagrams or collaboration diagrams

• Includes relationships with other services

26

Page 27: 1 ECCF Training 2.0 Guidance for the Platform Independent Model (PIM) ECCF Training Working Group January 2011

MA – External Service Relationships

Service / System / Actor’s Name

Relationship Data Description

Integrative Translational Research System

Depends Molecular Annotations

Integrative Translational Research Systems such as caIntegrator depend on Molecular Annotations for looking up annotations for microarray reporters used in experiments being analyzed.

Gene Expression Analysis Tool

Depends Molecular Annotations

Gene Expression Analysis Tools such as GEWorkbench depend on a Molecular Annotations for putting expression data in context of a genome.

27