Wiki source code of 2 Actors and Use Cases

Version 44.1 by Helena on 2025/05/22 09:44

Show last authors
1 {{box title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 == {{id name="_Toc370963"/}}2.1 Introduction ==
6
7 In order to develop the data models it is necessary to understand the functions to be supported resulting from the requirements definition. These are defined in a use case model. The use case model comprises actors and use cases and these are defined below.
8
9 **Actor**
10
11 “//An actor defines a coherent set of roles that users of the system can play when interacting with it. An actor instance can be played by either an individual or an external system//”
12
13 **Use case**
14
15 “//A use case defines a set of use-case instances, where each instance is a sequence of actions a system performs that yields an observable result of value to a particular actor”//
16
17 The overall intent of the model is to support data and metadata reporting, dissemination, and exchange in the field of aggregated statistical data and related metadata. In order to achieve this, the model needs to support three fundamental aspects of this process:
18
19 * Maintenance of structural and provisioning definitions
20 * Data and reference metadata publishing (reporting), and consuming (using)
21 * Access to data, reference metadata, and structural and provisioning definitions
22
23 This document covers the first two aspects, whilst the document on the Registry logical model covers the last aspect.
24
25 == {{id name="_Toc370964"/}}2.2 Use Case Diagrams ==
26
27 === {{id name="_Toc370965"/}}2.2.1 Maintenance of Structural and Provisioning Definitions ===
28
29 [[image:1747688571909-670.png]]
30
31 **Figure 6 Use cases for maintaining data and metadata structural and provisioning definitions**
32
33 **2.2.1.2 Explanation of the Diagram**
34
35 In order for applications to publish and consume data and reference metadata it is necessary for the structure and permitted content of the data and reference metadata to be defined and made available to the applications, as well as definitions that support the actual process of publishing and consuming. This is the responsibility of a Maintenance Agency.
36
37 All maintained artefacts are maintained by a Maintenance Agency. For convenience the Maintenance Agency actor is sub divided into two actor roles:
38
39 * maintaining structural definitions
40 * maintaining provisioning definitions
41
42 Whilst both these functions may be carried out by the same person, or at least by the same maintaining organization, the purpose of the definitions is different and so the roles have been differentiated: structural definitions define the format and permitted content of data and reference metadata when reported or disseminated, whilst provisioning definitions support the process of reporting and dissemination (who reports what to whom, and when).
43
44 In a community based scenario where at least the structural definitions may be shared, it is important that the scheme of maintenance agencies is maintained by a responsible organization (called here the Community Administrator), as it is important that the Id of the Maintenance Agency is unique.
45
46 ==== 2.2.1.3 Definitions ====
47
48 (((
49 (% style="width:972.294px" %)
50 |(% style="width:187px" %)**Actor**|(% style="width:236px" %)**Use Case**|(% style="width:547px" %)**Description**
51 |(% style="width:187px" %)(((
52 [[image:1747688634771-438.png]]
53 Community Administrator
54 )))|(% style="width:236px" %) |(% style="width:547px" %)Responsible organisation that administers structural definitions common to the community as a whole.
55 |(% style="width:187px" %) |(% style="width:236px" %)(((
56 [[image:1747896154374-468.png]]
57 Maintain Maintenance Agency Scheme
58 )))|(% style="width:547px" %)Creation and maintenance of the top-level scheme of maintenance agencies for the Community.
59 |(% style="width:187px" %)(((
60 [[image:1747688641349-114.png]]
61 Maintenance Agency
62 )))|(% style="width:236px" %) |(% style="width:547px" %)(((
63 Responsible agency for maintaining structural artefacts such as code lists, concept schemes, Data Structure Definition structural definitions, metadata structure definitions, data and metadata provisioning artefacts such as provision agreement, and submaintenance agencies.
64
65 sub roles are:
66 Structural Definitions
67 Maintenance Agency
68 Provisioning Definitions
69 Maintenance Agency
70 )))
71 )))
72
73 (((
74 (% style="width:974.294px" %)
75 |(% style="width:188px" %)(((
76 [[image:1747688686425-680.png]]
77 Structural Definitions Maintenance Agency
78 )))|(% style="width:293px" %) |(% style="width:548px" %)Responsible for maintaining structural definitions.
79 |(% style="width:188px" %) |(% style="width:293px" %)(((
80 [[image:1747895989437-570.png]]
81 Maintain Structure Definitions
82 )))|(% style="width:548px" %)The maintenance of structural definitions. This use case has sub class use cases for each of the structural artefacts that are maintained.
83 |(% style="width:188px" %) |(% style="width:293px" %)(((
84 [[image:1747896004486-873.png]]
85 Maintain Code List
86
87 [[image:1747896009533-990.png]]
88 MaintainConcepts
89
90 [[image:1747896014277-453.png]]
91 Maintain Category Scheme
92
93 [[image:1747896017685-493.png]]
94 Maintain Data Structure Definition
95 )))|(% style="width:548px" %)(((
96 Creation and maintenance of the Data Structure Definition, Metadata Structure Definition, and the supporting artefacts that they use, such as code list and  concepts
97 )))
98 )))
99
100 (((
101 (% style="width:976.294px" %)
102 |(% style="width:187px" %) |(% style="width:240px" %)(((
103 [[image:1747896022512-955.png]]
104 Maintain Metadata Structure Definition
105
106 [[image:1747896026313-659.png]]
107 Maintain Hierarchical Code Scheme
108
109 [[image:1747896030342-760.png]]
110 Maintain Reporting Taxonomy
111
112 [[image:1747896033858-560.png]]
113 Maintain Organisation Scheme
114
115 [[image:1747896037473-764.png]]
116 MaintainProcess
117
118 [[image:1747896048632-885.png]]
119 Maintain Dataflow Definition
120
121 [[image:1747896044576-648.png]]
122 Maintain Metadataflow Definition
123 )))|(% style="width:546px" %)(((
124 This includes Agency, Data Provider, Data Consumer, and Organisation Unit Scheme
125 )))
126 |(% style="width:187px" %)(((
127 [[image:1747688686425-680.png]]
128 Provisioning Definitions Maintenance Agency
129 )))|(% style="width:240px" %) |(% style="width:546px" %)Responsible for maintaining data and metadata provisioning definitions.
130 )))
131
132 **Figure 7: Table of Actors and Use Cases for Maintenance of Structural and Provisioning Definitions**
133
134 === {{id name="_Toc370966"/}}2.2.2 Publishing and Using Data and Reference Metadata ===
135
136 ==== 2.2.2.1 Use Cases ====
137
138 **Figure 8: Actors and use cases for data and metadata publishing and consuming**
139
140 ==== 2.2.2.2 Explanation of the Diagram ====
141
142 Note that in this diagram “publishing” data and reference metadata is deemed to be the same as “reporting” data and reference metadata. In some cases the act of making the data available fulfils both functions. Aggregated data is published and in order for the Data Publisher to do this and in order for consuming applications to process the data and reference metadata its structure must be known. Furthermore, consuming applications may also require access to reference metadata in order to present this to the Data Consumer so that the data is better understood. As with the data, the reference metadata also needs to be formatted in accordance with a maintained structure. The Data Consumer and Metadata Consumer cannot use the data or reference metadata unless it is “published” and so there is a “data source” or “metadata source” dependency between the “uses” and “publish” use cases.
143
144 In any data and reference metadata publishing and consuming scenario both the publishing and the consuming applications will need access to maintained Provisioning Definitions. These definitions may be as simple as who provides what data and reference metadata to whom, and when, or it can be more complex with constraints on the data and metadata that can be provided by a particular publisher, and, in a data sharing scenario where data and metadata are “pulled” from data sources, details of the source.
145
146 ==== 2.2.2.3 Definitions ====
147
148 (% style="width:1130.29px" %)
149 |(% colspan="1" style="width:180px" %)**Actor**|(% colspan="2" style="width:199px" %)**Use Case**|(% colspan="2" style="width:656px" %)**Description**
150 |(% colspan="1" style="width:180px" %)(((
151 [[image:1747688686425-680.png]]
152 Data Publisher
153 )))|(% colspan="2" style="width:199px" %) |(% colspan="2" style="width:656px" %)Responsible for publishing data according to a specified Data Structure Definition (data structure) definition, and relevant provisioning definitions.
154 |(% colspan="1" style="width:180px" %) |(% colspan="2" style="width:199px" %)(((
155 [[image:1747896053396-402.png]]
156 Publish Data
157 )))|(% colspan="2" style="width:656px" %)Publish a data set. This could mean a physical data set or it could mean to make the data available for access at a data source such as a database that can process a query.
158 |(% colspan="1" style="width:180px" %)(((
159 [[image:1747688686425-680.png]]
160 Data Consumer
161 )))|(% colspan="2" style="width:199px" %) |(% colspan="2" style="width:656px" %)The user of the data. It may be a human consumer accessing via a user interface, or it could be an application such as a statistical production system.
162 |(% colspan="1" style="width:180px" %) |(% colspan="2" style="width:199px" %)(((
163 [[image:1747896057633-585.png]]
164 Uses Data
165 )))|(% colspan="2" style="width:656px" %)Use data that is formatted according to the structural definitions and made available according to the provisioning definitions. Data are often linked to metadata that may reside in a different location and be published and maintained independently.
166 |(% colspan="1" style="width:180px" %)(((
167 [[image:1747688686425-680.png]]
168 Metadata Publisher
169 )))|(% colspan="2" style="width:199px" %) |(% colspan="2" style="width:656px" %)Responsible for publishing reference metadata according to a specified metadata structure definition, and relevant provisioning definitions.
170 |(% colspan="1" style="width:180px" %) |(% colspan="2" style="width:199px" %)(((
171 [[image:1747896069282-370.png]]
172 Publish Reference Metadata
173 )))|(% colspan="2" style="width:656px" %)Publish a reference metadata set. This could mean a physical metadata set or it could mean to make the reference metadata available for access at a metadata source such as a metadata repository that can process a query.
174 |(% colspan="1" style="width:180px" %)(((
175 [[image:1747688686425-680.png]]
176 Metadata Consumer
177 )))|(% colspan="2" style="width:199px" %) |(% colspan="2" style="width:656px" %)The user of the reference metadata. It may be a human consumer accessing via a user interface, or it could be an application such as a statistical production or dissemination system.
178 |(% colspan="1" style="width:180px" %) |(% colspan="2" style="width:199px" %)(((
179 [[image:1747896074313-782.png]]
180 Uses Reference Metadata
181 )))|(% colspan="2" style="width:656px" %)Use reference metadata that is formatted according to the structural definitions and made available according to the provisioning definitions.