complexType "segmentTYPE"
Namespace: |
|
Content: |
|
Defined: |
globally in CRIS_Complete_V3-2-1_[31-Dec-2008].xsd, see XML source |
Includes: |
|
Used: |
|
Content Elements (1):
-
Known Usage Locations
- As direct type of elements (1):
Annotation
Segment Entity:
A Segment (Service Segment/Functional Location/Work Breakdown Structure Entry) is a birthed by a Site. Each Segment is associated with exactly one Segment Type. MIMOSA supports all ISA-95 and ISA-88 defined Equipment Types.
A Segment is a defined entity (node) of a directed graph (digraph), which is represented in the Segment_Child table. A Model may be associated with one Segment node which points to the "parent" node in the Segment_Child digraph which contains its "as-designed" systems/functions.
An Asset and an Agent may be also be associated with one Segment node to point to the "parent" node in the Segment_Child digraph which contains their "as-maintained" systems/functions.
Types of Segments includes enterprises (for enterprise-level monitoring or work assignments), sites (for site-level monitoring or work/assignments), platforms, facilities, production processes, process inputs and outputs, physical structures, systems, sub-systems, machine trains, mechanical devices, and mechanical device areas.
Many of these segments appear on the engineering drawings of the model facility/platform. Each Segment may have one or more serialized Assets utilized/installed on/at it at a given time (see CRIS Entity #44 (Asset_On_Segment).
Segments, Assets, and Ordered Lists are the only entities where work can be performed. A Segment can be monitored via Measurement Locations.
The MIMOSA Segment Code is the Site-assigned unique identifier of a Segment. Because of multiple methodologies for serialized asset/component tracking identification in different industries and in various computer systems, a Segment will often need to be associated with many identifiers relevant to the Segment because they are the segment's "unique key" for various databases.
Because of this requirement, MIMOSA-compliant systems require that a Segment be permanently assigned one and only one MIMOSA Segment Code which is composed of the associated MIMOSA Site Code (in CRIS, the "segment_site") concatenated with a site-unique, non-negative integer (in CRIS, the "segment_id") which should never change throughout the lifetime of the Segment.
This MIMOSA Segment Code (MIMOSA Site Code + "segment_id") normally does not have any external end-user meaning, but is the vital link for all MIMOSA-compliant systems to properly integrate and associate information to the correct Segment.
The identical MIMOSA Segment Code must remain permanently-unique for the life-time of the Site, even though it will most likely have additional temporarily-unique identifier tags assigned to the Segment by various systems.
The segment_group_yn field when set to “Y” means that this segment is really a segment composed of 2 or more segments of the same type. If a count of total segments is made from the database, these group segments should be ignored.
Note: User_tag_ident is the user identification tag which follows the nomenclature of the plant. This is normally an abbreviation or user-defined alpha-numeric code from which the plant derives meaning. This column is mandatory.
Note: The name column is an optional column which is a full description of the segment.
XML Source (w/o annotations (18))
<xsd:complexType name="segmentTYPE"> <xsd:sequence> </xsd:sequence> <xsd:attribute name="segment_id" type="xsd:unsignedInt" use="required"/> <xsd:attribute name="sg_db_id" type="xsd:unsignedInt" use="required"/> <xsd:attribute name="sg_type_code" type="xsd:unsignedInt" use="required"/> <xsd:attribute name="criticality" type="xsd:int" use="optional"/> <xsd:attribute name="cs_type_db_id" type="xsd:unsignedInt" use="optional"/> <xsd:attribute name="cs_type_code" type="xsd:unsignedInt" use="optional"/> <xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/> <xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/> </xsd:complexType> |
Attribute Detail (defined in this component only; 17/17)
segment_site-
Foreign key reference to Site.site_code, Included in composite primary key
Attribute Value
XML Source (w/o annotations (1))
segment_id-
Type: |
xsd:unsignedInt, predefined |
Use: |
required |
Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="segment_id" type="xsd:unsignedInt" use="required"/> |
sg_db_site-
Foreign key reference to Segment_Type.sg_db_site
Attribute Value
XML Source (w/o annotations (1))
sg_db_id-
Type: |
xsd:unsignedInt, predefined |
Use: |
required |
Foreign key reference to Segment_Type.sg_db_id
XML Source (w/o annotations (1))
<xsd:attribute name="sg_db_id" type="xsd:unsignedInt" use="required"/> |
sg_type_code-
Type: |
xsd:unsignedInt, predefined |
Use: |
required |
Foreign key reference to Segment_Type.sg_type_code
XML Source (w/o annotations (1))
<xsd:attribute name="sg_type_code" type="xsd:unsignedInt" use="required"/> |
segment_group_yn-
Attribute Value
enumeration of xsd:string |
Enumeration: |
"Y", "N" |
Length: |
1 |
XML Source (w/o annotations (1))
criticality-
Type: |
xsd:int, predefined |
Use: |
optional |
Criticality index with the scale's minimum and maximum value determined by the FK to Criticality_Scale_Type
XML Source (w/o annotations (1))
<xsd:attribute name="criticality" type="xsd:int" use="optional"/> |
cs_type_db_site-
Foreign key reference to Criticality_Scale_Type.cs_type_db_site
Attribute Value
XML Source (w/o annotations (1))
cs_type_db_id-
Type: |
xsd:unsignedInt, predefined |
Use: |
optional |
Foreign key reference to Criticality_Scale_Type.cs_type_db_id
XML Source (w/o annotations (1))
<xsd:attribute name="cs_type_db_id" type="xsd:unsignedInt" use="optional"/> |
cs_type_code-
Type: |
xsd:unsignedInt, predefined |
Use: |
optional |
Foreign key reference to Criticality_Scale_Type.cs_type_code
XML Source (w/o annotations (1))
<xsd:attribute name="cs_type_code" type="xsd:unsignedInt" use="optional"/> |
user_tag_ident-
Short user-defined tag/identifier
Attribute Value
XML Source (w/o annotations (1))
name-
Full user-defined name/description
Attribute Value
XML Source (w/o annotations (1))
long_description-
Long_description field
Attribute Value
XML Source (w/o annotations (1))
gmt_last_updated-
UTC/GMT timestamp for the last change to this record
Attribute Value
Pattern: |
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9} |
XML Source (w/o annotations (1))
last_upd_db_site-
Foreign key reference to Site_Database.db_site which identifies the database creating/updating/soft deleting this entry
Attribute Value
XML Source (w/o annotations (1))
last_upd_db_id-
Type: |
xsd:unsignedInt, predefined |
Use: |
optional |
Foreign key reference to Site_Database.db_id which identifies the database creating/updating/soft deleting this entry
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/> |
rstat_type_code-
Type: |
xsd:unsignedShort, predefined |
Use: |
optional |
Foreign key reference to Row_Status_Type.rstat_type_cod which determines the status of this entry
XML Source (w/o annotations (1))
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/> |
Content Element Detail (defined in this component only; 1/1) -
XML Source