Search



Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SNOMED International provides an example of a Transitive Closure Perl script file that can be used to generating a snapshot view of the transitive closure from the snapshot release of the  relationship file

Specref
RefTypefile
tRelationship
. The output of this script conforms to the following following file structure. Note that the primary key for this table consists of both columns.

...

Field

Data type

Purpose

Part of Primary Key

subtypeId

Specref
RefType(data type)
tSCTID

Id of the

Gloss
Spacetrue
tconcept
playing the
Gloss
Spacetrue
tsubtype
role. Set to an
Gloss
Spacetrue
tIdentifier
of a
Gloss
tconcept
.

YES

supertypeId

Specref
RefType(data type)
tSCTID

Id of the

Gloss
Spacetrue
tconcept
playing the supertype role. Set to an
Gloss
Spacetrue
tIdentifier
of a
Gloss
tconcept
.

YES

...

Field

Data type

Purpose

Part of Primary Key

subtypeId

Specref
RefType(data type)
tSCTID

Id of the

Gloss
Spacetrue
tconcept
playing the
Gloss
Spacetrue
tsubtype
role. Set to an
Gloss
Spacetrue
tIdentifier
of a
Gloss
tconcept
.

YES

supertypeId

Specref
RefType(data type)
tSCTID

Id of the

Gloss
Spacetrue
tconcept
playing the supertype role. Set to an
Gloss
Spacetrue
tIdentifier
of a
Gloss
tconcept
.

YES

Specref
RefType(field)
teffectiveTime

Specref
RefType(data type)
tTime

Specifies the inclusive date at which the

Gloss
Spacetrue
ttransitive closure
record was added or changed its active state.

YES

Specref
RefType(field)
tactive

Specref
RefType(data type)
tBoolean

Specifies whether at the

Gloss
Spacetrue
ttransitive closure
represented by the subtypeId and superTypeId became valid
Gloss
Spacetrue
t(active)
or invalid
Gloss
Spacetrue
t(inactive)
from the point in time specified by the
Specref
RefType(field)
teffectiveTime
.

NO

Related Links