Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Source
Used by
Main schema drv.xsd
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Annotations
Documentation for the Driver
MMUCC Data Element Reference ??
This schema defines and validates an instance of driver within the context
of a Collision report document.

http://www.gnu.org/licenses/gpl.html

<xi:include href="../XML/GPL.xhtml"/>
This software should be used in compliance with GNU GENERAL PUBLIC LICENSE            
Version 3, 29 June 2007 or later. TNSR™
Element drv:DriverType / drv:Ejection
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Diagram
Diagram drv1.tmp#id91 drv1.tmp#id93 drv1.tmp#id90
Type ejctn:EjectionType
Model ALL(ejctn:Ejected ejctn:EjectionPath)
Children ejctn:Ejected, ejctn:EjectionPath
Instance
<drv:Ejection>
  <ejctn:Ejected>{1,1}</ejctn:Ejected>
  <ejctn:EjectionPath>{1,1}</ejctn:EjectionPath>
</drv:Ejection>
Source
<xsd:element name="Ejection" type="ejctn:EjectionType" form="qualified" id="Ejection"/>
Element drv:DriverType / drv:Restraint
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Diagram
Diagram drv12.tmp#id96
Type rstrnt:OccupantRestraintType
Facets
length 2
enumeration 00
Not Applicable
enumeration 01
None Used - Motor Vehicle Occupant
enumeration 02
Shoulder And Lap Belt Used
enumeration 03
Shoulder Belt Only Used
enumeration 04
Lap Belt Only Used
enumeration 05
Booster Seat
enumeration 06
Child Restrain System Used - Forward Facing
enumeration 07
Child Restrain System  Used - Rear Facing
enumeration 08
Restrain Used - Type Unknown
enumeration 10
Motorcycle Helmet Used
enumeration 11
Safety Belt Used Improperly
enumeration 12
Child Safety Seat Used Improperly
enumeration 13
Motorcycle Helmet Used Improperly
enumeration 14
Child Restraint Used - Type Unknown
enumeration 98
Other
enumeration 99
Occupant Restraint Use Unknown
pattern \d{2}
Source
<xsd:element name="Restraint" type="rstrnt:OccupantRestraintType" form="qualified" id="DriverRestraint"/>
Element drv:DriverType / drv:DriverRelatedFactors
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Annotations
Driver related factors. An array of four 2-digit factor codes taken from the simpleType DriverFactorsType.
Diagram
Diagram drv11.tmp#id107 drv11.tmp#id109 drv11.tmp#id111 drv11.tmp#id113 drv11.tmp#id106
Type drvrfct:DriverRelatedFactorsType
Model drvrfct:DriverVisionObscured{1,4} , drvrfct:DriverDistractions{1,4} , drvrfct:DriverConditions{1,3} , drvrfct:DriverActions{1,4}
Children drvrfct:DriverActions, drvrfct:DriverConditions, drvrfct:DriverDistractions, drvrfct:DriverVisionObscured
Instance
<drv:DriverRelatedFactors>
  <drvrfct:DriverVisionObscured>{1,4}</drvrfct:DriverVisionObscured>
