schema location: | ..\..\ReportWS.xsd |
diagram | ![]() |
type | GetNextReportRequestType |
children | ServiceProviderId DocumentType MessageGUID |
source | <xs:element name="GetNextReportRequest" type="GetNextReportRequestType"/> |
diagram | ![]() |
type | GetNextReportResponseType |
children | ItemsInQueue Report |
source | <xs:element name="GetNextReportResponse" type="GetNextReportResponseType"/> |
diagram | ![]() |
children | ServiceProviderId FromDate ToDate Status Reciever |
source | <xs:element name="ListReportStatusesRequest"> <xs:complexType> <xs:sequence> <xs:element name="ServiceProviderId" type="xs:string"> <xs:annotation> <xs:documentation>Id for serviceprovider in the document, same as LabId. Used for routing document to correct database. E.g. TR_NSL, MO_SYMPATHY</xs:documentation> </xs:annotation> </xs:element> <xs:element name="FromDate" type="xs:dateTime"> <xs:annotation> <xs:documentation>Search from date/time</xs:documentation> </xs:annotation> </xs:element> <xs:element name="ToDate" type="xs:dateTime"> <xs:annotation> <xs:documentation>Search to date/time</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Status" type="ReportStatusType" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>Status for the reports If not set then From and To date must be the same</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Reciever" type="IdCodeNameTypeLabReport" minOccurs="0"> <xs:annotation> <xs:documentation>Search for reports on one requester/reciever</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="ServiceProviderId" type="xs:string"> <xs:annotation> <xs:documentation>Id for serviceprovider in the document, same as LabId. Used for routing document to correct database. E.g. TR_NSL, MO_SYMPATHY</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:dateTime | ||
annotation |
|
||
source | <xs:element name="FromDate" type="xs:dateTime"> <xs:annotation> <xs:documentation>Search from date/time</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:dateTime | ||
annotation |
|
||
source | <xs:element name="ToDate" type="xs:dateTime"> <xs:annotation> <xs:documentation>Search to date/time</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||||||||||||
type | ReportStatusType | ||||||||||||
facets |
|
||||||||||||
annotation |
|
||||||||||||
source | <xs:element name="Status" type="ReportStatusType" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>Status for the reports If not set then From and To date must be the same</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | IdCodeNameTypeLabReport | ||
children | Id TypeOfId Code Name | ||
annotation |
|
||
source | <xs:element name="Reciever" type="IdCodeNameTypeLabReport" minOccurs="0"> <xs:annotation> <xs:documentation>Search for reports on one requester/reciever</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
children | ReportStatuses |
source | <xs:element name="ListReportStatusesResponse"> <xs:complexType> <xs:sequence> <xs:element name="ReportStatuses" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="ReportStatus" type="ListReportStatusType" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
diagram | ![]() |
children | ReportStatus |
source | <xs:element name="ReportStatuses" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="ReportStatus" type="ListReportStatusType" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> |
diagram | ![]() |
type | ListReportStatusType |
children | LabDocumentId ReportingDate Status Message Recievers LabType ReportYear ReportNumber ProviderSystem ExternalId ExternalLID |
source | <xs:element name="ReportStatus" type="ListReportStatusType" maxOccurs="unbounded"/> |
diagram | ![]() |
type | extension of SaveReportStatusRequestType |
children | LabDocumentId Status Message |
source | <xs:element name="SaveReportStatusRequest"> <xs:complexType> <xs:complexContent> <xs:extension base="SaveReportStatusRequestType"/> </xs:complexContent> </xs:complexType> </xs:element> |
diagram | ![]() |
source | <xs:element name="SaveReportStatusResponse"/> |
diagram | ![]() |
||
children | ServiceProviderId DocumentType MessageGUID | ||
used by |
|
||
source | <xs:complexType name="GetNextReportRequestType"> <xs:sequence> <xs:element name="ServiceProviderId" type="xs:string"> <xs:annotation> <xs:documentation>Id for serviceprovider in the document, same as LabId. Used for routing document to correct database. E.g. TR_NSL, MO_SYMPATHY</xs:documentation> </xs:annotation> </xs:element> <xs:element name="DocumentType" type="xs:string"> <xs:annotation> <xs:documentation>Type of content format wanted for teh returned document. Valid vaules are: KITH1.1 KITH1.3 Future expansion will be: HL7</xs:documentation> </xs:annotation> </xs:element> <xs:element name="MessageGUID" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>GUID from sender ensuring a result/report can be reproduced. Only used/supported if LAB system can use it</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="ServiceProviderId" type="xs:string"> <xs:annotation> <xs:documentation>Id for serviceprovider in the document, same as LabId. Used for routing document to correct database. E.g. TR_NSL, MO_SYMPATHY</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="DocumentType" type="xs:string"> <xs:annotation> <xs:documentation>Type of content format wanted for teh returned document. Valid vaules are: KITH1.1 KITH1.3 Future expansion will be: HL7</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="MessageGUID" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>GUID from sender ensuring a result/report can be reproduced. Only used/supported if LAB system can use it</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
children | ItemsInQueue Report | ||
used by |
|
||
source | <xs:complexType name="GetNextReportResponseType"> <xs:sequence> <xs:element name="ItemsInQueue" type="xs:int"> <xs:annotation> <xs:documentation>Number of more reports in queue. Can also be an indication whether more reports exist</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Report" minOccurs="0"> <xs:annotation> <xs:documentation>Element containing a KITH report, if any</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="LabDocumentId" type="xs:string"> <xs:annotation> <xs:documentation>Unique id for LAB and report/request. Must be used for saving report state later. Can be a combined id.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Document"> <xs:annotation> <xs:documentation>Report in KITH format.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:any/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="MessageGUID" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>GUID from sender ensuring a result/report can be reproduced. Only used/supported if LAB system can use it</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> |
diagram | ![]() |
||
type | xs:int | ||
annotation |
|
||
source | <xs:element name="ItemsInQueue" type="xs:int"> <xs:annotation> <xs:documentation>Number of more reports in queue. Can also be an indication whether more reports exist</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
children | LabDocumentId Document MessageGUID | ||
annotation |
|
||
source | <xs:element name="Report" minOccurs="0"> <xs:annotation> <xs:documentation>Element containing a KITH report, if any</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="LabDocumentId" type="xs:string"> <xs:annotation> <xs:documentation>Unique id for LAB and report/request. Must be used for saving report state later. Can be a combined id.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Document"> <xs:annotation> <xs:documentation>Report in KITH format.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:any/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="MessageGUID" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>GUID from sender ensuring a result/report can be reproduced. Only used/supported if LAB system can use it</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="LabDocumentId" type="xs:string"> <xs:annotation> <xs:documentation>Unique id for LAB and report/request. Must be used for saving report state later. Can be a combined id.</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
annotation |
|
||
source | <xs:element name="Document"> <xs:annotation> <xs:documentation>Report in KITH format.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:any/> </xs:sequence> </xs:complexType> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="MessageGUID" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>GUID from sender ensuring a result/report can be reproduced. Only used/supported if LAB system can use it</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
children | Id TypeOfId Code Name | ||
used by |
|
||
annotation |
|
||
source | <xs:complexType name="IdCodeNameTypeLabReport"> <xs:annotation> <xs:documentation>Type with id, typeofid, code and name</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="Id" type="xs:string"> <xs:annotation> <xs:documentation>Id</xs:documentation> </xs:annotation> </xs:element> <xs:element name="TypeOfId" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Type of Id Empty/LOC = Unkown lLocal id in PAS LIN = Local institution id LAV = Local medical unit /department id LEN = Local care unit id LUI = Local Unique Id HER = HER id LRC=Local Requester code</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Code" type="xs:string" minOccurs="0"/> <xs:element name="Name" type="xs:string" minOccurs="0"/> </xs:sequence> </xs:complexType> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="Id" type="xs:string"> <xs:annotation> <xs:documentation>Id</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="TypeOfId" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Type of Id Empty/LOC = Unkown lLocal id in PAS LIN = Local institution id LAV = Local medical unit /department id LEN = Local care unit id LUI = Local Unique Id HER = HER id LRC=Local Requester code</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
type | xs:string |
source | <xs:element name="Code" type="xs:string" minOccurs="0"/> |
diagram | ![]() |
type | xs:string |
source | <xs:element name="Name" type="xs:string" minOccurs="0"/> |
diagram | ![]() |
||
children | LabDocumentId ReportingDate Status Message Recievers LabType ReportYear ReportNumber ProviderSystem ExternalId ExternalLID | ||
used by |
|
||
source | <xs:complexType name="ListReportStatusType"> <xs:sequence> <xs:element name="LabDocumentId" type="xs:string"> <xs:annotation> <xs:documentation>Unique id for LAB and report/request. Can be a combined id.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="ReportingDate" type="xs:dateTime"> <xs:annotation> <xs:documentation>Report date/time when report was sent, or if provider does not av sent date then last date/time when report was updated.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Status" type="ReportStatusType"> <xs:annotation> <xs:documentation>Status for the reports</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Message" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Status message from report receiver with warning or error text regarding delivery of the report.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Recievers" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>The requesters/recivers for the report</xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="IdCodeNameTypeLabReport"> <xs:sequence> <xs:element name="RecieverType" type="xs:string"> <xs:annotation> <xs:documentation>Type of reciever. P = Primary C = Copy</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:element name="LabType" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Lab type. E.g. CLIN, MBIO .....</xs:documentation> </xs:annotation> </xs:element> <xs:element name="ReportYear" type="xs:string"> <xs:annotation> <xs:documentation>Report year, normmaly year for request</xs:documentation> </xs:annotation> </xs:element> <xs:element name="ReportNumber" type="xs:string"> <xs:annotation> <xs:documentation>Report number, normmaly number given for request or at request time.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="ProviderSystem" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>E.g. SubSystem in NSL/NSML</xs:documentation> </xs:annotation> </xs:element> <xs:element name="ExternalId" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>External id from requester. e.g. ActivityGUID in RoS</xs:documentation> </xs:annotation> </xs:element> <xs:element name="ExternalLID" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>External LID from requester. e.g. Sampleyear/No from RoS</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="LabDocumentId" type="xs:string"> <xs:annotation> <xs:documentation>Unique id for LAB and report/request. Can be a combined id.</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:dateTime | ||
annotation |
|
||
source | <xs:element name="ReportingDate" type="xs:dateTime"> <xs:annotation> <xs:documentation>Report date/time when report was sent, or if provider does not av sent date then last date/time when report was updated.</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||||||||||||
type | ReportStatusType | ||||||||||||
facets |
|
||||||||||||
annotation |
|
||||||||||||
source | <xs:element name="Status" type="ReportStatusType"> <xs:annotation> <xs:documentation>Status for the reports</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="Message" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Status message from report receiver with warning or error text regarding delivery of the report.</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | extension of IdCodeNameTypeLabReport | ||
children | Id TypeOfId Code Name RecieverType | ||
annotation |
|
||
source | <xs:element name="Recievers" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>The requesters/recivers for the report</xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="IdCodeNameTypeLabReport"> <xs:sequence> <xs:element name="RecieverType" type="xs:string"> <xs:annotation> <xs:documentation>Type of reciever. P = Primary C = Copy</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="RecieverType" type="xs:string"> <xs:annotation> <xs:documentation>Type of reciever. P = Primary C = Copy</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="LabType" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Lab type. E.g. CLIN, MBIO .....</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="ReportYear" type="xs:string"> <xs:annotation> <xs:documentation>Report year, normmaly year for request</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="ReportNumber" type="xs:string"> <xs:annotation> <xs:documentation>Report number, normmaly number given for request or at request time.</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="ProviderSystem" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>E.g. SubSystem in NSL/NSML</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="ExternalId" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>External id from requester. e.g. ActivityGUID in RoS</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="ExternalLID" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>External LID from requester. e.g. Sampleyear/No from RoS</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
children | LabDocumentId Status Message | ||
used by |
|
||
source | <xs:complexType name="SaveReportStatusRequestType"> <xs:sequence> <xs:element name="LabDocumentId" type="xs:string"> <xs:annotation> <xs:documentation>Unique id for LAB and report/request. Can be a combined id.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Status" type="ReportStatusType"> <xs:annotation> <xs:documentation>Status for the report send</xs:documentation> </xs:annotation> </xs:element> <xs:element name="Message" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Message from reciever to be saved in LAB</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="LabDocumentId" type="xs:string"> <xs:annotation> <xs:documentation>Unique id for LAB and report/request. Can be a combined id.</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||||||||||||
type | ReportStatusType | ||||||||||||
facets |
|
||||||||||||
annotation |
|
||||||||||||
source | <xs:element name="Status" type="ReportStatusType"> <xs:annotation> <xs:documentation>Status for the report send</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||
type | xs:string | ||
annotation |
|
||
source | <xs:element name="Message" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Message from reciever to be saved in LAB</xs:documentation> </xs:annotation> </xs:element> |
type | restriction of xs:string | ||||||||||||
used by |
|
||||||||||||
facets |
|
||||||||||||
source | <xs:simpleType name="ReportStatusType"> <xs:restriction base="xs:string"> <xs:enumeration value="NotSet"/> <xs:enumeration value="Ok"/> <xs:enumeration value="Error"/> <xs:enumeration value="Resend"/> <xs:enumeration value="ReadyForSend"/> <xs:enumeration value="Processing"/> </xs:restriction> </xs:simpleType> |