complexType "segmentTYPE"
Namespace:
Content:
complex, 17 attributes, 1 element
Defined:
globally in CRIS_Complete_V3-2-1_[31-Dec-2008].xsd, see XML source
Includes:
definitions of 17 attributes and 1 element
Used:
XML Representation Summary
<...
    segment_site
 = 
xsd:hexBinary
    segment_id
 = 
xsd:unsignedInt
    sg_db_site
 = 
xsd:hexBinary
    sg_db_id
 = 
xsd:unsignedInt
    sg_type_code
 = 
xsd:unsignedInt
    segment_group_yn
 = 
("Y" | "N")
    criticality
 = 
xsd:int
    cs_type_db_site
 = 
xsd:hexBinary
    cs_type_db_id
 = 
xsd:unsignedInt
    cs_type_code
 = 
xsd:unsignedInt
    user_tag_ident
 = 
xsd:string
    name
 = 
xsd:string
    long_description
 = 
xsd:string
    gmt_last_updated
 = 
xsd:dateTime
    last_upd_db_site
 = 
xsd:hexBinary
    last_upd_db_id
 = 
xsd:unsignedInt
    rstat_type_code
 = 
xsd:unsignedShort
    >
   
Content: 
lcinfo?
</...>
Content Elements (1):
lcinfo (type lcinfo)
Known Usage Locations
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:element minOccurs="0" name="lcinfo" type="lcinfo"/>
</xsd:sequence>
<xsd:attribute name="segment_site" type="site_codeSimpleType" use="required"/>
<xsd:attribute name="segment_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="sg_db_site" type="site_codeSimpleType" 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="segment_group_yn" type="charYN" use="required"/>
<xsd:attribute name="criticality" type="xsd:int" use="optional"/>
<xsd:attribute name="cs_type_db_site" type="site_codeSimpleType" 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="user_tag_ident" type="varchar254" use="optional"/>
<xsd:attribute name="name" type="varchar254" use="optional"/>
<xsd:attribute name="long_description" type="varchar4000" use="optional"/>
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" 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
Type:
Use:
required
Foreign key reference to Site.site_code, Included in composite primary key
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="segment_site" type="site_codeSimpleType" use="required"/>

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
Type:
Use:
required
Foreign key reference to Segment_Type.sg_db_site
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="sg_db_site" type="site_codeSimpleType" use="required"/>

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
Type:
Use:
required
Attribute Value
enumeration of xsd:string
Enumeration:
"Y", "N"
Length:
1
XML Source (w/o annotations (1))
<xsd:attribute name="segment_group_yn" type="charYN" use="required"/>

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
Type:
Use:
optional
Foreign key reference to Criticality_Scale_Type.cs_type_db_site
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="cs_type_db_site" type="site_codeSimpleType" use="optional"/>

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
Type:
Use:
optional
Short user-defined tag/identifier
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>

name
Type:
Use:
optional
Full user-defined name/description
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="name" type="varchar254" use="optional"/>

long_description
Type:
Use:
optional
Long_description field
Attribute Value
xsd:string
MaxLength:
4000
XML Source (w/o annotations (1))
<xsd:attribute name="long_description" type="varchar4000" use="optional"/>

gmt_last_updated
Type:
Use:
optional
UTC/GMT timestamp for the last change to this record
Attribute Value
xsd:dateTime
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))
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>

last_upd_db_site
Type:
Use:
optional
Foreign key reference to Site_Database.db_site which identifies the database creating/updating/soft deleting this entry
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>

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)
lcinfo
Type:
lcinfo, complex content
XML Source
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>

XML schema documentation generated with DocFlex/XML 1.7.2b using DocFlex/XML | XSDDoc 2.1.0b template set