30.10.2012 Views

Bi-directional interface to material management systems - Cypro

Bi-directional interface to material management systems - Cypro

Bi-directional interface to material management systems - Cypro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The program for the preparation of cy<strong>to</strong>static drugs.<br />

<strong>Bi</strong>-<strong>directional</strong> <strong>interface</strong> <strong>to</strong> <strong>material</strong> <strong>management</strong><br />

<strong>systems</strong><br />

In the <strong>Cypro</strong> drug manager and the integrated inven<strong>to</strong>ry <strong>management</strong>, information of active<br />

substances needs for preparation and <strong>material</strong> <strong>management</strong> data is s<strong>to</strong>red, e.g. name of active<br />

substances, starches, trade name, batch names, stability of batches, stability of application ready<br />

solutions, characteristic data of active substances and trade names or batch s<strong>to</strong>ck amounts.<br />

<strong>Cypro</strong> can receive s<strong>to</strong>ck data from a external <strong>material</strong> <strong>management</strong> system using an existing<br />

bi-<strong>directional</strong> <strong>interface</strong>.<br />

First s<strong>to</strong>ck data of articles from the <strong>material</strong> <strong>management</strong> system is sent <strong>to</strong> <strong>Cypro</strong>. In return <strong>Cypro</strong><br />

can send back used quantities in mg or parts of vials, manually or au<strong>to</strong>matically.<br />

Data exchange from the <strong>material</strong> <strong>management</strong> and <strong>Cypro</strong> takes place with a configurable text file.<br />

Interface for sending the s<strong>to</strong>ck from the <strong>material</strong><br />

<strong>management</strong> system <strong>to</strong> <strong>Cypro</strong><br />

The <strong>material</strong> <strong>management</strong> system can send s<strong>to</strong>ck <strong>to</strong> <strong>Cypro</strong>. This will be au<strong>to</strong>matically entered in<br />

the <strong>Cypro</strong> drug manager.<br />

For inserting s<strong>to</strong>ck and batch data, <strong>Cypro</strong> needs the following information:<br />

Needed Data Format in Format in<br />

Text-File <strong>Cypro</strong>- Database<br />

Trade name Varchar (70) Varchar (70) optional<br />

Article number Varchar (20) Varchar (20) obliga<strong>to</strong>ry<br />

Drug Code for trade Varchar (15) Varchar (15) A drug code number <strong>to</strong> optional<br />

name<br />

clearly identify drugs with<br />

starch and package, equivalent<br />

<strong>to</strong> the German DIN<br />

Starch Varchar (16) Numeric (15,4) optional<br />

Unit of starch Varchar (60) Varchar (60) optional<br />

Batch name Varchar (20) Varchar (20) obliga<strong>to</strong>ry<br />

S<strong>to</strong>ck in single units of Varchar (9)<br />

a package<br />

Integer obliga<strong>to</strong>ry<br />

Stability Varchar (8) Date Value can be sent in format obliga<strong>to</strong>ry<br />

ddmmyyyy or yyyymmdd<br />

Price of single unit Varchar (16) Numeric (15,2) optional<br />

CIS healthcare Deutschland GmbH � Große Gänseweide 22 � 21423 Winsen (Luhe) � Germany<br />

Managing Direc<strong>to</strong>r Norbert Beins, Clive Richardson � n.beins@cypro.de � www.cypro.de/EN<br />

Local court Lüneburg HRB 201720 � VAT-ID DE 262 117 338 � Tax-No. 50/200/22051<br />

Page 1 / 6 Sparkasse Harburg-Buxtehude � BIC NOLADE21HAM � Account 60096641 � IBAN DE75 2075 0000 0060 0966 41


Interface for sending the s<strong>to</strong>ck from the<br />

<strong>material</strong> <strong>management</strong> system <strong>to</strong> <strong>Cypro</strong><br />

The „Varchar”-datatype in <strong>Cypro</strong> is the same as the „Varchar2”-datatype in Oracle, „Numeric<br />

(precision, scale)” in <strong>Cypro</strong> is equivalent <strong>to</strong> „Number (precision, scale)” in Oracle, „Integer” in<br />

<strong>Cypro</strong> is equivalent <strong>to</strong> „Number (10)” in Oracle.<br />

Numbers in the text-file must be written with maximum of 4 places after the comma and a point as<br />

