[507] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <!--
|
---|
| 3 | IHE Retrieve Form for Data Capture (RFD) XML Schema
|
---|
| 4 | for usage in WSDL defintions.
|
---|
| 5 | -->
|
---|
| 6 | <xsd:schema targetNamespace="urn:ihe:iti:rfd:2007"
|
---|
| 7 | xmlns:rfd="urn:ihe:iti:rfd:2007"
|
---|
| 8 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
| 9 | elementFormDefault="qualified">
|
---|
| 10 |
|
---|
| 11 | <xsd:complexType name="anyXMLContentType">
|
---|
| 12 | <xsd:sequence>
|
---|
| 13 | <xsd:any namespace="##any" maxOccurs="unbounded"
|
---|
| 14 | processContents="skip" />
|
---|
| 15 | </xsd:sequence>
|
---|
| 16 | </xsd:complexType>
|
---|
| 17 |
|
---|
| 18 | <xsd:complexType name="formDataType">
|
---|
| 19 | <xsd:choice>
|
---|
| 20 | <xsd:element name="Structured" type="rfd:anyXMLContentType">
|
---|
| 21 | <xsd:annotation>
|
---|
| 22 | <xsd:documentation>XML encoding of form</xsd:documentation>
|
---|
| 23 | </xsd:annotation>
|
---|
| 24 | </xsd:element>
|
---|
| 25 | <xsd:element name="Unstructured" type="xsd:base64Binary">
|
---|
| 26 | <xsd:annotation>
|
---|
| 27 | <xsd:documentation>
|
---|
| 28 | base64Binary encoding of from
|
---|
| 29 | </xsd:documentation>
|
---|
| 30 | </xsd:annotation>
|
---|
| 31 | </xsd:element>
|
---|
| 32 | <xsd:element name="URL" type="xsd:anyURI">
|
---|
| 33 | <xsd:annotation>
|
---|
| 34 | <xsd:documentation>
|
---|
| 35 | URL of form that can be directly launched into a web browser
|
---|
| 36 | application
|
---|
| 37 | </xsd:documentation>
|
---|
| 38 | </xsd:annotation>
|
---|
| 39 | </xsd:element>
|
---|
| 40 | </xsd:choice>
|
---|
| 41 | </xsd:complexType>
|
---|
| 42 |
|
---|
| 43 | <xsd:complexType name="RetrieveFormRequestType">
|
---|
| 44 | <xsd:sequence>
|
---|
| 45 | <xsd:element name="formID" type="xsd:string">
|
---|
| 46 | <xsd:annotation>
|
---|
| 47 | <xsd:documentation>
|
---|
| 48 | The identifier of the form to be retrieved.
|
---|
| 49 | </xsd:documentation>
|
---|
| 50 | </xsd:annotation>
|
---|
| 51 | </xsd:element>
|
---|
| 52 | <xsd:element name="encodedResponse" type="xsd:boolean"
|
---|
| 53 | default="true">
|
---|
| 54 | <xsd:annotation>
|
---|
| 55 | <xsd:documentation>
|
---|
| 56 | true - return either Structured or Unstructured inline form
|
---|
| 57 | content false - return a URL to the form
|
---|
| 58 | </xsd:documentation>
|
---|
| 59 | </xsd:annotation>
|
---|
| 60 | </xsd:element>
|
---|
| 61 | <xsd:element name="archiveURL" type="xsd:anyURI" minOccurs="0">
|
---|
| 62 | <xsd:annotation>
|
---|
| 63 | <xsd:documentation>
|
---|
| 64 | The URL that the Form Filler provides to the Form Manager so
|
---|
| 65 | that the returned form can have the archive location
|
---|
| 66 | prefilled.
|
---|
| 67 | </xsd:documentation>
|
---|
| 68 | </xsd:annotation>
|
---|
| 69 | </xsd:element>
|
---|
| 70 | <xsd:element name="prepopData" type="rfd:anyXMLContentType"
|
---|
| 71 | minOccurs="0">
|
---|
| 72 | <xsd:annotation>
|
---|
| 73 | <xsd:documentation>
|
---|
| 74 | Optionally include the XML data to be used by the
|
---|
| 75 | FormManager to prefill the form prior to returning.
|
---|
| 76 | </xsd:documentation>
|
---|
| 77 | </xsd:annotation>
|
---|
| 78 | </xsd:element>
|
---|
| 79 | </xsd:sequence>
|
---|
| 80 | </xsd:complexType>
|
---|
| 81 |
|
---|
| 82 | <xsd:element name="RetrieveFormRequest"
|
---|
| 83 | type="rfd:RetrieveFormRequestType" />
|
---|
| 84 |
|
---|
| 85 | <xsd:complexType name="RetrieveFormResponseType">
|
---|
| 86 | <xsd:sequence>
|
---|
| 87 | <xsd:element name="form" type="rfd:formDataType">
|
---|
| 88 | <xsd:annotation>
|
---|
| 89 | <xsd:documentation>The retrieved form</xsd:documentation>
|
---|
| 90 | </xsd:annotation>
|
---|
| 91 | </xsd:element>
|
---|
| 92 | <xsd:element name="contentType" type="xsd:string">
|
---|
| 93 | <xsd:annotation>
|
---|
| 94 | <xsd:documentation>
|
---|
| 95 | The MIME type associated with the retrieved form. This is
|
---|
| 96 | has no meaning when encodedResponse='false'.
|
---|
| 97 | </xsd:documentation>
|
---|
| 98 | </xsd:annotation>
|
---|
| 99 | </xsd:element>
|
---|
| 100 | <xsd:element name="responseCode" type="xsd:string" />
|
---|
| 101 | </xsd:sequence>
|
---|
| 102 | </xsd:complexType>
|
---|
| 103 |
|
---|
| 104 | <xsd:element name="RetrieveFormResponse"
|
---|
| 105 | type="rfd:RetrieveFormResponseType" />
|
---|
| 106 |
|
---|
| 107 | <xsd:element name="SubmitFormRequest" type="rfd:anyXMLContentType" />
|
---|
| 108 |
|
---|
| 109 | <xsd:complexType name="SubmitFormResponseType">
|
---|
| 110 | <xsd:sequence>
|
---|
| 111 | <xsd:element name="content" type="rfd:formDataType" minOccurs="0">
|
---|
| 112 | <xsd:annotation>
|
---|
| 113 | <xsd:documentation>If there is a content to be returned based on a
|
---|
| 114 | subsequent need to have the FormFiller present a form, then it would
|
---|
| 115 | be present there.
|
---|
| 116 | </xsd:documentation>
|
---|
| 117 | </xsd:annotation>
|
---|
| 118 | </xsd:element>
|
---|
| 119 | <xsd:element name="contentType" type="xsd:string" minOccurs="0">
|
---|
| 120 | <xsd:annotation>
|
---|
| 121 | <xsd:documentation>
|
---|
| 122 | The MIME type associated with the response content. The submitting
|
---|
| 123 | form will be designed in such a way that works in coordination
|
---|
| 124 | with a FormReceiver that returns this.
|
---|
| 125 | </xsd:documentation>
|
---|
| 126 | </xsd:annotation>
|
---|
| 127 | </xsd:element>
|
---|
| 128 | <xsd:element name="responseCode" type="xsd:string" />
|
---|
| 129 | </xsd:sequence>
|
---|
| 130 | </xsd:complexType>
|
---|
| 131 |
|
---|
| 132 | <xsd:element name="SubmitFormResponse"
|
---|
| 133 | type="rfd:SubmitFormResponseType" />
|
---|
| 134 |
|
---|
| 135 | <xsd:element name="ArchiveFormRequest" type="rfd:anyXMLContentType" />
|
---|
| 136 |
|
---|
| 137 | <xsd:complexType name="ArchiveFormResponseType">
|
---|
| 138 | <xsd:sequence>
|
---|
| 139 | <xsd:element name="responseCode" type="xsd:string" />
|
---|
| 140 | </xsd:sequence>
|
---|
| 141 | </xsd:complexType>
|
---|
| 142 |
|
---|
| 143 | <xsd:element name="ArchiveFormResponse"
|
---|
| 144 | type="rfd:ArchiveFormResponseType" />
|
---|
| 145 |
|
---|
| 146 | <xsd:complexType name="RetrieveClarificationRequestType">
|
---|
| 147 | <xsd:sequence>
|
---|
| 148 | <xsd:element name="orgID" type="xsd:string">
|
---|
| 149 | <xsd:annotation>
|
---|
| 150 | <xsd:documentation>
|
---|
| 151 | Identifies the organization requiring the clarifications
|
---|
| 152 | </xsd:documentation>
|
---|
| 153 | </xsd:annotation>
|
---|
| 154 | </xsd:element>
|
---|
| 155 | <xsd:element name="archiveURL" type="xsd:anyURI" minOccurs="0">
|
---|
| 156 | <xsd:annotation>
|
---|
| 157 | <xsd:documentation>
|
---|
| 158 | The URL that the Form Filler provides to the Form Manager so
|
---|
| 159 | that the returned form can have the archive location
|
---|
| 160 | prefilled.
|
---|
| 161 | </xsd:documentation>
|
---|
| 162 | </xsd:annotation>
|
---|
| 163 | </xsd:element>
|
---|
| 164 | <xsd:element name="encodedResponse" type="xsd:boolean"
|
---|
| 165 | default="true">
|
---|
| 166 | <xsd:annotation>
|
---|
| 167 | <xsd:documentation>
|
---|
| 168 | true - return either Structured or Unstructured inline form
|
---|
| 169 | content false - return a URL to the form
|
---|
| 170 | </xsd:documentation>
|
---|
| 171 | </xsd:annotation>
|
---|
| 172 | </xsd:element>
|
---|
| 173 | </xsd:sequence>
|
---|
| 174 | </xsd:complexType>
|
---|
| 175 |
|
---|
| 176 | <xsd:element name="RetrieveClarificationRequest"
|
---|
| 177 | type="rfd:RetrieveClarificationRequestType" />
|
---|
| 178 |
|
---|
| 179 | <xsd:element name="RetrieveClarificationResponse"
|
---|
| 180 | type="rfd:RetrieveFormResponseType" />
|
---|
| 181 | </xsd:schema>
|
---|