TIP3100 - Service Required Yes/No (Classes only)

latest update: 2017-01-29    

TIP3100C -  Service Required Yes/No (Classes only)

NARRATIVE

This TIP is to represent whether or not a particular service is required by members of a Class.

NOTE 1 - Examples of 'service' are: Air Supply, Power Supply, Heat Treatment, etc., see picklist #2

NOTE 2 - Use this only when the source system explicitly stores this as Yes or No, or as True and False.

INPUT

The label (e.g. tag nr) of the OOI that requires a service, or not, is: var_IdentOfOOI

The activity type that is implied for the service (e.g. SUPPLYING): var_ActivityType

The service is required (via ClassOfAssertion) Yes or No: var_Y/N

SIGNATURE

PICKLIST #1

Select var_ActivityType  from (a small selection covering the IIP TIPs, this can be extended as needed)::

IIP TIP Name

Translated to

var_ActivityType 

use rdl:

Activity name

Air Connection Required

Air Supply Required Yes/No

RDS2223302

SUPPLYING AIR

Power Connection Required

Electrical Power Supply Required Yes/No

RDS14673380

SUPPLYING ELECTRIC POWER

Site Assembly Required

Site Assembly Required Yes/No

RDS2223304

ASSEMBLING ON SITE

Steam Out Requirements

Steam Out Required Yes/No

RDS2223305

STEAMING OUT

Wiring Required

Wiring Required Yes/No

RDS2223300

CONNECTING WIRING

Transient Protection Required

Transient Protection Required Yes/No

RDS2223306

PROTECTING FROM TRANSIENTS

Parallel Operations Required

Parallel Operations Required Yes/No

RDS32039

PARALLEL OPERATION

NDT requirement

Non-Destructive Testing required Yes/No

RDS9703727

NON-DESTRUCTIVE TESTING

PICKLIST #2

Select var_Y/N  from:  

Yes (true)

rdl:RDS2221034

No (false)

rdl:RDS2221035

 

GENERATED CODE

  

# DECLARED OBJECTS

  

# Fetch CGUID1 against var_IdentOfOOI

  

# TEMPLATE

  

<TGUID2> rdf:type tpl:ClassOfParticipationApplicableYesNo ;

    tpl:hasActivityType <var_ActivityType> ;

    tpl:hasParticipantType <CGUID1(var_IdentOfOOI)> ;

    tpl:hasParticipantRole rdl:RDS2223301 ; # RECIPIENT

    tpl:hasApplicableYesNo <var_Y/N> ;

    tpl:hasCardinalityOfActivity rdl:RDS222624 ; # 0:1

    tpl:hasCardinalityOfParticipant rdl:RDS222624 ; # 0:1

    meta:valEffectiveDate "var_dateTime"^^xsd:dateTime .  

  

MAPPING TO TRIPLES

 

<TGUID2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.15926.org/tpl/ClassOfParticipationApplicableYesNo> .

<TGUID2> <http://data.15926.org/tpl/hasActivityType> <var_ActivityType> .

<TGUID2> <http://data.15926.org/tpl/hasParticipantType> <CGUID1(var_IdentOfOOI)> .

<TGUID2> <http://data.15926.org/tpl/hasParticipantRole> <http://data.15926.org/rdl/RDS2223301> .

<TGUID2> <http://data.15926.org/tpl/hasApplicableYesNo> <var_Y/N> .

<TGUID2> <http://data.15926.org/tpl/hasCardinalityOfActivity> <http://data.15926.org/rdl/RDS222624> .

<TGUID2> <http://data.15926.org/tpl/hasCardinalityOfParticipant> <http://data.15926.org/rdl/RDS222624> .

<TGUID2> <http://data.15926.org/meta/valEffectiveDate> "var_dateTime"^^<http://www.w3.org/2001/XMLSchema#dateTime> .