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,39 @@
|
|
|
1
|
+
import type { ClaimSpec } from './claim-types.js';
|
|
2
|
+
export declare const DocumentReferenceClaim: {
|
|
3
|
+
readonly Attester: "DocumentReference.attester";
|
|
4
|
+
readonly Author: "DocumentReference.author";
|
|
5
|
+
readonly BasedOn: "DocumentReference.based-on";
|
|
6
|
+
readonly Category: "DocumentReference.category";
|
|
7
|
+
readonly ContentData: "DocumentReference.contentdata";
|
|
8
|
+
readonly ContentHash: "DocumentReference.contenthash";
|
|
9
|
+
readonly ContentType: "DocumentReference.contenttype";
|
|
10
|
+
readonly Context: "DocumentReference.context";
|
|
11
|
+
readonly Creation: "DocumentReference.creation";
|
|
12
|
+
readonly Date: "DocumentReference.date";
|
|
13
|
+
readonly Description: "DocumentReference.description";
|
|
14
|
+
readonly EventCode: "DocumentReference.event-code";
|
|
15
|
+
readonly EventReference: "DocumentReference.event-reference";
|
|
16
|
+
readonly FormatUri: "DocumentReference.format-uri";
|
|
17
|
+
readonly Identifier: "DocumentReference.identifier";
|
|
18
|
+
readonly Language: "DocumentReference.language";
|
|
19
|
+
readonly Location: "DocumentReference.location";
|
|
20
|
+
readonly Modality: "DocumentReference.modality";
|
|
21
|
+
readonly RelatesTo: "DocumentReference.relatesto";
|
|
22
|
+
readonly Relation: "DocumentReference.relation";
|
|
23
|
+
readonly Subject: "DocumentReference.subject";
|
|
24
|
+
readonly Type: "DocumentReference.type";
|
|
25
|
+
readonly TypeText: "DocumentReference.type-text";
|
|
26
|
+
readonly TypeDisplay: "DocumentReference.type-display";
|
|
27
|
+
readonly UserSelected: "DocumentReference.user-selected";
|
|
28
|
+
};
|
|
29
|
+
export type DocumentReferenceClaimKey = typeof DocumentReferenceClaim[keyof typeof DocumentReferenceClaim];
|
|
30
|
+
/**
|
|
31
|
+
* Human-readable reference for UI/docs generators.
|
|
32
|
+
* This is intentionally claims-first metadata and not a FHIR structure.
|
|
33
|
+
*/
|
|
34
|
+
export declare const DocumentReferenceClaimSpecs: ClaimSpec[];
|
|
35
|
+
/**
|
|
36
|
+
* Optional mapping helper when converting claims-first payloads to strict FHIR JSON.
|
|
37
|
+
* Not used as canonical claim naming.
|
|
38
|
+
*/
|
|
39
|
+
export declare const DocumentReferenceClaimToFhirPath: Record<string, string | string[]>;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// Copyright 2026 Conéctate Soluciones y Aplicaciones SL under the Apache License, Version 2.0.
|
|
2
|
+
// File: src/models/interoperable-claims/document-reference-claims.ts
|
|
3
|
+
// Always create JSDoc, do not use strings inline in keys nor values, use types instead, and reuse the data test examples.
|
|
4
|
+
export const DocumentReferenceClaim = {
|
|
5
|
+
Attester: 'DocumentReference.attester',
|
|
6
|
+
Author: 'DocumentReference.author',
|
|
7
|
+
BasedOn: 'DocumentReference.based-on',
|
|
8
|
+
Category: 'DocumentReference.category',
|
|
9
|
+
ContentData: 'DocumentReference.contentdata',
|
|
10
|
+
ContentHash: 'DocumentReference.contenthash',
|
|
11
|
+
ContentType: 'DocumentReference.contenttype',
|
|
12
|
+
Context: 'DocumentReference.context',
|
|
13
|
+
Creation: 'DocumentReference.creation',
|
|
14
|
+
Date: 'DocumentReference.date',
|
|
15
|
+
Description: 'DocumentReference.description',
|
|
16
|
+
EventCode: 'DocumentReference.event-code',
|
|
17
|
+
EventReference: 'DocumentReference.event-reference',
|
|
18
|
+
FormatUri: 'DocumentReference.format-uri',
|
|
19
|
+
Identifier: 'DocumentReference.identifier',
|
|
20
|
+
Language: 'DocumentReference.language',
|
|
21
|
+
Location: 'DocumentReference.location',
|
|
22
|
+
Modality: 'DocumentReference.modality',
|
|
23
|
+
RelatesTo: 'DocumentReference.relatesto',
|
|
24
|
+
Relation: 'DocumentReference.relation',
|
|
25
|
+
Subject: 'DocumentReference.subject',
|
|
26
|
+
Type: 'DocumentReference.type',
|
|
27
|
+
TypeText: 'DocumentReference.type-text',
|
|
28
|
+
TypeDisplay: 'DocumentReference.type-display',
|
|
29
|
+
UserSelected: 'DocumentReference.user-selected',
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Human-readable reference for UI/docs generators.
|
|
33
|
+
* This is intentionally claims-first metadata and not a FHIR structure.
|
|
34
|
+
*/
|
|
35
|
+
export const DocumentReferenceClaimSpecs = [
|
|
36
|
+
{ key: DocumentReferenceClaim.Attester, meaning: 'Attester value (DID or role: personal | professional | legal | official).', example: 'did:web:hospital.example.com:employee:adm-332' },
|
|
37
|
+
{ key: DocumentReferenceClaim.Author, meaning: 'DID of the source author.', example: 'did:web:lab.example.com:system:lisin' },
|
|
38
|
+
{ key: DocumentReferenceClaim.BasedOn, meaning: 'URL of the source FHIR resource.', example: 'https://ehr.example.com/fhir/ServiceRequest/sr-991' },
|
|
39
|
+
{ key: DocumentReferenceClaim.Category, meaning: 'Higher-level document grouping.', example: 'http://hl7.org/fhir/ValueSet/document-classcodes|LP173418-7' },
|
|
40
|
+
{ key: DocumentReferenceClaim.ContentData, meaning: 'Embedded attachment as base64.', example: 'JVBERi0xLjc...' },
|
|
41
|
+
{ key: DocumentReferenceClaim.ContentHash, meaning: 'Attachment content hash/CID used for retrieval and integrity checks.', example: 'z4EBG9jDwAxbThHs9AMGBy6dTN1P9fGEcXq6tCm1ugw3pV89Nsc' },
|
|
42
|
+
{ key: DocumentReferenceClaim.ContentType, meaning: 'Attachment MIME type.', example: 'application/pdf' },
|
|
43
|
+
{ key: DocumentReferenceClaim.Context, meaning: 'Context such as Appointment | Encounter | EpisodeOfCare.', example: 'Encounter/enc-123' },
|
|
44
|
+
{ key: DocumentReferenceClaim.Creation, meaning: 'When source information was created.', example: '2026-02-10T08:20:00Z' },
|
|
45
|
+
{ key: DocumentReferenceClaim.Date, meaning: 'When this registration was attested.', example: '2026-02-10T10:05:33Z' },
|
|
46
|
+
{ key: DocumentReferenceClaim.Description, meaning: 'Human-readable summary.', example: 'Vital signs report from home device' },
|
|
47
|
+
{ key: DocumentReferenceClaim.EventCode, meaning: 'Main code for the source FHIR resource.', example: 'http://loinc.org|85354-9' },
|
|
48
|
+
{ key: DocumentReferenceClaim.EventReference, meaning: 'URL of the source FHIR resource.', example: 'https://ehr.example.com/fhir/Observation/obs-778' },
|
|
49
|
+
{ key: DocumentReferenceClaim.FormatUri, meaning: 'Attachment format URI.', example: 'urn:ihe:dent:PDF' },
|
|
50
|
+
{ key: DocumentReferenceClaim.Identifier, meaning: 'Document identifier used for correlation.', example: 'docref-2026-00042' },
|
|
51
|
+
{ key: DocumentReferenceClaim.Language, meaning: 'Language of attachment content.', example: 'en' },
|
|
52
|
+
{ key: DocumentReferenceClaim.Location, meaning: 'Remote URL of attachment.', example: 'https://ehr.example.com/fhir/Binary/bin-123' },
|
|
53
|
+
{ key: DocumentReferenceClaim.Modality, meaning: 'Imaging modality/equipment function.', example: 'http://dicom.nema.org/resources/ontology/DCM|CT' },
|
|
54
|
+
{ key: DocumentReferenceClaim.RelatesTo, meaning: 'Reference to related/prior document.', example: 'DocumentReference/docref-00041' },
|
|
55
|
+
{ key: DocumentReferenceClaim.Relation, meaning: 'Relation type to related document.', example: 'appends' },
|
|
56
|
+
{ key: DocumentReferenceClaim.Subject, meaning: 'URN for the section in the individual index.', example: 'urn:uhix:section:vitals' },
|
|
57
|
+
{ key: DocumentReferenceClaim.Type, meaning: 'Lower-level, sector-specific type.', example: 'http://hl7.org/fhir/ValueSet/c80-doc-typecodes|34133-9' },
|
|
58
|
+
{ key: DocumentReferenceClaim.TypeText, meaning: 'Local-language document type label.', example: 'Resumen clínico' },
|
|
59
|
+
{ key: DocumentReferenceClaim.TypeDisplay, meaning: 'Canonical/international document type display.', example: 'Patient summary Document' },
|
|
60
|
+
{ key: DocumentReferenceClaim.UserSelected, meaning: 'Custom provenance flag telling whether the document was explicitly created or selected by the end user/controller.', example: 'true' },
|
|
61
|
+
];
|
|
62
|
+
/**
|
|
63
|
+
* Optional mapping helper when converting claims-first payloads to strict FHIR JSON.
|
|
64
|
+
* Not used as canonical claim naming.
|
|
65
|
+
*/
|
|
66
|
+
export const DocumentReferenceClaimToFhirPath = {
|
|
67
|
+
[DocumentReferenceClaim.Attester]: [
|
|
68
|
+
'DocumentReference.attester.party.reference',
|
|
69
|
+
'DocumentReference.attester.mode',
|
|
70
|
+
],
|
|
71
|
+
[DocumentReferenceClaim.Author]: 'DocumentReference.author.reference',
|
|
72
|
+
[DocumentReferenceClaim.BasedOn]: 'DocumentReference.basedOn.reference',
|
|
73
|
+
[DocumentReferenceClaim.Category]: 'DocumentReference.category.coding',
|
|
74
|
+
[DocumentReferenceClaim.ContentData]: 'DocumentReference.content.attachment.data',
|
|
75
|
+
[DocumentReferenceClaim.ContentHash]: [
|
|
76
|
+
'DocumentReference.content.attachment.hash',
|
|
77
|
+
'DocumentReference.meta.versionId',
|
|
78
|
+
],
|
|
79
|
+
[DocumentReferenceClaim.ContentType]: 'DocumentReference.content.attachment.contentType',
|
|
80
|
+
[DocumentReferenceClaim.Context]: 'DocumentReference.context',
|
|
81
|
+
[DocumentReferenceClaim.Creation]: 'DocumentReference.content.attachment.creation',
|
|
82
|
+
[DocumentReferenceClaim.Date]: 'DocumentReference.date',
|
|
83
|
+
[DocumentReferenceClaim.Description]: 'DocumentReference.description',
|
|
84
|
+
[DocumentReferenceClaim.EventCode]: 'DocumentReference.context.event.coding',
|
|
85
|
+
[DocumentReferenceClaim.EventReference]: 'DocumentReference.context.related.reference',
|
|
86
|
+
[DocumentReferenceClaim.FormatUri]: 'DocumentReference.content.format.code',
|
|
87
|
+
[DocumentReferenceClaim.Identifier]: 'DocumentReference.identifier.value',
|
|
88
|
+
[DocumentReferenceClaim.Language]: 'DocumentReference.content.attachment.language',
|
|
89
|
+
[DocumentReferenceClaim.Location]: 'DocumentReference.content.attachment.url',
|
|
90
|
+
[DocumentReferenceClaim.Modality]: 'DocumentReference.modality',
|
|
91
|
+
[DocumentReferenceClaim.RelatesTo]: 'DocumentReference.relatesTo.target.reference',
|
|
92
|
+
[DocumentReferenceClaim.Relation]: 'DocumentReference.relatesTo.code',
|
|
93
|
+
[DocumentReferenceClaim.Subject]: 'DocumentReference.subject.reference',
|
|
94
|
+
[DocumentReferenceClaim.Type]: 'DocumentReference.type.coding',
|
|
95
|
+
[DocumentReferenceClaim.UserSelected]: 'DocumentReference.user-selected',
|
|
96
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ClaimSpec } from './claim-types.js';
|
|
2
|
+
export declare const EncounterClaim: {
|
|
3
|
+
readonly Identifier: "Encounter.identifier";
|
|
4
|
+
readonly Status: "Encounter.status";
|
|
5
|
+
readonly Class: "Encounter.class";
|
|
6
|
+
readonly Type: "Encounter.type";
|
|
7
|
+
readonly Subject: "Encounter.subject";
|
|
8
|
+
readonly Patient: "Encounter.patient";
|
|
9
|
+
readonly Participant: "Encounter.participant";
|
|
10
|
+
readonly ServiceProvider: "Encounter.service-provider";
|
|
11
|
+
readonly PeriodStart: "Encounter.period-start";
|
|
12
|
+
readonly PeriodEnd: "Encounter.period-end";
|
|
13
|
+
readonly ReasonCode: "Encounter.reason-code";
|
|
14
|
+
readonly Diagnosis: "Encounter.diagnosis";
|
|
15
|
+
readonly Location: "Encounter.location";
|
|
16
|
+
};
|
|
17
|
+
export type EncounterClaimKey = typeof EncounterClaim[keyof typeof EncounterClaim];
|
|
18
|
+
export declare const EncounterClaimSpecs: ClaimSpec[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Copyright 2026 Conéctate Soluciones y Aplicaciones SL under the Apache License, Version 2.0.
|
|
2
|
+
// File: src/models/interoperable-claims/encounter-claims.ts
|
|
3
|
+
export const EncounterClaim = {
|
|
4
|
+
Identifier: 'Encounter.identifier',
|
|
5
|
+
Status: 'Encounter.status',
|
|
6
|
+
Class: 'Encounter.class',
|
|
7
|
+
Type: 'Encounter.type',
|
|
8
|
+
Subject: 'Encounter.subject',
|
|
9
|
+
Patient: 'Encounter.patient',
|
|
10
|
+
Participant: 'Encounter.participant',
|
|
11
|
+
ServiceProvider: 'Encounter.service-provider',
|
|
12
|
+
PeriodStart: 'Encounter.period-start',
|
|
13
|
+
PeriodEnd: 'Encounter.period-end',
|
|
14
|
+
ReasonCode: 'Encounter.reason-code',
|
|
15
|
+
Diagnosis: 'Encounter.diagnosis',
|
|
16
|
+
Location: 'Encounter.location',
|
|
17
|
+
};
|
|
18
|
+
export const EncounterClaimSpecs = [
|
|
19
|
+
{ key: EncounterClaim.Identifier, meaning: 'Business identifier.', example: 'enc-001' },
|
|
20
|
+
{ key: EncounterClaim.Status, meaning: 'Encounter status.', example: 'finished' },
|
|
21
|
+
{ key: EncounterClaim.Class, meaning: 'Encounter class token.', example: 'http://terminology.hl7.org/CodeSystem/v3-ActCode|AMB' },
|
|
22
|
+
{ key: EncounterClaim.Type, meaning: 'Encounter type token.', example: 'http://snomed.info/sct|185349003' },
|
|
23
|
+
{ key: EncounterClaim.Subject, meaning: 'Canonical subject reference.', example: 'did:web:patient.example.org' },
|
|
24
|
+
{ key: EncounterClaim.Patient, meaning: 'Patient alias reference.', example: 'did:web:patient.example.org' },
|
|
25
|
+
{ key: EncounterClaim.Participant, meaning: 'Participant references (CSV).', example: 'Practitioner/prac-1' },
|
|
26
|
+
{ key: EncounterClaim.ServiceProvider, meaning: 'Service provider reference.', example: 'Organization/org-1' },
|
|
27
|
+
{ key: EncounterClaim.PeriodStart, meaning: 'Encounter start.', example: '2026-06-01T10:00:00Z' },
|
|
28
|
+
{ key: EncounterClaim.PeriodEnd, meaning: 'Encounter end.', example: '2026-06-01T10:30:00Z' },
|
|
29
|
+
{ key: EncounterClaim.ReasonCode, meaning: 'Reason code token.', example: 'http://snomed.info/sct|65363002' },
|
|
30
|
+
{ key: EncounterClaim.Diagnosis, meaning: 'Diagnosis references (CSV).', example: 'Condition/cond-1' },
|
|
31
|
+
{ key: EncounterClaim.Location, meaning: 'Location references (CSV).', example: 'Location/loc-1' },
|
|
32
|
+
];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ClaimSpec } from './claim-types.js';
|
|
2
|
+
export declare const FlagClaim: {
|
|
3
|
+
readonly Author: "Flag.author";
|
|
4
|
+
readonly Date: "Flag.date";
|
|
5
|
+
readonly Encounter: "Flag.encounter";
|
|
6
|
+
readonly Identifier: "Flag.identifier";
|
|
7
|
+
readonly Patient: "Flag.patient";
|
|
8
|
+
readonly Subject: "Flag.subject";
|
|
9
|
+
readonly Status: "Flag.status";
|
|
10
|
+
readonly Category: "Flag.category";
|
|
11
|
+
readonly Code: "Flag.code";
|
|
12
|
+
readonly CodeText: "Flag.code-text";
|
|
13
|
+
readonly CodeTextLocal: "Flag.code-text";
|
|
14
|
+
readonly CodeDisplay: "Flag.code-display";
|
|
15
|
+
readonly PeriodStart: "Flag.period-start";
|
|
16
|
+
readonly PeriodEnd: "Flag.period-end";
|
|
17
|
+
};
|
|
18
|
+
export type FlagClaimKey = typeof FlagClaim[keyof typeof FlagClaim];
|
|
19
|
+
export declare const FlagClaimSpecs: ClaimSpec[];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Copyright 2026 Conéctate Soluciones y Aplicaciones SL under the Apache License, Version 2.0.
|
|
2
|
+
// File: src/models/interoperable-claims/flag-claims.ts
|
|
3
|
+
export const FlagClaim = {
|
|
4
|
+
Author: 'Flag.author',
|
|
5
|
+
Date: 'Flag.date',
|
|
6
|
+
Encounter: 'Flag.encounter',
|
|
7
|
+
Identifier: 'Flag.identifier',
|
|
8
|
+
Patient: 'Flag.patient',
|
|
9
|
+
Subject: 'Flag.subject',
|
|
10
|
+
Status: 'Flag.status',
|
|
11
|
+
Category: 'Flag.category',
|
|
12
|
+
Code: 'Flag.code',
|
|
13
|
+
CodeText: 'Flag.code-text',
|
|
14
|
+
CodeTextLocal: 'Flag.code-text',
|
|
15
|
+
CodeDisplay: 'Flag.code-display',
|
|
16
|
+
PeriodStart: 'Flag.period-start',
|
|
17
|
+
PeriodEnd: 'Flag.period-end',
|
|
18
|
+
};
|
|
19
|
+
export const FlagClaimSpecs = [
|
|
20
|
+
{ key: FlagClaim.Author, meaning: 'Author reference.', example: 'Practitioner/prac-1' },
|
|
21
|
+
{ key: FlagClaim.Date, meaning: 'Flag issue date/time.', example: '2026-06-01T10:00:00Z' },
|
|
22
|
+
{ key: FlagClaim.Encounter, meaning: 'Encounter reference.', example: 'Encounter/enc-1' },
|
|
23
|
+
{ key: FlagClaim.Identifier, meaning: 'Business identifier.', example: 'flag-001' },
|
|
24
|
+
{ key: FlagClaim.Patient, meaning: 'Patient reference.', example: 'did:web:patient.example.org' },
|
|
25
|
+
{ key: FlagClaim.Subject, meaning: 'Canonical subject reference.', example: 'did:web:patient.example.org' },
|
|
26
|
+
{ key: FlagClaim.Status, meaning: 'Flag status.', example: 'active' },
|
|
27
|
+
{ key: FlagClaim.Category, meaning: 'Flag category token.', example: 'http://terminology.hl7.org/CodeSystem/flag-category|safety' },
|
|
28
|
+
{ key: FlagClaim.Code, meaning: 'Flag code token.', example: 'http://loinc.org|104605-1' },
|
|
29
|
+
{ key: FlagClaim.CodeText, meaning: 'Local-language alert name matching resource language.', example: 'Dieta sin marisco' },
|
|
30
|
+
{ key: FlagClaim.CodeDisplay, meaning: 'English/international terminology display.', example: 'Shellfish free diet' },
|
|
31
|
+
{ key: FlagClaim.PeriodStart, meaning: 'Flag period start.', example: '2026-06-01T10:00:00Z' },
|
|
32
|
+
{ key: FlagClaim.PeriodEnd, meaning: 'Flag period end.', example: '2026-07-01T10:00:00Z' },
|
|
33
|
+
];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ClaimSpec } from './claim-types.js';
|
|
2
|
+
export declare const ImmunizationClaim: {
|
|
3
|
+
readonly Date: "Immunization.date";
|
|
4
|
+
readonly Identifier: "Immunization.identifier";
|
|
5
|
+
readonly Location: "Immunization.location";
|
|
6
|
+
readonly LotNumber: "Immunization.lot-number";
|
|
7
|
+
readonly Manufacturer: "Immunization.manufacturer";
|
|
8
|
+
readonly Patient: "Immunization.patient";
|
|
9
|
+
readonly Performer: "Immunization.performer";
|
|
10
|
+
readonly ReactionDate: "Immunization.reaction-date";
|
|
11
|
+
readonly ReasonCode: "Immunization.reason-code";
|
|
12
|
+
readonly ReasonReference: "Immunization.reason-reference";
|
|
13
|
+
readonly Series: "Immunization.series";
|
|
14
|
+
readonly Status: "Immunization.status";
|
|
15
|
+
readonly StatusReason: "Immunization.status-reason";
|
|
16
|
+
readonly TargetDisease: "Immunization.target-disease";
|
|
17
|
+
readonly TargetDiseaseText: "Immunization.target-disease-text";
|
|
18
|
+
readonly TargetDiseaseDisplay: "Immunization.target-disease-display";
|
|
19
|
+
readonly VaccineCode: "Immunization.vaccine-code";
|
|
20
|
+
readonly VaccineCodeText: "Immunization.vaccine-code-text";
|
|
21
|
+
readonly VaccineCodeDisplay: "Immunization.vaccine-code-display";
|
|
22
|
+
readonly DoseSequence: "Immunization.dose-sequence";
|
|
23
|
+
readonly Subject: "Immunization.subject";
|
|
24
|
+
readonly Note: "Immunization.note";
|
|
25
|
+
readonly Route: "Immunization.route";
|
|
26
|
+
readonly RouteDisplay: "Immunization.route-display";
|
|
27
|
+
readonly Site: "Immunization.site";
|
|
28
|
+
readonly SiteDisplay: "Immunization.site-display";
|
|
29
|
+
};
|
|
30
|
+
export type ImmunizationClaimKey = typeof ImmunizationClaim[keyof typeof ImmunizationClaim];
|
|
31
|
+
export declare const ImmunizationClaimSpecs: ClaimSpec[];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// Copyright 2026 Conéctate Soluciones y Aplicaciones SL under the Apache License, Version 2.0.
|
|
2
|
+
// File: src/models/interoperable-claims/immunization-claims.ts
|
|
3
|
+
export const ImmunizationClaim = {
|
|
4
|
+
Date: 'Immunization.date',
|
|
5
|
+
Identifier: 'Immunization.identifier',
|
|
6
|
+
Location: 'Immunization.location',
|
|
7
|
+
LotNumber: 'Immunization.lot-number',
|
|
8
|
+
Manufacturer: 'Immunization.manufacturer',
|
|
9
|
+
Patient: 'Immunization.patient',
|
|
10
|
+
Performer: 'Immunization.performer',
|
|
11
|
+
ReactionDate: 'Immunization.reaction-date',
|
|
12
|
+
ReasonCode: 'Immunization.reason-code',
|
|
13
|
+
ReasonReference: 'Immunization.reason-reference',
|
|
14
|
+
Series: 'Immunization.series',
|
|
15
|
+
Status: 'Immunization.status',
|
|
16
|
+
StatusReason: 'Immunization.status-reason',
|
|
17
|
+
TargetDisease: 'Immunization.target-disease',
|
|
18
|
+
TargetDiseaseText: 'Immunization.target-disease-text',
|
|
19
|
+
TargetDiseaseDisplay: 'Immunization.target-disease-display',
|
|
20
|
+
VaccineCode: 'Immunization.vaccine-code',
|
|
21
|
+
VaccineCodeText: 'Immunization.vaccine-code-text',
|
|
22
|
+
VaccineCodeDisplay: 'Immunization.vaccine-code-display',
|
|
23
|
+
DoseSequence: 'Immunization.dose-sequence',
|
|
24
|
+
Subject: 'Immunization.subject',
|
|
25
|
+
Note: 'Immunization.note',
|
|
26
|
+
Route: 'Immunization.route',
|
|
27
|
+
RouteDisplay: 'Immunization.route-display',
|
|
28
|
+
Site: 'Immunization.site',
|
|
29
|
+
SiteDisplay: 'Immunization.site-display',
|
|
30
|
+
};
|
|
31
|
+
export const ImmunizationClaimSpecs = [
|
|
32
|
+
{ key: ImmunizationClaim.Date, meaning: 'Administration date/time.', example: '2026-06-01T10:00:00Z' },
|
|
33
|
+
{ key: ImmunizationClaim.Identifier, meaning: 'Business identifier.', example: 'imm-001' },
|
|
34
|
+
{ key: ImmunizationClaim.Location, meaning: 'Location reference.', example: 'Location/loc-1' },
|
|
35
|
+
{ key: ImmunizationClaim.LotNumber, meaning: 'Vaccine lot number.', example: 'LOT-2026-01' },
|
|
36
|
+
{ key: ImmunizationClaim.Manufacturer, meaning: 'Manufacturer reference.', example: 'Organization/org-vax' },
|
|
37
|
+
{ key: ImmunizationClaim.Patient, meaning: 'Patient reference.', example: 'did:web:patient.example.org' },
|
|
38
|
+
{ key: ImmunizationClaim.Performer, meaning: 'Performer references (CSV).', example: 'Practitioner/prac-1' },
|
|
39
|
+
{ key: ImmunizationClaim.ReactionDate, meaning: 'Reaction date/time.', example: '2026-06-02T08:00:00Z' },
|
|
40
|
+
{ key: ImmunizationClaim.ReasonCode, meaning: 'Reason code token.', example: 'http://snomed.info/sct|281647001' },
|
|
41
|
+
{ key: ImmunizationClaim.ReasonReference, meaning: 'Reason reference.', example: 'Condition/cond-1' },
|
|
42
|
+
{ key: ImmunizationClaim.Series, meaning: 'Vaccination series.', example: 'COVID primary series' },
|
|
43
|
+
{ key: ImmunizationClaim.Status, meaning: 'Immunization status.', example: 'completed' },
|
|
44
|
+
{ key: ImmunizationClaim.StatusReason, meaning: 'Status reason token.', example: 'http://terminology.hl7.org/CodeSystem/immunization-status-reason|expired' },
|
|
45
|
+
{ key: ImmunizationClaim.TargetDisease, meaning: 'Target disease token.', example: 'http://snomed.info/sct|840539006' },
|
|
46
|
+
{ key: ImmunizationClaim.TargetDiseaseText, meaning: 'Source-language target disease label.', example: 'Gripe' },
|
|
47
|
+
{ key: ImmunizationClaim.TargetDiseaseDisplay, meaning: 'Canonical target disease display.', example: 'Influenza' },
|
|
48
|
+
{ key: ImmunizationClaim.VaccineCode, meaning: 'Vaccine code token.', example: 'http://hl7.org/fhir/sid/cvx|207' },
|
|
49
|
+
{ key: ImmunizationClaim.VaccineCodeText, meaning: 'Local-language vaccine label used by forms/UI.', example: 'Vacuna COVID-19' },
|
|
50
|
+
{ key: ImmunizationClaim.VaccineCodeDisplay, meaning: 'Canonical/international vaccine display label.', example: 'COVID-19 vaccine' },
|
|
51
|
+
{ key: ImmunizationClaim.DoseSequence, meaning: 'Dose sequence string.', example: '2' },
|
|
52
|
+
{ key: ImmunizationClaim.Subject, meaning: 'Canonical subject reference.', example: 'did:web:patient.example.org' },
|
|
53
|
+
{ key: ImmunizationClaim.Note, meaning: 'Clinical note text.', example: 'No adverse reaction recorded.' },
|
|
54
|
+
];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ClaimSpec } from './claim-types.js';
|
|
2
|
+
/** Canonical flat claims used by a FHIR ImmunizationRecommendation graph entry. */
|
|
3
|
+
export declare const ImmunizationRecommendationClaim: Readonly<{
|
|
4
|
+
readonly Identifier: "ImmunizationRecommendation.identifier";
|
|
5
|
+
readonly Patient: "ImmunizationRecommendation.patient";
|
|
6
|
+
readonly Date: "ImmunizationRecommendation.date";
|
|
7
|
+
readonly VaccineCode: "ImmunizationRecommendation.vaccine-code";
|
|
8
|
+
readonly ForecastStatus: "ImmunizationRecommendation.forecast-status";
|
|
9
|
+
readonly DateCriterionCode: "ImmunizationRecommendation.date-criterion-code";
|
|
10
|
+
readonly DateCriterionValue: "ImmunizationRecommendation.date-criterion-value";
|
|
11
|
+
readonly SupportingImmunization: "ImmunizationRecommendation.supporting-immunization";
|
|
12
|
+
}>;
|
|
13
|
+
export type ImmunizationRecommendationClaimKey = typeof ImmunizationRecommendationClaim[keyof typeof ImmunizationRecommendationClaim];
|
|
14
|
+
/** Governed coding tokens authored by the neutral recommendation builder. */
|
|
15
|
+
export declare const ImmunizationRecommendationCodes: Readonly<{
|
|
16
|
+
readonly ForecastDue: "http://terminology.hl7.org/CodeSystem/immunization-recommendation-status|due";
|
|
17
|
+
readonly RecommendedDate: "http://loinc.org|30980-7";
|
|
18
|
+
}>;
|
|
19
|
+
export declare const ImmunizationRecommendationClaimSpecs: readonly ClaimSpec[];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** Canonical flat claims used by a FHIR ImmunizationRecommendation graph entry. */
|
|
2
|
+
export const ImmunizationRecommendationClaim = Object.freeze({
|
|
3
|
+
Identifier: 'ImmunizationRecommendation.identifier',
|
|
4
|
+
Patient: 'ImmunizationRecommendation.patient',
|
|
5
|
+
Date: 'ImmunizationRecommendation.date',
|
|
6
|
+
VaccineCode: 'ImmunizationRecommendation.vaccine-code',
|
|
7
|
+
ForecastStatus: 'ImmunizationRecommendation.forecast-status',
|
|
8
|
+
DateCriterionCode: 'ImmunizationRecommendation.date-criterion-code',
|
|
9
|
+
DateCriterionValue: 'ImmunizationRecommendation.date-criterion-value',
|
|
10
|
+
SupportingImmunization: 'ImmunizationRecommendation.supporting-immunization',
|
|
11
|
+
});
|
|
12
|
+
/** Governed coding tokens authored by the neutral recommendation builder. */
|
|
13
|
+
export const ImmunizationRecommendationCodes = Object.freeze({
|
|
14
|
+
ForecastDue: 'http://terminology.hl7.org/CodeSystem/immunization-recommendation-status|due',
|
|
15
|
+
RecommendedDate: 'http://loinc.org|30980-7',
|
|
16
|
+
});
|
|
17
|
+
export const ImmunizationRecommendationClaimSpecs = Object.freeze([
|
|
18
|
+
{ key: ImmunizationRecommendationClaim.Identifier, meaning: 'Recommendation business identifier.', example: 'urn:uuid:recommendation-1' },
|
|
19
|
+
{ key: ImmunizationRecommendationClaim.Patient, meaning: 'Subject reference.', example: 'Patient/subject-1' },
|
|
20
|
+
{ key: ImmunizationRecommendationClaim.Date, meaning: 'Recommendation creation date.', example: '2026-09-22' },
|
|
21
|
+
{ key: ImmunizationRecommendationClaim.VaccineCode, meaning: 'Recommended vaccine coding token.', example: 'http://www.whocc.no/atc|J07BB02' },
|
|
22
|
+
{ key: ImmunizationRecommendationClaim.ForecastStatus, meaning: 'FHIR forecast status coding token.', example: 'http://terminology.hl7.org/CodeSystem/immunization-recommendation-status|due' },
|
|
23
|
+
{ key: ImmunizationRecommendationClaim.DateCriterionCode, meaning: 'Date criterion coding token.', example: 'http://loinc.org|30980-7' },
|
|
24
|
+
{ key: ImmunizationRecommendationClaim.DateCriterionValue, meaning: 'Date criterion value.', example: '2026-12-21' },
|
|
25
|
+
{ key: ImmunizationRecommendationClaim.SupportingImmunization, meaning: 'Supporting Immunization reference.', example: 'Immunization/immunization-1' },
|
|
26
|
+
]);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from './claim-types.js';
|
|
2
|
+
export * from './allergy-intolerance-claims.js';
|
|
3
|
+
export * from './appointment-claims.js';
|
|
4
|
+
export * from './appointment-response-claims.js';
|
|
5
|
+
export * from './care-plan-claims.js';
|
|
6
|
+
export * from './clinical-impression-claims.js';
|
|
7
|
+
export * from './communication-claims.js';
|
|
8
|
+
export * from './composition-claims.js';
|
|
9
|
+
export * from './consent-claims.js';
|
|
10
|
+
export * from './condition-claims.js';
|
|
11
|
+
export * from './coverage-claims.js';
|
|
12
|
+
export * from './device-claims.js';
|
|
13
|
+
export * from './device-use-statement-claims.js';
|
|
14
|
+
export * from './diagnostic-report-claims.js';
|
|
15
|
+
export * from './document-reference-claims.js';
|
|
16
|
+
export * from './encounter-claims.js';
|
|
17
|
+
export * from './flag-claims.js';
|
|
18
|
+
export * from './immunization-claims.js';
|
|
19
|
+
export * from './immunization-recommendation-claims.js';
|
|
20
|
+
export * from './invoice-claims.js';
|
|
21
|
+
export * from './location-claims.js';
|
|
22
|
+
export * from './medication-statement-claims.js';
|
|
23
|
+
export * from './medication-claims.js';
|
|
24
|
+
export * from './organization-claims.js';
|
|
25
|
+
export * from './practitioner-role-claims.js';
|
|
26
|
+
export * from './procedure-claims.js';
|
|
27
|
+
export * from './related-person-claims.js';
|
|
28
|
+
export * from './research-subject-claims.js';
|
|
29
|
+
export * from './task-claims.js';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from './claim-types.js';
|
|
2
|
+
export * from './allergy-intolerance-claims.js';
|
|
3
|
+
export * from './appointment-claims.js';
|
|
4
|
+
export * from './appointment-response-claims.js';
|
|
5
|
+
export * from './care-plan-claims.js';
|
|
6
|
+
export * from './clinical-impression-claims.js';
|
|
7
|
+
export * from './communication-claims.js';
|
|
8
|
+
export * from './composition-claims.js';
|
|
9
|
+
export * from './consent-claims.js';
|
|
10
|
+
export * from './condition-claims.js';
|
|
11
|
+
export * from './coverage-claims.js';
|
|
12
|
+
export * from './device-claims.js';
|
|
13
|
+
export * from './device-use-statement-claims.js';
|
|
14
|
+
export * from './diagnostic-report-claims.js';
|
|
15
|
+
export * from './document-reference-claims.js';
|
|
16
|
+
export * from './encounter-claims.js';
|
|
17
|
+
export * from './flag-claims.js';
|
|
18
|
+
export * from './immunization-claims.js';
|
|
19
|
+
export * from './immunization-recommendation-claims.js';
|
|
20
|
+
export * from './invoice-claims.js';
|
|
21
|
+
export * from './location-claims.js';
|
|
22
|
+
export * from './medication-statement-claims.js';
|
|
23
|
+
export * from './medication-claims.js';
|
|
24
|
+
export * from './organization-claims.js';
|
|
25
|
+
export * from './practitioner-role-claims.js';
|
|
26
|
+
export * from './procedure-claims.js';
|
|
27
|
+
export * from './related-person-claims.js';
|
|
28
|
+
export * from './research-subject-claims.js';
|
|
29
|
+
export * from './task-claims.js';
|