</drv:DriverRelatedFactors>
Source
<xsd:element name="DriverRelatedFactors" type="drvrfct:DriverRelatedFactorsType" form="qualified" id="DriverRelatedFactors">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">Driver related factors. An array of four 2-digit factor codes taken from the simpleType DriverFactorsType.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element drv:Driver
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Annotations
The DriverType element BASE element for all tnsr:Driver types
Diagram
Diagram drv0.tmp#id28 drv3.tmp#id40 drv3.tmp#id27 drv5.tmp#id47 drv5.tmp#id48 drv5.tmp#id49 drv6.tmp#id50 drv2.tmp#id44 drv5.tmp#id26 drv5.tmp#id55 drv5.tmp#id60 drv5.tmp#id76 drv5.tmp#id78 drv7.tmp#id85 drv5.tmp#id25 drv8.tmp#id115 drv8.tmp#id116 drv8.tmp#id117 drv8.tmp#id118 drv8.tmp#id89 drv8.tmp#id95 drv9.tmp#id97 drv10.tmp#id102 drv8.tmp#id105 drv8.tmp#id24
Type drv:DriverType
Type hierarchy
Model addr:Address , prty:Phone{1,3} , (dte:DateOfBirth) , prsn:Alcohol{0,1} , prsn:Drugs{0,1} , prsn:InjuryCode , prsn:MedicalTransport , prsnrfct:PersonRelatedFactors , drv:Ejection , drv:Restraint , arbg:AirBagDeployment , lcns:DriverLicense , drv:DriverRelatedFactors
Children addr:Address, arbg:AirBagDeployment, drv:DriverRelatedFactors, drv:Ejection, drv:Restraint, dte:DateOfBirth, lcns:DriverLicense, prsn:Alcohol, prsn:Drugs, prsn:InjuryCode, prsn:MedicalTransport, prsnrfct:PersonRelatedFactors, prty:Phone
Instance
<drv:Driver prsn:AncestryEthnicity="" drv:DriverPersonType="01" drv:DriverSeatingPosition="11" drv:DriverTrappedExtricated="" prsnnm:First="" prsn:Gender="" prsnnm:Last="" prsnnm:Middle="" prsn:Race="" prsnnm:Suffix="" tnsr:VehicleManeuver="">
  <addr:Address addr:Address1="" addr:Address2="" addr:City="" addr:Country="" addr:State="" addr:Validated="" addr:ZipCode="">{1,1}</addr:Address>
  <prty:Phone prty:TypeOfPhone="">{1,3}</prty:Phone>
</drv:Driver>
Attributes
QName Type Fixed Default Use Annotation
drv:DriverPersonType restriction of xsd:token 01 required
Driver of a Motor Vehicle in Transport
drv:DriverSeatingPosition restriction of xsd:token 11 required
drv:DriverTrappedExtricated xtrctn:Extrication optional
prsn:AncestryEthnicity restriction of xsd:token optional

http://www.cdc.gov/nchs/data/dvs/Mort99doc.pdf

Reference: National Center for Health Statistics.
Documentation for the Mortality Public Use Data Set,
1999.
prsn:Gender restriction of xsd:token required
prsn:Race restriction of xsd:token optional

http://www.cdc.gov/nchs/data/dvs/Mort99doc.pdf

Reference: National Center for Health Statistics.
Documentation for the Mortality Public Use Data Set,
1999.
prsnnm:First xsd:string required
prsnnm:Last xsd:string required
prsnnm:Middle xsd:string required
prsnnm:Suffix xsd:normalizedString optional
tnsr:VehicleManeuver restriction of xsd:token required
Source
<xsd:element name="Driver" type="drv:DriverType">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">The DriverType element BASE element for all tnsr:Driver types</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Complex Type drv:DriverType
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Annotations
The primary driver type definition
Diagram
Diagram drv0.tmp#id28 drv3.tmp#id40 drv3.tmp#id27 drv5.tmp#id47 drv5.tmp#id48 drv5.tmp#id49 drv6.tmp#id50 drv2.tmp#id44 drv5.tmp#id26 drv5.tmp#id55 drv5.tmp#id60 drv5.tmp#id76 drv5.tmp#id78 drv7.tmp#id85 drv5.tmp#id25 drv8.tmp#id115 drv8.tmp#id116 drv8.tmp#id117 drv8.tmp#id118 drv8.tmp#id89 drv8.tmp#id95 drv9.tmp#id97 drv10.tmp#id102 drv8.tmp#id105
Type extension of prsn:AccPersonType
Type hierarchy
Used by
Element drv:Driver
Complex Type drv:NonCDLDriverType
Model addr:Address , prty:Phone{1,3} , (dte:DateOfBirth) , prsn:Alcohol{0,1} , prsn:Drugs{0,1} , prsn:InjuryCode , prsn:MedicalTransport , prsnrfct:PersonRelatedFactors , drv:Ejection , drv:Restraint , arbg:AirBagDeployment , lcns:DriverLicense , drv:DriverRelatedFactors
Children addr:Address, arbg:AirBagDeployment, drv:DriverRelatedFactors, drv:Ejection, drv:Restraint, dte:DateOfBirth, lcns:DriverLicense, prsn:Alcohol, prsn:Drugs, prsn:InjuryCode, prsn:MedicalTransport, prsnrfct:PersonRelatedFactors, prty:Phone
Attributes
QName Type Fixed Default Use Annotation
drv:DriverPersonType restriction of xsd:token 01 required
Driver of a Motor Vehicle in Transport
drv:DriverSeatingPosition restriction of xsd:token 11 required
drv:DriverTrappedExtricated xtrctn:Extrication optional
prsn:AncestryEthnicity restriction of xsd:token optional

