Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <xs:schema xmlns:ha1="http://localhost/ProblemReport.xsd" xmlns:types="http://localhost/dropdownvalues.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://localhost/ProblemReport.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import schemaLocation="dropdownvalues.xsd" namespace="http://localhost/dropdownvalues.xsd" />
- <xs:element name="ProblemReport">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="InjuredPartyDetails">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ProblemType" type="types:ProblemType">
- </xs:element>
- <xs:element name="ProblemDate" type="xs:date">
- </xs:element>
- <xs:element name="ProblemTime" type="xs:time">
- </xs:element>
- <xs:element name="Forename">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="255" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Surname">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="255" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Age" type="types:AgeType">
- </xs:element>
- <xs:element name="Gender" type="types:GenderType">
- </xs:element>
- <xs:element name="Nationality" type="types:NationalityType">
- </xs:element>
- <xs:element name="EmploymentStatus" type="types:EmploymentStatusType">
- </xs:element>
- <xs:element name="ReturnedToWork" type="types:YesNoOptionType">
- </xs:element>
- <xs:element name="Occupation" type="types:OccupationDetailsType">
- </xs:element>
- <xs:element name="OccupationOther" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="30" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="AnticipatedPeriodOfAbsence" type="types:UnableToWorkType">
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="ProblemDetails">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ID_NUMBER">
- <xs:simpleType>
- <xs:restriction base="xs:int">
- <xs:minInclusive value="1" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ImpactOnVictim" type="types:ImpactOnVictimType" minOccurs="0">
- </xs:element>
- <xs:element name="ProblemDescription">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2000" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="InjuryDetails">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="WorkplaceEnvironment" type="types:WorkplaceDetailsType">
- </xs:element>
- <xs:element name="WorkplaceEnvironmentOther" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="60" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ProblemTrigger" type="types:ProblemTriggerType">
- </xs:element>
- <xs:element name="ProblemTriggerOther" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="60" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="InjuryReason" type="types:InjuryReasonType">
- </xs:element>
- <xs:element name="InjuryReasonOther" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="60" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="InjuryType" type="types:InjuryTypeType">
- </xs:element>
- <xs:element name="InjuryTypeOther" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="60" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="BodyPartInjury" type="types:BodyPartType">
- </xs:element>
- <xs:element name="BodyPartOther" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="30" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement