User Tools

Site Tools


en:jobdata:version010604:complextypes:pair

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:jobdata:version010604:complextypes:pair [2020/11/09 16:26] hansobermayeren:jobdata:version010604:complextypes:pair [2021/05/10 12:21] (current) hansobermayer
Line 1: Line 1:
 +====== pair (Pair) ======
 +
 +[[en:jobdata:version010604:structure|b2bOpticJobData]] -> [[en:jobdata:version010604:structure|items]] -> [[en:jobdata:version010604:complextypes:item|item]] -> pair
 +
 +{{:en:jobdata:version010604:images:pair.png?nolink|Pair}}
 +
 +^ [[en:jobdata:version010604:complextypes:patient|patient]] ^^
 +^ type | [[en:jobdata:version010604:complextypes:patient|Patient]] |
 +^ occurs | 0..1 |
 +^ description | data that are patient specific |
 +
 +^ [[en:jobdata:version010604:complextypes:lens|lens]] ^^
 +^ type | [[en:jobdata:version010604:complextypes:lens|Lens]] |
 +^ occurs | 0..2 |
 +^ description | lens data |
 +
 +^ //quantity (attribute of lens)// ^^
 +^ type | integer |
 +^ use | required |
 +^ description | the quantity of lenses for one side |
 +
 +^ [[en:jobdata:version010604:complextypes:frame|frame]] ^^
 +^ type | [[en:jobdata:version010604:complextypes:frame|Frame]] |
 +^ occurs | 0..1 |
 +^ description | frame data |
 +
 +^ [[en:jobdata:version010604:complextypes:edging|edging]] ^^
 +^ type | [[en:jobdata:version010604:complextypes:edging|Edging]] |
 +^ occurs | 0..1 |
 +^ description |  |
 +
 +^ [[en:jobdata:version010604:complextypes:fitting|fitting]] ^^
 +^ type | [[en:jobdata:version010604:complextypes:fitting|Fitting]] |
 +^ occurs | 0..1 |
 +^ description |  |
 +
 +^ remark ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description |  |
 +
 +^ thicknessMatching ^^
 +^ type | boolean |
 +^ occurs | 0..1 |
 +^ default | false |
 +^ description |  |
 +
 +^ weightMatching ^^
 +^ type | boolean |
 +^ occurs | 0..1 |
 +^ default | false |
 +^ description |  |
 +
 +^ prismMatching ^^
 +^ type | boolean |
 +^ occurs | 0..1 |
 +^ default | false |
 +^ description |  |
 +
 +^ baseMatching ^^
 +^ type | boolean |
 +^ occurs | 0..1 |
 +^ default | false |
 +^ description |  |
 +
 +^ ISNEWLO010604 inkMarkings ^^
 +^ type | boolean |
 +^ occurs | 0..1 |
 +^ default | true |
 +^ description | set to false if no inkMarkings|
 +
 +<code xml>
 +<xs:complexType name="Pair">
 +  <xs:sequence>
 +    <xs:element name="patient" type="Patient" minOccurs="0"/>
 +    <xs:element name="lens" minOccurs="0" maxOccurs="2">
 +      <xs:complexType>
 +        <xs:complexContent>
 +          <xs:extension base="Lens">
 +            <xs:attribute name="quantity" type="xs:integer" use="required"/>
 +          </xs:extension>
 +        </xs:complexContent>
 +      </xs:complexType>
 +    </xs:element>
 +    <xs:element name="frame" type="Frame" minOccurs="0"/>
 +    <xs:element name="edging" type="Edging" minOccurs="0"/>
 +    <xs:element name="fitting" type="Fitting" minOccurs="0"/>
 +    <xs:element name="remark" type="xs:string" minOccurs="0"/>
 +    <xs:element name="thicknessMatching" type="xs:boolean" default="false" minOccurs="0"/>
 +    <xs:element name="weightMatching" type="xs:boolean" default="false" minOccurs="0"/>
 +    <xs:element name="prismMatching" type="xs:boolean" default="false" minOccurs="0"/>
 +    <xs:element name="baseMatching" type="xs:boolean" default="false" minOccurs="0"/>
 +    <xs:element name="inkMarkings" type="xs:boolean" default="true" minOccurs="0"/>
 +  </xs:sequence>
 +</xs:complexType>
 +</code>