PTS XML STANDARD GUIDELINE

Similar documents
/// Rapport. / Testdocumentatie nieuwe versie Register producten en dienstverlening (IPDC)

Oracle Enterprise Data Quality

TED schemas. Governance and latest updates

Oracle Hospitality OPERA Web Self- Service Brochure Web Service Specification Version 5.1. September 2017

Oracle B2B 11g Technical Note. Technical Note: 11g_005 Attachments. Table of Contents

QosPolicyHolder:1 Erratum

Allegato: AgibilitaRequest_V.1.1.xsd

Infor Enterprise Server User Guide for Triggering

ՕՐԻՆԱԿ. <xs:schema targetnamespace=" xmlns:tax="

<xs:element name="record" type="recordtype" maxoccurs="unbounded" /> </xs:sequence> </xs:complextype>

Level of Assurance Authentication Context Profiles for SAML 2.0

AlwaysUp Web Service API Version 11.0

Intellectual Property Rights Notice for Open Specifications Documentation

Restricting complextypes that have mixed content

SMKI Repository Interface Design Specification TPMAG baseline submission draft version 8 September 2015

Oracle Utilities Opower Energy Efficiency Web Portal - Classic Single Sign-On

Cisco Unity Connection Notification Interface (CUNI) API

Markup Languages. Lecture 4. XML Schema

[MS-SSISPARAMS-Diff]: Integration Services Project Parameter File Format. Intellectual Property Rights Notice for Open Specifications Documentation

Testing of Service Oriented Architectures A practical approach / APPENDIX V1.0

Messages are securely encrypted using HTTPS. HTTPS is the most commonly used secure method of exchanging data among web browsers.

[MS-TMPLDISC]: Template Discovery Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Document erratum applies to QosDevice:1. List other Erratum s or Documents that this change may apply to or have associated changes with

The following is a sample XML code from the HCSProductCatalog.wsdl file.

Approaches to using NEMSIS V3 Custom Elements

UPDATES TO THE LRIT SYSTEM. Report of the Drafting Group

MWTM NBAPI WSDL and XSD Definitions

<?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:types=" xmlns:xs="

XML extensible Markup Language

Software Engineering Methods, XML extensible Markup Language. Tutorial Outline. An Example File: Note.xml XML 1

Apache UIMA Regular Expression Annotator Documentation

[MS-MSL]: Mapping Specification Language File Format. Intellectual Property Rights Notice for Open Specifications Documentation

Using Inventory Export Guide

7.1. Redovna datoteka sa slogovima koji se odnose na kupnje i prodaje valuta na tržištu stranih sredstava plaćanja

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-QDEFF]: Query Definition File Format. Intellectual Property Rights Notice for Open Specifications Documentation

General Service Subscription Management Technical Specification

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Overview of the EU ETS Reporting Language (XETL)

[MS-QDEFF]: Query Definition File Format. Intellectual Property Rights Notice for Open Specifications Documentation

Project Members: Aniket Prabhune Reenal Mahajan Mudita Singhal

PLANNED RESOURCE SCHEDULE DOCUMENT UML MODEL AND SCHEMA

RESOURCE SCHEDULE CONFIRMATION DOCUMENT UML MODEL AND SCHEMA

file://c:\michael\prog\mast\docs\tmp0000.xsd

MWTM 6.1 NBAPI WSDL and XSD Definitions

ETSI TS V9.2.0 ( ) Technical Specification

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Capability Advertisement Messages

Managing Product Master Data

Custom Data Access with MapObjects Java Edition

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Released to: TSCP Architecture Committee

3GPP TS V ( )

Web Service Provider Example - Enabling Visible Business

X3D Unit Specification Updates Myeong Won Lee The University of Suwon

VDS Service Broker APIs

MESH client File Interface Specification

[MS-KPS-Diff]: Key Protection Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

ENGINEERING COMMITTEE Digital Video Subcommittee