http://www.cdc.gov/nchs/data/dvs/Mort99doc.pdf

Reference: National Center for Health Statistics.
Documentation for the Mortality Public Use Data Set,
1999.
prsn:Gender restriction of xsd:token required
prsn:Race restriction of xsd:token optional

http://www.cdc.gov/nchs/data/dvs/Mort99doc.pdf

Reference: National Center for Health Statistics.
Documentation for the Mortality Public Use Data Set,
1999.
prsnnm:First xsd:string required
prsnnm:Last xsd:string required
prsnnm:Middle xsd:string required
prsnnm:Suffix xsd:normalizedString optional
tnsr:VehicleManeuver restriction of xsd:token required
Source
<xsd:complexType name="DriverType" mixed="true">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">The primary driver type definition</xsd:documentation>
  </xsd:annotation>
  <xsd:complexContent mixed="true">
    <xsd:extension base="prsn:AccPersonType">
      <xsd:sequence id="DriverSeq">
        <xsd:annotation>
          <xsd:documentation xml:lang="en-US">Driver Element Sequence, Related Factors</xsd:documentation>
        </xsd:annotation>
        <!--Restricted to one driver per vehicle.-->
        <!--					<xsd:element name="Alcohol" type="alchl:AlcoholTestType" minOccurs="0" maxOccurs="3">
						<xsd:annotation>
							<xsd:documentation xml:lang="en-US"
								>Optionally up to three Alcohol tests may be recorded for each Person.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element name="Drugs" type="drg:DrugTestType" minOccurs="0" maxOccurs="3">
						<xsd:annotation>
							<xsd:documentation xml:lang="en-US"
								>Choose up to three Drug tests per Person.  Record the Test Given, the Test Kit ID, and the Results (class of drug) form the available types. TestResultClass and TestGiven are restricted to those represented here.  No others will be accepted.</xsd:documentation>
						</xsd:annotation>
                                                                    </xsd:element>
-->
        <!--					<xsd:element name="MedicalTransport" type="mdcl:MedicalTransportType"
						form="qualified" id="DriverMedicalTransport" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation xml:lang="en-US"
								>Optionally - indicate whether or not the driver was transported for treatment of injuries sustained as a result of this collision.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
