fhir-data-utils-ts 0.2.4 → 0.3.2
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/.codex/skills/govern-fhir-data-utilities/SKILL.md +58 -0
- package/.codex/skills/govern-fhir-data-utilities/agents/openai.yaml +4 -0
- package/.codex/skills/govern-fhir-observation-components/SKILL.md +18 -0
- package/CHANGELOG.md +39 -0
- package/README.md +47 -0
- package/dist/builders/immunization-graph.d.ts +36 -0
- package/dist/builders/immunization-graph.js +115 -0
- package/dist/builders/immunization-reminders.d.ts +35 -0
- package/dist/builders/immunization-reminders.js +104 -0
- package/dist/builders/index.d.ts +2 -0
- package/dist/builders/index.js +2 -0
- package/dist/claim-helpers/claim-list-helpers.d.ts +21 -0
- package/dist/claim-helpers/claim-list-helpers.js +54 -0
- package/dist/claim-helpers/claims-helpers-allergy-intolerance.d.ts +18 -0
- package/dist/claim-helpers/claims-helpers-allergy-intolerance.js +65 -0
- package/dist/claim-helpers/claims-helpers-appointment-response.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-appointment-response.js +20 -0
- package/dist/claim-helpers/claims-helpers-appointment.d.ts +10 -0
- package/dist/claim-helpers/claims-helpers-appointment.js +26 -0
- package/dist/claim-helpers/claims-helpers-care-plan.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-care-plan.js +20 -0
- package/dist/claim-helpers/claims-helpers-clinical-impression.d.ts +10 -0
- package/dist/claim-helpers/claims-helpers-clinical-impression.js +26 -0
- package/dist/claim-helpers/claims-helpers-communication.d.ts +19 -0
- package/dist/claim-helpers/claims-helpers-communication.js +63 -0
- package/dist/claim-helpers/claims-helpers-composition.d.ts +12 -0
- package/dist/claim-helpers/claims-helpers-composition.js +32 -0
- package/dist/claim-helpers/claims-helpers-condition.d.ts +18 -0
- package/dist/claim-helpers/claims-helpers-condition.js +65 -0
- package/dist/claim-helpers/claims-helpers-coverage.d.ts +10 -0
- package/dist/claim-helpers/claims-helpers-coverage.js +26 -0
- package/dist/claim-helpers/claims-helpers-device-use-statement.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-device-use-statement.js +20 -0
- package/dist/claim-helpers/claims-helpers-device.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-device.js +20 -0
- package/dist/claim-helpers/claims-helpers-diagnostic-report.d.ts +16 -0
- package/dist/claim-helpers/claims-helpers-diagnostic-report.js +47 -0
- package/dist/claim-helpers/claims-helpers-document-reference.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-document-reference.js +20 -0
- package/dist/claim-helpers/claims-helpers-encounter.d.ts +10 -0
- package/dist/claim-helpers/claims-helpers-encounter.js +26 -0
- package/dist/claim-helpers/claims-helpers-flag.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-flag.js +20 -0
- package/dist/claim-helpers/claims-helpers-immunization.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-immunization.js +20 -0
- package/dist/claim-helpers/claims-helpers-location.d.ts +10 -0
- package/dist/claim-helpers/claims-helpers-location.js +26 -0
- package/dist/claim-helpers/claims-helpers-medication-statement.d.ts +96 -0
- package/dist/claim-helpers/claims-helpers-medication-statement.js +278 -0
- package/dist/claim-helpers/claims-helpers-observation.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-observation.js +20 -0
- package/dist/claim-helpers/claims-helpers-organization.d.ts +12 -0
- package/dist/claim-helpers/claims-helpers-organization.js +32 -0
- package/dist/claim-helpers/claims-helpers-procedure.d.ts +8 -0
- package/dist/claim-helpers/claims-helpers-procedure.js +20 -0
- package/dist/claim-helpers/claims-helpers-related-person.d.ts +22 -0
- package/dist/claim-helpers/claims-helpers-related-person.js +53 -0
- package/dist/claim-helpers/index.d.ts +23 -0
- package/dist/claim-helpers/index.js +23 -0
- package/dist/claims/allergy-intolerance-claims.d.ts +153 -0
- package/dist/claims/allergy-intolerance-claims.js +194 -0
- package/dist/claims/appointment-claims.d.ts +226 -0
- package/dist/claims/appointment-claims.js +218 -0
- package/dist/claims/appointment-response-claims.d.ts +63 -0
- package/dist/claims/appointment-response-claims.js +58 -0
- package/dist/claims/care-plan-claims.d.ts +37 -0
- package/dist/claims/care-plan-claims.js +59 -0
- package/dist/claims/claim-types.d.ts +9 -0
- package/dist/claims/claim-types.js +3 -0
- package/dist/claims/clinical-impression-claims.d.ts +17 -0
- package/dist/claims/clinical-impression-claims.js +30 -0
- package/dist/claims/communication-claims.d.ts +55 -0
- package/dist/claims/communication-claims.js +57 -0
- package/dist/claims/composition-claims.d.ts +27 -0
- package/dist/claims/composition-claims.js +27 -0
- package/dist/claims/condition-claims.d.ts +79 -0
- package/dist/claims/condition-claims.js +104 -0
- package/dist/claims/consent-claims.d.ts +195 -0
- package/dist/claims/consent-claims.js +74 -0
- package/dist/claims/coverage-claims.d.ts +16 -0
- package/dist/claims/coverage-claims.js +28 -0
- package/dist/claims/device-claims.d.ts +20 -0
- package/dist/claims/device-claims.js +36 -0
- package/dist/claims/device-use-statement-claims.d.ts +17 -0
- package/dist/claims/device-use-statement-claims.js +28 -0
- package/dist/claims/diagnostic-report-claims.d.ts +109 -0
- package/dist/claims/diagnostic-report-claims.js +120 -0
- package/dist/claims/document-reference-claims.d.ts +39 -0
- package/dist/claims/document-reference-claims.js +96 -0
- package/dist/claims/encounter-claims.d.ts +18 -0
- package/dist/claims/encounter-claims.js +32 -0
- package/dist/claims/flag-claims.d.ts +19 -0
- package/dist/claims/flag-claims.js +33 -0
- package/dist/claims/immunization-claims.d.ts +31 -0
- package/dist/claims/immunization-claims.js +54 -0
- package/dist/claims/immunization-recommendation-claims.d.ts +19 -0
- package/dist/claims/immunization-recommendation-claims.js +26 -0
- package/dist/claims/index.d.ts +29 -0
- package/dist/claims/index.js +29 -0
- package/dist/claims/invoice-claims.d.ts +277 -0
- package/dist/claims/invoice-claims.js +357 -0
- package/dist/claims/location-claims.d.ts +22 -0
- package/dist/claims/location-claims.js +34 -0
- package/dist/claims/medication-claims.d.ts +15 -0
- package/dist/claims/medication-claims.js +23 -0
- package/dist/claims/medication-statement-claims.d.ts +539 -0
- package/dist/claims/medication-statement-claims.js +469 -0
- package/dist/claims/organization-claims.d.ts +18 -0
- package/dist/claims/organization-claims.js +27 -0
- package/dist/claims/practitioner-role-claims.d.ts +18 -0
- package/dist/claims/practitioner-role-claims.js +33 -0
- package/dist/claims/procedure-claims.d.ts +24 -0
- package/dist/claims/procedure-claims.js +44 -0
- package/dist/claims/related-person-claims.d.ts +30 -0
- package/dist/claims/related-person-claims.js +44 -0
- package/dist/claims/research-subject-claims.d.ts +4 -0
- package/dist/claims/research-subject-claims.js +4 -0
- package/dist/claims/task-claims.d.ts +61 -0
- package/dist/claims/task-claims.js +64 -0
- package/dist/clinical-terminology.d.ts +73 -0
- package/dist/clinical-terminology.js +77 -0
- package/dist/constants/clinical-statuses.d.ts +102 -0
- package/dist/constants/clinical-statuses.js +93 -0
- package/dist/constants/fhir-code-systems.d.ts +15 -0
- package/dist/constants/fhir-code-systems.js +15 -0
- package/dist/constants/fhir-resource-types.d.ts +162 -0
- package/dist/constants/fhir-resource-types.js +70 -0
- package/dist/constants/fhir-versions.d.ts +10 -0
- package/dist/constants/fhir-versions.js +10 -0
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.js +4 -0
- package/dist/converters/convert-allergy-intolerance.d.ts +3 -0
- package/dist/converters/convert-allergy-intolerance.js +85 -0
- package/dist/converters/convert-appointment-response.d.ts +3 -0
- package/dist/converters/convert-appointment-response.js +32 -0
- package/dist/converters/convert-appointment.d.ts +3 -0
- package/dist/converters/convert-appointment.js +61 -0
- package/dist/converters/convert-care-plan.d.ts +3 -0
- package/dist/converters/convert-care-plan.js +93 -0
- package/dist/converters/convert-clinical-impression.d.ts +3 -0
- package/dist/converters/convert-clinical-impression.js +42 -0
- package/dist/converters/convert-composition.d.ts +3 -0
- package/dist/converters/convert-composition.js +70 -0
- package/dist/converters/convert-condition.d.ts +3 -0
- package/dist/converters/convert-condition.js +51 -0
- package/dist/converters/convert-consent.d.ts +9 -0
- package/dist/converters/convert-consent.js +174 -0
- package/dist/converters/convert-coverage.d.ts +3 -0
- package/dist/converters/convert-coverage.js +51 -0
- package/dist/converters/convert-device-use-statement.d.ts +3 -0
- package/dist/converters/convert-device-use-statement.js +36 -0
- package/dist/converters/convert-device.d.ts +3 -0
- package/dist/converters/convert-device.js +48 -0
- package/dist/converters/convert-diagnostic-report.d.ts +3 -0
- package/dist/converters/convert-diagnostic-report.js +63 -0
- package/dist/converters/convert-document-reference.d.ts +3 -0
- package/dist/converters/convert-document-reference.js +54 -0
- package/dist/converters/convert-encounter.d.ts +3 -0
- package/dist/converters/convert-encounter.js +68 -0
- package/dist/converters/convert-flag.d.ts +3 -0
- package/dist/converters/convert-flag.js +42 -0
- package/dist/converters/convert-immunization.d.ts +3 -0
- package/dist/converters/convert-immunization.js +80 -0
- package/dist/converters/convert-location.d.ts +3 -0
- package/dist/converters/convert-location.js +44 -0
- package/dist/converters/convert-medication-statement.d.ts +3 -0
- package/dist/converters/convert-medication-statement.js +142 -0
- package/dist/converters/convert-observation.d.ts +33 -0
- package/dist/converters/convert-observation.js +246 -0
- package/dist/converters/convert-organization.d.ts +3 -0
- package/dist/converters/convert-organization.js +39 -0
- package/dist/converters/convert-practitioner-role.d.ts +3 -0
- package/dist/converters/convert-practitioner-role.js +62 -0
- package/dist/converters/convert-procedure.d.ts +3 -0
- package/dist/converters/convert-procedure.js +64 -0
- package/dist/converters/convert-related-person.d.ts +3 -0
- package/dist/converters/convert-related-person.js +31 -0
- package/dist/converters/convert-shared.d.ts +38 -0
- package/dist/converters/convert-shared.js +190 -0
- package/dist/converters/index.d.ts +24 -0
- package/dist/converters/index.js +24 -0
- package/dist/fhir-bundle.d.ts +9 -0
- package/dist/fhir-bundle.js +43 -0
- package/dist/fhir-search-parameters.d.ts +18 -0
- package/dist/fhir-search-parameters.js +52 -0
- package/dist/fhir-tokens.d.ts +11 -0
- package/dist/fhir-tokens.js +26 -0
- package/dist/fhir-types.d.ts +77 -0
- package/dist/fhir-types.js +1 -0
- package/dist/fhir-values.d.ts +13 -0
- package/dist/fhir-values.js +53 -0
- package/dist/group-r5.d.ts +121 -0
- package/dist/group-r5.js +301 -0
- package/dist/imaging-types.d.ts +30 -0
- package/dist/imaging-types.js +1 -0
- package/dist/immunization-flat-claims.d.ts +2 -0
- package/dist/immunization-flat-claims.js +2 -0
- package/dist/immunization-reminder-plan.d.ts +2 -0
- package/dist/immunization-reminder-plan.js +2 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +19 -0
- package/dist/observation-claims.d.ts +170 -0
- package/dist/observation-claims.js +184 -0
- package/dist/related-person.d.ts +16 -0
- package/dist/related-person.js +14 -0
- package/dist/research-study-r5.d.ts +163 -0
- package/dist/research-study-r5.js +490 -0
- package/dist/search-models/index.d.ts +7 -0
- package/dist/search-models/index.js +7 -0
- package/dist/search-models/params/AdverseEvent.params.model.d.ts +14 -0
- package/dist/search-models/params/AdverseEvent.params.model.js +16 -0
- package/dist/search-models/params/AllergyIntolerance.params.model.d.ts +24 -0
- package/dist/search-models/params/AllergyIntolerance.params.model.js +27 -0
- package/dist/search-models/params/Appointment.params.model.d.ts +12 -0
- package/dist/search-models/params/Appointment.params.model.js +14 -0
- package/dist/search-models/params/ClinicalImpression.params.model.d.ts +14 -0
- package/dist/search-models/params/ClinicalImpression.params.model.js +15 -0
- package/dist/search-models/params/Condition.params.model.d.ts +16 -0
- package/dist/search-models/params/Condition.params.model.js +17 -0
- package/dist/search-models/params/DetectedIssue.params.model.d.ts +9 -0
- package/dist/search-models/params/DetectedIssue.params.model.js +11 -0
- package/dist/search-models/params/DiagnosticReport.params.model.d.ts +13 -0
- package/dist/search-models/params/DiagnosticReport.params.model.js +14 -0
- package/dist/search-models/params/Encounter.params.model.d.ts +15 -0
- package/dist/search-models/params/Encounter.params.model.js +17 -0
- package/dist/search-models/params/Immunization.params.model.d.ts +14 -0
- package/dist/search-models/params/Immunization.params.model.js +16 -0
- package/dist/search-models/params/Medication.params.model.d.ts +35 -0
- package/dist/search-models/params/Medication.params.model.js +45 -0
- package/dist/search-models/params/Observation.params.model.d.ts +326 -0
- package/dist/search-models/params/Observation.params.model.js +244 -0
- package/dist/search-models/params/Procedure.params.model.d.ts +15 -0
- package/dist/search-models/params/Procedure.params.model.js +17 -0
- package/dist/search-models/params/Search.params.model.d.ts +75 -0
- package/dist/search-models/params/Search.params.model.js +69 -0
- package/dist/search-models/params/ServiceRequest.params.model.d.ts +14 -0
- package/dist/search-models/params/ServiceRequest.params.model.js +16 -0
- package/dist/search-models/params/Specimen.params.model.d.ts +10 -0
- package/dist/search-models/params/Specimen.params.model.js +12 -0
- package/dist/search-models/params/index.d.ts +15 -0
- package/dist/search-models/params/index.js +15 -0
- package/dist/search-models/templates/AdverseEvent.template.model.d.ts +16 -0
- package/dist/search-models/templates/AdverseEvent.template.model.js +2 -0
- package/dist/search-models/templates/AllergyIntolerance.template.model.d.ts +24 -0
- package/dist/search-models/templates/AllergyIntolerance.template.model.js +1 -0
- package/dist/search-models/templates/Appointment.template.model.d.ts +13 -0
- package/dist/search-models/templates/Appointment.template.model.js +1 -0
- package/dist/search-models/templates/ClinicalImpression.template.model.d.ts +16 -0
- package/dist/search-models/templates/ClinicalImpression.template.model.js +1 -0
- package/dist/search-models/templates/Condition.template.model.d.ts +18 -0
- package/dist/search-models/templates/Condition.template.model.js +1 -0
- package/dist/search-models/templates/DetectedIssue.template.model.d.ts +11 -0
- package/dist/search-models/templates/DetectedIssue.template.model.js +1 -0
- package/dist/search-models/templates/DiagnosticReport.template.model.d.ts +15 -0
- package/dist/search-models/templates/DiagnosticReport.template.model.js +1 -0
- package/dist/search-models/templates/Encounter.template.model.d.ts +17 -0
- package/dist/search-models/templates/Encounter.template.model.js +1 -0
- package/dist/search-models/templates/Immunization.template.model.d.ts +18 -0
- package/dist/search-models/templates/Immunization.template.model.js +2 -0
- package/dist/search-models/templates/Medication.template.model.d.ts +37 -0
- package/dist/search-models/templates/Medication.template.model.js +1 -0
- package/dist/search-models/templates/Observation.template.model.d.ts +18 -0
- package/dist/search-models/templates/Observation.template.model.js +1 -0
- package/dist/search-models/templates/Procedure.template.model.d.ts +17 -0
- package/dist/search-models/templates/Procedure.template.model.js +1 -0
- package/dist/search-models/templates/ServiceRequest.template.model.d.ts +16 -0
- package/dist/search-models/templates/ServiceRequest.template.model.js +1 -0
- package/dist/search-models/templates/Specimen.template.model.d.ts +12 -0
- package/dist/search-models/templates/Specimen.template.model.js +1 -0
- package/dist/search-models/templates/index.d.ts +14 -0
- package/dist/search-models/templates/index.js +14 -0
- package/dist/terminology-models/AtcModel.d.ts +15 -0
- package/dist/terminology-models/AtcModel.js +2 -0
- package/dist/terminology-models/CommonModels.d.ts +70 -0
- package/dist/terminology-models/CommonModels.js +55 -0
- package/dist/terminology-models/FhirModels.d.ts +60 -0
- package/dist/terminology-models/FhirModels.js +34 -0
- package/dist/terminology-models/LoincModels.d.ts +24 -0
- package/dist/terminology-models/LoincModels.js +2 -0
- package/dist/terminology-models/SnomedModels.d.ts +13 -0
- package/dist/terminology-models/SnomedModels.js +2 -0
- package/dist/terminology-models/index.d.ts +6 -0
- package/dist/terminology-models/index.js +6 -0
- package/docs/UHC_FHIR_UTILS_MIGRATION.md +51 -8
- package/package.json +83 -2
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the flat claims structure for a FHIR Appointment resource, separating
|
|
3
|
+
* version-specific data model fields from version-agnostic API search parameters.
|
|
4
|
+
*
|
|
5
|
+
* This model aligns with FHIR R5 conventions (using `note.text` instead of `comment`)
|
|
6
|
+
* for forward compatibility and consistency with other resources like Communication.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Claims are never version-specific. Kept as a source-compatible
|
|
11
|
+
* alias whose values now use the expanded `org.hl7.fhir.api` vocabulary.
|
|
12
|
+
*
|
|
13
|
+
* @basedon https://www.hl7.org/fhir/R4/appointment.html
|
|
14
|
+
*/
|
|
15
|
+
export declare enum AppointmentClaimsFhirR4Core {
|
|
16
|
+
Identifier = "org.hl7.fhir.api.Appointment.identifier",
|
|
17
|
+
Status = "org.hl7.fhir.api.Appointment.status",
|
|
18
|
+
CancelationReason = "org.hl7.fhir.api.Appointment.cancelation-reason",
|
|
19
|
+
ServiceCategory = "org.hl7.fhir.api.Appointment.service-category",
|
|
20
|
+
ServiceType = "org.hl7.fhir.api.Appointment.service-type",
|
|
21
|
+
Specialty = "org.hl7.fhir.api.Appointment.specialty",
|
|
22
|
+
AppointmentType = "org.hl7.fhir.api.Appointment.appointment-type",
|
|
23
|
+
ReasonCode = "org.hl7.fhir.api.Appointment.reason-code",
|
|
24
|
+
ReasonReference = "org.hl7.fhir.api.Appointment.reason-reference",
|
|
25
|
+
Priority = "org.hl7.fhir.api.Appointment.priority",
|
|
26
|
+
Description = "org.hl7.fhir.api.Appointment.description",
|
|
27
|
+
SupportingInformation = "org.hl7.fhir.api.Appointment.supporting-information",
|
|
28
|
+
Start = "org.hl7.fhir.api.Appointment.start",
|
|
29
|
+
End = "org.hl7.fhir.api.Appointment.end",
|
|
30
|
+
MinutesDuration = "org.hl7.fhir.api.Appointment.minutes-duration",
|
|
31
|
+
Slot = "org.hl7.fhir.api.Appointment.slot",
|
|
32
|
+
Created = "org.hl7.fhir.api.Appointment.created",
|
|
33
|
+
NoteText = "org.hl7.fhir.api.Appointment.note-text",
|
|
34
|
+
PatientInstruction = "org.hl7.fhir.api.Appointment.patient-instruction",
|
|
35
|
+
BasedOn = "org.hl7.fhir.api.Appointment.based-on",
|
|
36
|
+
ParticipantActor = "org.hl7.fhir.api.Appointment.participant-actor",
|
|
37
|
+
ParticipantRequired = "org.hl7.fhir.api.Appointment.participant-required",
|
|
38
|
+
ParticipantStatus = "org.hl7.fhir.api.Appointment.participant-status",
|
|
39
|
+
ParticipantType = "org.hl7.fhir.api.Appointment.participant-type",
|
|
40
|
+
RequestedPeriod = "org.hl7.fhir.api.Appointment.requested-period",
|
|
41
|
+
ResourceId = "org.hl7.fhir.api.Appointment.resource-id"
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Contains claims representing the standard, version-agnostic API search parameters for an Appointment.
|
|
45
|
+
*
|
|
46
|
+
* @basedon https://www.hl7.org/fhir/appointment.html#search
|
|
47
|
+
*/
|
|
48
|
+
export declare enum AppointmentClaimsFhirApi {
|
|
49
|
+
Actor = "org.hl7.fhir.api.Appointment.actor",
|
|
50
|
+
AppointmentType = "org.hl7.fhir.api.Appointment.appointment-type",
|
|
51
|
+
BasedOn = "org.hl7.fhir.api.Appointment.based-on",
|
|
52
|
+
Date = "org.hl7.fhir.api.Appointment.date",
|
|
53
|
+
Identifier = "org.hl7.fhir.api.Appointment.identifier",
|
|
54
|
+
Location = "org.hl7.fhir.api.Appointment.location",
|
|
55
|
+
PartStatus = "org.hl7.fhir.api.Appointment.part-status",
|
|
56
|
+
Patient = "org.hl7.fhir.api.Appointment.patient",
|
|
57
|
+
Practitioner = "org.hl7.fhir.api.Appointment.practitioner",
|
|
58
|
+
ReasonCode = "org.hl7.fhir.api.Appointment.reason-code",
|
|
59
|
+
ReasonReference = "org.hl7.fhir.api.Appointment.reason-reference",
|
|
60
|
+
ServiceCategory = "org.hl7.fhir.api.Appointment.service-category",
|
|
61
|
+
ServiceType = "org.hl7.fhir.api.Appointment.service-type",
|
|
62
|
+
Slot = "org.hl7.fhir.api.Appointment.slot",
|
|
63
|
+
Specialty = "org.hl7.fhir.api.Appointment.specialty",
|
|
64
|
+
Status = "org.hl7.fhir.api.Appointment.status",
|
|
65
|
+
SupportingInfo = "org.hl7.fhir.api.Appointment.supporting-info"
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Extends the standard API search parameters with custom parameters derived from core data model fields.
|
|
69
|
+
*/
|
|
70
|
+
export declare enum AppointmentClaimsFhirApiExtended {
|
|
71
|
+
Actor = "org.hl7.fhir.api.Appointment.actor",
|
|
72
|
+
AppointmentType = "org.hl7.fhir.api.Appointment.appointment-type",
|
|
73
|
+
BasedOn = "org.hl7.fhir.api.Appointment.based-on",
|
|
74
|
+
Date = "org.hl7.fhir.api.Appointment.date",
|
|
75
|
+
Identifier = "org.hl7.fhir.api.Appointment.identifier",
|
|
76
|
+
Location = "org.hl7.fhir.api.Appointment.location",
|
|
77
|
+
PartStatus = "org.hl7.fhir.api.Appointment.part-status",
|
|
78
|
+
Patient = "org.hl7.fhir.api.Appointment.patient",
|
|
79
|
+
Practitioner = "org.hl7.fhir.api.Appointment.practitioner",
|
|
80
|
+
ReasonCode = "org.hl7.fhir.api.Appointment.reason-code",
|
|
81
|
+
ReasonReference = "org.hl7.fhir.api.Appointment.reason-reference",
|
|
82
|
+
ServiceCategory = "org.hl7.fhir.api.Appointment.service-category",
|
|
83
|
+
ServiceType = "org.hl7.fhir.api.Appointment.service-type",
|
|
84
|
+
Slot = "org.hl7.fhir.api.Appointment.slot",
|
|
85
|
+
Specialty = "org.hl7.fhir.api.Appointment.specialty",
|
|
86
|
+
Status = "org.hl7.fhir.api.Appointment.status",
|
|
87
|
+
SupportingInfo = "org.hl7.fhir.api.Appointment.supporting-info",
|
|
88
|
+
CancelationReason = "org.hl7.fhir.api.Appointment.cancelation-reason",
|
|
89
|
+
MinutesDuration = "org.hl7.fhir.api.Appointment.minutes-duration",
|
|
90
|
+
Priority = "org.hl7.fhir.api.Appointment.priority",
|
|
91
|
+
Created = "org.hl7.fhir.api.Appointment.created",
|
|
92
|
+
Description = "org.hl7.fhir.api.Appointment.description",
|
|
93
|
+
NoteText = "org.hl7.fhir.api.Appointment.note-text"
|
|
94
|
+
}
|
|
95
|
+
export declare const AppointmentClaimsFhirR4CoreMap: {
|
|
96
|
+
"org.hl7.fhir.api.Appointment.identifier": StringConstructor;
|
|
97
|
+
"org.hl7.fhir.api.Appointment.status": StringConstructor;
|
|
98
|
+
"org.hl7.fhir.api.Appointment.cancelation-reason": StringConstructor;
|
|
99
|
+
"org.hl7.fhir.api.Appointment.service-category": StringConstructor;
|
|
100
|
+
"org.hl7.fhir.api.Appointment.service-type": StringConstructor;
|
|
101
|
+
"org.hl7.fhir.api.Appointment.specialty": StringConstructor;
|
|
102
|
+
"org.hl7.fhir.api.Appointment.appointment-type": StringConstructor;
|
|
103
|
+
"org.hl7.fhir.api.Appointment.reason-code": StringConstructor;
|
|
104
|
+
"org.hl7.fhir.api.Appointment.reason-reference": StringConstructor;
|
|
105
|
+
"org.hl7.fhir.api.Appointment.priority": NumberConstructor;
|
|
106
|
+
"org.hl7.fhir.api.Appointment.description": StringConstructor;
|
|
107
|
+
"org.hl7.fhir.api.Appointment.supporting-information": StringConstructor;
|
|
108
|
+
"org.hl7.fhir.api.Appointment.start": StringConstructor;
|
|
109
|
+
"org.hl7.fhir.api.Appointment.end": StringConstructor;
|
|
110
|
+
"org.hl7.fhir.api.Appointment.minutes-duration": NumberConstructor;
|
|
111
|
+
"org.hl7.fhir.api.Appointment.slot": StringConstructor;
|
|
112
|
+
"org.hl7.fhir.api.Appointment.created": StringConstructor;
|
|
113
|
+
"org.hl7.fhir.api.Appointment.note-text": StringConstructor;
|
|
114
|
+
"org.hl7.fhir.api.Appointment.patient-instruction": StringConstructor;
|
|
115
|
+
"org.hl7.fhir.api.Appointment.based-on": StringConstructor;
|
|
116
|
+
"org.hl7.fhir.api.Appointment.participant-actor": StringConstructor;
|
|
117
|
+
"org.hl7.fhir.api.Appointment.participant-required": StringConstructor;
|
|
118
|
+
"org.hl7.fhir.api.Appointment.participant-status": StringConstructor;
|
|
119
|
+
"org.hl7.fhir.api.Appointment.participant-type": StringConstructor;
|
|
120
|
+
"org.hl7.fhir.api.Appointment.requested-period": StringConstructor;
|
|
121
|
+
"org.hl7.fhir.api.Appointment.resource-id": StringConstructor;
|
|
122
|
+
};
|
|
123
|
+
export declare const AppointmentClaimsFhirApiMap: {
|
|
124
|
+
"org.hl7.fhir.api.Appointment.actor": StringConstructor;
|
|
125
|
+
"org.hl7.fhir.api.Appointment.appointment-type": StringConstructor;
|
|
126
|
+
"org.hl7.fhir.api.Appointment.based-on": StringConstructor;
|
|
127
|
+
"org.hl7.fhir.api.Appointment.date": StringConstructor;
|
|
128
|
+
"org.hl7.fhir.api.Appointment.identifier": StringConstructor;
|
|
129
|
+
"org.hl7.fhir.api.Appointment.location": StringConstructor;
|
|
130
|
+
"org.hl7.fhir.api.Appointment.part-status": StringConstructor;
|
|
131
|
+
"org.hl7.fhir.api.Appointment.patient": StringConstructor;
|
|
132
|
+
"org.hl7.fhir.api.Appointment.practitioner": StringConstructor;
|
|
133
|
+
"org.hl7.fhir.api.Appointment.reason-code": StringConstructor;
|
|
134
|
+
"org.hl7.fhir.api.Appointment.reason-reference": StringConstructor;
|
|
135
|
+
"org.hl7.fhir.api.Appointment.service-category": StringConstructor;
|
|
136
|
+
"org.hl7.fhir.api.Appointment.service-type": StringConstructor;
|
|
137
|
+
"org.hl7.fhir.api.Appointment.slot": StringConstructor;
|
|
138
|
+
"org.hl7.fhir.api.Appointment.specialty": StringConstructor;
|
|
139
|
+
"org.hl7.fhir.api.Appointment.status": StringConstructor;
|
|
140
|
+
"org.hl7.fhir.api.Appointment.supporting-info": StringConstructor;
|
|
141
|
+
};
|
|
142
|
+
export declare const AppointmentClaimsFhirApiExtendedMap: {
|
|
143
|
+
"org.hl7.fhir.api.Appointment.cancelation-reason": StringConstructor;
|
|
144
|
+
"org.hl7.fhir.api.Appointment.minutes-duration": NumberConstructor;
|
|
145
|
+
"org.hl7.fhir.api.Appointment.priority": NumberConstructor;
|
|
146
|
+
"org.hl7.fhir.api.Appointment.created": StringConstructor;
|
|
147
|
+
"org.hl7.fhir.api.Appointment.description": StringConstructor;
|
|
148
|
+
"org.hl7.fhir.api.Appointment.note-text": StringConstructor;
|
|
149
|
+
"org.hl7.fhir.api.Appointment.actor": StringConstructor;
|
|
150
|
+
"org.hl7.fhir.api.Appointment.appointment-type": StringConstructor;
|
|
151
|
+
"org.hl7.fhir.api.Appointment.based-on": StringConstructor;
|
|
152
|
+
"org.hl7.fhir.api.Appointment.date": StringConstructor;
|
|
153
|
+
"org.hl7.fhir.api.Appointment.identifier": StringConstructor;
|
|
154
|
+
"org.hl7.fhir.api.Appointment.location": StringConstructor;
|
|
155
|
+
"org.hl7.fhir.api.Appointment.part-status": StringConstructor;
|
|
156
|
+
"org.hl7.fhir.api.Appointment.patient": StringConstructor;
|
|
157
|
+
"org.hl7.fhir.api.Appointment.practitioner": StringConstructor;
|
|
158
|
+
"org.hl7.fhir.api.Appointment.reason-code": StringConstructor;
|
|
159
|
+
"org.hl7.fhir.api.Appointment.reason-reference": StringConstructor;
|
|
160
|
+
"org.hl7.fhir.api.Appointment.service-category": StringConstructor;
|
|
161
|
+
"org.hl7.fhir.api.Appointment.service-type": StringConstructor;
|
|
162
|
+
"org.hl7.fhir.api.Appointment.slot": StringConstructor;
|
|
163
|
+
"org.hl7.fhir.api.Appointment.specialty": StringConstructor;
|
|
164
|
+
"org.hl7.fhir.api.Appointment.status": StringConstructor;
|
|
165
|
+
"org.hl7.fhir.api.Appointment.supporting-info": StringConstructor;
|
|
166
|
+
};
|
|
167
|
+
export declare const AppointmentClaim: {
|
|
168
|
+
readonly Identifier: "Appointment.identifier";
|
|
169
|
+
readonly Status: "Appointment.status";
|
|
170
|
+
readonly ServiceCategory: "Appointment.service-category";
|
|
171
|
+
readonly ServiceType: "Appointment.service-type";
|
|
172
|
+
readonly Specialty: "Appointment.specialty";
|
|
173
|
+
readonly AppointmentType: "Appointment.appointment-type";
|
|
174
|
+
readonly ReasonCode: "Appointment.reason-code";
|
|
175
|
+
readonly ReasonReference: "Appointment.reason-reference";
|
|
176
|
+
readonly Description: "Appointment.description";
|
|
177
|
+
readonly Start: "Appointment.start";
|
|
178
|
+
readonly End: "Appointment.end";
|
|
179
|
+
readonly MinutesDuration: "Appointment.minutes-duration";
|
|
180
|
+
readonly Created: "Appointment.created";
|
|
181
|
+
readonly NoteText: "Appointment.note-text";
|
|
182
|
+
readonly PatientInstruction: "Appointment.patient-instruction";
|
|
183
|
+
readonly BasedOn: "Appointment.based-on";
|
|
184
|
+
readonly ParticipantActor: "Appointment.actor";
|
|
185
|
+
readonly ParticipantStatus: "Appointment.part-status";
|
|
186
|
+
readonly ParticipantType: "Appointment.participant-type";
|
|
187
|
+
};
|
|
188
|
+
export type AppointmentClaimKey = typeof AppointmentClaim[keyof typeof AppointmentClaim];
|
|
189
|
+
/**
|
|
190
|
+
* Defines the possible values for the `status` field on a FHIR Appointment resource.
|
|
191
|
+
* @basedon http://hl7.org/fhir/R4/appointment.html#status
|
|
192
|
+
* @basedon http://hl7.org/fhir/valueset-appointmentstatus.html
|
|
193
|
+
*/
|
|
194
|
+
export declare enum AppointmentStatus {
|
|
195
|
+
Proposed = "proposed",
|
|
196
|
+
Pending = "pending",
|
|
197
|
+
Booked = "booked",
|
|
198
|
+
Arrived = "arrived",
|
|
199
|
+
Fulfilled = "fulfilled",
|
|
200
|
+
Cancelled = "cancelled",
|
|
201
|
+
NoShow = "noshow",
|
|
202
|
+
EnteredInError = "entered-in-error",
|
|
203
|
+
CheckedIn = "checked-in",
|
|
204
|
+
Waitlist = "waitlist"
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Defines the possible values for the `participant.required` field on a FHIR Appointment resource.
|
|
208
|
+
* @basedon http://hl7.org/fhir/R4/appointment.html#participant
|
|
209
|
+
* @basedon http://hl7.org/fhir/valueset-participantrequired.html
|
|
210
|
+
*/
|
|
211
|
+
export declare enum AppointmentParticipantRequired {
|
|
212
|
+
Required = "required",
|
|
213
|
+
Optional = "optional",
|
|
214
|
+
InformationOnly = "information-only"
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Defines the possible values for the `participant.status` field on a FHIR Appointment resource.
|
|
218
|
+
* @basedon http://hl7.org/fhir/R4/appointment.html#participant
|
|
219
|
+
* @basedon http://hl7.org/fhir/valueset-participationstatus.html
|
|
220
|
+
*/
|
|
221
|
+
export declare enum AppointmentParticipantStatus {
|
|
222
|
+
Accepted = "accepted",
|
|
223
|
+
Declined = "declined",
|
|
224
|
+
Tentative = "tentative",
|
|
225
|
+
NeedsAction = "needs-action"
|
|
226
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
// src/models/fhir/Appointment.claims.ts
|
|
2
|
+
/**
|
|
3
|
+
* Defines the flat claims structure for a FHIR Appointment resource, separating
|
|
4
|
+
* version-specific data model fields from version-agnostic API search parameters.
|
|
5
|
+
*
|
|
6
|
+
* This model aligns with FHIR R5 conventions (using `note.text` instead of `comment`)
|
|
7
|
+
* for forward compatibility and consistency with other resources like Communication.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Claims are never version-specific. Kept as a source-compatible
|
|
12
|
+
* alias whose values now use the expanded `org.hl7.fhir.api` vocabulary.
|
|
13
|
+
*
|
|
14
|
+
* @basedon https://www.hl7.org/fhir/R4/appointment.html
|
|
15
|
+
*/
|
|
16
|
+
export var AppointmentClaimsFhirR4Core;
|
|
17
|
+
(function (AppointmentClaimsFhirR4Core) {
|
|
18
|
+
AppointmentClaimsFhirR4Core["Identifier"] = "org.hl7.fhir.api.Appointment.identifier";
|
|
19
|
+
AppointmentClaimsFhirR4Core["Status"] = "org.hl7.fhir.api.Appointment.status";
|
|
20
|
+
AppointmentClaimsFhirR4Core["CancelationReason"] = "org.hl7.fhir.api.Appointment.cancelation-reason";
|
|
21
|
+
AppointmentClaimsFhirR4Core["ServiceCategory"] = "org.hl7.fhir.api.Appointment.service-category";
|
|
22
|
+
AppointmentClaimsFhirR4Core["ServiceType"] = "org.hl7.fhir.api.Appointment.service-type";
|
|
23
|
+
AppointmentClaimsFhirR4Core["Specialty"] = "org.hl7.fhir.api.Appointment.specialty";
|
|
24
|
+
AppointmentClaimsFhirR4Core["AppointmentType"] = "org.hl7.fhir.api.Appointment.appointment-type";
|
|
25
|
+
AppointmentClaimsFhirR4Core["ReasonCode"] = "org.hl7.fhir.api.Appointment.reason-code";
|
|
26
|
+
AppointmentClaimsFhirR4Core["ReasonReference"] = "org.hl7.fhir.api.Appointment.reason-reference";
|
|
27
|
+
AppointmentClaimsFhirR4Core["Priority"] = "org.hl7.fhir.api.Appointment.priority";
|
|
28
|
+
AppointmentClaimsFhirR4Core["Description"] = "org.hl7.fhir.api.Appointment.description";
|
|
29
|
+
AppointmentClaimsFhirR4Core["SupportingInformation"] = "org.hl7.fhir.api.Appointment.supporting-information";
|
|
30
|
+
AppointmentClaimsFhirR4Core["Start"] = "org.hl7.fhir.api.Appointment.start";
|
|
31
|
+
AppointmentClaimsFhirR4Core["End"] = "org.hl7.fhir.api.Appointment.end";
|
|
32
|
+
AppointmentClaimsFhirR4Core["MinutesDuration"] = "org.hl7.fhir.api.Appointment.minutes-duration";
|
|
33
|
+
AppointmentClaimsFhirR4Core["Slot"] = "org.hl7.fhir.api.Appointment.slot";
|
|
34
|
+
AppointmentClaimsFhirR4Core["Created"] = "org.hl7.fhir.api.Appointment.created";
|
|
35
|
+
AppointmentClaimsFhirR4Core["NoteText"] = "org.hl7.fhir.api.Appointment.note-text";
|
|
36
|
+
AppointmentClaimsFhirR4Core["PatientInstruction"] = "org.hl7.fhir.api.Appointment.patient-instruction";
|
|
37
|
+
AppointmentClaimsFhirR4Core["BasedOn"] = "org.hl7.fhir.api.Appointment.based-on";
|
|
38
|
+
AppointmentClaimsFhirR4Core["ParticipantActor"] = "org.hl7.fhir.api.Appointment.participant-actor";
|
|
39
|
+
AppointmentClaimsFhirR4Core["ParticipantRequired"] = "org.hl7.fhir.api.Appointment.participant-required";
|
|
40
|
+
AppointmentClaimsFhirR4Core["ParticipantStatus"] = "org.hl7.fhir.api.Appointment.participant-status";
|
|
41
|
+
AppointmentClaimsFhirR4Core["ParticipantType"] = "org.hl7.fhir.api.Appointment.participant-type";
|
|
42
|
+
AppointmentClaimsFhirR4Core["RequestedPeriod"] = "org.hl7.fhir.api.Appointment.requested-period";
|
|
43
|
+
AppointmentClaimsFhirR4Core["ResourceId"] = "org.hl7.fhir.api.Appointment.resource-id";
|
|
44
|
+
})(AppointmentClaimsFhirR4Core || (AppointmentClaimsFhirR4Core = {}));
|
|
45
|
+
/**
|
|
46
|
+
* Contains claims representing the standard, version-agnostic API search parameters for an Appointment.
|
|
47
|
+
*
|
|
48
|
+
* @basedon https://www.hl7.org/fhir/appointment.html#search
|
|
49
|
+
*/
|
|
50
|
+
export var AppointmentClaimsFhirApi;
|
|
51
|
+
(function (AppointmentClaimsFhirApi) {
|
|
52
|
+
AppointmentClaimsFhirApi["Actor"] = "org.hl7.fhir.api.Appointment.actor";
|
|
53
|
+
AppointmentClaimsFhirApi["AppointmentType"] = "org.hl7.fhir.api.Appointment.appointment-type";
|
|
54
|
+
AppointmentClaimsFhirApi["BasedOn"] = "org.hl7.fhir.api.Appointment.based-on";
|
|
55
|
+
AppointmentClaimsFhirApi["Date"] = "org.hl7.fhir.api.Appointment.date";
|
|
56
|
+
AppointmentClaimsFhirApi["Identifier"] = "org.hl7.fhir.api.Appointment.identifier";
|
|
57
|
+
AppointmentClaimsFhirApi["Location"] = "org.hl7.fhir.api.Appointment.location";
|
|
58
|
+
AppointmentClaimsFhirApi["PartStatus"] = "org.hl7.fhir.api.Appointment.part-status";
|
|
59
|
+
AppointmentClaimsFhirApi["Patient"] = "org.hl7.fhir.api.Appointment.patient";
|
|
60
|
+
AppointmentClaimsFhirApi["Practitioner"] = "org.hl7.fhir.api.Appointment.practitioner";
|
|
61
|
+
AppointmentClaimsFhirApi["ReasonCode"] = "org.hl7.fhir.api.Appointment.reason-code";
|
|
62
|
+
AppointmentClaimsFhirApi["ReasonReference"] = "org.hl7.fhir.api.Appointment.reason-reference";
|
|
63
|
+
AppointmentClaimsFhirApi["ServiceCategory"] = "org.hl7.fhir.api.Appointment.service-category";
|
|
64
|
+
AppointmentClaimsFhirApi["ServiceType"] = "org.hl7.fhir.api.Appointment.service-type";
|
|
65
|
+
AppointmentClaimsFhirApi["Slot"] = "org.hl7.fhir.api.Appointment.slot";
|
|
66
|
+
AppointmentClaimsFhirApi["Specialty"] = "org.hl7.fhir.api.Appointment.specialty";
|
|
67
|
+
AppointmentClaimsFhirApi["Status"] = "org.hl7.fhir.api.Appointment.status";
|
|
68
|
+
AppointmentClaimsFhirApi["SupportingInfo"] = "org.hl7.fhir.api.Appointment.supporting-info";
|
|
69
|
+
})(AppointmentClaimsFhirApi || (AppointmentClaimsFhirApi = {}));
|
|
70
|
+
/**
|
|
71
|
+
* Extends the standard API search parameters with custom parameters derived from core data model fields.
|
|
72
|
+
*/
|
|
73
|
+
export var AppointmentClaimsFhirApiExtended;
|
|
74
|
+
(function (AppointmentClaimsFhirApiExtended) {
|
|
75
|
+
AppointmentClaimsFhirApiExtended["Actor"] = "org.hl7.fhir.api.Appointment.actor";
|
|
76
|
+
AppointmentClaimsFhirApiExtended["AppointmentType"] = "org.hl7.fhir.api.Appointment.appointment-type";
|
|
77
|
+
AppointmentClaimsFhirApiExtended["BasedOn"] = "org.hl7.fhir.api.Appointment.based-on";
|
|
78
|
+
AppointmentClaimsFhirApiExtended["Date"] = "org.hl7.fhir.api.Appointment.date";
|
|
79
|
+
AppointmentClaimsFhirApiExtended["Identifier"] = "org.hl7.fhir.api.Appointment.identifier";
|
|
80
|
+
AppointmentClaimsFhirApiExtended["Location"] = "org.hl7.fhir.api.Appointment.location";
|
|
81
|
+
AppointmentClaimsFhirApiExtended["PartStatus"] = "org.hl7.fhir.api.Appointment.part-status";
|
|
82
|
+
AppointmentClaimsFhirApiExtended["Patient"] = "org.hl7.fhir.api.Appointment.patient";
|
|
83
|
+
AppointmentClaimsFhirApiExtended["Practitioner"] = "org.hl7.fhir.api.Appointment.practitioner";
|
|
84
|
+
AppointmentClaimsFhirApiExtended["ReasonCode"] = "org.hl7.fhir.api.Appointment.reason-code";
|
|
85
|
+
AppointmentClaimsFhirApiExtended["ReasonReference"] = "org.hl7.fhir.api.Appointment.reason-reference";
|
|
86
|
+
AppointmentClaimsFhirApiExtended["ServiceCategory"] = "org.hl7.fhir.api.Appointment.service-category";
|
|
87
|
+
AppointmentClaimsFhirApiExtended["ServiceType"] = "org.hl7.fhir.api.Appointment.service-type";
|
|
88
|
+
AppointmentClaimsFhirApiExtended["Slot"] = "org.hl7.fhir.api.Appointment.slot";
|
|
89
|
+
AppointmentClaimsFhirApiExtended["Specialty"] = "org.hl7.fhir.api.Appointment.specialty";
|
|
90
|
+
AppointmentClaimsFhirApiExtended["Status"] = "org.hl7.fhir.api.Appointment.status";
|
|
91
|
+
AppointmentClaimsFhirApiExtended["SupportingInfo"] = "org.hl7.fhir.api.Appointment.supporting-info";
|
|
92
|
+
// Extended
|
|
93
|
+
AppointmentClaimsFhirApiExtended["CancelationReason"] = "org.hl7.fhir.api.Appointment.cancelation-reason";
|
|
94
|
+
AppointmentClaimsFhirApiExtended["MinutesDuration"] = "org.hl7.fhir.api.Appointment.minutes-duration";
|
|
95
|
+
AppointmentClaimsFhirApiExtended["Priority"] = "org.hl7.fhir.api.Appointment.priority";
|
|
96
|
+
AppointmentClaimsFhirApiExtended["Created"] = "org.hl7.fhir.api.Appointment.created";
|
|
97
|
+
AppointmentClaimsFhirApiExtended["Description"] = "org.hl7.fhir.api.Appointment.description";
|
|
98
|
+
AppointmentClaimsFhirApiExtended["NoteText"] = "org.hl7.fhir.api.Appointment.note-text";
|
|
99
|
+
})(AppointmentClaimsFhirApiExtended || (AppointmentClaimsFhirApiExtended = {}));
|
|
100
|
+
export const AppointmentClaimsFhirR4CoreMap = {
|
|
101
|
+
[AppointmentClaimsFhirR4Core.Identifier]: String,
|
|
102
|
+
[AppointmentClaimsFhirR4Core.Status]: String,
|
|
103
|
+
[AppointmentClaimsFhirR4Core.CancelationReason]: String,
|
|
104
|
+
[AppointmentClaimsFhirR4Core.ServiceCategory]: String,
|
|
105
|
+
[AppointmentClaimsFhirR4Core.ServiceType]: String,
|
|
106
|
+
[AppointmentClaimsFhirR4Core.Specialty]: String,
|
|
107
|
+
[AppointmentClaimsFhirR4Core.AppointmentType]: String,
|
|
108
|
+
[AppointmentClaimsFhirR4Core.ReasonCode]: String,
|
|
109
|
+
[AppointmentClaimsFhirR4Core.ReasonReference]: String,
|
|
110
|
+
[AppointmentClaimsFhirR4Core.Priority]: Number,
|
|
111
|
+
[AppointmentClaimsFhirR4Core.Description]: String,
|
|
112
|
+
[AppointmentClaimsFhirR4Core.SupportingInformation]: String,
|
|
113
|
+
[AppointmentClaimsFhirR4Core.Start]: String,
|
|
114
|
+
[AppointmentClaimsFhirR4Core.End]: String,
|
|
115
|
+
[AppointmentClaimsFhirR4Core.MinutesDuration]: Number,
|
|
116
|
+
[AppointmentClaimsFhirR4Core.Slot]: String,
|
|
117
|
+
[AppointmentClaimsFhirR4Core.Created]: String,
|
|
118
|
+
[AppointmentClaimsFhirR4Core.NoteText]: String,
|
|
119
|
+
[AppointmentClaimsFhirR4Core.PatientInstruction]: String,
|
|
120
|
+
[AppointmentClaimsFhirR4Core.BasedOn]: String,
|
|
121
|
+
[AppointmentClaimsFhirR4Core.ParticipantActor]: String,
|
|
122
|
+
[AppointmentClaimsFhirR4Core.ParticipantRequired]: String,
|
|
123
|
+
[AppointmentClaimsFhirR4Core.ParticipantStatus]: String,
|
|
124
|
+
[AppointmentClaimsFhirR4Core.ParticipantType]: String,
|
|
125
|
+
[AppointmentClaimsFhirR4Core.RequestedPeriod]: String,
|
|
126
|
+
[AppointmentClaimsFhirR4Core.ResourceId]: String,
|
|
127
|
+
};
|
|
128
|
+
export const AppointmentClaimsFhirApiMap = {
|
|
129
|
+
[AppointmentClaimsFhirApi.Actor]: String,
|
|
130
|
+
[AppointmentClaimsFhirApi.AppointmentType]: String,
|
|
131
|
+
[AppointmentClaimsFhirApi.BasedOn]: String,
|
|
132
|
+
[AppointmentClaimsFhirApi.Date]: String,
|
|
133
|
+
[AppointmentClaimsFhirApi.Identifier]: String,
|
|
134
|
+
[AppointmentClaimsFhirApi.Location]: String,
|
|
135
|
+
[AppointmentClaimsFhirApi.PartStatus]: String,
|
|
136
|
+
[AppointmentClaimsFhirApi.Patient]: String,
|
|
137
|
+
[AppointmentClaimsFhirApi.Practitioner]: String,
|
|
138
|
+
[AppointmentClaimsFhirApi.ReasonCode]: String,
|
|
139
|
+
[AppointmentClaimsFhirApi.ReasonReference]: String,
|
|
140
|
+
[AppointmentClaimsFhirApi.ServiceCategory]: String,
|
|
141
|
+
[AppointmentClaimsFhirApi.ServiceType]: String,
|
|
142
|
+
[AppointmentClaimsFhirApi.Slot]: String,
|
|
143
|
+
[AppointmentClaimsFhirApi.Specialty]: String,
|
|
144
|
+
[AppointmentClaimsFhirApi.Status]: String,
|
|
145
|
+
[AppointmentClaimsFhirApi.SupportingInfo]: String,
|
|
146
|
+
};
|
|
147
|
+
export const AppointmentClaimsFhirApiExtendedMap = {
|
|
148
|
+
...AppointmentClaimsFhirApiMap,
|
|
149
|
+
[AppointmentClaimsFhirApiExtended.CancelationReason]: String,
|
|
150
|
+
[AppointmentClaimsFhirApiExtended.MinutesDuration]: Number,
|
|
151
|
+
[AppointmentClaimsFhirApiExtended.Priority]: Number,
|
|
152
|
+
[AppointmentClaimsFhirApiExtended.Created]: String,
|
|
153
|
+
[AppointmentClaimsFhirApiExtended.Description]: String,
|
|
154
|
+
[AppointmentClaimsFhirApiExtended.NoteText]: String,
|
|
155
|
+
};
|
|
156
|
+
export const AppointmentClaim = {
|
|
157
|
+
Identifier: 'Appointment.identifier',
|
|
158
|
+
Status: 'Appointment.status',
|
|
159
|
+
ServiceCategory: 'Appointment.service-category',
|
|
160
|
+
ServiceType: 'Appointment.service-type',
|
|
161
|
+
Specialty: 'Appointment.specialty',
|
|
162
|
+
AppointmentType: 'Appointment.appointment-type',
|
|
163
|
+
ReasonCode: 'Appointment.reason-code',
|
|
164
|
+
ReasonReference: 'Appointment.reason-reference',
|
|
165
|
+
Description: 'Appointment.description',
|
|
166
|
+
Start: 'Appointment.start',
|
|
167
|
+
End: 'Appointment.end',
|
|
168
|
+
MinutesDuration: 'Appointment.minutes-duration',
|
|
169
|
+
Created: 'Appointment.created',
|
|
170
|
+
NoteText: 'Appointment.note-text',
|
|
171
|
+
PatientInstruction: 'Appointment.patient-instruction',
|
|
172
|
+
BasedOn: 'Appointment.based-on',
|
|
173
|
+
ParticipantActor: 'Appointment.actor',
|
|
174
|
+
ParticipantStatus: 'Appointment.part-status',
|
|
175
|
+
ParticipantType: 'Appointment.participant-type',
|
|
176
|
+
};
|
|
177
|
+
// src/models/fhir/Appointment.values.ts
|
|
178
|
+
/**
|
|
179
|
+
* Defines the possible values for the `status` field on a FHIR Appointment resource.
|
|
180
|
+
* @basedon http://hl7.org/fhir/R4/appointment.html#status
|
|
181
|
+
* @basedon http://hl7.org/fhir/valueset-appointmentstatus.html
|
|
182
|
+
*/
|
|
183
|
+
export var AppointmentStatus;
|
|
184
|
+
(function (AppointmentStatus) {
|
|
185
|
+
AppointmentStatus["Proposed"] = "proposed";
|
|
186
|
+
AppointmentStatus["Pending"] = "pending";
|
|
187
|
+
AppointmentStatus["Booked"] = "booked";
|
|
188
|
+
AppointmentStatus["Arrived"] = "arrived";
|
|
189
|
+
AppointmentStatus["Fulfilled"] = "fulfilled";
|
|
190
|
+
AppointmentStatus["Cancelled"] = "cancelled";
|
|
191
|
+
AppointmentStatus["NoShow"] = "noshow";
|
|
192
|
+
AppointmentStatus["EnteredInError"] = "entered-in-error";
|
|
193
|
+
AppointmentStatus["CheckedIn"] = "checked-in";
|
|
194
|
+
AppointmentStatus["Waitlist"] = "waitlist";
|
|
195
|
+
})(AppointmentStatus || (AppointmentStatus = {}));
|
|
196
|
+
/**
|
|
197
|
+
* Defines the possible values for the `participant.required` field on a FHIR Appointment resource.
|
|
198
|
+
* @basedon http://hl7.org/fhir/R4/appointment.html#participant
|
|
199
|
+
* @basedon http://hl7.org/fhir/valueset-participantrequired.html
|
|
200
|
+
*/
|
|
201
|
+
export var AppointmentParticipantRequired;
|
|
202
|
+
(function (AppointmentParticipantRequired) {
|
|
203
|
+
AppointmentParticipantRequired["Required"] = "required";
|
|
204
|
+
AppointmentParticipantRequired["Optional"] = "optional";
|
|
205
|
+
AppointmentParticipantRequired["InformationOnly"] = "information-only";
|
|
206
|
+
})(AppointmentParticipantRequired || (AppointmentParticipantRequired = {}));
|
|
207
|
+
/**
|
|
208
|
+
* Defines the possible values for the `participant.status` field on a FHIR Appointment resource.
|
|
209
|
+
* @basedon http://hl7.org/fhir/R4/appointment.html#participant
|
|
210
|
+
* @basedon http://hl7.org/fhir/valueset-participationstatus.html
|
|
211
|
+
*/
|
|
212
|
+
export var AppointmentParticipantStatus;
|
|
213
|
+
(function (AppointmentParticipantStatus) {
|
|
214
|
+
AppointmentParticipantStatus["Accepted"] = "accepted";
|
|
215
|
+
AppointmentParticipantStatus["Declined"] = "declined";
|
|
216
|
+
AppointmentParticipantStatus["Tentative"] = "tentative";
|
|
217
|
+
AppointmentParticipantStatus["NeedsAction"] = "needs-action";
|
|
218
|
+
})(AppointmentParticipantStatus || (AppointmentParticipantStatus = {}));
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the flat claims structure for a FHIR AppointmentResponse resource.
|
|
3
|
+
*
|
|
4
|
+
* @basedon https://www.hl7.org/fhir/appointmentresponse.html
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Claims are never version-specific. Kept as a source-compatible
|
|
8
|
+
* alias whose keys now use the expanded `org.hl7.fhir.api` vocabulary.
|
|
9
|
+
*
|
|
10
|
+
* @basedon https://www.hl7.org/fhir/R4/appointmentresponse.html
|
|
11
|
+
*/
|
|
12
|
+
export declare const AppointmentResponseClaimsFhirR4: {
|
|
13
|
+
'org.hl7.fhir.api.AppointmentResponse.actor': StringConstructor;
|
|
14
|
+
'org.hl7.fhir.api.AppointmentResponse.appointment': StringConstructor;
|
|
15
|
+
'org.hl7.fhir.api.AppointmentResponse.comment': StringConstructor;
|
|
16
|
+
'org.hl7.fhir.api.AppointmentResponse.identifier': StringConstructor;
|
|
17
|
+
'org.hl7.fhir.api.AppointmentResponse.start': StringConstructor;
|
|
18
|
+
'org.hl7.fhir.api.AppointmentResponse.end': StringConstructor;
|
|
19
|
+
'org.hl7.fhir.api.AppointmentResponse.participant-type': StringConstructor;
|
|
20
|
+
'org.hl7.fhir.api.AppointmentResponse.participant-status': StringConstructor;
|
|
21
|
+
'org.hl7.fhir.api.AppointmentResponse.resource-id': StringConstructor;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Contains claims representing the standard, version-agnostic API search parameters for an AppointmentResponse.
|
|
25
|
+
*
|
|
26
|
+
* @basedon https://www.hl7.org/fhir/appointmentresponse.html#search
|
|
27
|
+
*/
|
|
28
|
+
export declare const AppointmentResponseClaimsFhirApi: {
|
|
29
|
+
'org.hl7.fhir.api.AppointmentResponse.actor': StringConstructor;
|
|
30
|
+
'org.hl7.fhir.api.AppointmentResponse.appointment': StringConstructor;
|
|
31
|
+
'org.hl7.fhir.api.AppointmentResponse.identifier': StringConstructor;
|
|
32
|
+
'org.hl7.fhir.api.AppointmentResponse.location': StringConstructor;
|
|
33
|
+
'org.hl7.fhir.api.AppointmentResponse.part-status': StringConstructor;
|
|
34
|
+
'org.hl7.fhir.api.AppointmentResponse.patient': StringConstructor;
|
|
35
|
+
'org.hl7.fhir.api.AppointmentResponse.practitioner': StringConstructor;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Extends the standard API search parameters with custom parameters derived from core data model fields.
|
|
39
|
+
* In this case, there are no common extended parameters, so it mirrors the base API claims.
|
|
40
|
+
*/
|
|
41
|
+
export declare const AppointmentResponseClaimsFhirApiExtended: {
|
|
42
|
+
'org.hl7.fhir.api.AppointmentResponse.actor': StringConstructor;
|
|
43
|
+
'org.hl7.fhir.api.AppointmentResponse.appointment': StringConstructor;
|
|
44
|
+
'org.hl7.fhir.api.AppointmentResponse.identifier': StringConstructor;
|
|
45
|
+
'org.hl7.fhir.api.AppointmentResponse.location': StringConstructor;
|
|
46
|
+
'org.hl7.fhir.api.AppointmentResponse.part-status': StringConstructor;
|
|
47
|
+
'org.hl7.fhir.api.AppointmentResponse.patient': StringConstructor;
|
|
48
|
+
'org.hl7.fhir.api.AppointmentResponse.practitioner': StringConstructor;
|
|
49
|
+
};
|
|
50
|
+
export declare const AppointmentResponseClaim: {
|
|
51
|
+
readonly Actor: "AppointmentResponse.actor";
|
|
52
|
+
readonly Appointment: "AppointmentResponse.appointment";
|
|
53
|
+
readonly Comment: "AppointmentResponse.comment";
|
|
54
|
+
readonly Identifier: "AppointmentResponse.identifier";
|
|
55
|
+
readonly Start: "AppointmentResponse.start";
|
|
56
|
+
readonly End: "AppointmentResponse.end";
|
|
57
|
+
readonly ParticipantType: "AppointmentResponse.participant-type";
|
|
58
|
+
readonly ParticipantStatus: "AppointmentResponse.participant-status";
|
|
59
|
+
readonly Patient: "AppointmentResponse.patient";
|
|
60
|
+
readonly Practitioner: "AppointmentResponse.practitioner";
|
|
61
|
+
readonly Location: "AppointmentResponse.location";
|
|
62
|
+
};
|
|
63
|
+
export type AppointmentResponseClaimKey = typeof AppointmentResponseClaim[keyof typeof AppointmentResponseClaim];
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// src/models/fhir/AppointmentResponse.claims.ts
|
|
2
|
+
/**
|
|
3
|
+
* Defines the flat claims structure for a FHIR AppointmentResponse resource.
|
|
4
|
+
*
|
|
5
|
+
* @basedon https://www.hl7.org/fhir/appointmentresponse.html
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Claims are never version-specific. Kept as a source-compatible
|
|
9
|
+
* alias whose keys now use the expanded `org.hl7.fhir.api` vocabulary.
|
|
10
|
+
*
|
|
11
|
+
* @basedon https://www.hl7.org/fhir/R4/appointmentresponse.html
|
|
12
|
+
*/
|
|
13
|
+
export const AppointmentResponseClaimsFhirR4 = {
|
|
14
|
+
'org.hl7.fhir.api.AppointmentResponse.actor': String,
|
|
15
|
+
'org.hl7.fhir.api.AppointmentResponse.appointment': String,
|
|
16
|
+
'org.hl7.fhir.api.AppointmentResponse.comment': String,
|
|
17
|
+
'org.hl7.fhir.api.AppointmentResponse.identifier': String,
|
|
18
|
+
'org.hl7.fhir.api.AppointmentResponse.start': String,
|
|
19
|
+
'org.hl7.fhir.api.AppointmentResponse.end': String,
|
|
20
|
+
'org.hl7.fhir.api.AppointmentResponse.participant-type': String,
|
|
21
|
+
'org.hl7.fhir.api.AppointmentResponse.participant-status': String,
|
|
22
|
+
'org.hl7.fhir.api.AppointmentResponse.resource-id': String,
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Contains claims representing the standard, version-agnostic API search parameters for an AppointmentResponse.
|
|
26
|
+
*
|
|
27
|
+
* @basedon https://www.hl7.org/fhir/appointmentresponse.html#search
|
|
28
|
+
*/
|
|
29
|
+
export const AppointmentResponseClaimsFhirApi = {
|
|
30
|
+
'org.hl7.fhir.api.AppointmentResponse.actor': String,
|
|
31
|
+
'org.hl7.fhir.api.AppointmentResponse.appointment': String,
|
|
32
|
+
'org.hl7.fhir.api.AppointmentResponse.identifier': String,
|
|
33
|
+
'org.hl7.fhir.api.AppointmentResponse.location': String,
|
|
34
|
+
'org.hl7.fhir.api.AppointmentResponse.part-status': String,
|
|
35
|
+
'org.hl7.fhir.api.AppointmentResponse.patient': String,
|
|
36
|
+
'org.hl7.fhir.api.AppointmentResponse.practitioner': String,
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Extends the standard API search parameters with custom parameters derived from core data model fields.
|
|
40
|
+
* In this case, there are no common extended parameters, so it mirrors the base API claims.
|
|
41
|
+
*/
|
|
42
|
+
export const AppointmentResponseClaimsFhirApiExtended = {
|
|
43
|
+
...AppointmentResponseClaimsFhirApi,
|
|
44
|
+
// No additional extended claims for AppointmentResponse at this time.
|
|
45
|
+
};
|
|
46
|
+
export const AppointmentResponseClaim = {
|
|
47
|
+
Actor: 'AppointmentResponse.actor',
|
|
48
|
+
Appointment: 'AppointmentResponse.appointment',
|
|
49
|
+
Comment: 'AppointmentResponse.comment',
|
|
50
|
+
Identifier: 'AppointmentResponse.identifier',
|
|
51
|
+
Start: 'AppointmentResponse.start',
|
|
52
|
+
End: 'AppointmentResponse.end',
|
|
53
|
+
ParticipantType: 'AppointmentResponse.participant-type',
|
|
54
|
+
ParticipantStatus: 'AppointmentResponse.participant-status',
|
|
55
|
+
Patient: 'AppointmentResponse.patient',
|
|
56
|
+
Practitioner: 'AppointmentResponse.practitioner',
|
|
57
|
+
Location: 'AppointmentResponse.location',
|
|
58
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ClaimSpec } from './claim-types.js';
|
|
2
|
+
export declare const CarePlanClaim: {
|
|
3
|
+
readonly ActivityCode: "CarePlan.activity-code";
|
|
4
|
+
readonly ActivityDate: "CarePlan.activity-date";
|
|
5
|
+
readonly ActivityReference: "CarePlan.activity-reference";
|
|
6
|
+
readonly BasedOn: "CarePlan.based-on";
|
|
7
|
+
readonly CareTeam: "CarePlan.care-team";
|
|
8
|
+
readonly Category: "CarePlan.category";
|
|
9
|
+
readonly CategoryText: "CarePlan.category-text";
|
|
10
|
+
readonly CategoryDisplay: "CarePlan.category-display";
|
|
11
|
+
readonly Condition: "CarePlan.condition";
|
|
12
|
+
readonly Date: "CarePlan.date";
|
|
13
|
+
readonly Encounter: "CarePlan.encounter";
|
|
14
|
+
readonly Goal: "CarePlan.goal";
|
|
15
|
+
readonly Identifier: "CarePlan.identifier";
|
|
16
|
+
readonly Intent: "CarePlan.intent";
|
|
17
|
+
readonly PartOf: "CarePlan.part-of";
|
|
18
|
+
readonly Patient: "CarePlan.patient";
|
|
19
|
+
readonly Performer: "CarePlan.performer";
|
|
20
|
+
readonly Replaces: "CarePlan.replaces";
|
|
21
|
+
readonly Status: "CarePlan.status";
|
|
22
|
+
readonly Subject: "CarePlan.subject";
|
|
23
|
+
readonly Note: "CarePlan.note";
|
|
24
|
+
readonly Description: "CarePlan.description";
|
|
25
|
+
readonly PeriodStart: "CarePlan.period-start";
|
|
26
|
+
readonly PeriodEnd: "CarePlan.period-end";
|
|
27
|
+
readonly ActivityStatus: "CarePlan.activity-status";
|
|
28
|
+
readonly ActivityStatusReason: "CarePlan.activity-status-reason";
|
|
29
|
+
readonly ActivityDoNotPerform: "CarePlan.activity-do-not-perform";
|
|
30
|
+
readonly ActivityOutcome: "CarePlan.activity-outcome";
|
|
31
|
+
readonly ActivityLocationDisplay: "CarePlan.activity-location-display";
|
|
32
|
+
readonly ActivityTimingFrequency: "CarePlan.activity-timing-frequency";
|
|
33
|
+
readonly ActivityTimingPeriod: "CarePlan.activity-timing-period";
|
|
34
|
+
readonly ActivityTimingPeriodUnit: "CarePlan.activity-timing-period-unit";
|
|
35
|
+
};
|
|
36
|
+
export type CarePlanClaimKey = typeof CarePlanClaim[keyof typeof CarePlanClaim];
|
|
37
|
+
export declare const CarePlanClaimSpecs: ClaimSpec[];
|