[MS-DPMDS]: Master Data Services Data Portability Overview. Intellectual Property Rights Notice for Open Specifications Documentation

HVDC LINK DOCUMENT UML MODEL AND SCHEMA

REDISPATCH DOCUMENT UML MODEL AND SCHEMA

[MS-WORDSSP]: Word Automation Services Stored Procedures Protocol Specification

[MS-OXWSXPROP]: Extended Properties Structure. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-EDCSOM]: Intellectual Property Rights Notice for Open Specifications Documentation

[MS-OXSHRMSG]: Sharing Message Attachment Schema. Intellectual Property Rights Notice for Open Specifications Documentation

White Paper. Fabasoft Integration for Novell GroupWise. Fabasoft Folio 2017 R1 Update Rollup 1

CAPACITY AUCTION SPECIFICATION DOCUMENT UML MODEL AND SCHEMA

DataCapture API Version 6.0

Cisco Prime Central 1.0 API Guide

Document Metadata: document technical metadata for digital preservation

X(ml)S(chema)D(definition) Complex Types Indicators

Work/Studies History. Programming XML / XSD. Database

Columbia University R. Mahy, Ed. SIP Edge LLC November An INVITE-Initiated Dialog Event Package for the Session Initiation Protocol (SIP)

SCHEDULE DOCUMENT UML MODEL AND SCHEMA

Notes. Any feedback/suggestions? IS 651: Distributed Systems

Manage Desktop Layout

UNAVAILABILITY DOCUMENT UML MODEL AND SCHEMA

TS SIGNATURE VALIDATION REPORT

Physician Data Center API API Specification. 7/3/2014 Federation of State Medical Boards Kevin Hagen

Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004

Inside Information Platform Implementation Guide

[MS-OXWSSYNC]: Mailbox Contents Synchronization Web Service Protocol Specification

HISTORICAL ACTIVATION DOCUMENT UML MODEL AND SCHEMA

Privacy and Personal Data Collection Disclosure. Legal Notice

SHS Version 2.0 SOAP-based Protocol Binding to SHS Concepts Försäkringskassan - Swedish Social Insurance Agency

QosPolicyHolder 1.0. For UPnP Version Date: March 10th, 2005

Technical requirements

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-OXWSMSHR]: Folder Sharing Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

IMPLICIT AUCTION RESULT DOCUMENT UML MODEL AND SCHEMA

edmr2.0 XML Documentation Last Updated: 5/12/2010

Trustmark Framework Technical Specification

Test Assertions Part 2 - Test Assertion Markup Language Version 1.0

Specifications for SHORT System Document Submission Service

Document Metadata: document technical metadata for digital preservation

Brief guide for XML, XML Schema, XQuery for YAWL data perspective

! "# # $ % & ' ( ' )* ) & %*+ *

2006 Martin v. Löwis. Data-centric XML. XML Schema (Part 1)

Transcription:

PTS XML STANDARD GUIDELINE September 2012 Turkish Medicines & Medical Devices Agency, Department of Pharmaceutical Track & Trace System Söğütözü Mahallesi 2176 Sok. No: 5 P.K.06520 Çankaya, Ankara Phone: (312) 218 30 00 Help Desk: (312) 218 34 50 E-mail: its@titck.gov.tr