-->
        <xsd:element name="Ejection" type="ejctn:EjectionType" form="qualified" id="Ejection"/>
        <xsd:element name="Restraint" type="rstrnt:OccupantRestraintType" form="qualified" id="DriverRestraint"/>
        <xsd:element ref="arbg:AirBagDeployment" id="DriverAirBagdeployment"/>
        <xsd:element ref="lcns:DriverLicense"/>
        <!--<xsd:choice>
						<xsd:annotation>
							<xsd:documentation xml:lang="en-US"
								>Must choose one of Non-Commercial License or Commercial License</xsd:documentation>
						</xsd:annotation>
						<xsd:element name="NonCommercialLicense"
							type="lcns:NonCommercialDriverLicenseType" form="qualified"
							id="DriverNonCommercialLicense" minOccurs="0"/>
						<xsd:element name="CommercialLicense" type="lcns:CommercialDriverLicenseType"
							form="qualified" id="DriverCommercialLicense" minOccurs="0"/>
					</xsd:choice>-->
        <xsd:element name="DriverRelatedFactors" type="drvrfct:DriverRelatedFactorsType" form="qualified" id="DriverRelatedFactors">
          <xsd:annotation>
            <xsd:documentation xml:lang="en-US">Driver related factors. An array of four 2-digit factor codes taken from the simpleType DriverFactorsType.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <!--					<xsd:element ref="drvchg:DrivingOffense" id="DriverOffense" minOccurs="0"/>
					<xsd:element ref="hstact:DriverHistoryAction" id="DriverHistoryAction" minOccurs="0"
						maxOccurs="0">
						This element is reserved.  It is not required to be collected nor sent by the investingating agencies.  The contents and values will be calcualted after the Report has been submitted.
					</xsd:element>
-->
      </xsd:sequence>
      <xsd:attribute name="DriverPersonType" use="required" fixed="01" form="qualified" id="DriverPersonType">
        <xsd:annotation>
          <xsd:documentation>Driver of a Motor Vehicle in Transport</xsd:documentation>
        </xsd:annotation>
        <!--Driver of a Motor Vehicle in Transport-->
        <xsd:simpleType>
          <xsd:restriction base="xsd:token">
            <xsd:length value="2"/>
            <xsd:pattern value="\d{2}"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="DriverSeatingPosition" use="required" fixed="11" form="qualified" id="DriverSeatingPosition">
        <!--Driver seating position is always 11 for a Motor Vehicle in Transport-->
        <xsd:simpleType>
          <xsd:restriction base="xsd:token">
            <xsd:length value="2"/>
            <xsd:pattern value="\d{2}"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="DriverVehicleNo" type="xsd:token" use="prohibited" form="qualified" id="VehicleNo">
        <!--Driver Vehicle Number-->
      </xsd:attribute>
      <xsd:attribute name="DriverTrappedExtricated" type="xtrctn:Extrication" use="optional" form="qualified" id="DriverTrappedExtricated"/>
      <xsd:attribute ref="vhmnvr:VehicleManeuver" use="required" id="DriverVehicleManeuver">
        <!--Driver Vehicle Maneuver-->
      </xsd:attribute>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>
Complex Type drv:NonCDLDriverType
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Annotations
Non commercial driver license element
Diagram
Diagram drv0.tmp#id28 drv3.tmp#id40 drv3.tmp#id27 drv5.tmp#id47 drv5.tmp#id48 drv5.tmp#id49 drv6.tmp#id50 drv2.tmp#id44 drv5.tmp#id26 drv5.tmp#id55 drv5.tmp#id60 drv5.tmp#id76 drv5.tmp#id78 drv7.tmp#id85 drv5.tmp#id25 drv8.tmp#id115 drv8.tmp#id116 drv8.tmp#id117 drv8.tmp#id118 drv8.tmp#id89 drv8.tmp#id95 drv9.tmp#id97 drv10.tmp#id102 drv8.tmp#id105 drv8.tmp#id24
Type extension of drv:DriverType
Type hierarchy
Model addr:Address , prty:Phone{1,3} , (dte:DateOfBirth) , prsn:Alcohol{0,1} , prsn:Drugs{0,1} , prsn:InjuryCode , prsn:MedicalTransport , prsnrfct:PersonRelatedFactors , drv:Ejection , drv:Restraint , arbg:AirBagDeployment , lcns:DriverLicense , drv:DriverRelatedFactors
Children addr:Address, arbg:AirBagDeployment, drv:DriverRelatedFactors, drv:Ejection, drv:Restraint, dte:DateOfBirth, lcns:DriverLicense, prsn:Alcohol, prsn:Drugs, prsn:InjuryCode, prsn:MedicalTransport, prsnrfct:PersonRelatedFactors, prty:Phone
Attributes
QName Type Fixed Default Use Annotation
drv:DriverPersonType restriction of xsd:token 01 required
Driver of a Motor Vehicle in Transport
drv:DriverSeatingPosition restriction of xsd:token 11 required
drv:DriverTrappedExtricated xtrctn:Extrication optional
prsn:AncestryEthnicity restriction of xsd:token optional

