Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
CREATE TABLE XML_IMPORT_TEMP (XML_DATA CLOB);
INSERT INTO XML_IMPORT_TEMP (XML_DATA) values ('');
INSERT INTO MESSAGE_DOCUMENT(MESSAGE_DOCUMENT_ID,DOCUMENT_SCHEMA) VALUES ('1',XMLTYPE.createxml('<xml/>'));
UPDATE XML_IMPORT_TEMP SET XML_DATA = '';
UPDATE XML_IMPORT_TEMP SET XML_DATA = XML_DATA || '<?xml version="1.0" ?>
<xs:schema id="MessageBody" targetNamespace="[URL unfurl="true"]http://tempuri.org/MessageBody.xsd"[/URL] xmlns:mstns="[URL unfurl="true"]http://tempuri.org/MessageBody.xsd"[/URL]
xmlns="[URL unfurl="true"]http://tempuri.org/MessageBody.xsd"[/URL] xmlns:xs="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema"[/URL]
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="MessageBody" msdata:IsDataSet="true" msdata:Locale="en-GB" msdata:EnforceConstraints="False">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="TestDoc">
BLAH, BLAH, BLAH
--WHOPPING GREAT CHUNK OF XML REMOVED
--FOR REASONS OF CONFIDENTIALITY
BLAH, BLAH BLAH
<xs:element name="Location';
UPDATE XML_IMPORT_TEMP SET XML_DATA = XML_DATA || '" type="xs:int" minOccurs="0" />
<xs:element name="OrderNumber" type="xs:string" minOccurs="0" />
<xs:element name="TestLibraryCode" type="xs:string" minOccurs="0" />
</xs:sequence>
BLAH, BLAH, BLAH
--WHOPPING GREAT CHUNK OF XML REMOVED
--FOR REASONS OF CONFIDENTIALITY
BLAH, BLAH BLAH <xs:element name="HistCassetteLabelDoc">
<xs:complexType>
<xs:sequence>
<xs:element name="HistPatientBlocksID" type="x';
UPDATE XML_IMPORT_TEMP SET XML_DATA = XML_DATA || 's:int" minOccurs="0" />
<xs:element name="BlockIndex" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EmbeddedMessageDoc">
<xs:complexType>
<xs:sequence>
BLAH, BLAH, BLAH
--WHOPPING GREAT CHUNK OF XML REMOVED
--FOR REASONS OF CONFIDENTIALITY
BLAH, BLAH BLAH
<xs:complexType>
<xs:sequence>
<xs:element name="LabNumber" type="xs:string" minOccurs="0" />
<xs';
UPDATE XML_IMPORT_TEMP SET XML_DATA = XML_DATA || ':element name="ClinicianID" type="xs:int" minOccurs="0" />
<xs:element name="SourceID" type="xs:int" minOccurs="0" />
<xs:element name="ReportSection" type="xs:string" minOccurs="0" msdata:Ordinal="1" />
<xs:element name="Status" type="xs:string" minOccurs="0" />
</xs:sequence>
<xs:attribute name="EventTypeDescription" form="unqualified" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>';
UPDATE MESSAGE_DOCUMENT SET DOCUMENT_SCHEMA = (SELECT XMLTYPE.createxml(XML_DATA) FROM XML_IMPORT_TEMP) WHERE MESSAGE_DOCUMENT_ID = 1;
DROP TABLE XML_IMPORT_TEMP CASCADE CONSTRAINTS;
COMMIT;