PTS XML Standard Guideline 2 LEGAL NOTICE Considered as an Artwork within the framework of the Law No. 5846 on Intellectual and Artistic Works; this document and all of its content have been prepared by NART BİLİŞİM HİZMETLERİ LTD. ŞTİ. (hereafter called TechN arts ) and the owner of the subject Artwork is TechN arts. All intellectual property rights on this document, and its content; including the financial rights such as the rights to adapt, to duplicate, to disseminate, to perform and to broadcast through radio are exclusively owned by TechN arts. Without the express written permission of TechN arts, this document and any part thereof cannot be completely or partially modified, reproduced, mailed, transferred, re-published, distributed or used to derive new contents from the original; copied images of any part of this document cannot be published on any platform. TechN arts is the exclusive authority for conveyance of any of financial rights on this document and its content to third parties, and/or for conveyance of the rights and/or license to use this document to third parties, and/or for selling of these. Included in this document, Package Transfer Service ( PTS ) software standards, working principles and PTS XML Standard are completely prapared and developed by TechN arts; TechN'arts is the exclusive authority for any of financial rights. Xml format which is included in this document cannot be used, copied or changed without a clear written permission from TechN arts. Anyone accessing to this document directly or indirectly, accepts in advance these terms and legal consequences and punishments due to not complying with these terms. TechN arts preserves all the legal rights against violation of any of these terms. REVISION INDEX VERSION DATE NOTES 1.0 14.02.2012 First version 1.1 06.09.2012 1.2 29.11.2011 The version field has been added. The billto field has been changed with the shipto field. The containertype field has been added to the carriertype complex type to be able to indicate the type of the product list or carrier. The XML scheme has been updated.

PTS XML Standard Guideline 3 1.3 05.12.2011 New definitions have been added to the containertype field. 1.4 02.03.2012 The actiontype field and the carrierlabel fields have been identified with the new XSD. Some topics have been identified as Appendixes and the values which can be inserted into the actiontype field have been added as Appendixes. 2.0 17.09.2012 XSD has been revised with the new type definitions and name. 2.0 17.09.2012 The explanations of new added types have been added and related information has been updated. 2.0 17.09.2012 New document format has been added.

PTS XML Standard Guideline 4 TABLE OF CONTENTS 1. INTRODUCTION 5 1.1. Abstract 5 1.2. General Information 5 1.3. Target Audience & Samples 6 2. SCHEMATIC VIEW OF XSD 7 3. XSD EXPLANATIONS 9 3.1. XSD Location and its Usage 9 3.2. Simple Types 9 3.2.1. actiontype 9 3.2.2. glntype 9 3.2.3. gtintype 10 3.2.4. serialnumbertype 10 3.3. Complex Types 10 3.3.1. carriertype 10 3.3.2. productlisttype 11 3.4. Elements 11 4. APPENDIX 13 4.1. Appendix 1 Action Types of the ActionType 13 4.2. Appendix 2 XSD Scheme 15

PTS XML Standard Guideline 5 1. INTRODUCTION 1.1. Abstract After ITS was put into use the problem of managing transfers of products occurred in the sector especially between manufacturers and pharmaceutical wholesalers. ITS operating with notifications on the basis of drug units made it obligatory to establish a relationship between transportation units (bundles, cases, pallets etc.) and the products within these units in the management of the supply chain among system stakeholders. While the standardization studies on this issue within the sector continued, the demand that this transfer operation is to be provided by a central structure which every stakeholder could rely on and accept jointly occurred. With the conveyance of these demands to the Turkish Medicines and Medical Devices Agency (TITCK, former General Directorate of Pharmaceutical and Pharmacy) a workshop on 13.12.2010 was made by Nart Bilişim Hizmetleri (TechN arts) with the participation of the related stakeholders. At the end of the workshop it was shared with the stakeholders that this central structure is to be provided by TechN arts; and the XML data format planned to be used in this structure was determined with the participation of the stakeholders. The needs of our stakeholders have become clear with the development of the Turkish Pharmaceutical Track and Trace System and it inevitable that PTS has developed due to these needs. Therefore the PTS XML standard is being updated taking the needs of our stakeholders into consideration. 1.2. General Information The Package Transfer System (abbreviated as PTS) has been prepared with the aim of transferring the information of the physical transfers between the stakeholders in the virtual environment in order to meet the needs of the sector by TechN arts. The usage of PTS is obligatory in case the receiving stakeholders demands. The information of physical

