1.0.3 • Published 3 years ago
@gemedico/radlex-playbook v1.0.3
RadLex Playbook
Fast, minimalist module for RadLex Playbook
import { getProtocolByRPID, getMatchingProtocols } from '@gemedico/radlex-playbook';
const matchRPID = getProtocolByRPID('RPID2');
// getMatchingProtocols(modality, region, contrast, view, reason);
const matchAll = getMatchingProtocols();
const match = getMatchingProtocols('MR');
const matchRegion = getMatchingProtocols('MR', 'Thoracic Spine');
const matchRegionWContrast = getMatchingProtocols('MR', 'Thoracic Spine', true);
const matchRegionWOContrast = getMatchingProtocols('MR', 'Thoracic Spine', false);
const matchXRWithLateralView = getMatchingProtocols('XR', null, null, 'Lateral');
const matchUSReasonBiopsy = getMatchingProtocols('Ultrasound', null, null, null, 'Biopsy');
Important notice
:warning: The data used here was transferred with the fullest care of the author. However, no liability can be accepted for the publication of this information and no guarantee can be given that it is up-to-date, correct and complete.
Source: playbook.radlex.org
Installation
This is a [Node.js](https://nodejs.org/en/) module available through the [npm registry](https://www.npmjs.com/).
$ npm install @gemedico/radlex-playbook
Features
- getProtocolByRPID
- getProtocolByLetterCode
- getProtocolByShortName
- getProtocolByLongName
- getMatchingProtocols
- getMatchingProtocolsByString
License
[MIT](LICENSE)