decimal separa<strong>to</strong>r. The starch or the s<strong>to</strong>ck can either be right- or left-aligned.<br />

The fields can either be written with fixed length (filled with configurable filling signs) or with variable<br />

length (separated with configurable field separa<strong>to</strong>rs). The column „Format in Text-File” in the<br />

table above shows the maximum length of the fields. If fields with fixed width are used then the<br />

width can be reduced.<br />

<strong>Cypro</strong> don't s<strong>to</strong>res completely new trade names, which are not already inserted in the <strong>Cypro</strong> drug<br />

manager, with active substance, starch, stability, etc. . Only batch and s<strong>to</strong>ck data of existing trade<br />

names in <strong>Cypro</strong> will be s<strong>to</strong>red in the <strong>Cypro</strong> drug manager using this <strong>interface</strong>. <strong>Cypro</strong> needs for the<br />

correct preparation additional information like stability of application ready solutions in dependency<br />

of additional drugs, carrier solution, container <strong>material</strong>, s<strong>to</strong>rage conditions or medicament's characteristic<br />

data as additions or densities. As these information are not contained in <strong>material</strong> <strong>management</strong><br />

<strong>systems</strong>, <strong>Cypro</strong> can't use data of articles that are not already existing in the <strong>Cypro</strong> drug<br />

manager.<br />

To clearly identify the trade names, <strong>Cypro</strong> uses the article number. <strong>Cypro</strong> assumes an article number<br />

is present only once in the system (inserting of double article number in the <strong>Cypro</strong> drug manager<br />

is however permitted). If this should not be the case the s<strong>to</strong>ck, which is sent, cannot be au<strong>to</strong>matically<br />

inserted in <strong>Cypro</strong>. <strong>Cypro</strong> indicates an „Error list” and the pharmacists must insert the<br />

shown article manually.<br />

If the article number is not unique then also the drug code should be sent, as <strong>Cypro</strong> then uses<br />

both information <strong>to</strong> identify the right trade name. <strong>Cypro</strong> never uses the name of the trade name itself<br />

for identifying a data record. Additional data as named above can also be sent. <strong>Cypro</strong> uses<br />

this data for the pharmacist only for viewing, if a product is not already s<strong>to</strong>red in the <strong>Cypro</strong> drug<br />

manager and must be inserted manually.<br />

Please consider that the drug code in the table above is unique for the combination of active substance,<br />

starch, trade name and package size.<br />

Double reading of the s<strong>to</strong>ck using the <strong>interface</strong> file is no problem as already read batches will be<br />

updated in the <strong>Cypro</strong> drug manager and not not inserted again.<br />

CIS healthcare Deutschland GmbH � Große Gänseweide 22 � 21423 Winsen (Luhe) � Germany<br />

Managing Direc<strong>to</strong>r Norbert Beins, Clive Richardson � n.beins@cypro.de � www.cypro.de/EN<br />

Local court Lüneburg HRB 201720 � VAT-ID DE 262 117 338 � Tax-No. 50/200/22051<br />

Page 2 / 6 Sparkasse Harburg-Buxtehude � BIC NOLADE21HAM � Account 60096641 � IBAN DE75 2075 0000 0060 0966 41


Examples for sending s<strong>to</strong>ck data <strong>to</strong> <strong>Cypro</strong><br />

In the following exemplary s<strong>to</strong>ck data as they are being expected by <strong>Cypro</strong> is shown. All data is<br />

transmitted, also the optional data. The starch and package size are left-aligned, s<strong>to</strong>ck amount<br />

and price of single unit are right-aligned. As date format, „ddmmyyyy” is used.<br />

Numbers are written with a point as decimal separa<strong>to</strong>r.<br />

The following fields are transmitted:<br />

Data Field length Value<br />

Trade name 30 Ribofluor Ribosepharm<br />

Article number 20 AF5000<br />

Drug Code for trade name 7 6333547<br />

Starch 16 5000<br />

Unit of starch 4 mg<br />

Batch name 20 NC01<br />

S<strong>to</strong>ck in single units of a package 9 17<br />

Stability 8 1072009<br />

Price of single unit 16 19,21<br />

Interface for sending the s<strong>to</strong>ck from the<br />

<strong>material</strong> <strong>management</strong> system <strong>to</strong> <strong>Cypro</strong><br />

The data are expected line by line with or as line separa<strong>to</strong>r. Please consider that<br />