http://www.cdc.gov/nchs/data/dvs/Mort99doc.pdf

Reference: National Center for Health Statistics.
Documentation for the Mortality Public Use Data Set,
1999.
prsn:Gender restriction of xsd:token required
prsn:Race restriction of xsd:token optional

http://www.cdc.gov/nchs/data/dvs/Mort99doc.pdf

Reference: National Center for Health Statistics.
Documentation for the Mortality Public Use Data Set,
1999.
prsnnm:First xsd:string required
prsnnm:Last xsd:string required
prsnnm:Middle xsd:string required
prsnnm:Suffix xsd:normalizedString optional
tnsr:VehicleManeuver restriction of xsd:token required
Source
<xsd:complexType name="NonCDLDriverType">
  <xsd:annotation>
    <xsd:documentation xml:lang="en-US">Non commercial driver license element</xsd:documentation>
  </xsd:annotation>
  <xsd:complexContent>
    <xsd:extension base="drv:DriverType"/>
  </xsd:complexContent>
  <!--Non-Commercial Driver License-->
</xsd:complexType>
Attribute drv:DriverType / @drv:DriverPersonType
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Annotations
Driver of a Motor Vehicle in Transport
Type restriction of xsd:token
Facets
length 2
pattern \d{2}
Used by
Complex Type drv:DriverType
Source
<xsd:attribute name="DriverPersonType" use="required" fixed="01" form="qualified" id="DriverPersonType">
  <xsd:annotation>
    <xsd:documentation>Driver of a Motor Vehicle in Transport</xsd:documentation>
  </xsd:annotation>
  <!--Driver of a Motor Vehicle in Transport-->
  <xsd:simpleType>
    <xsd:restriction base="xsd:token">
      <xsd:length value="2"/>
      <xsd:pattern value="\d{2}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute drv:DriverType / @drv:DriverSeatingPosition
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Type restriction of xsd:token
Facets
length 2
pattern \d{2}
Used by
Complex Type drv:DriverType
Source
<xsd:attribute name="DriverSeatingPosition" use="required" fixed="11" form="qualified" id="DriverSeatingPosition">
  <!--Driver seating position is always 11 for a Motor Vehicle in Transport-->
  <xsd:simpleType>
    <xsd:restriction base="xsd:token">
      <xsd:length value="2"/>
      <xsd:pattern value="\d{2}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute drv:DriverType / @drv:DriverVehicleNo
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Type xsd:token
Used by
Complex Type drv:DriverType
Source
<xsd:attribute name="DriverVehicleNo" type="xsd:token" use="prohibited" form="qualified" id="VehicleNo">
  <!--Driver Vehicle Number-->
</xsd:attribute>
Attribute drv:DriverType / @drv:DriverTrappedExtricated
Namespace http://www.tnsaferoads.net/mvc/drv/drv
Type xtrctn:Extrication
Facets
length 2
enumeration 00
Not Extricated Or Not Applicable
enumeration 01
Extricated
enumeration 09
Unknown
pattern \d{2}
Used by
Complex Type drv:DriverType
Source
<xsd:attribute name="DriverTrappedExtricated" type="xtrctn:Extrication" use="optional" form="qualified" id="DriverTrappedExtricated"/>