PTS XML Standard Guideline 6 transfers are shared in the in the format determined in this Guideline apart from the bilateral agreements among stakeholders. This guideline has been prepared to identify the file standard to be used in PTS. 1.3. Target Audience & Samples This guideline appeals to the software developing units of the stakeholders. Sample XMLs will be shared on site called github : https://github.com/ilactakipsistemi

PTS XML Standard Guideline 7 2. SCHEMATIC VIEW OF XSD

PTS XML Standard Guideline 8

PTS XML Standard Guideline 9 3. XSD EXPLANATIONS 3.1. XSD Location and its Usage The XML standards to be used for PTS are defined in the XSD document given in Appendix II and XSD should be used in generating XML and its validation. Not using XSD while generating XML causes problems in the validation by the recipient. The XSD document can be obtained from the below given URL: http://its.saglik.gov.tr/pts_xml_schema_v_2_0.xsd 3.2. Simple Types 3.2.1. actiontype This type defines an enumeration of characters referring action types. It may only contain the characters given in Appendix I and are given with the action types which the characters represent. Examples are also given so that some actions are better understood. However the usage of these actions are not limited to the given examples. As the objective of the actions is to define the action that the stakeholder should take, examples can vary. The elements with this type contains one value from the mentioned enumeration. 3.2.2. glntype Detailed information related to the GLN can be found in the Regulation Regarding the Packaging and Labeling of Medicinal Products for Human Use. GLN is 13 characters long and constituted of only digits. This type is used for GLN containing elements. Contains exactly 13 numeric characters.

PTS XML Standard Guideline 10 3.2.3. gtintype Detailed information related to the GTIN can be found in the Regulation Regarding the Packaging and Labeling of Medicinal Products for Human Use. GTIN is 14 characters long and constituted of only digits. This type is based on string type. Could contain exactly 14 numeric characters. 3.2.4. serialnumbertype Detailed information related to the Serial Number and Batch Number can be found in the Regulation Regarding the Packaging and Labeling of Medicinal Products for Human Use. Both numbers are one to 20 characters long and constituted of digits and capital letters. This type is based on string type. Could contain one to 13 alfa-numeric characters. 3.3. Complex Types 3.3.1. carriertype carrierlabel Is the barcode number determined for transport units as it has been stated in the Regulation Regarding the Packaging and Labeling of Medicinal Products for Human Use. Is an alphanumerical field of maximum 20 characters. It should not contain any fill characters. It is a mandatory field. This field should consist of 20 zeros (0) for carriers which do not have a SSCC in product tranfers of small quantities. containertype It is a field used to indicate the type of the product list or carrier. Consists of a single character: P : Pallet, C : Case, S : Shrink or Bundle, B : Box in a Case, E : Small shrink or bundle; these are characters to denote the specified container types. It is an optional field. productlist Is in the type of productlisttype and is a list of products. carrier Is in the carriertype type. Contains the labels of the products and carrier.

PTS XML Standard Guideline 11 3.3.2. productlisttype gtin This attribute is in the gtintype type. Contains Global Trade Item Number (Barcode Number) of related drug. It is a mandatory field. serialnumber This element is in the serialnumbertype type. Contains the Serial Number of related drug unit. In a product list at least one Serial Number should be given. It is a mandatory field. lotnumber This attribute is in the serialnumbertype type. Contains the Batch Number (Lot Number) of related drug. It is a mandatory field. expirationdate This attribute contains the expiration date of the related drug unit in the XML Date type. It is a mandatory field. productiondate Contains the production date of the related drug in the XML Date type. Its usage is optional. ponumber Is an alphanumerical field. Its usage is optional. 3.4. Elements sender Is in the glntype type. Contains the GLN code of the stakeholder sending the package. receiver Contains the target GLN code of the transfer. This field is 13 characters long and is a mandatory field constituted of only digits. action - Expresses the action which the stakeholder receiving the package has to take. It may only contain the characters given in Appendix I and are given with the action types which the characters represent. Examples are also given so that some actions are better understood. However the usage of these actions are not limited to the given examples. As the main objective of the actions is to define the action that the stakeholder should take as already stated above, examples can vary. shipto Is an alphanumerical field of maximum 20 characters. It can be used to identify where the product will be shipped to. It should not contain any fill characters. Its usage is optional.