the value in column „Field length” can be modified in the <strong>Cypro</strong> options<br />

CIS healthcare Deutschland GmbH � Große Gänseweide 22 � 21423 Winsen (Luhe) � Germany<br />

Managing Direc<strong>to</strong>r Norbert Beins, Clive Richardson � n.beins@cypro.de � www.cypro.de/EN<br />

Local court Lüneburg HRB 201720 � VAT-ID DE 262 117 338 � Tax-No. 50/200/22051<br />

Page 3 / 6 Sparkasse Harburg-Buxtehude � BIC NOLADE21HAM � Account 60096641 � IBAN DE75 2075 0000 0060 0966 41


Interface for sending used quantities from<br />

<strong>Cypro</strong> <strong>to</strong> the <strong>material</strong> <strong>management</strong> system<br />

<strong>Cypro</strong> does not only note used quantities for each preparation, but also booking amounts for the<br />

<strong>material</strong>-<strong>management</strong>. The quantity of a vial, which can be booked, never exceeds the vial starch,<br />

entered in the drug manager, thus is independent of bottle over filling.<br />

Through it's mass orientated preparation type <strong>Cypro</strong> considers during preparation an over and<br />

under filling of the vials. But it can never be booked more, than in the vial is <strong>to</strong> be.<br />

Residues, which are rejected during preparation, are assigned <strong>to</strong> this preparation au<strong>to</strong>matically.<br />

Manually rejected remainder vials are <strong>to</strong>tally assigned <strong>to</strong> the last preparation, in which the vial was<br />

used. The booking amount of these remainders is <strong>to</strong>tally added for the booking amount of the<br />

preparation.<br />

Prepared drugs can be booked in mg or in parts of vials, infusion containers and pumps will be<br />

booked in pieces.<br />

The booked quantities can be sent au<strong>to</strong>matically on a specified time or can be sent by manually<br />

executing a „Send data”-command. To exclude specified prescriptions (e.g. for clinical trials) these<br />

one can be marked in <strong>Cypro</strong>'s therapy manager. These prescription can then booked manually by<br />

using a printable booking report.<br />

Using <strong>Cypro</strong>'s <strong>interface</strong> the data exchange takes place with a configurable text file.<br />

Configuring the booking file<br />

Interface for sending used quantities from<br />

<strong>Cypro</strong> <strong>to</strong> the <strong>material</strong> <strong>management</strong> system<br />

For sending booked amounts <strong>Cypro</strong> uses the from Baxter-ATC-Host for SAP-MM used <strong>interface</strong>.<br />

The data exchanged takes place with a text file with the following data fields:<br />

Field name Field length Real datatype Description<br />

Patient-ID 12 - 30 Varchar(30) Patient-ID from HIS<br />

Name, First name 20 - 62 2 concatenated Patient name and patient first<br />

fields with Varchar<br />

(30)<br />

name, separated by a comma<br />

<strong>Bi</strong>rth day 8 Date Format is ddmmyyyy or yyyymmdd<br />

Article number 1 - 20 Varchar (20) Article number of the trade name<br />

Booked amount 16 Numeric (15,4) Booked amount<br />

Fill field unlimited size Varchar Not used<br />

Fill field unlimited size Varchar Not used<br />

Fill field unlimited size Varchar Not used<br />

Cost centre number 10 - 20 Varchar (20) Cost centre number<br />

CIS healthcare Deutschland GmbH � Große Gänseweide 22 � 21423 Winsen (Luhe) � Germany<br />

Managing Direc<strong>to</strong>r Norbert Beins, Clive Richardson � n.beins@cypro.de � www.cypro.de/EN<br />

Local court Lüneburg HRB 201720 � VAT-ID DE 262 117 338 � Tax-No. 50/200/22051<br />

Page 4 / 6 Sparkasse Harburg-Buxtehude � BIC NOLADE21HAM � Account 60096641 � IBAN DE75 2075 0000 0060 0966 41


Interface for sending used quantities from<br />

<strong>Cypro</strong> <strong>to</strong> the <strong>material</strong> <strong>management</strong> system<br />

Field name Field length Real datatype Description<br />

Fill field unlimited size Varchar Not used<br />

Date of booking 8 Date Current date in format ddmmyyyy<br />

or yyyymmdd<br />

Preparation date 8 Date Format is ddmmyyyy or yyyymmdd<br />

Fill field unlimited size Varchar Not used<br />

As this is a text file all data is shown as varchar datatype. In column „Real datatype” the datatype<br />

in the <strong>Cypro</strong> database is shown. The „Varchar”-datatype in <strong>Cypro</strong> is the same as the „Varchar2”datatype<br />

in Oracle, „Numeric (precision, scale)” in <strong>Cypro</strong> is equivalent <strong>to</strong> „Number (precision,<br />

scale)” in Oracle.<br />

The booked amount must be written with maximum of 4 places after the comma and a point as<br />

decimal separa<strong>to</strong>r. It can either be right- or left-aligned. The patient ID and the cost centre number<br />

can contain alphanumerical signs not only numbers.<br />

The fields can either be written with fixed length (filled with configurable filling signs) or with variable<br />

length (separated with configurable field separa<strong>to</strong>rs). The column „Field length” in the table<br />

above shows the length range of the fields. If fields with fixed width are used then the width can be<br />

reduced.<br />

The rows in blue colour contains obliga<strong>to</strong>ry data and must be included in the <strong>interface</strong> file. The<br />

rows with white colour includes optional data and can therefore excluded from the text file. Fields<br />

that are part of the Baxter-ATC-Host <strong>interface</strong> and are not used by <strong>Cypro</strong> are signed with „Fill<br />

field”.<br />

All data is grouped by patient (patient-ID, name, first name, birthday), cost centre number, article<br />

number and date of booking.<br />

All numeric fields can be right- or left-aligned. The patient ID and the cost centre number can<br />

contain alphanumerical signs, not only numbers.<br />

CIS healthcare Deutschland GmbH � Große Gänseweide 22 � 21423 Winsen (Luhe) � Germany<br />

Managing Direc<strong>to</strong>r Norbert Beins, Clive Richardson � n.beins@cypro.de � www.cypro.de/EN<br />

Local court Lüneburg HRB 201720 � VAT-ID DE 262 117 338 � Tax-No. 50/200/22051<br />

Page 5 / 6 Sparkasse Harburg-Buxtehude � BIC NOLADE21HAM � Account 60096641 � IBAN DE75 2075 0000 0060 0966 41


Examples for sending booking data<br />

In the following exemplary booking data as they are being sent by <strong>Cypro</strong> is shown. All data, except<br />

of the „Fill fields” is transmitted, also the optional data. The booking amount is right-aligned. As<br />

date format, „ddmmyyyy” is used.<br />

Numbers are written with a point as decimal separa<strong>to</strong>r.<br />

The following fields are transmitted:<br />

Data Field length Value<br />

Patient-ID 12 12345<br />

Name, First name 20 Test, Peter<br />

<strong>Bi</strong>rth day 8 17121958<br />

Article number 18 300686<br />

Booked amount 16 835.2641<br />

Cost centre number 10 9314400<br />

Date of booking 8 13082007<br />

Preparation date 8 18072007<br />

Interface for sending used quantities from<br />

<strong>Cypro</strong> <strong>to</strong> the <strong>material</strong> <strong>management</strong> system<br />

The data are expected line by line with or as line separa<strong>to</strong>r. Please consider that<br />

the value in column „Field length” can be modified. It's used for sending data with fixed field<br />

length.<br />

For variable field length with „I” as field separa<strong>to</strong>r, <strong>Cypro</strong> expects the following in the <strong>interface</strong>-file:<br />

12345|Test, Peter|17121958|300686|835.2641|9314400|13082007|18072007|<br />

For fixed field length with „X” as fill sign, <strong>Cypro</strong> sends the following in the <strong>interface</strong>-file:<br />

12345XXXXXXX|Test, PeterXXXXX|17121958|300686XXXXXXXXXXXX|XXXXXXXX<br />

835.2641|9314400XXX|13082007|18072007|<br />

CIS healthcare Deutschland GmbH � Große Gänseweide 22 � 21423 Winsen (Luhe) � Germany<br />

Managing Direc<strong>to</strong>r Norbert Beins, Clive Richardson � n.beins@cypro.de � www.cypro.de/EN<br />

Local court Lüneburg HRB 201720 � VAT-ID DE 262 117 338 � Tax-No. 50/200/22051<br />

Page 6 / 6 Sparkasse Harburg-Buxtehude � BIC NOLADE21HAM � Account 60096641 � IBAN DE75 2075 0000 0060 0966 41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!