Function
Static Public Summary | ||
public |
expandAndMergeOptions(options: ...*): * |
|
public |
insertLine(report: *, line: *): * |
|
public |
insertRecord(report: *, record: *): {...undefined: Object, "kind": *} |
|
public |
parse(string: *, options: *): * |
|
public |
parseA1(parts: *, options: *): {"descriptor": *, "reference": *, "identifier": *} |
|
public |
parseA2(parts: *, options: *): {"descriptor": *, "reference": *, "patient": *} |
|
public |
parseA3(parts: *, options: *): {"descriptor": *, "reference": *, "patient": *} |
|
public |
parseA4(parts: *, options: *): {"descriptor": *, "reference": *, "requestor": *, "datetime": *, "status": *} |
|
public |
parseA5(parts: *, options: *): {"descriptor": *, "reference": *, "mutuality": *, "patient": *} |
|
public |
parseDate(datestring: *): * |
|
public |
parseDateTime(datestring: *, timestring: *): * |
|
public |
parseL1(parts: *, options: *): {"descriptor": *, "reference": *, "results": *} |
|
public |
parseL5(parts: *, options: *): {"descriptor": *, "reference": *, "speciality": *, "text": *} |
|
public |
parseRecord(parts: *, options: *): * |
|
public |
|
|
public |
parseStatus(letter: *): string |
|
public |
sliceDate(datestring: *): {"year": *, "month": *, "day": *} |
|
public |
sliceTime(timestring: *): {"hour": *, "minute": *} |
|
public |
stringify(records: *, options: *): * |
|
public |
stringifyA1(record: *, options: *): * |
|
public |
stringifyA2(record: *, options: *): * |
|
public |
stringifyA3(record: *, options: *): * |
|
public |
stringifyA4(record: *, options: *): * |
|
public |
stringifyA5(record: *, options: *): * |
|
public |
stringifyDate(datestring: *, options: *): * |
|
public |
* stringifyL1(record: *) |
|
public |
* stringifyL5(record: *, options: *) |
|
public |
* stringifyRecord(record: *, options: *) |
|
public |
stringifySex(sex: *, options: *): string |
|
public |
stringifyStatus(status: *): string |
|
public |
stringifyTime(datestring: *, options: *): * |
|
public |
validateLineLength(parts: *, kind: *, validLengths: *, trailingSlash: *) |
|
public |
validateRequiredField(parts: *, name: *, position: *, isRequired: *) |
Static Public
public expandAndMergeOptions(options: ...*): * source
import expandAndMergeOptions from 'healthone/src/expandAndMergeOptions.js'
Params:
Name | Type | Attribute | Description |
options | ...* |
Return:
* |
public insertLine(report: *, line: *): * source
import insertLine from 'healthone/src/insertLine.js'
Params:
Name | Type | Attribute | Description |
report | * | ||
line | * |
Return:
* |
public insertRecord(report: *, record: *): {...undefined: Object, "kind": *} source
import insertRecord from 'healthone/src/insertRecord.js'
Params:
Name | Type | Attribute | Description |
report | * | ||
record | * |
public parse(string: *, options: *): * source
import parse from 'healthone/src/parse.js'
Params:
Name | Type | Attribute | Description |
string | * | ||
options | * |
Return:
* |
public parseA1(parts: *, options: *): {"descriptor": *, "reference": *, "identifier": *} source
import parseA1 from 'healthone/src/parseA1.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
options | * |
Return:
{"descriptor": *, "reference": *, "identifier": *} |
public parseA2(parts: *, options: *): {"descriptor": *, "reference": *, "patient": *} source
import parseA2 from 'healthone/src/parseA2.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
options | * |
Return:
{"descriptor": *, "reference": *, "patient": *} |
public parseA3(parts: *, options: *): {"descriptor": *, "reference": *, "patient": *} source
import parseA3 from 'healthone/src/parseA3.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
options | * |
Return:
{"descriptor": *, "reference": *, "patient": *} |
public parseA4(parts: *, options: *): {"descriptor": *, "reference": *, "requestor": *, "datetime": *, "status": *} source
import parseA4 from 'healthone/src/parseA4.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
options | * |
Return:
{"descriptor": *, "reference": *, "requestor": *, "datetime": *, "status": *} |
public parseA5(parts: *, options: *): {"descriptor": *, "reference": *, "mutuality": *, "patient": *} source
import parseA5 from 'healthone/src/parseA5.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
options | * |
Return:
{"descriptor": *, "reference": *, "mutuality": *, "patient": *} |
public parseDate(datestring: *): * source
import parseDate from 'healthone/src/parseDate.js'
Params:
Name | Type | Attribute | Description |
datestring | * |
Return:
* |
public parseDateTime(datestring: *, timestring: *): * source
import parseDateTime from 'healthone/src/parseDateTime.js'
Params:
Name | Type | Attribute | Description |
datestring | * | ||
timestring | * |
Return:
* |
public parseL1(parts: *, options: *): {"descriptor": *, "reference": *, "results": *} source
import parseL1 from 'healthone/src/parseL1.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
options | * |
Return:
{"descriptor": *, "reference": *, "results": *} |
public parseL5(parts: *, options: *): {"descriptor": *, "reference": *, "speciality": *, "text": *} source
import parseL5 from 'healthone/src/parseL5.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
options | * |
Return:
{"descriptor": *, "reference": *, "speciality": *, "text": *} |
public parseRecord(parts: *, options: *): * source
import parseRecord from 'healthone/src/parseRecord.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
options | * |
Return:
* |
public parseSex(letter: *): string source
import parseSex from 'healthone/src/parseSex.js'
Params:
Name | Type | Attribute | Description |
letter | * |
public parseStatus(letter: *): string source
import parseStatus from 'healthone/src/parseStatus.js'
Params:
Name | Type | Attribute | Description |
letter | * |
public sliceDate(datestring: *): {"year": *, "month": *, "day": *} source
import sliceDate from 'healthone/src/sliceDate.js'
Params:
Name | Type | Attribute | Description |
datestring | * |
Return:
{"year": *, "month": *, "day": *} |
public sliceTime(timestring: *): {"hour": *, "minute": *} source
import sliceTime from 'healthone/src/sliceTime.js'
Params:
Name | Type | Attribute | Description |
timestring | * |
Return:
{"hour": *, "minute": *} |
public stringify(records: *, options: *): * source
import stringify from 'healthone/src/stringify.js'
Params:
Name | Type | Attribute | Description |
records | * | ||
options | * |
Return:
* |
public stringifyA1(record: *, options: *): * source
import stringifyA1 from 'healthone/src/stringifyA1.js'
Params:
Name | Type | Attribute | Description |
record | * | ||
options | * |
Return:
* |
public stringifyA2(record: *, options: *): * source
import stringifyA2 from 'healthone/src/stringifyA2.js'
Params:
Name | Type | Attribute | Description |
record | * | ||
options | * |
Return:
* |
public stringifyA3(record: *, options: *): * source
import stringifyA3 from 'healthone/src/stringifyA3.js'
Params:
Name | Type | Attribute | Description |
record | * | ||
options | * |
Return:
* |
public stringifyA4(record: *, options: *): * source
import stringifyA4 from 'healthone/src/stringifyA4.js'
Params:
Name | Type | Attribute | Description |
record | * | ||
options | * |
Return:
* |
public stringifyA5(record: *, options: *): * source
import stringifyA5 from 'healthone/src/stringifyA5.js'
Params:
Name | Type | Attribute | Description |
record | * | ||
options | * |
Return:
* |
public stringifyDate(datestring: *, options: *): * source
import stringifyDate from 'healthone/src/stringifyDate.js'
Params:
Name | Type | Attribute | Description |
datestring | * | ||
options | * |
Return:
* |
public * stringifyL1(record: *) source
import stringifyL1 from 'healthone/src/stringifyL1.js'
Params:
Name | Type | Attribute | Description |
record | * |
public * stringifyL5(record: *, options: *) source
import stringifyL5 from 'healthone/src/stringifyL5.js'
Params:
Name | Type | Attribute | Description |
record | * | ||
options | * |
public * stringifyRecord(record: *, options: *) source
import stringifyRecord from 'healthone/src/stringifyRecord.js'
Params:
Name | Type | Attribute | Description |
record | * | ||
options | * |
public stringifySex(sex: *, options: *): string source
import stringifySex from 'healthone/src/stringifySex.js'
Params:
Name | Type | Attribute | Description |
sex | * | ||
options | * |
public stringifyStatus(status: *): string source
import stringifyStatus from 'healthone/src/stringifyStatus.js'
Params:
Name | Type | Attribute | Description |
status | * |
public stringifyTime(datestring: *, options: *): * source
import stringifyTime from 'healthone/src/stringifyTime.js'
Params:
Name | Type | Attribute | Description |
datestring | * | ||
options | * |
Return:
* |
public validateLineLength(parts: *, kind: *, validLengths: *, trailingSlash: *) source
import validateLineLength from 'healthone/src/validateLineLength.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
kind | * | ||
validLengths | * | ||
trailingSlash | * |
public validateRequiredField(parts: *, name: *, position: *, isRequired: *) source
import validateRequiredField from 'healthone/src/validateRequiredField.js'
Params:
Name | Type | Attribute | Description |
parts | * | ||
name | * | ||
position | * | ||
isRequired | * |