gazelle-datahouse-renderers
v0.1.15
Published
This library simplifies the process of displaying various views for Hl7v2, Dicom, Http, and Syslog base64 data, such as Raw, Hex, Xml, Json and Tree formats.
Downloads
448
Readme
Gazelle datahouse renderers library
This library simplifies the process of displaying various views for Hl7v2, Dicom, Http, and Syslog base64 data, such as Raw, Hex, Xml, Json and Tree formats.
Installation
You can install the library via npm or yarn: https://www.npmjs.com/package/gazelle-datahouse-renderers
npm install gazelle-datahouse-renderers
Props
The DocumentRenderer
interface accepts the following props:
base64Data
: A string representing the base64 data to be rendered.dataType
: "DICOM" | "HTTP" | "HL7v2" | "SYSLOG";showLineNumbers
(optional): Boolean indicating whether to show line numbers. Default isfalse
.bytesPerLine
(optional): Number indicating the desired bytes per line . Default is32
.node
(optional): Use for tree renderer to calculate node and enable collapsible segments;dicomField
(optional): A string to handle commandSet from Dicom message;