@centricare/contract 0.1.2 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -67
- package/dist/index.cjs +1964 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.mts +3305 -0
- package/dist/index.d.ts +3303 -5
- package/dist/index.mjs +1820 -0
- package/dist/index.mjs.map +1 -0
- package/dist/registry/index.cjs +931 -0
- package/dist/registry/index.cjs.map +1 -0
- package/dist/registry/index.d.mts +60 -0
- package/dist/registry/index.d.ts +60 -0
- package/dist/registry/index.mjs +924 -0
- package/dist/registry/index.mjs.map +1 -0
- package/package.json +18 -9
- package/dist/commons/address.d.ts +0 -35
- package/dist/commons/address.d.ts.map +0 -1
- package/dist/commons/address.js +0 -11
- package/dist/commons/address.js.map +0 -1
- package/dist/commons/api-response.d.ts +0 -70
- package/dist/commons/api-response.d.ts.map +0 -1
- package/dist/commons/api-response.js +0 -49
- package/dist/commons/api-response.js.map +0 -1
- package/dist/commons/coded-concept.d.ts +0 -16
- package/dist/commons/coded-concept.d.ts.map +0 -1
- package/dist/commons/coded-concept.js +0 -20
- package/dist/commons/coded-concept.js.map +0 -1
- package/dist/commons/demographic.d.ts +0 -29
- package/dist/commons/demographic.d.ts.map +0 -1
- package/dist/commons/demographic.js +0 -11
- package/dist/commons/demographic.js.map +0 -1
- package/dist/commons/index.d.ts +0 -12
- package/dist/commons/index.d.ts.map +0 -1
- package/dist/commons/index.js +0 -12
- package/dist/commons/index.js.map +0 -1
- package/dist/commons/object-id.d.ts +0 -8
- package/dist/commons/object-id.d.ts.map +0 -1
- package/dist/commons/object-id.js +0 -11
- package/dist/commons/object-id.js.map +0 -1
- package/dist/commons/setting-option.d.ts +0 -45
- package/dist/commons/setting-option.d.ts.map +0 -1
- package/dist/commons/setting-option.js +0 -27
- package/dist/commons/setting-option.js.map +0 -1
- package/dist/commons/timestamp.d.ts +0 -7
- package/dist/commons/timestamp.d.ts.map +0 -1
- package/dist/commons/timestamp.js +0 -9
- package/dist/commons/timestamp.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -7
- package/dist/index.js.map +0 -1
- package/dist/models/assignment/assignment-minimal.schema.d.ts +0 -18
- package/dist/models/assignment/assignment-minimal.schema.d.ts.map +0 -1
- package/dist/models/assignment/assignment-minimal.schema.js +0 -13
- package/dist/models/assignment/assignment-minimal.schema.js.map +0 -1
- package/dist/models/assignment/assignment-partial.schema.d.ts +0 -18
- package/dist/models/assignment/assignment-partial.schema.d.ts.map +0 -1
- package/dist/models/assignment/assignment-partial.schema.js +0 -6
- package/dist/models/assignment/assignment-partial.schema.js.map +0 -1
- package/dist/models/assignment/assignment.schema.d.ts +0 -84
- package/dist/models/assignment/assignment.schema.d.ts.map +0 -1
- package/dist/models/assignment/assignment.schema.js +0 -27
- package/dist/models/assignment/assignment.schema.js.map +0 -1
- package/dist/models/assignment/index.d.ts +0 -4
- package/dist/models/assignment/index.d.ts.map +0 -1
- package/dist/models/assignment/index.js +0 -4
- package/dist/models/assignment/index.js.map +0 -1
- package/dist/models/department/department-minimal.schema.d.ts +0 -17
- package/dist/models/department/department-minimal.schema.d.ts.map +0 -1
- package/dist/models/department/department-minimal.schema.js +0 -13
- package/dist/models/department/department-minimal.schema.js.map +0 -1
- package/dist/models/department/department-partial.schema.d.ts +0 -17
- package/dist/models/department/department-partial.schema.d.ts.map +0 -1
- package/dist/models/department/department-partial.schema.js +0 -6
- package/dist/models/department/department-partial.schema.js.map +0 -1
- package/dist/models/department/department.schema.d.ts +0 -83
- package/dist/models/department/department.schema.d.ts.map +0 -1
- package/dist/models/department/department.schema.js +0 -20
- package/dist/models/department/department.schema.js.map +0 -1
- package/dist/models/department/index.d.ts +0 -4
- package/dist/models/department/index.d.ts.map +0 -1
- package/dist/models/department/index.js +0 -4
- package/dist/models/department/index.js.map +0 -1
- package/dist/models/facility/facility-minimal.schema.d.ts +0 -19
- package/dist/models/facility/facility-minimal.schema.d.ts.map +0 -1
- package/dist/models/facility/facility-minimal.schema.js +0 -10
- package/dist/models/facility/facility-minimal.schema.js.map +0 -1
- package/dist/models/facility/facility-partial.schema.d.ts +0 -19
- package/dist/models/facility/facility-partial.schema.d.ts.map +0 -1
- package/dist/models/facility/facility-partial.schema.js +0 -6
- package/dist/models/facility/facility-partial.schema.js.map +0 -1
- package/dist/models/facility/facility-settings.schema.d.ts +0 -16
- package/dist/models/facility/facility-settings.schema.d.ts.map +0 -1
- package/dist/models/facility/facility-settings.schema.js +0 -12
- package/dist/models/facility/facility-settings.schema.js.map +0 -1
- package/dist/models/facility/facility.schema.d.ts +0 -82
- package/dist/models/facility/facility.schema.d.ts.map +0 -1
- package/dist/models/facility/facility.schema.js +0 -23
- package/dist/models/facility/facility.schema.js.map +0 -1
- package/dist/models/facility/index.d.ts +0 -5
- package/dist/models/facility/index.d.ts.map +0 -1
- package/dist/models/facility/index.js +0 -5
- package/dist/models/facility/index.js.map +0 -1
- package/dist/models/index.d.ts +0 -23
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/index.js +0 -23
- package/dist/models/index.js.map +0 -1
- package/dist/models/ksm/index.d.ts +0 -4
- package/dist/models/ksm/index.d.ts.map +0 -1
- package/dist/models/ksm/index.js +0 -4
- package/dist/models/ksm/index.js.map +0 -1
- package/dist/models/ksm/ksm-minimal.schema.d.ts +0 -12
- package/dist/models/ksm/ksm-minimal.schema.d.ts.map +0 -1
- package/dist/models/ksm/ksm-minimal.schema.js +0 -13
- package/dist/models/ksm/ksm-minimal.schema.js.map +0 -1
- package/dist/models/ksm/ksm-partial.schema.d.ts +0 -12
- package/dist/models/ksm/ksm-partial.schema.d.ts.map +0 -1
- package/dist/models/ksm/ksm-partial.schema.js +0 -6
- package/dist/models/ksm/ksm-partial.schema.js.map +0 -1
- package/dist/models/ksm/ksm.schema.d.ts +0 -78
- package/dist/models/ksm/ksm.schema.d.ts.map +0 -1
- package/dist/models/ksm/ksm.schema.js +0 -23
- package/dist/models/ksm/ksm.schema.js.map +0 -1
- package/dist/models/location/index.d.ts +0 -5
- package/dist/models/location/index.d.ts.map +0 -1
- package/dist/models/location/index.js +0 -5
- package/dist/models/location/index.js.map +0 -1
- package/dist/models/location/location-minimal.schema.d.ts +0 -33
- package/dist/models/location/location-minimal.schema.d.ts.map +0 -1
- package/dist/models/location/location-minimal.schema.js +0 -12
- package/dist/models/location/location-minimal.schema.js.map +0 -1
- package/dist/models/location/location-partial.schema.d.ts +0 -33
- package/dist/models/location/location-partial.schema.d.ts.map +0 -1
- package/dist/models/location/location-partial.schema.js +0 -6
- package/dist/models/location/location-partial.schema.js.map +0 -1
- package/dist/models/location/location-settings.schema.d.ts +0 -8
- package/dist/models/location/location-settings.schema.d.ts.map +0 -1
- package/dist/models/location/location-settings.schema.js +0 -7
- package/dist/models/location/location-settings.schema.js.map +0 -1
- package/dist/models/location/location.schema.d.ts +0 -98
- package/dist/models/location/location.schema.d.ts.map +0 -1
- package/dist/models/location/location.schema.js +0 -30
- package/dist/models/location/location.schema.js.map +0 -1
- package/dist/models/member/index.d.ts +0 -4
- package/dist/models/member/index.d.ts.map +0 -1
- package/dist/models/member/index.js +0 -4
- package/dist/models/member/index.js.map +0 -1
- package/dist/models/member/member-minimal.schema.d.ts +0 -11
- package/dist/models/member/member-minimal.schema.d.ts.map +0 -1
- package/dist/models/member/member-minimal.schema.js +0 -9
- package/dist/models/member/member-minimal.schema.js.map +0 -1
- package/dist/models/member/member-partial.schema.d.ts +0 -11
- package/dist/models/member/member-partial.schema.d.ts.map +0 -1
- package/dist/models/member/member-partial.schema.js +0 -6
- package/dist/models/member/member-partial.schema.js.map +0 -1
- package/dist/models/member/member.schema.d.ts +0 -73
- package/dist/models/member/member.schema.d.ts.map +0 -1
- package/dist/models/member/member.schema.js +0 -16
- package/dist/models/member/member.schema.js.map +0 -1
- package/dist/models/organization/index.d.ts +0 -5
- package/dist/models/organization/index.d.ts.map +0 -1
- package/dist/models/organization/index.js +0 -5
- package/dist/models/organization/index.js.map +0 -1
- package/dist/models/organization/organization-minimal.schema.d.ts +0 -22
- package/dist/models/organization/organization-minimal.schema.d.ts.map +0 -1
- package/dist/models/organization/organization-minimal.schema.js +0 -9
- package/dist/models/organization/organization-minimal.schema.js.map +0 -1
- package/dist/models/organization/organization-partial.schema.d.ts +0 -22
- package/dist/models/organization/organization-partial.schema.d.ts.map +0 -1
- package/dist/models/organization/organization-partial.schema.js +0 -6
- package/dist/models/organization/organization-partial.schema.js.map +0 -1
- package/dist/models/organization/organization-settings.schema.d.ts +0 -8
- package/dist/models/organization/organization-settings.schema.d.ts.map +0 -1
- package/dist/models/organization/organization-settings.schema.js +0 -7
- package/dist/models/organization/organization-settings.schema.js.map +0 -1
- package/dist/models/organization/organization.schema.d.ts +0 -84
- package/dist/models/organization/organization.schema.d.ts.map +0 -1
- package/dist/models/organization/organization.schema.js +0 -24
- package/dist/models/organization/organization.schema.js.map +0 -1
- package/dist/models/patient/index.d.ts +0 -4
- package/dist/models/patient/index.d.ts.map +0 -1
- package/dist/models/patient/index.js +0 -4
- package/dist/models/patient/index.js.map +0 -1
- package/dist/models/patient/patient-minimal.schema.d.ts +0 -95
- package/dist/models/patient/patient-minimal.schema.d.ts.map +0 -1
- package/dist/models/patient/patient-minimal.schema.js +0 -13
- package/dist/models/patient/patient-minimal.schema.js.map +0 -1
- package/dist/models/patient/patient-partial.schema.d.ts +0 -95
- package/dist/models/patient/patient-partial.schema.d.ts.map +0 -1
- package/dist/models/patient/patient-partial.schema.js +0 -6
- package/dist/models/patient/patient-partial.schema.js.map +0 -1
- package/dist/models/patient/patient.schema.d.ts +0 -161
- package/dist/models/patient/patient.schema.d.ts.map +0 -1
- package/dist/models/patient/patient.schema.js +0 -35
- package/dist/models/patient/patient.schema.js.map +0 -1
- package/dist/models/patient-additional/index.d.ts +0 -4
- package/dist/models/patient-additional/index.d.ts.map +0 -1
- package/dist/models/patient-additional/index.js +0 -4
- package/dist/models/patient-additional/index.js.map +0 -1
- package/dist/models/patient-additional/patient-additional-minimal.schema.d.ts +0 -17
- package/dist/models/patient-additional/patient-additional-minimal.schema.d.ts.map +0 -1
- package/dist/models/patient-additional/patient-additional-minimal.schema.js +0 -13
- package/dist/models/patient-additional/patient-additional-minimal.schema.js.map +0 -1
- package/dist/models/patient-additional/patient-additional-partial.schema.d.ts +0 -17
- package/dist/models/patient-additional/patient-additional-partial.schema.d.ts.map +0 -1
- package/dist/models/patient-additional/patient-additional-partial.schema.js +0 -6
- package/dist/models/patient-additional/patient-additional-partial.schema.js.map +0 -1
- package/dist/models/patient-additional/patient-additional.schema.d.ts +0 -83
- package/dist/models/patient-additional/patient-additional.schema.d.ts.map +0 -1
- package/dist/models/patient-additional/patient-additional.schema.js +0 -21
- package/dist/models/patient-additional/patient-additional.schema.js.map +0 -1
- package/dist/models/payer/index.d.ts +0 -5
- package/dist/models/payer/index.d.ts.map +0 -1
- package/dist/models/payer/index.js +0 -5
- package/dist/models/payer/index.js.map +0 -1
- package/dist/models/payer/payer-minimal.schema.d.ts +0 -67
- package/dist/models/payer/payer-minimal.schema.d.ts.map +0 -1
- package/dist/models/payer/payer-minimal.schema.js +0 -13
- package/dist/models/payer/payer-minimal.schema.js.map +0 -1
- package/dist/models/payer/payer-partial.schema.d.ts +0 -67
- package/dist/models/payer/payer-partial.schema.d.ts.map +0 -1
- package/dist/models/payer/payer-partial.schema.js +0 -6
- package/dist/models/payer/payer-partial.schema.js.map +0 -1
- package/dist/models/payer/payer-settings.schema.d.ts +0 -27
- package/dist/models/payer/payer-settings.schema.d.ts.map +0 -1
- package/dist/models/payer/payer-settings.schema.js +0 -20
- package/dist/models/payer/payer-settings.schema.js.map +0 -1
- package/dist/models/payer/payer.schema.d.ts +0 -133
- package/dist/models/payer/payer.schema.d.ts.map +0 -1
- package/dist/models/payer/payer.schema.js +0 -47
- package/dist/models/payer/payer.schema.js.map +0 -1
- package/dist/models/practitioner-schedule/index.d.ts +0 -4
- package/dist/models/practitioner-schedule/index.d.ts.map +0 -1
- package/dist/models/practitioner-schedule/index.js +0 -4
- package/dist/models/practitioner-schedule/index.js.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.d.ts +0 -20
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.d.ts.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.js +0 -13
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.js.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.d.ts +0 -20
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.d.ts.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.js +0 -6
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.js.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.d.ts +0 -86
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.d.ts.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.js +0 -26
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.js.map +0 -1
- package/dist/models/practitioner-session/index.d.ts +0 -4
- package/dist/models/practitioner-session/index.d.ts.map +0 -1
- package/dist/models/practitioner-session/index.js +0 -4
- package/dist/models/practitioner-session/index.js.map +0 -1
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.d.ts +0 -14
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.d.ts.map +0 -1
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.js +0 -13
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.js.map +0 -1
- package/dist/models/practitioner-session/practitioner-session-partial.schema.d.ts +0 -14
- package/dist/models/practitioner-session/practitioner-session-partial.schema.d.ts.map +0 -1
- package/dist/models/practitioner-session/practitioner-session-partial.schema.js +0 -6
- package/dist/models/practitioner-session/practitioner-session-partial.schema.js.map +0 -1
- package/dist/models/practitioner-session/practitioner-session.schema.d.ts +0 -80
- package/dist/models/practitioner-session/practitioner-session.schema.d.ts.map +0 -1
- package/dist/models/practitioner-session/practitioner-session.schema.js +0 -26
- package/dist/models/practitioner-session/practitioner-session.schema.js.map +0 -1
- package/dist/models/queue/index.d.ts +0 -5
- package/dist/models/queue/index.d.ts.map +0 -1
- package/dist/models/queue/index.js +0 -5
- package/dist/models/queue/index.js.map +0 -1
- package/dist/models/queue/queue-minimal.schema.d.ts +0 -31
- package/dist/models/queue/queue-minimal.schema.d.ts.map +0 -1
- package/dist/models/queue/queue-minimal.schema.js +0 -13
- package/dist/models/queue/queue-minimal.schema.js.map +0 -1
- package/dist/models/queue/queue-partial.schema.d.ts +0 -31
- package/dist/models/queue/queue-partial.schema.d.ts.map +0 -1
- package/dist/models/queue/queue-partial.schema.js +0 -6
- package/dist/models/queue/queue-partial.schema.js.map +0 -1
- package/dist/models/queue/queue-settings.schema.d.ts +0 -27
- package/dist/models/queue/queue-settings.schema.d.ts.map +0 -1
- package/dist/models/queue/queue-settings.schema.js +0 -22
- package/dist/models/queue/queue-settings.schema.js.map +0 -1
- package/dist/models/queue/queue.schema.d.ts +0 -97
- package/dist/models/queue/queue.schema.d.ts.map +0 -1
- package/dist/models/queue/queue.schema.js +0 -32
- package/dist/models/queue/queue.schema.js.map +0 -1
- package/dist/models/queue-event-log/index.d.ts +0 -4
- package/dist/models/queue-event-log/index.d.ts.map +0 -1
- package/dist/models/queue-event-log/index.js +0 -4
- package/dist/models/queue-event-log/index.js.map +0 -1
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.d.ts +0 -18
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.d.ts.map +0 -1
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.js +0 -13
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.js.map +0 -1
- package/dist/models/queue-event-log/queue-event-log-partial.schema.d.ts +0 -18
- package/dist/models/queue-event-log/queue-event-log-partial.schema.d.ts.map +0 -1
- package/dist/models/queue-event-log/queue-event-log-partial.schema.js +0 -6
- package/dist/models/queue-event-log/queue-event-log-partial.schema.js.map +0 -1
- package/dist/models/queue-event-log/queue-event-log.schema.d.ts +0 -84
- package/dist/models/queue-event-log/queue-event-log.schema.d.ts.map +0 -1
- package/dist/models/queue-event-log/queue-event-log.schema.js +0 -25
- package/dist/models/queue-event-log/queue-event-log.schema.js.map +0 -1
- package/dist/models/queue-number/index.d.ts +0 -5
- package/dist/models/queue-number/index.d.ts.map +0 -1
- package/dist/models/queue-number/index.js +0 -5
- package/dist/models/queue-number/index.js.map +0 -1
- package/dist/models/queue-number/queue-number-minimal.schema.d.ts +0 -21
- package/dist/models/queue-number/queue-number-minimal.schema.d.ts.map +0 -1
- package/dist/models/queue-number/queue-number-minimal.schema.js +0 -14
- package/dist/models/queue-number/queue-number-minimal.schema.js.map +0 -1
- package/dist/models/queue-number/queue-number-partial.schema.d.ts +0 -21
- package/dist/models/queue-number/queue-number-partial.schema.d.ts.map +0 -1
- package/dist/models/queue-number/queue-number-partial.schema.js +0 -6
- package/dist/models/queue-number/queue-number-partial.schema.js.map +0 -1
- package/dist/models/queue-number/queue-number-settings.schema.d.ts +0 -27
- package/dist/models/queue-number/queue-number-settings.schema.d.ts.map +0 -1
- package/dist/models/queue-number/queue-number-settings.schema.js +0 -22
- package/dist/models/queue-number/queue-number-settings.schema.js.map +0 -1
- package/dist/models/queue-number/queue-number.schema.d.ts +0 -88
- package/dist/models/queue-number/queue-number.schema.d.ts.map +0 -1
- package/dist/models/queue-number/queue-number.schema.js +0 -42
- package/dist/models/queue-number/queue-number.schema.js.map +0 -1
- package/dist/models/settings/index.d.ts +0 -4
- package/dist/models/settings/index.d.ts.map +0 -1
- package/dist/models/settings/index.js +0 -4
- package/dist/models/settings/index.js.map +0 -1
- package/dist/models/settings/settings-minimal.schema.d.ts +0 -26
- package/dist/models/settings/settings-minimal.schema.d.ts.map +0 -1
- package/dist/models/settings/settings-minimal.schema.js +0 -11
- package/dist/models/settings/settings-minimal.schema.js.map +0 -1
- package/dist/models/settings/settings-partial.schema.d.ts +0 -26
- package/dist/models/settings/settings-partial.schema.d.ts.map +0 -1
- package/dist/models/settings/settings-partial.schema.js +0 -6
- package/dist/models/settings/settings-partial.schema.js.map +0 -1
- package/dist/models/settings/settings.schema.d.ts +0 -96
- package/dist/models/settings/settings.schema.d.ts.map +0 -1
- package/dist/models/settings/settings.schema.js +0 -25
- package/dist/models/settings/settings.schema.js.map +0 -1
- package/dist/models/staff/index.d.ts +0 -4
- package/dist/models/staff/index.d.ts.map +0 -1
- package/dist/models/staff/index.js +0 -4
- package/dist/models/staff/index.js.map +0 -1
- package/dist/models/staff/staff-minimal.schema.d.ts +0 -27
- package/dist/models/staff/staff-minimal.schema.d.ts.map +0 -1
- package/dist/models/staff/staff-minimal.schema.js +0 -13
- package/dist/models/staff/staff-minimal.schema.js.map +0 -1
- package/dist/models/staff/staff-partial.schema.d.ts +0 -27
- package/dist/models/staff/staff-partial.schema.d.ts.map +0 -1
- package/dist/models/staff/staff-partial.schema.js +0 -6
- package/dist/models/staff/staff-partial.schema.js.map +0 -1
- package/dist/models/staff/staff.schema.d.ts +0 -93
- package/dist/models/staff/staff.schema.d.ts.map +0 -1
- package/dist/models/staff/staff.schema.js +0 -25
- package/dist/models/staff/staff.schema.js.map +0 -1
- package/dist/models/unit/index.d.ts +0 -4
- package/dist/models/unit/index.d.ts.map +0 -1
- package/dist/models/unit/index.js +0 -4
- package/dist/models/unit/index.js.map +0 -1
- package/dist/models/unit/unit-minimal.schema.d.ts +0 -27
- package/dist/models/unit/unit-minimal.schema.d.ts.map +0 -1
- package/dist/models/unit/unit-minimal.schema.js +0 -13
- package/dist/models/unit/unit-minimal.schema.js.map +0 -1
- package/dist/models/unit/unit-partial.schema.d.ts +0 -27
- package/dist/models/unit/unit-partial.schema.d.ts.map +0 -1
- package/dist/models/unit/unit-partial.schema.js +0 -6
- package/dist/models/unit/unit-partial.schema.js.map +0 -1
- package/dist/models/unit/unit.schema.d.ts +0 -93
- package/dist/models/unit/unit.schema.d.ts.map +0 -1
- package/dist/models/unit/unit.schema.js +0 -27
- package/dist/models/unit/unit.schema.js.map +0 -1
- package/dist/models/user/index.d.ts +0 -5
- package/dist/models/user/index.d.ts.map +0 -1
- package/dist/models/user/index.js +0 -5
- package/dist/models/user/index.js.map +0 -1
- package/dist/models/user/user-minimal.schema.d.ts +0 -65
- package/dist/models/user/user-minimal.schema.d.ts.map +0 -1
- package/dist/models/user/user-minimal.schema.js +0 -10
- package/dist/models/user/user-minimal.schema.js.map +0 -1
- package/dist/models/user/user-partial.schema.d.ts +0 -65
- package/dist/models/user/user-partial.schema.d.ts.map +0 -1
- package/dist/models/user/user-partial.schema.js +0 -6
- package/dist/models/user/user-partial.schema.js.map +0 -1
- package/dist/models/user/user-settings.schema.d.ts +0 -8
- package/dist/models/user/user-settings.schema.d.ts.map +0 -1
- package/dist/models/user/user-settings.schema.js +0 -7
- package/dist/models/user/user-settings.schema.js.map +0 -1
- package/dist/models/user/user.schema.d.ts +0 -134
- package/dist/models/user/user.schema.d.ts.map +0 -1
- package/dist/models/user/user.schema.js +0 -39
- package/dist/models/user/user.schema.js.map +0 -1
|
@@ -0,0 +1,931 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/registry/registry.json
|
|
4
|
+
var registry_default = {
|
|
5
|
+
schema_version: "1.0",
|
|
6
|
+
source: "https://centricare-rakakhrl.flowershow.me/Docs/Registry",
|
|
7
|
+
systems: [
|
|
8
|
+
{
|
|
9
|
+
system: "crn:status:system",
|
|
10
|
+
domain: "status",
|
|
11
|
+
variant: "system",
|
|
12
|
+
display: "System Status",
|
|
13
|
+
description: "Status of a record",
|
|
14
|
+
type: "parameter",
|
|
15
|
+
values: [
|
|
16
|
+
{
|
|
17
|
+
value: "active",
|
|
18
|
+
display: "Active",
|
|
19
|
+
description: "Record is still active and valid",
|
|
20
|
+
status: "Active"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
value: "inactive",
|
|
24
|
+
display: "Inactive",
|
|
25
|
+
description: "Record is no longer active and valid",
|
|
26
|
+
status: "Active"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
value: "suspended",
|
|
30
|
+
display: "Suspended",
|
|
31
|
+
description: "Record is suspended and may not be used or valid until the suspension is over",
|
|
32
|
+
status: "Active"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
system: "crn:status:patient",
|
|
38
|
+
domain: "status",
|
|
39
|
+
variant: "patient",
|
|
40
|
+
display: "Patient Status",
|
|
41
|
+
description: "Patient-specific status codes",
|
|
42
|
+
type: "parameter",
|
|
43
|
+
values: [
|
|
44
|
+
{
|
|
45
|
+
value: "blacklisted",
|
|
46
|
+
display: "Blacklisted",
|
|
47
|
+
description: "Patient is blacklisted from the facility",
|
|
48
|
+
status: "Active"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
value: "deceased",
|
|
52
|
+
display: "Deceased",
|
|
53
|
+
description: "Patient is already deceased",
|
|
54
|
+
status: "Active"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
system: "crn:status:marital",
|
|
60
|
+
domain: "status",
|
|
61
|
+
variant: "marital",
|
|
62
|
+
display: "Marital Status",
|
|
63
|
+
description: "Marital status codes",
|
|
64
|
+
type: "parameter",
|
|
65
|
+
values: [
|
|
66
|
+
{
|
|
67
|
+
value: "married",
|
|
68
|
+
display: "Married",
|
|
69
|
+
description: "Person is married",
|
|
70
|
+
status: "Active"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
value: "unmarried",
|
|
74
|
+
display: "Unmarried",
|
|
75
|
+
description: "Person is not married",
|
|
76
|
+
status: "Active"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
value: "widowed",
|
|
80
|
+
display: "Widowed",
|
|
81
|
+
description: "Person is widowed due to the death of their spouse",
|
|
82
|
+
status: "Active"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
value: "divorced",
|
|
86
|
+
display: "Divorced",
|
|
87
|
+
description: "Person is legally divorced",
|
|
88
|
+
status: "Active"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
system: "crn:status:operational",
|
|
94
|
+
domain: "status",
|
|
95
|
+
variant: "operational",
|
|
96
|
+
display: "Operational Status",
|
|
97
|
+
description: "Resource operational status",
|
|
98
|
+
type: "parameter",
|
|
99
|
+
values: [
|
|
100
|
+
{
|
|
101
|
+
value: "open",
|
|
102
|
+
display: "Open",
|
|
103
|
+
description: "Resource is open and operating",
|
|
104
|
+
status: "Active"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
value: "closed",
|
|
108
|
+
display: "Closed",
|
|
109
|
+
description: "Resource is closed and not operating",
|
|
110
|
+
status: "Active"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
value: "maintenance",
|
|
114
|
+
display: "Maintenance",
|
|
115
|
+
description: "Resource is in maintenance and not operating",
|
|
116
|
+
status: "Active"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
system: "crn:status:queue",
|
|
122
|
+
domain: "status",
|
|
123
|
+
variant: "queue",
|
|
124
|
+
display: "Queue Status",
|
|
125
|
+
description: "Queue number status",
|
|
126
|
+
type: "parameter",
|
|
127
|
+
values: [
|
|
128
|
+
{
|
|
129
|
+
value: "idle",
|
|
130
|
+
display: "Idle",
|
|
131
|
+
description: "Queue number are not in progress",
|
|
132
|
+
status: "Active"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
value: "in-progress",
|
|
136
|
+
display: "In Progress",
|
|
137
|
+
description: "Queue number are in progress",
|
|
138
|
+
status: "Active"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
value: "done",
|
|
142
|
+
display: "Done",
|
|
143
|
+
description: "Queue number are done with service",
|
|
144
|
+
status: "Active"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
value: "skip",
|
|
148
|
+
display: "Skip",
|
|
149
|
+
description: "Indicate the queue number are skipped and at the bottom of call priority",
|
|
150
|
+
status: "Active"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
system: "crn:salutation",
|
|
156
|
+
domain: "salutation",
|
|
157
|
+
variant: null,
|
|
158
|
+
display: "Salutation",
|
|
159
|
+
description: "Person salutations/honorifics",
|
|
160
|
+
type: "parameter",
|
|
161
|
+
values: [
|
|
162
|
+
{
|
|
163
|
+
value: "tuan",
|
|
164
|
+
display: "Tn.",
|
|
165
|
+
description: "Adult male honorific or title (Mr.)",
|
|
166
|
+
status: "Active"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
value: "nyonya",
|
|
170
|
+
display: "Ny.",
|
|
171
|
+
description: "Married or adult female honorific or title (Mrs.)",
|
|
172
|
+
status: "Active"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
value: "anak",
|
|
176
|
+
display: "An.",
|
|
177
|
+
description: "Child or pediatric patient honorific",
|
|
178
|
+
status: "Active"
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
system: "crn:sex",
|
|
184
|
+
domain: "sex",
|
|
185
|
+
variant: null,
|
|
186
|
+
display: "Biological Sex",
|
|
187
|
+
description: "Biological and physiological characteristics",
|
|
188
|
+
type: "parameter",
|
|
189
|
+
values: [
|
|
190
|
+
{
|
|
191
|
+
value: "m",
|
|
192
|
+
display: "Male",
|
|
193
|
+
description: "Male characteristics",
|
|
194
|
+
status: "Active"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
value: "f",
|
|
198
|
+
display: "Female",
|
|
199
|
+
description: "Female characteristics",
|
|
200
|
+
status: "Active"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
value: "i",
|
|
204
|
+
display: "Intersex",
|
|
205
|
+
description: "Biological sex characteristics that do not fit typical medical definitions",
|
|
206
|
+
status: "Proposed"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
system: "crn:believes",
|
|
212
|
+
domain: "believes",
|
|
213
|
+
variant: null,
|
|
214
|
+
display: "Religion/Belief",
|
|
215
|
+
description: "Religion or belief system",
|
|
216
|
+
type: "parameter",
|
|
217
|
+
values: [
|
|
218
|
+
{
|
|
219
|
+
value: "islam",
|
|
220
|
+
display: "Islam",
|
|
221
|
+
description: "The islamic belief system",
|
|
222
|
+
status: "Active"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
value: "protestantism",
|
|
226
|
+
display: "Protestant",
|
|
227
|
+
description: "The protestantism belief system",
|
|
228
|
+
status: "Active"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
value: "catholicism",
|
|
232
|
+
display: "Catholic",
|
|
233
|
+
description: "The catholicism belief system",
|
|
234
|
+
status: "Active"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
value: "hinduism",
|
|
238
|
+
display: "Hindu",
|
|
239
|
+
description: "The hinduism belief system",
|
|
240
|
+
status: "Active"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
value: "buddhism",
|
|
244
|
+
display: "Buddha",
|
|
245
|
+
description: "The buddhism belief system",
|
|
246
|
+
status: "Active"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
value: "confucianism",
|
|
250
|
+
display: "Confucian",
|
|
251
|
+
description: "The confucianism belief system",
|
|
252
|
+
status: "Active"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
system: "crn:blood:type",
|
|
258
|
+
domain: "blood",
|
|
259
|
+
variant: "type",
|
|
260
|
+
display: "Blood Type",
|
|
261
|
+
description: "Blood group types",
|
|
262
|
+
type: "parameter",
|
|
263
|
+
values: [
|
|
264
|
+
{
|
|
265
|
+
value: "a",
|
|
266
|
+
display: "A",
|
|
267
|
+
description: "Blood group A",
|
|
268
|
+
status: "Active"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
value: "b",
|
|
272
|
+
display: "B",
|
|
273
|
+
description: "Blood group B",
|
|
274
|
+
status: "Active"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
value: "ab",
|
|
278
|
+
display: "AB",
|
|
279
|
+
description: "Blood group AB",
|
|
280
|
+
status: "Active"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
value: "o",
|
|
284
|
+
display: "O",
|
|
285
|
+
description: "Blood group O",
|
|
286
|
+
status: "Active"
|
|
287
|
+
}
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
system: "crn:blood:rhesus",
|
|
292
|
+
domain: "blood",
|
|
293
|
+
variant: "rhesus",
|
|
294
|
+
display: "Rhesus Factor",
|
|
295
|
+
description: "RhD antigen presence",
|
|
296
|
+
type: "parameter",
|
|
297
|
+
values: [
|
|
298
|
+
{
|
|
299
|
+
value: "positive",
|
|
300
|
+
display: "Rh-Positive (+)",
|
|
301
|
+
description: "Presence of Rhesus (RhD) antigen",
|
|
302
|
+
status: "Active"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
value: "negative",
|
|
306
|
+
display: "Rh-Negative (-)",
|
|
307
|
+
description: "Absence of Rhesus (RhD) antigen",
|
|
308
|
+
status: "Active"
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
system: "crn:flag:tier",
|
|
314
|
+
domain: "flag",
|
|
315
|
+
variant: "tier",
|
|
316
|
+
display: "Priority Tier",
|
|
317
|
+
description: "Priority/precedence levels",
|
|
318
|
+
type: "parameter",
|
|
319
|
+
values: [
|
|
320
|
+
{
|
|
321
|
+
value: "primary",
|
|
322
|
+
display: "Primary",
|
|
323
|
+
description: "Highest level of priority",
|
|
324
|
+
status: "Active"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
value: "secondary",
|
|
328
|
+
display: "Secondary",
|
|
329
|
+
description: "Secondary level of priority",
|
|
330
|
+
status: "Active"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
value: "tertiary",
|
|
334
|
+
display: "Tertiary",
|
|
335
|
+
description: "Third-tier or lowest level of priority",
|
|
336
|
+
status: "Active"
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
system: "crn:flag:intensity",
|
|
342
|
+
domain: "flag",
|
|
343
|
+
variant: "intensity",
|
|
344
|
+
display: "Intensity Level",
|
|
345
|
+
description: "Intensity/severity levels",
|
|
346
|
+
type: "parameter",
|
|
347
|
+
values: [
|
|
348
|
+
{
|
|
349
|
+
value: "very-low",
|
|
350
|
+
display: "Very Low",
|
|
351
|
+
description: "Minimal or lowest level of intensity",
|
|
352
|
+
status: "Active"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
value: "low",
|
|
356
|
+
display: "Low",
|
|
357
|
+
description: "Minor or low level of intensity",
|
|
358
|
+
status: "Active"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
value: "medium",
|
|
362
|
+
display: "Medium",
|
|
363
|
+
description: "Moderate or average level of intensity",
|
|
364
|
+
status: "Active"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
value: "high",
|
|
368
|
+
display: "High",
|
|
369
|
+
description: "High or elevated level of intensity",
|
|
370
|
+
status: "Active"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
value: "very-high",
|
|
374
|
+
display: "Very High",
|
|
375
|
+
description: "Extreme or critical level of intensity",
|
|
376
|
+
status: "Active"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
system: "crn:mrn:separator",
|
|
382
|
+
domain: "mrn",
|
|
383
|
+
variant: "separator",
|
|
384
|
+
display: "MRN Separator",
|
|
385
|
+
description: "Medical Record Number separators",
|
|
386
|
+
type: "parameter",
|
|
387
|
+
values: [
|
|
388
|
+
{
|
|
389
|
+
value: "dash",
|
|
390
|
+
display: "Dash (-)",
|
|
391
|
+
description: "Use dash as separator",
|
|
392
|
+
status: "Active"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
value: "dot",
|
|
396
|
+
display: "Dot (.)",
|
|
397
|
+
description: "Use dot as separator",
|
|
398
|
+
status: "Active"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
value: "none",
|
|
402
|
+
display: "None",
|
|
403
|
+
description: "No separator",
|
|
404
|
+
status: "Active"
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
system: "crn:patient:additional",
|
|
410
|
+
domain: "patient",
|
|
411
|
+
variant: "additional",
|
|
412
|
+
display: "Patient Additional Info Types",
|
|
413
|
+
description: "Types of patient additional information",
|
|
414
|
+
type: "parameter",
|
|
415
|
+
values: [
|
|
416
|
+
{
|
|
417
|
+
value: "emergency-contact",
|
|
418
|
+
display: "Emergency Contact",
|
|
419
|
+
description: "Patient emergency contact info",
|
|
420
|
+
status: "Active"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
value: "emergency-address",
|
|
424
|
+
display: "Emergency Address",
|
|
425
|
+
description: "Patient emergency address info",
|
|
426
|
+
status: "Active"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
value: "relationship",
|
|
430
|
+
display: "Relationship",
|
|
431
|
+
description: "Patient relationship information",
|
|
432
|
+
status: "Active"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
value: "blood-info",
|
|
436
|
+
display: "Blood Information",
|
|
437
|
+
description: "Patient blood information",
|
|
438
|
+
status: "Active"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
value: "payer",
|
|
442
|
+
display: "Payer Information",
|
|
443
|
+
description: "Patient payer information",
|
|
444
|
+
status: "Active"
|
|
445
|
+
}
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
system: "crn:payer:category",
|
|
450
|
+
domain: "payer",
|
|
451
|
+
variant: "category",
|
|
452
|
+
display: "Payer Category",
|
|
453
|
+
description: "Healthcare payer categories",
|
|
454
|
+
type: "parameter",
|
|
455
|
+
values: [
|
|
456
|
+
{
|
|
457
|
+
value: "insurance",
|
|
458
|
+
display: "Insurance",
|
|
459
|
+
description: "Third-party health insurance payer",
|
|
460
|
+
status: "Active"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
value: "government",
|
|
464
|
+
display: "Government",
|
|
465
|
+
description: "Government-sponsored health program",
|
|
466
|
+
status: "Active"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
value: "corporate",
|
|
470
|
+
display: "Corporate",
|
|
471
|
+
description: "Company-sponsored health benefit",
|
|
472
|
+
status: "Active"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
value: "self",
|
|
476
|
+
display: "Self",
|
|
477
|
+
description: "Patient pay out of pocket",
|
|
478
|
+
status: "Active"
|
|
479
|
+
}
|
|
480
|
+
]
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
system: "crn:queue:stage",
|
|
484
|
+
domain: "queue",
|
|
485
|
+
variant: "stage",
|
|
486
|
+
display: "Queue Stage",
|
|
487
|
+
description: "Queue processing stages",
|
|
488
|
+
type: "parameter",
|
|
489
|
+
values: [
|
|
490
|
+
{
|
|
491
|
+
value: "waiting",
|
|
492
|
+
display: "Waiting",
|
|
493
|
+
description: "Waiting stage",
|
|
494
|
+
status: "Active"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
value: "processing",
|
|
498
|
+
display: "Processing",
|
|
499
|
+
description: "Processing stage",
|
|
500
|
+
status: "Active"
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
system: "crn:queue:priority",
|
|
506
|
+
domain: "queue",
|
|
507
|
+
variant: "priority",
|
|
508
|
+
display: "Queue Priority",
|
|
509
|
+
description: "Queue sort and call priority",
|
|
510
|
+
type: "parameter",
|
|
511
|
+
values: [
|
|
512
|
+
{
|
|
513
|
+
value: "sequence",
|
|
514
|
+
display: "Sequence",
|
|
515
|
+
description: "Based on queue sequence number",
|
|
516
|
+
status: "Active"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
value: "arrival",
|
|
520
|
+
display: "Arrival",
|
|
521
|
+
description: "Based on queue arrival",
|
|
522
|
+
status: "Active"
|
|
523
|
+
}
|
|
524
|
+
]
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
system: "crn:relationship:family",
|
|
528
|
+
domain: "relationship",
|
|
529
|
+
variant: "family",
|
|
530
|
+
display: "Family Relationship",
|
|
531
|
+
description: "Family relationship types",
|
|
532
|
+
type: "parameter",
|
|
533
|
+
values: [
|
|
534
|
+
{
|
|
535
|
+
value: "spouse",
|
|
536
|
+
display: "Spouse",
|
|
537
|
+
description: "Partner in a marriage or legal union",
|
|
538
|
+
status: "Active"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
value: "father",
|
|
542
|
+
display: "Father",
|
|
543
|
+
description: "Male parent",
|
|
544
|
+
status: "Active"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
value: "mother",
|
|
548
|
+
display: "Mother",
|
|
549
|
+
description: "Female parent",
|
|
550
|
+
status: "Active"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
value: "grandfather",
|
|
554
|
+
display: "Grandfather",
|
|
555
|
+
description: "Father of a person's father or mother",
|
|
556
|
+
status: "Active"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
value: "grandmother",
|
|
560
|
+
display: "Grandmother",
|
|
561
|
+
description: "Mother of a person's father or mother",
|
|
562
|
+
status: "Active"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
value: "grandchildren",
|
|
566
|
+
display: "Grandchildren",
|
|
567
|
+
description: "Child or children of a person's son or daughter",
|
|
568
|
+
status: "Active"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
value: "children",
|
|
572
|
+
display: "Children",
|
|
573
|
+
description: "Person's offspring or child",
|
|
574
|
+
status: "Active"
|
|
575
|
+
}
|
|
576
|
+
]
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
system: "crn:schedule",
|
|
580
|
+
domain: "schedule",
|
|
581
|
+
variant: null,
|
|
582
|
+
display: "Schedule Type",
|
|
583
|
+
description: "Practitioner schedule types",
|
|
584
|
+
type: "parameter",
|
|
585
|
+
values: [
|
|
586
|
+
{
|
|
587
|
+
value: "recurring",
|
|
588
|
+
display: "Recurring",
|
|
589
|
+
description: "A recurring schedule",
|
|
590
|
+
status: "Active"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
value: "one-time",
|
|
594
|
+
display: "One-Time",
|
|
595
|
+
description: "A one-time schedule",
|
|
596
|
+
status: "Active"
|
|
597
|
+
}
|
|
598
|
+
]
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
system: "crn:taxonomy:department",
|
|
602
|
+
domain: "taxonomy",
|
|
603
|
+
variant: "department",
|
|
604
|
+
display: "Department",
|
|
605
|
+
description: "Department classifications",
|
|
606
|
+
type: "parameter",
|
|
607
|
+
values: [
|
|
608
|
+
{
|
|
609
|
+
value: "medical",
|
|
610
|
+
display: "Medical",
|
|
611
|
+
description: "Department for medical affair",
|
|
612
|
+
status: "Active"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
value: "administrative",
|
|
616
|
+
display: "Administrative",
|
|
617
|
+
description: "Department for administrative affair",
|
|
618
|
+
status: "Active"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
value: "operational",
|
|
622
|
+
display: "Operational",
|
|
623
|
+
description: "Department for operational affair",
|
|
624
|
+
status: "Active"
|
|
625
|
+
}
|
|
626
|
+
]
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
system: "crn:taxonomy:unit",
|
|
630
|
+
domain: "taxonomy",
|
|
631
|
+
variant: "unit",
|
|
632
|
+
display: "Unit Types",
|
|
633
|
+
description: "Unit classifications",
|
|
634
|
+
type: "parameter",
|
|
635
|
+
values: [
|
|
636
|
+
{
|
|
637
|
+
value: "medical-service",
|
|
638
|
+
display: "Medical Service",
|
|
639
|
+
description: "Unit that provide medical service",
|
|
640
|
+
status: "Active"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
value: "pharmacy",
|
|
644
|
+
display: "Pharmacy",
|
|
645
|
+
description: "Unit for pharmacy",
|
|
646
|
+
status: "Active"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
value: "ancillary",
|
|
650
|
+
display: "Ancillary",
|
|
651
|
+
description: "Unit for ancillary services",
|
|
652
|
+
status: "Active"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
value: "service-counter",
|
|
656
|
+
display: "Service Counter",
|
|
657
|
+
description: "Unit that act as counter for various purposes",
|
|
658
|
+
status: "Active"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
value: "cashier",
|
|
662
|
+
display: "Cashier",
|
|
663
|
+
description: "Unit that act as counter for cashier",
|
|
664
|
+
status: "Active"
|
|
665
|
+
}
|
|
666
|
+
]
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
system: "crn:taxonomy:location",
|
|
670
|
+
domain: "taxonomy",
|
|
671
|
+
variant: "location",
|
|
672
|
+
display: "Location Types",
|
|
673
|
+
description: "Location classifications",
|
|
674
|
+
type: "parameter",
|
|
675
|
+
values: [
|
|
676
|
+
{
|
|
677
|
+
value: "building",
|
|
678
|
+
display: "Building",
|
|
679
|
+
description: "A building",
|
|
680
|
+
status: "Active"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
value: "level",
|
|
684
|
+
display: "Level",
|
|
685
|
+
description: "A floor level",
|
|
686
|
+
status: "Active"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
value: "bed",
|
|
690
|
+
display: "Bed",
|
|
691
|
+
description: "A bed",
|
|
692
|
+
status: "Active"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
value: "cabinet",
|
|
696
|
+
display: "Cabinet",
|
|
697
|
+
description: "A cabinet",
|
|
698
|
+
status: "Active"
|
|
699
|
+
}
|
|
700
|
+
]
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
system: "crn:taxonomy:staff",
|
|
704
|
+
domain: "taxonomy",
|
|
705
|
+
variant: "staff",
|
|
706
|
+
display: "Staff Types",
|
|
707
|
+
description: "Staff classifications",
|
|
708
|
+
type: "parameter",
|
|
709
|
+
values: [
|
|
710
|
+
{
|
|
711
|
+
value: "practitioner",
|
|
712
|
+
display: "Practitioner",
|
|
713
|
+
description: "Healthcare practitioner (i.e. Doctor)",
|
|
714
|
+
status: "Active"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
value: "medical",
|
|
718
|
+
display: "Medical",
|
|
719
|
+
description: "Medical staff (i.e. Nurse, Therapist)",
|
|
720
|
+
status: "Active"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
value: "non-medical",
|
|
724
|
+
display: "Non Medical",
|
|
725
|
+
description: "Non medical staff (i.e. Administrator staff)",
|
|
726
|
+
status: "Active"
|
|
727
|
+
}
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
system: "crn:assignment:type",
|
|
732
|
+
domain: "assignment",
|
|
733
|
+
variant: "type",
|
|
734
|
+
display: "Assignment Type",
|
|
735
|
+
description: "Resource assignment types",
|
|
736
|
+
type: "parameter",
|
|
737
|
+
values: [
|
|
738
|
+
{
|
|
739
|
+
value: "staff-to-unit",
|
|
740
|
+
display: "Staff to Unit",
|
|
741
|
+
description: "Assignment of staff to a unit",
|
|
742
|
+
status: "Active"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
value: "location-to-unit",
|
|
746
|
+
display: "Location to Unit",
|
|
747
|
+
description: "Assignment of location to a unit",
|
|
748
|
+
status: "Active"
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
system: "crn:identifier",
|
|
754
|
+
domain: "identifier",
|
|
755
|
+
variant: null,
|
|
756
|
+
display: "Identifier Types",
|
|
757
|
+
description: "Person identifier types",
|
|
758
|
+
type: "parameter",
|
|
759
|
+
values: [
|
|
760
|
+
{
|
|
761
|
+
value: "nik",
|
|
762
|
+
display: "NIK",
|
|
763
|
+
description: "Nomor Induk Kependudukan",
|
|
764
|
+
status: "Active"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
value: "mrn",
|
|
768
|
+
display: "MRN",
|
|
769
|
+
description: "Medical Record Number",
|
|
770
|
+
status: "Active"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
value: "passport",
|
|
774
|
+
display: "Passport Number",
|
|
775
|
+
description: "Passport Number",
|
|
776
|
+
status: "Active"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
value: "str",
|
|
780
|
+
display: "STR",
|
|
781
|
+
description: "Surat Tanda Registrasi by Konsil Kedokteran Indonesia",
|
|
782
|
+
status: "Active"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
value: "sip",
|
|
786
|
+
display: "SIP",
|
|
787
|
+
description: "Surat Izin Praktik by Dinas Kesehatan",
|
|
788
|
+
status: "Active"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
value: "npa",
|
|
792
|
+
display: "NPA",
|
|
793
|
+
description: "Nomor Pokok Anggota by Ikatan Dokter Indonesia",
|
|
794
|
+
status: "Active"
|
|
795
|
+
}
|
|
796
|
+
]
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
system: "crn:contact",
|
|
800
|
+
domain: "contact",
|
|
801
|
+
variant: null,
|
|
802
|
+
display: "Contact Method",
|
|
803
|
+
description: "Method of contacting a person",
|
|
804
|
+
type: "label",
|
|
805
|
+
values: [
|
|
806
|
+
{
|
|
807
|
+
value: "mobile",
|
|
808
|
+
display: "Mobile",
|
|
809
|
+
description: "Cellular or mobile phone contact number",
|
|
810
|
+
status: "Active"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
value: "phone",
|
|
814
|
+
display: "Phone",
|
|
815
|
+
description: "Landline or primary telephone contact number",
|
|
816
|
+
status: "Active"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
value: "email",
|
|
820
|
+
display: "Email",
|
|
821
|
+
description: "Electronic mail address for digital communication",
|
|
822
|
+
status: "Active"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
value: "fax",
|
|
826
|
+
display: "Fax",
|
|
827
|
+
description: "Facsimile machine contact number",
|
|
828
|
+
status: "Active"
|
|
829
|
+
}
|
|
830
|
+
]
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
system: "crn:event:system",
|
|
834
|
+
domain: "event",
|
|
835
|
+
variant: "system",
|
|
836
|
+
display: "System Event",
|
|
837
|
+
description: "System event types",
|
|
838
|
+
type: "parameter",
|
|
839
|
+
values: [
|
|
840
|
+
{
|
|
841
|
+
value: "create",
|
|
842
|
+
display: "Create",
|
|
843
|
+
description: "Event triggered when creating a resource",
|
|
844
|
+
status: "Active"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
value: "update",
|
|
848
|
+
display: "Update",
|
|
849
|
+
description: "Event triggered when updating a resource",
|
|
850
|
+
status: "Active"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
value: "delete",
|
|
854
|
+
display: "Delete",
|
|
855
|
+
description: "Event triggered when deleting a resource",
|
|
856
|
+
status: "Active"
|
|
857
|
+
}
|
|
858
|
+
]
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
system: "crn:event:queue",
|
|
862
|
+
domain: "event",
|
|
863
|
+
variant: "queue",
|
|
864
|
+
display: "Queue Event",
|
|
865
|
+
description: "Queue event types",
|
|
866
|
+
type: "parameter",
|
|
867
|
+
values: [
|
|
868
|
+
{
|
|
869
|
+
value: "called",
|
|
870
|
+
display: "Called",
|
|
871
|
+
description: "Event triggered when calling a queue number",
|
|
872
|
+
status: "Active"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
value: "skipped",
|
|
876
|
+
display: "Skipped",
|
|
877
|
+
description: "Event triggered when skipping a queue number",
|
|
878
|
+
status: "Active"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
value: "noshow",
|
|
882
|
+
display: "No Show",
|
|
883
|
+
description: "Event triggered when patient fails to show up",
|
|
884
|
+
status: "Active"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
value: "arrived",
|
|
888
|
+
display: "Arrived",
|
|
889
|
+
description: "Event triggered when patient arrives at the location",
|
|
890
|
+
status: "Active"
|
|
891
|
+
}
|
|
892
|
+
]
|
|
893
|
+
}
|
|
894
|
+
]
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
// src/registry/registry.ts
|
|
898
|
+
var registry = registry_default;
|
|
899
|
+
function getCode(system, value) {
|
|
900
|
+
const sys = registry.systems.find((s) => s.system === system);
|
|
901
|
+
if (!sys) return void 0;
|
|
902
|
+
return sys.values.find((v) => v.value === value);
|
|
903
|
+
}
|
|
904
|
+
function validateCode(system, value) {
|
|
905
|
+
const sys = registry.systems.find((s) => s.system === system);
|
|
906
|
+
if (!sys) return false;
|
|
907
|
+
if (sys.type === "parameter") {
|
|
908
|
+
return sys.values.some((v) => v.value === value);
|
|
909
|
+
}
|
|
910
|
+
return value.length > 0;
|
|
911
|
+
}
|
|
912
|
+
function getOptions(system) {
|
|
913
|
+
const sys = registry.systems.find((s) => s.system === system);
|
|
914
|
+
if (!sys) return [];
|
|
915
|
+
return sys.values.filter((v) => v.status === "Active").map((v) => ({ value: v.value, label: v.display }));
|
|
916
|
+
}
|
|
917
|
+
function getSystems() {
|
|
918
|
+
return registry.systems;
|
|
919
|
+
}
|
|
920
|
+
function getRegistry() {
|
|
921
|
+
return registry;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
exports.getCode = getCode;
|
|
925
|
+
exports.getOptions = getOptions;
|
|
926
|
+
exports.getRegistry = getRegistry;
|
|
927
|
+
exports.getSystems = getSystems;
|
|
928
|
+
exports.registry = registry;
|
|
929
|
+
exports.validateCode = validateCode;
|
|
930
|
+
//# sourceMappingURL=index.cjs.map
|
|
931
|
+
//# sourceMappingURL=index.cjs.map
|