complexType "RecordRelationshipType"
Namespace:
Content:
complex, 6 attributes, 12 elements
Defined:
Includes:
definitions of 1 attribute, 6 elements
Used:
XML Representation Summary
<...
   
 = 
("Add" | "Update" | "Delete")
 = 
(xs:string | xs:string)
 = 
("Agency" | "Maintainable") : "Agency"
 = 
xs:boolean
 = 
"true"
 = 
("Parent" | "Child" | "Sibling" | "Unknown") : "Unknown"
   
>
   
Content: 
</...>
Content Model Elements (12):
RecordRelationshipName, SourceLogicalRecordReference, SourceTargetLink, TargetLogicalRecordReference, r:Agency, r:Description, r:ID, r:Label, r:MaintainableObject, r:URN, r:UserID, r:Version
All Direct / Indirect Based Elements (1):
RecordRelationship
Known Usage Locations
Annotation
Describes the relationship between records of different types or of the same type within a longitudinal study. Identifies the key and linking value relationships. All relationships are pairwise. Multiple pairwise relationships maybe needed to clarify all record relationships within a logical product or data set. In addition to the standard name, label, and description, the structure identifies the pair of logical records for which the relationship is defined as SourceLogicalRecord and TargetLogicalRecord, describes the link between these two records and indicates the relationship of the of the source record to the target record.
Type Definition Detail
Type Derivation Tree
r:AbstractIdentifiableType (extension)
  r:IdentifiableType (extension)
      RecordRelationshipType
XML Source (w/o annotations (8); see within schema source)
<xs:complexType name="RecordRelationshipType">
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RecordRelationshipName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element minOccurs="0" ref="r:Description"/>
<xs:element ref="SourceLogicalRecordReference"/>
<xs:element ref="TargetLogicalRecordReference"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceTargetLink"/>
</xs:sequence>
<xs:attribute default="Unknown" name="relationToTarget" type="RelationCodeType"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 1/6)
relationToTarget
Type:
Use:
optional
Indicates the relationship of the source to the target. The value describes the role of the source in the relationship. This is a restricted list of Parent, Child, Sibling, Unknown.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"Parent"
 - 
The source object is the parent of the target object. The target object is a sub-part or member of the parent source.
"Child"
 - 
The source object is the child of the source object. The target object is the parent or contains the source object as a sub-part or member.
"Sibling"
 - 
The source object is the sibling of the target object. One object is not a member of or subsidiary to the other. They may be equal members of the same group.
"Unknown"
 - 
The relationship between the source and target objects is unknown.
Default:
"Unknown"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="Unknown" name="relationToTarget" type="RelationCodeType"/>
Content Element Detail (all declarations; defined within this component only; 6/12)
r:Description
Type:
r:StructuredStringType, complex content
A description of the content and purpose of the RecordRelationship. May be expressed in multiple languages and supports the use of structured content.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:Description"/>

r:Label
Type:
r:LabelType, complex content
A display label for the RecordRelationship. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

RecordRelationshipName
Type:
r:NameType, complex content
A name for the RecordRelationship. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RecordRelationshipName"/>

SourceLogicalRecordReference
Type:
r:ReferenceType, complex content
A reference to the Logical Record acting as the Source Record. All relationship information is from the source to the target. If the relationship is not unidirectional (i.e., sibling) simply assign one record as the source and the other as the target.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="SourceLogicalRecordReference"/>

SourceTargetLink
Type:
SourceTargetLinkType, complex content
Each SourceTargetLink provides a pair of variables which act as all or part of a link between the source and the target records. Repeat if more than one set of variables is required to make the link.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceTargetLink"/>

TargetLogicalRecordReference
Type:
r:ReferenceType, complex content
A reference to the Logical Record acting as the Target Record.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="TargetLogicalRecordReference"/>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set