PTS XML Standard Guideline 12 documentnumber - Contains the Document Number of the Transfer. Is an alphanumerical field of maximum 20 characters. It should not contain any fill characters. Its usage is optional. documentdate Contains the date information related to the document. It is in the XML-Date type. Its usage is optional. Date information which is not in the XML-Date type will cause errors in the validation of the XML information. Note Is a notes field of maximum 50 characters. Its usage is optional. Verison - Contains the version of the Package Transfer System XML Standard. Its usage is optional. Its value is 2.0 for this document. Carrier Is in the carriertype type. Contains the labels of the products and carrier.

PTS XML Standard Guideline 13 4. APPENDIX 4.1. Appendix 1 Action Types of the ActionType P product Purchase: Expresses that the stakeholder receiving the package should purchase the products with a product purchase notification. For example it indicates that the stakeholder should make a product purchase notification using this action type when a manufacturer dispatches products to a pharmaceutical wholesaler with a ITS dispatch notification. S dispatch: Expresses that the stakeholder receiving the package should make a dispatch notification. This action type can be used so that products which are processed by a third party logistic company can be dispatched. C dispatch Cancellation: Expresses that the stakeholder receiving the package should obtain the products with a dispatch cancellation notification. For example if a hospital returns the products in its own stock to a pharmaceutical wholesaler using the ITS product return service, this action type indicates that the pharmaceutical wholesaler needs to take the returned products by invoking the dispatch cancellation service. R - Return: Expresses that the stakeholder receiving the package should return the products using the product return notification. For example let s say that a pharmaceutical wholesaler sent the product information of another pallet rahter than the product information of the pallet of products he has actually dispatched to a hospital and the hospital has made a notification with this wrong pallet. For these products to be returned through ITS the pharmaceutical wholesaler can send this package with this action type. D Deactivation: Expresses that the stakeholder receiving the package needs to deactivate the products with the deactivation notification. M - production/manufacture: Expresses that the stakeholder receiving the package needs to manufacture the products with a production notification. For example a company making contracted manufacturing uses this action type so that the licensee company can make a production notification for the products.

PTS XML Standard Guideline 14 I Importation: Expresses that the stakeholder receiving the package needs to notify that the imported products are manufactured with the production notification. For example a manufacturer manufacturing products outside of Turkey sends packages with this action type so that the importer company in Turkey can make a production notification. X exportation: Expresses that the stakeholder receiving the package needs to export the products with an exportation notificiation. O consume: Expresses that the stakeholder (hospital) receiving the package need to consume the products with a consumption notification. N information: Expresses that the stakeholder receiving the package is wanted to be informed about the products. T Turnover: Expresses that the products need to be turned over by the stakeholder receiving the package with a product turnover notification. L turnover cancellation: Expresses that the products need to be obtained by the stakeholder receiving the package with a product turnover notification. F transfer: Expresses that a transfer of products which do not need an ITS notification has been made. It is an action type for the use of companies (like logistic companies) which are not ITS stakeholders however play a role in the supply chain. K Transfer Cancellation: Expresses that the transfer of products which do not need an ITS notification is cancelled. It is an action type for the use of companies (like logistic companies) which are not ITS stakeholders however play a role in the supply chain.

PTS XML Standard Guideline 15 4.2. Appendix 2 XSD Scheme <?xml version="1.0" encoding="utf-8"?> <xs:schema attributeformdefault="unqualified" elementformdefault="qualified" xmlns:xs="http://www.w3.org/2001/xmlschema"> <xs:element name="transfer"> <xs:complextype> <xs:sequence> <xs:element name="sender" type="glntype" minoccurs="1" maxoccurs="1" /> <xs:element name="receiver" type="glntype" minoccurs="1" maxoccurs="1" /> <xs:element name="action" type="actiontype" minoccurs="1" maxoccurs="1" /> <xs:element name="shipto" type="glntype" minoccurs="0" maxoccurs="1" /> <xs:element name="documentnumber" type="xs:string" minoccurs="0" maxoccurs="1" /> <xs:element name="documentdate" type="xs:date" minoccurs="0" maxoccurs="1" /> <xs:element name="note" type="xs:string" minoccurs="0" maxoccurs="1" /> <xs:element name="version" type="xs:string" minoccurs="0" maxoccurs="1" /> <xs:element name="carrier" type="carriertype" minoccurs="1" maxoccurs="unbounded" /> </xs:sequence> </xs:complextype> </xs:element> <xs:complextype name="carriertype"> <xs:sequence minoccurs="1" maxoccurs="unbounded"> <xs:choice minoccurs="1" maxoccurs="1"> <xs:element name="productlist" type="productlisttype" minoccurs="1" maxoccurs="1" /> <xs:element name="carrier" type="carriertype" minoccurs="1" maxoccurs="1" /> </xs:choice> </xs:sequence> <xs:attribute name="carrierlabel" use="required"> <xs:simpletype> <xs:restriction base="xs:string"> <xs:length value="20" /> </xs:restriction> </xs:simpletype> </xs:attribute> <xs:attribute name="containertype" type="xs:string" use="optional" /> </xs:complextype> <xs:complextype name="productlisttype"> <xs:sequence> <xs:element name="serialnumber" type="serialnumbertype" minoccurs="1" maxoccurs="unbounded" /> </xs:sequence> <xs:attribute name="gtin" type="gtintype" use="required" /> <xs:attribute name="lotnumber" type="serialnumbertype" use="required" /> <xs:attribute name="productiondate" type="xs:date" use="optional" /> <xs:attribute name="expirationdate" type="xs:date" use="required" /> <xs:attribute name="ponumber" type="xs:string" use="optional" /> </xs:complextype> <xs:simpletype name="actiontype"> <xs:restriction base="xs:string">

PTS XML Standard Guideline 16 <xs:enumeration value="p" /><!-- Mal Alim (product Purchase) --> <xs:enumeration value="s" /><!-- Satis (dispatch) --> <xs:enumeration value="c" /><!-- Cancel Sale (dispatch Cancellation) --> <xs:enumeration value="r" /><!-- Iade (Return) --> <xs:enumeration value="d" /><!-- Deaktivasyon (Deactivation) --> <xs:enumeration value="m" /><!-- Uretim (production/manufacture) --> <xs:enumeration value="i" /><!-- Ithalat (Importation) --> <xs:enumeration value="x" /><!-- Ihrac (exportation) --> <xs:enumeration value="o" /><!-- Sarf (consume) --> <xs:enumeration value="n" /><!-- Bilgi (information) --> <xs:enumeration value="t" /><!-- Devir (Turnover) --> <xs:enumeration value="l" /><!-- Devir Iptal (turnover cancellation) --> <xs:enumeration value="f" /><!-- Aktarim (non-its transfer) --> <xs:enumeration value="k" /><!-- Aktarim Iptal (non-its cancel transfer) --> </xs:restriction> </xs:simpletype> <xs:simpletype name="glntype"> <xs:restriction base="xs:string"> <xs:pattern value="[0-9]{13}"/> </xs:restriction> </xs:simpletype> <xs:simpletype name="gtintype"> <xs:restriction base="xs:string"> <xs:pattern value="[0-9]{14}"/> </xs:restriction> </xs:simpletype> <xs:simpletype name="serialnumbertype"> <xs:restriction base="xs:string"> <xs:pattern value="[0-9a-z]{1,20}"/> </xs:restriction> </xs:simpletype> </xs:schema>