Placeholder for Omniparser Schemas used by universal-etl-parser API.
graph LR;
nonprod[nonprod] --> pr{{Pull Request}} --> main[main]
Helpful links:
Omniparser Schema used to convert HL7 messages to a JSON format consistent with a FHIR v4.3.0 bundle
Resource UUID Definition
Each resource utilizes a UUID to uniquely identify and reference the resource in a Transaction Bundle. The following format is used to provide a additional mechanism to quickly identify the resource type:
Bundle Resource fullUrl UUID Format
{a}-{b}-{c}-{d}-{e}
Where: a - "61ebe121" (random and persisted) b - 4 digit 1-index custom resource id c - 4 digit 1-index custom resource type id d - 4 digit 1-index occurrence count e - "983a382abcd7" (random and persisted)
Custom Resource IDs
- Patient aa01
- inpatient 0001
- Organization aa02
- facility 0001
- payor 0002
- department 0003
- Encounter aa03
- encounter 0001
- Account aa04
- account 0001
- RelatedPerson aa05
- Guarantor 0001
- Subscriber 0002
- Next of Kin 0003
- Coverage aa06
- insurance 0001
- Practitioner aa07
- admitting 0001
- referring 0002
- admitting 0003
- Claim aa08
- Claim 0001
Instance Counter 0001, 0002, 0003
Examples: Resource UUID for Patient
61ebe121-aa01-0001-0001-983a382abcd7
Resource UUID for Referring physician practitioner resource
61ebe121-aa07-0002-0001-983a382abcd7
Resource UUID for secondary insurance Coverage resource
61ebe121-aa06-0001-0002-983a382abcd7
Resource UUID for subscriber resource of the primary insurance
61ebe121-aa05-0002-0001-983a382abcd7
Resource UUID for secondary insurance Coverage resource
61ebe121-aa06-0001-0002-983a382abcd7
Patient Identifier
Patient resource will be used to retain patient information. The identifier will be concatenation of the medical record number (MRN) of the patient, and facility ID at which the service was rendered.
{mrn}-{facility_id}
This identifier will be referred to as "MRN Facility" (mrn_facility
).
Account Identifier
Account resource will be used to retain the patient account information. The identifier will be mrn_facility
.
Guarantor Identifier
RelatedPerson resource will be used to retain the guarantor information. The identifier will be concatenation of mrn_facility
and the guarantor number (GT1.2)
{mrn}-{facility_id}-{guarantor_number}
If guarantor number does not exist, identifier will default to concatenation of mrn_facility
, the guarantor segment code (GT1) and the guarantor segment Set ID (e.g. 1, 2)
{mrn}-{facility_id}-GT1-{guarantor set id}.
Subscriber Identifier
RelatedPerson resource will be used to retain the subscriber information. The identifier will be concatenation of mrn_facility
and the insurance plan id (IN1.2)
{mrn}-{facility_id}-{plan_id}.
If plan number does not exist, identifier will default to concatenation of mrn_facility
, the Insurance segment code (IN1) and the Insurance segment Set ID (e.g. 1, 2)
{mrn}-{facility_id}-IN1-{insurance set id}
Payor Identifier
Organization resource will be used to retain the Insurance Company information if the patient has insurance. the identifier will be concatenation of mrn_facility
and the insurance plan id (IN1.2)
{mrn}-{facility_id}-{plan_id}.
If plan number does not exist, identifier will default to concatenation of mrn_facility
, the Insurance segment code (IN1) and the Insurance segment Set ID (e.g. 1, 2)
{mrn}-{facility_id}-IN1-{insurance set id}
Attending Physician Identifier
Pratictioner resource will be used to retain the Attending Physician information. the identifier will be concatenation of mrn_facility
and the attending physician id (PV1.7.1)
{mrn}-{facility_id}-{attending_physician_id}
If attending physician id does not exist, identifier will default to concatenation of mrn_facility
, the patient visit segment code "PV1" and the FHIR ParticipationType Code System value "ATND"
{mrn}-{facility_id}-PV1-ATND
Referring Physician Identifier
Pratictioner resource will be used to retain the Referring Physician information. the identifier will be concatenation of mrn_facility
and the referring physician id (PV1.8.1)
{mrn}-{facility_id}-{referring_physician_id}
If referring physician id does not exist, identifier will default to concatenation of mrn_facility
, the patient visit segment code "PV1" and the FHIR ParticipationType Code System value "REF"
{mrn}-{facility_id}-PV1-REF
Admitting Physician Identifier
Pratictioner resource will be used to retain the Admitting Physician information. the identifier will be concatenation of mrn_facility
and the referring physician id (PV1.17.1)
{mrn}-{facility_id}-{admitting_physician_id}
If admitting physician id does not exist, identifier will default to concatenation of mrn_facility
, the patient visit segment code "PV1" and the FHIR ParticipationType Code System value "ADM"
{mrn}-{facility_id}-PV1-ADM