ECG data viewer conformance

ECG data viewer conformance MedECG Version 1.00 ©2010, UAB Softneta , [email protected] MedECG v1.0 data comformance    Philips XML ECG , SCP EC...
Author: Hollie Rose
41 downloads 0 Views 375KB Size
ECG data viewer conformance MedECG

Version 1.00

©2010, UAB Softneta , [email protected]

MedECG v1.0 data comformance   

Philips XML ECG , SCP ECG, FDA XML.

Philips XML ECG Philips XML ECG data decompression Philips XML standard key element "parsedwaveforms” compressed data (not documented) XLI algorithm and Base64 encoded format. For conversion into a text format to use PhilipsXMLECGdecompressor 1.0 1 tool. Tool data required minimum structure for decompression:

Parameters samplingrate numberchannelsallocated parsedwaveforms compressflag compressmethod dataencoding durationperchannel nbitspersample

1

Type integer integer string boolean string string integer integer

Default 500 12 Compressed data TRUE XLI Base64 11000 16

http://openmedical.sed.hu/data/openmedical/files/PhilipsXMLECGdecompressor.zip

2

Before decompression:  Remove wave beats () – not in use,  Change coding (if is) form UTF-16 (standard Philips XML) to UTF-8.

Philips XML ECG requirements XML required structure for MedECG (dots – may be others parameters, witch are ignored): ... ... ... ... ... ... ... ... ...

3

... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...

4



Parameters ordernumber date time reporttype reportdescription interpretationformat leadsequence mainwaveformformat overallgain timegain highpassfiltersetting lowpassfiltersetting notchfiltersetting machineid detaildescription machine operatorid institutionname institutionlocationid institutionlocationname samplingrate signalresolution signalbandwidth acsetting acquisitiontype numberchannelsallocated numberchannelsvalid leadset patientid lastname firstname middlename defaultage years

Type integer date time string string string string string integer integer integer integer integer integer string string integer string integer string integer integer string integer string integer integer string integer string string string integer integer

Example 123 2010-11-11 15:09:37 STD-12 Standard 12 Lead .. Interpretations and.. Standard I II III aVR... 10.00 25.00 0.15 150 60 14 Philips Medical.. PageWriter Touch 123 Arroyo Oaks 1 Thousand Oaks 500 5 0.05-150 60 STD-12 12 12 STD-12 123 Anna Philips Sora 50 30 5

pacestatus

string string integer integer integer integer integer integer integer integer integer string string string string string

sex pfrontaxis qrsfrontaxis tfrontaxis meanventrate meanprint meanqrsdur meanqtc meanrrint qtint severity statementcode leftstatement rightstatement parsedwaveforms

unknown Female 39 44 43 61 168 80 145 984 404 Normal ECG SR SINUS RHYTHM normal P axis, V-rate ... -13 -14 -13 -9 ...

SCP ECG SCP ECG requirements MedECG supports SCP format. It consist (http://www.openecg.net/tutorial1/index.html ):

Mandatory

2 BYTES - CHECKSUM - CRC - CCITT OVER THE ENTIRE RECORD (EXCLUDING THIS WORD)

Mandatory

4 BYTES - (UNSIGNED) SIZE OF THE ENTIRE ECG RECORD (IN BYTES)

Mandatory

(Section 0) POINTERS TO DATA AREAS IN THE RECORD

Mandatory

(Section 1) HEADER INFORMATION - PATIENT DATA/ECG ACQUISITION DATA

Optional

(Section 2) HUFFMAN TABLES USED IN ENCODING OF ECG DATA (IF USED)

Optional

(Section 3) ECG LEAD DEFINITION

Optional

(Section 4) 6

QRS LOCATIONS (IF REFERENCE BEATS ARE ENCODED)

Optional

(Section 5) ENCODED REFERENCE BEAT DATA IF REFERENCE BEATS ARE STORED

Optional

(Section 6) "RESIDUAL SIGNAL" AFTER REFERENCE BEAT SUBTRACTION IF REFERENCE BEATS ARE STORED, OTHERWISE ENCODED RHYTHM DATA

Optional

(Section 7) GLOBAL MEASUREMENTS

Optional

(Section 8) TEXTUAL DIAGNOSIS FROM THE "INTERPRETIVE" DEVICE

Optional

(Section 9) MANUFACTURER SPECIFIC DIAGNOSTIC AND OVERREADING DATA FROM THE "INTERPRETIVE" DEVICE

Optional

(Section 10) LEAD MEASUREMENT RESULTS

Optional

(Section 11) UNIVERSAL STATEMENT CODES RESULTING FROM THE INTERPRETATION

Section consist two parts:  ID Header.  Data Part.

MedECG use SCP parts:  File size (4bit),  Patient, instituion, device data (1 section),  ECG led size (3 section),  Global measurements (7 section),  Device diagnosis (8 section),  ECG led data (11 section). 7

Patient, instituion, device data: Tag 0 1 2 3 4 5 8 14 22 25 26 31

Data Last name Name ID Second last name Age Birthdate Sex Institution, device data Technican Date Time Oder ID

Type string string string string short,byte short(4bytes)-short-short byte Ivairus skaitumas string short(4bytes)-short-short short:short:short string

Device diagnosis: Parameter Type conf short date short(4bytes)-short-short time short:short:short stnum short states string Global measurements: Parameter Type qrsblocks short rr short pp short pon short poff short qrson short qrsoff short toff short pax short qrsax short tax short qrsnum short spykeloc short 8

spykeamp spyketype spykesrc spyketidx spykewid vrate arate qtc formula

short byte byte short short short short short short

ECG led data reading as section one. If it consist less then 12 led – othe calculated2:

FDA XML ECG FDA XML ECG requirements FDA XML standard key element " digits " (splited led data). FDA XML required structure for MedECG (dots – may be others parameters, witch are ignored): ... ... ... ... ...

http://en.wikipedia.org/wiki/Electrocardiography

2

9

... ... ... ... ... ... ... ... ... ...

10

. . ... ...

Parameters

Type

Example

code codeSystem codeSystemName displayName value extension name code codeSystem displayName digits

Integer string string string integer/string integer/string string string string string string

93000 2.16.840 CPT-2 Electrocardiogram 20040115112014 123ABC ABC RHYTHM 1.3.6.1.4.1 12 Lead 12 -10 40 56..

11