vet-data-utils-ts 0.7.1 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/clinical-terminology.d.ts +2 -61
- package/dist/clinical-terminology.js +15 -28
- package/dist/immunization-coding-review.js +3 -3
- package/dist/immunization-draft.d.ts +1 -1
- package/dist/immunization-draft.js +1 -1
- package/dist/immunization-flat-claims.d.ts +1 -1
- package/dist/immunization-flat-claims.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/organization-application.d.ts +0 -2
- package/dist/organization-application.js +0 -2
- package/dist/place-service-directory.d.ts +0 -9
- package/dist/place-service-directory.js +0 -10
- package/dist/scheduling.d.ts +0 -30
- package/dist/scheduling.js +0 -20
- package/dist/sectors.d.ts +2 -0
- package/dist/sectors.js +2 -0
- package/package.json +2 -6
- package/dist/professional-access-policy.d.ts +0 -2
- package/dist/professional-access-policy.js +0 -2
package/README.md
CHANGED
|
@@ -120,9 +120,9 @@ veterinary assistant intents.
|
|
|
120
120
|
|
|
121
121
|
## Veterinary scheduling
|
|
122
122
|
|
|
123
|
-
`vet-data-utils-ts/scheduling`
|
|
123
|
+
`vet-data-utils-ts/scheduling` currently exposes neutral claims-first builders for FHIR R5
|
|
124
124
|
`Location`, `Schedule`, `Slot`, `Appointment` and `AppointmentResponse`.
|
|
125
|
-
`
|
|
125
|
+
`expandAvailability(...)` expands bounded weekly periods into Slots
|
|
126
126
|
and applies weekly or monthly-ordinal exceptions that restrict or extend one or
|
|
127
127
|
more consultation Locations. It converts clinic-local times through an IANA
|
|
128
128
|
time zone, including daylight-saving changes.
|
|
@@ -147,13 +147,13 @@ record captures the fault or availability change; scheduling separately marks
|
|
|
147
147
|
only the affected future Slots unavailable and reconciles their appointments.
|
|
148
148
|
|
|
149
149
|
The official searchable facts remain resource-qualified flat claims. The
|
|
150
|
-
exported `
|
|
151
|
-
|
|
150
|
+
exported `SlotSearchParameters` catalogue identifies the supported FHIR R5
|
|
151
|
+
Slot query codes; generated resources include `Slot.identifier`,
|
|
152
152
|
`Slot.schedule`, `Slot.status`, `Slot.start`, `Appointment.status`,
|
|
153
|
-
`Appointment.start`, `Appointment.slot` and `Appointment.actor`.
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
153
|
+
`Appointment.start`, `Appointment.slot` and `Appointment.actor`. Veterinary
|
|
154
|
+
prefixes are not permitted around these standard FHIR resources; a Location
|
|
155
|
+
photo and the seven-day confirmation due time are not presented as official
|
|
156
|
+
FHIR SearchParameters.
|
|
157
157
|
All builders return only `resourceType`, `id` and `meta.claims`.
|
|
158
158
|
|
|
159
159
|
FHIR R5 ResearchStudy screens consume the exact 25 resource-specific search
|
|
@@ -1,70 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const VeterinaryClinicalTerminologySystems: Readonly<{
|
|
3
|
-
readonly Loinc: "http://loinc.org";
|
|
4
|
-
readonly SnomedCt: "http://snomed.info/sct";
|
|
5
|
-
readonly Icd10: "http://hl7.org/fhir/sid/icd-10";
|
|
6
|
-
readonly Atc: "http://www.whocc.no/atc";
|
|
7
|
-
readonly AtcVet: "http://www.whocc.no/atcvet";
|
|
8
|
-
}>;
|
|
1
|
+
import { ClinicalTerminologySourceScopes } from 'sos-data-utils-ts/clinical-terminology';
|
|
9
2
|
/**
|
|
10
3
|
* Source scopes are authorization/content boundaries, not Coding.system URIs.
|
|
11
4
|
* GPS, full SNOMED CT and the veterinary extension intentionally share the
|
|
12
5
|
* canonical SNOMED system URI.
|
|
13
6
|
* https://www.snomed.org/gps
|
|
14
7
|
*/
|
|
15
|
-
|
|
16
|
-
export declare const VeterinaryTerminologySourceScopes: Readonly<{
|
|
17
|
-
readonly Loinc: "LNC";
|
|
18
|
-
readonly SnomedGps: "SNOMED_GPS";
|
|
19
|
-
readonly SnomedIps: "SNOMED_IPS";
|
|
20
|
-
readonly SnomedCt: "SNOMED_CT";
|
|
21
|
-
readonly SnomedVeterinary: "SNOMEDCT_VET";
|
|
22
|
-
readonly Icd10: "ICD10";
|
|
23
|
-
readonly Atc: "ATC";
|
|
24
|
-
readonly AtcVet: "ATCVET";
|
|
25
|
-
}>;
|
|
26
|
-
/** Deterministic standards-based data for the isolated local terminology upstream. */
|
|
27
|
-
/** @deprecated Import `CLINICAL_TERMINOLOGY_TEST_DATA` from sos-data-utils-ts. */
|
|
28
|
-
export declare const VET_TERMINOLOGY_TEST_DATA: Readonly<{
|
|
29
|
-
readonly localApiKey: "local-playwright-umls-key";
|
|
30
|
-
readonly bodyTemperature: Readonly<{
|
|
31
|
-
source: "LNC";
|
|
32
|
-
system: "http://loinc.org";
|
|
33
|
-
code: "8310-5";
|
|
34
|
-
display: "Body temperature:Temp:Pt:^Patient:Qn";
|
|
35
|
-
}>;
|
|
36
|
-
readonly otitisExternaSpanish: Readonly<{
|
|
37
|
-
scope: "SNOMED_CT";
|
|
38
|
-
umlsSource: "SCTSPA";
|
|
39
|
-
system: "http://snomed.info/sct";
|
|
40
|
-
code: "3135009";
|
|
41
|
-
display: "otitis externa";
|
|
42
|
-
}>;
|
|
43
|
-
readonly canineRabiesVaccine: Readonly<{
|
|
44
|
-
scope: "ATCVET";
|
|
45
|
-
system: "http://www.whocc.no/atcvet";
|
|
46
|
-
code: "QI07AA02";
|
|
47
|
-
text: "virus de la rabia";
|
|
48
|
-
display: "rabies virus";
|
|
49
|
-
ncbiTaxonomyId: "9615";
|
|
50
|
-
}>;
|
|
51
|
-
readonly humanInactivatedInfluenzaVaccine: Readonly<{
|
|
52
|
-
scope: "ATC";
|
|
53
|
-
system: "http://www.whocc.no/atc";
|
|
54
|
-
code: "J07BB02";
|
|
55
|
-
text: "vacuna contra la gripe inactivada de virus fraccionados o ant\u00EDgeno de superficie";
|
|
56
|
-
display: "influenza, inactivated, split virus or surface antigen";
|
|
57
|
-
ncbiTaxonomyId: "9606";
|
|
58
|
-
}>;
|
|
59
|
-
readonly rabiesDisease: Readonly<{
|
|
60
|
-
scope: "SNOMED_GPS";
|
|
61
|
-
umlsSource: "SNOMEDCT_US";
|
|
62
|
-
system: "http://snomed.info/sct";
|
|
63
|
-
code: "14168008";
|
|
64
|
-
display: "Rabies";
|
|
65
|
-
}>;
|
|
66
|
-
}>;
|
|
67
|
-
export type VeterinaryTerminologySourceScope = Exclude<typeof VeterinaryTerminologySourceScopes[keyof typeof VeterinaryTerminologySourceScopes], 'ATC' | 'SNOMED_IPS'>;
|
|
8
|
+
export type VeterinaryTerminologySourceScope = Exclude<typeof ClinicalTerminologySourceScopes[keyof typeof ClinicalTerminologySourceScopes], 'ATC' | 'SNOMED_IPS'>;
|
|
68
9
|
export type VeterinaryTerminologyCapability = Readonly<{
|
|
69
10
|
type: 'terminology-capability';
|
|
70
11
|
id: string;
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/** @deprecated Import `ClinicalTerminologySystems` from sos-data-utils-ts. */
|
|
3
|
-
export const VeterinaryClinicalTerminologySystems = ClinicalTerminologySystems;
|
|
4
|
-
/**
|
|
5
|
-
* Source scopes are authorization/content boundaries, not Coding.system URIs.
|
|
6
|
-
* GPS, full SNOMED CT and the veterinary extension intentionally share the
|
|
7
|
-
* canonical SNOMED system URI.
|
|
8
|
-
* https://www.snomed.org/gps
|
|
9
|
-
*/
|
|
10
|
-
/** @deprecated Import `ClinicalTerminologySourceScopes` from sos-data-utils-ts. */
|
|
11
|
-
export const VeterinaryTerminologySourceScopes = ClinicalTerminologySourceScopes;
|
|
12
|
-
/** Deterministic standards-based data for the isolated local terminology upstream. */
|
|
13
|
-
/** @deprecated Import `CLINICAL_TERMINOLOGY_TEST_DATA` from sos-data-utils-ts. */
|
|
14
|
-
export const VET_TERMINOLOGY_TEST_DATA = CLINICAL_TERMINOLOGY_TEST_DATA;
|
|
1
|
+
import { ClinicalTerminologySourceScopes, ClinicalTerminologySystems, } from 'sos-data-utils-ts/clinical-terminology';
|
|
15
2
|
/**
|
|
16
3
|
* ISO 3166-1 alpha-2 territories enumerated by the official SNOMED
|
|
17
4
|
* International member page on 2026-09-05.
|
|
@@ -32,32 +19,32 @@ export const SnomedMemberCountryCodes = Object.freeze([
|
|
|
32
19
|
/** Resource-level summary; field-level authority comes from the terminology API capability response. */
|
|
33
20
|
export function veterinaryTerminologySourcesFor(resourceType, countryCode) {
|
|
34
21
|
if (resourceType === 'Observation' || resourceType === 'DiagnosticReport') {
|
|
35
|
-
return [
|
|
22
|
+
return [ClinicalTerminologySourceScopes.Loinc];
|
|
36
23
|
}
|
|
37
24
|
const permitsSnomed = SnomedMemberCountryCodes.includes(countryCode.toUpperCase());
|
|
38
25
|
const clinical = permitsSnomed
|
|
39
26
|
? [
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
ClinicalTerminologySourceScopes.SnomedGps,
|
|
28
|
+
ClinicalTerminologySourceScopes.SnomedCt,
|
|
29
|
+
ClinicalTerminologySourceScopes.SnomedVeterinary,
|
|
43
30
|
]
|
|
44
|
-
: [
|
|
31
|
+
: [ClinicalTerminologySourceScopes.SnomedGps];
|
|
45
32
|
if (resourceType === 'Condition')
|
|
46
|
-
return [...clinical,
|
|
33
|
+
return [...clinical, ClinicalTerminologySourceScopes.Icd10];
|
|
47
34
|
if (resourceType === 'Immunization')
|
|
48
|
-
return [
|
|
35
|
+
return [ClinicalTerminologySourceScopes.AtcVet, ...clinical];
|
|
49
36
|
if (resourceType === 'AllergyIntolerance')
|
|
50
|
-
return [...clinical,
|
|
37
|
+
return [...clinical, ClinicalTerminologySourceScopes.AtcVet];
|
|
51
38
|
return clinical;
|
|
52
39
|
}
|
|
53
40
|
export function veterinaryTerminologySystemsFor(resourceType, countryCode) {
|
|
54
41
|
const sourceSystem = {
|
|
55
|
-
[
|
|
56
|
-
[
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
[
|
|
60
|
-
[
|
|
42
|
+
[ClinicalTerminologySourceScopes.Loinc]: ClinicalTerminologySystems.Loinc,
|
|
43
|
+
[ClinicalTerminologySourceScopes.SnomedGps]: ClinicalTerminologySystems.SnomedCt,
|
|
44
|
+
[ClinicalTerminologySourceScopes.SnomedCt]: ClinicalTerminologySystems.SnomedCt,
|
|
45
|
+
[ClinicalTerminologySourceScopes.SnomedVeterinary]: ClinicalTerminologySystems.SnomedCt,
|
|
46
|
+
[ClinicalTerminologySourceScopes.Icd10]: ClinicalTerminologySystems.Icd10,
|
|
47
|
+
[ClinicalTerminologySourceScopes.AtcVet]: ClinicalTerminologySystems.AtcVet,
|
|
61
48
|
};
|
|
62
49
|
return [...new Set(veterinaryTerminologySourcesFor(resourceType, countryCode).map((source) => sourceSystem[source]))];
|
|
63
50
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { buildFlatClaimCodingReviewResource, deriveCodingDisplayClaim, deriveCodingLocalTextClaim, } from 'fhir-data-utils-ts/coding-review-flat-claims';
|
|
2
|
-
import {
|
|
2
|
+
import { ClinicalTerminologySystems } from 'sos-data-utils-ts/clinical-terminology';
|
|
3
3
|
const IMMUNIZATION_RESOURCE_TYPE = 'Immunization';
|
|
4
4
|
const IMMUNIZATION_VACCINE_CODE_CLAIM = `${IMMUNIZATION_RESOURCE_TYPE}.vaccine-code`;
|
|
5
5
|
/** Governed claim coordinates reused by Vet gateways, portals and assistants. */
|
|
@@ -15,7 +15,7 @@ export const VeterinaryImmunizationCodingReviewClaims = Object.freeze({
|
|
|
15
15
|
*/
|
|
16
16
|
export function buildVeterinaryImmunizationCodingReview(input) {
|
|
17
17
|
const candidates = input.candidates.map((candidate) => {
|
|
18
|
-
if (candidate.system !==
|
|
18
|
+
if (candidate.system !== ClinicalTerminologySystems.AtcVet) {
|
|
19
19
|
throw new TypeError('veterinary_immunization_candidate_system_invalid');
|
|
20
20
|
}
|
|
21
21
|
return candidate;
|
|
@@ -46,7 +46,7 @@ const EXAMPLE_INPUT = Object.freeze({
|
|
|
46
46
|
proposalId: 'veterinary-immunization-proposal-example',
|
|
47
47
|
candidates: Object.freeze([Object.freeze({
|
|
48
48
|
id: 'veterinary-immunization-candidate-example',
|
|
49
|
-
system:
|
|
49
|
+
system: ClinicalTerminologySystems.AtcVet,
|
|
50
50
|
code: 'QI07AA02',
|
|
51
51
|
display: 'Inactivated rabies virus vaccines',
|
|
52
52
|
})]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FlatClaimResourceEntry } from '
|
|
1
|
+
import { type FlatClaimResourceEntry } from 'fhir-data-utils-ts/flat-claim-resource-graph';
|
|
2
2
|
import { type VeterinaryImmunizationCoding } from './immunization-flat-claims.js';
|
|
3
3
|
export type VeterinaryImmunizationDraftAttachment = Readonly<{
|
|
4
4
|
entryId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildDocumentReferenceFlatEntry } from '
|
|
1
|
+
import { buildDocumentReferenceFlatEntry } from 'fhir-data-utils-ts/flat-claim-resource-graph';
|
|
2
2
|
import { buildVeterinaryImmunizationFlatGraph, } from './immunization-flat-claims.js';
|
|
3
3
|
/** Normalizes the same reviewable draft for web, chat, WhatsApp and telephone adapters. */
|
|
4
4
|
export function prepareVeterinaryImmunizationDraft(input) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FlatClaimResourceEntry } from '
|
|
1
|
+
import { type FlatClaimResourceEntry } from 'fhir-data-utils-ts/flat-claim-resource-graph';
|
|
2
2
|
import { type ImmunizationReminderChannel } from 'sos-data-utils-ts/immunization-reminder-plan';
|
|
3
3
|
export type VeterinaryImmunizationCoding = Readonly<{
|
|
4
4
|
system: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildDocumentReferenceFlatEntry, buildFlatClaimResourceEntry, linkFlatClaimResourceEntries, } from '
|
|
1
|
+
import { buildDocumentReferenceFlatEntry, buildFlatClaimResourceEntry, linkFlatClaimResourceEntries, } from 'fhir-data-utils-ts/flat-claim-resource-graph';
|
|
2
2
|
import { ImmunizationReminderChannels, buildImmunizationReminderTasks, } from 'sos-data-utils-ts/immunization-reminder-plan';
|
|
3
3
|
/**
|
|
4
4
|
* Creates a version-neutral flat graph after coding review is confirmed.
|
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ export * from './lost-animal-access.js';
|
|
|
22
22
|
export * from './organization-application.js';
|
|
23
23
|
export * from './payment.js';
|
|
24
24
|
export * from './place-service-directory.js';
|
|
25
|
-
export * from './professional-access-policy.js';
|
|
26
25
|
export * from './provenance.js';
|
|
27
26
|
export * from './research-study.js';
|
|
28
27
|
export * from './sectors.js';
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,6 @@ export * from './lost-animal-access.js';
|
|
|
22
22
|
export * from './organization-application.js';
|
|
23
23
|
export * from './payment.js';
|
|
24
24
|
export * from './place-service-directory.js';
|
|
25
|
-
export * from './professional-access-policy.js';
|
|
26
25
|
export * from './provenance.js';
|
|
27
26
|
export * from './research-study.js';
|
|
28
27
|
export * from './sectors.js';
|
|
@@ -55,5 +55,3 @@ export declare function parseReusableOrganizationApplication(input: unknown): Re
|
|
|
55
55
|
export declare function parseOptionalOrganizationOfficialPhone(value: unknown): string | undefined;
|
|
56
56
|
/** Helps an individual normalize a telephone used to look up an organization. */
|
|
57
57
|
export declare function normalizePhoneForLookup(value: unknown, defaultCallingCode: unknown): string | undefined;
|
|
58
|
-
/** @deprecated Use {@link normalizePhoneForLookup}; organization applications use {@link parseOptionalOrganizationOfficialPhone}. */
|
|
59
|
-
export declare const normalizeOptionalOrganizationOfficialPhone: typeof normalizePhoneForLookup;
|
|
@@ -131,8 +131,6 @@ export function normalizePhoneForLookup(value, defaultCallingCode) {
|
|
|
131
131
|
throw new TypeError('organization_official_phone_invalid');
|
|
132
132
|
return compact;
|
|
133
133
|
}
|
|
134
|
-
/** @deprecated Use {@link normalizePhoneForLookup}; organization applications use {@link parseOptionalOrganizationOfficialPhone}. */
|
|
135
|
-
export const normalizeOptionalOrganizationOfficialPhone = normalizePhoneForLookup;
|
|
136
134
|
function record(value, error) {
|
|
137
135
|
if (!value || typeof value !== 'object' || Array.isArray(value))
|
|
138
136
|
throw new TypeError(error);
|
|
@@ -238,15 +238,6 @@ export declare function projectDepartmentToFhirR5Organization(department: Direct
|
|
|
238
238
|
}[];
|
|
239
239
|
name: string;
|
|
240
240
|
}>;
|
|
241
|
-
/**
|
|
242
|
-
* @deprecated Aggregate department HealthcareService projection is forbidden.
|
|
243
|
-
* Project each offered Service independently with
|
|
244
|
-
* projectServiceToFhirR5HealthcareService(...).
|
|
245
|
-
*/
|
|
246
|
-
export declare function projectDepartmentToFhirR5HealthcareService(department: DirectoryResource | DirectoryFlatClaimsResource, input: Readonly<{
|
|
247
|
-
services: readonly (DirectoryResource | DirectoryFlatClaimsResource)[];
|
|
248
|
-
places: readonly (DirectoryResource | DirectoryFlatClaimsResource)[];
|
|
249
|
-
}>): void;
|
|
250
241
|
/** Explicitly projects one neutral Place to native FHIR R5 Location for export or interop. */
|
|
251
242
|
export declare function projectPlaceToFhirR5Location(place: DirectoryResource | DirectoryFlatClaimsResource): Readonly<{
|
|
252
243
|
resourceType: "Location";
|
|
@@ -420,16 +420,6 @@ export function projectDepartmentToFhirR5Organization(department) {
|
|
|
420
420
|
} },
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
|
-
/**
|
|
424
|
-
* @deprecated Aggregate department HealthcareService projection is forbidden.
|
|
425
|
-
* Project each offered Service independently with
|
|
426
|
-
* projectServiceToFhirR5HealthcareService(...).
|
|
427
|
-
*/
|
|
428
|
-
export function projectDepartmentToFhirR5HealthcareService(department, input) {
|
|
429
|
-
void department;
|
|
430
|
-
void input;
|
|
431
|
-
throw new TypeError('department_aggregate_healthcare_service_forbidden');
|
|
432
|
-
}
|
|
433
423
|
/** Explicitly projects one neutral Place to native FHIR R5 Location for export or interop. */
|
|
434
424
|
export function projectPlaceToFhirR5Location(place) {
|
|
435
425
|
if (place.resourceType !== 'Place')
|
package/dist/scheduling.d.ts
CHANGED
|
@@ -166,33 +166,3 @@ export declare function buildAppointmentNotificationResource(input: Readonly<{
|
|
|
166
166
|
subjectReference: string;
|
|
167
167
|
reason: string;
|
|
168
168
|
}>): ClaimsFirstResource;
|
|
169
|
-
/** @deprecated Use {@link SlotSearchParameters}. */
|
|
170
|
-
export declare const VeterinarySlotSearchParameters: readonly string[];
|
|
171
|
-
/** @deprecated Use {@link SchedulingFlatClaimCatalog}. */
|
|
172
|
-
export declare const VeterinarySchedulingFlatClaimCatalog: Readonly<Record<"Appointment" | "AppointmentResponse" | "Location" | "Schedule" | "Slot", readonly string[]>>;
|
|
173
|
-
/** @deprecated Use {@link SchedulingResourceType}. */
|
|
174
|
-
export type VeterinarySchedulingResourceType = SchedulingResourceType;
|
|
175
|
-
/** @deprecated Use {@link SchedulingFlatClaimsResource}. */
|
|
176
|
-
export type VeterinarySchedulingFlatClaimsResource = SchedulingFlatClaimsResource;
|
|
177
|
-
/** @deprecated Use {@link normalizeSchedulingFlatClaimsResource}. */
|
|
178
|
-
export declare const normalizeVeterinarySchedulingFlatClaimsResource: typeof normalizeSchedulingFlatClaimsResource;
|
|
179
|
-
/** @deprecated Use {@link buildLocationResource}. */
|
|
180
|
-
export declare const buildVeterinaryLocationResource: typeof buildLocationResource;
|
|
181
|
-
/** @deprecated Use {@link buildScheduleResource}. */
|
|
182
|
-
export declare const buildVeterinaryScheduleResource: typeof buildScheduleResource;
|
|
183
|
-
/** @deprecated Use {@link AvailabilityPeriod}. */
|
|
184
|
-
export type VeterinaryAvailabilityPeriod = AvailabilityPeriod;
|
|
185
|
-
/** @deprecated Use {@link AvailabilityException}. */
|
|
186
|
-
export type VeterinaryAvailabilityException = AvailabilityException;
|
|
187
|
-
/** @deprecated Use {@link ExpandedSlot}. */
|
|
188
|
-
export type ExpandedVeterinarySlot = ExpandedSlot;
|
|
189
|
-
/** @deprecated Use {@link expandAvailability}. */
|
|
190
|
-
export declare const expandVeterinaryAvailability: typeof expandAvailability;
|
|
191
|
-
/** @deprecated Use {@link buildAppointmentResponseResource}. */
|
|
192
|
-
export declare const buildVeterinaryAppointmentResponseResource: typeof buildAppointmentResponseResource;
|
|
193
|
-
/** @deprecated Use {@link buildAppointmentResponseNotificationResource}. */
|
|
194
|
-
export declare const buildVeterinaryAppointmentResponseNotificationResource: typeof buildAppointmentResponseNotificationResource;
|
|
195
|
-
/** @deprecated Use {@link buildAppointmentResource}. */
|
|
196
|
-
export declare const buildVeterinaryAppointmentResource: typeof buildAppointmentResource;
|
|
197
|
-
/** @deprecated Use {@link buildAppointmentNotificationResource}. */
|
|
198
|
-
export declare const buildVeterinaryAppointmentNotificationResource: typeof buildAppointmentNotificationResource;
|
package/dist/scheduling.js
CHANGED
|
@@ -336,23 +336,3 @@ export function buildAppointmentNotificationResource(input) {
|
|
|
336
336
|
'Communication.content-code': 'https://vetchain.app/fhir/CodeSystem/appointment-action|reschedule',
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
/** @deprecated Use {@link SlotSearchParameters}. */
|
|
340
|
-
export const VeterinarySlotSearchParameters = SlotSearchParameters;
|
|
341
|
-
/** @deprecated Use {@link SchedulingFlatClaimCatalog}. */
|
|
342
|
-
export const VeterinarySchedulingFlatClaimCatalog = SchedulingFlatClaimCatalog;
|
|
343
|
-
/** @deprecated Use {@link normalizeSchedulingFlatClaimsResource}. */
|
|
344
|
-
export const normalizeVeterinarySchedulingFlatClaimsResource = normalizeSchedulingFlatClaimsResource;
|
|
345
|
-
/** @deprecated Use {@link buildLocationResource}. */
|
|
346
|
-
export const buildVeterinaryLocationResource = buildLocationResource;
|
|
347
|
-
/** @deprecated Use {@link buildScheduleResource}. */
|
|
348
|
-
export const buildVeterinaryScheduleResource = buildScheduleResource;
|
|
349
|
-
/** @deprecated Use {@link expandAvailability}. */
|
|
350
|
-
export const expandVeterinaryAvailability = expandAvailability;
|
|
351
|
-
/** @deprecated Use {@link buildAppointmentResponseResource}. */
|
|
352
|
-
export const buildVeterinaryAppointmentResponseResource = buildAppointmentResponseResource;
|
|
353
|
-
/** @deprecated Use {@link buildAppointmentResponseNotificationResource}. */
|
|
354
|
-
export const buildVeterinaryAppointmentResponseNotificationResource = buildAppointmentResponseNotificationResource;
|
|
355
|
-
/** @deprecated Use {@link buildAppointmentResource}. */
|
|
356
|
-
export const buildVeterinaryAppointmentResource = buildAppointmentResource;
|
|
357
|
-
/** @deprecated Use {@link buildAppointmentNotificationResource}. */
|
|
358
|
-
export const buildVeterinaryAppointmentNotificationResource = buildAppointmentNotificationResource;
|
package/dist/sectors.d.ts
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* the value grants no organization role, membership or data capability.
|
|
7
7
|
*/
|
|
8
8
|
export declare const ExtendedDataspaceSectors: Readonly<{
|
|
9
|
+
readonly AnimalBreed: "animal-breed";
|
|
10
|
+
readonly AnimalMobility: "animal-mobility";
|
|
9
11
|
readonly PublicHealth: "public-health";
|
|
10
12
|
readonly PublicSafety: "public-safety";
|
|
11
13
|
readonly HealthCare: "health-care";
|
package/dist/sectors.js
CHANGED
|
@@ -8,6 +8,8 @@ import { DataspaceSectors } from 'gdc-common-utils-ts/constants/sectors';
|
|
|
8
8
|
*/
|
|
9
9
|
export const ExtendedDataspaceSectors = Object.freeze({
|
|
10
10
|
...DataspaceSectors,
|
|
11
|
+
AnimalBreed: 'animal-breed',
|
|
12
|
+
AnimalMobility: 'animal-mobility',
|
|
11
13
|
PublicHealth: 'public-health',
|
|
12
14
|
PublicSafety: 'public-safety',
|
|
13
15
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vet-data-utils-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Browser-safe governed VetChain data contracts",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Connecting Solution & Applications Ltd",
|
|
@@ -108,10 +108,6 @@
|
|
|
108
108
|
"types": "./dist/place-service-directory.d.ts",
|
|
109
109
|
"default": "./dist/place-service-directory.js"
|
|
110
110
|
},
|
|
111
|
-
"./professional-access-policy": {
|
|
112
|
-
"types": "./dist/professional-access-policy.d.ts",
|
|
113
|
-
"default": "./dist/professional-access-policy.js"
|
|
114
|
-
},
|
|
115
111
|
"./research-study": {
|
|
116
112
|
"types": "./dist/research-study.d.ts",
|
|
117
113
|
"default": "./dist/research-study.js"
|
|
@@ -164,7 +160,7 @@
|
|
|
164
160
|
"fhir-data-utils-ts": "0.6.0",
|
|
165
161
|
"gdc-common-utils-ts": "2.9.12",
|
|
166
162
|
"pako": "^2.2.0",
|
|
167
|
-
"sos-data-utils-ts": "0.
|
|
163
|
+
"sos-data-utils-ts": "0.6.9"
|
|
168
164
|
},
|
|
169
165
|
"engines": {
|
|
170
166
|
"node": ">=20"
|