@medplum/mock 2.2.2 → 2.2.4
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/dist/cjs/index.cjs +23 -1
- package/dist/cjs/index.cjs.map +4 -4
- package/dist/cjs/index.d.ts +12 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.mjs +23 -1
- package/dist/esm/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import { Schedule } from '@medplum/fhirtypes';
|
|
|
30
30
|
import { ServiceRequest } from '@medplum/fhirtypes';
|
|
31
31
|
import { Slot } from '@medplum/fhirtypes';
|
|
32
32
|
import { Specimen } from '@medplum/fhirtypes';
|
|
33
|
+
import { StructureDefinition } from '@medplum/fhirtypes';
|
|
33
34
|
import { Subscription } from '@medplum/fhirtypes';
|
|
34
35
|
import { Task } from '@medplum/fhirtypes';
|
|
35
36
|
import type { TDocumentDefinitions } from 'pdfmake/interfaces';
|
|
@@ -89,6 +90,12 @@ export declare const ExampleWorkflowTask2: Task;
|
|
|
89
90
|
|
|
90
91
|
export declare const ExampleWorkflowTask3: Task;
|
|
91
92
|
|
|
93
|
+
export declare const FishPatientResources: {
|
|
94
|
+
getFishPatientProfileSD: () => ProfileStructureDefinition;
|
|
95
|
+
getFishSpeciesExtensionSD: () => ProfileStructureDefinition;
|
|
96
|
+
getSampleFishPatient: () => Patient;
|
|
97
|
+
};
|
|
98
|
+
|
|
92
99
|
export declare const HomerBartRelatedPerson: RelatedPerson;
|
|
93
100
|
|
|
94
101
|
export declare const HomerCommunication: Communication;
|
|
@@ -187,6 +194,11 @@ export declare class MockFetchClient {
|
|
|
187
194
|
private mockFhirHandler;
|
|
188
195
|
}
|
|
189
196
|
|
|
197
|
+
export declare type ProfileStructureDefinition = StructureDefinition & {
|
|
198
|
+
url: string;
|
|
199
|
+
name: string;
|
|
200
|
+
};
|
|
201
|
+
|
|
190
202
|
export declare const SimpsonsFamily: Group;
|
|
191
203
|
|
|
192
204
|
export declare const TestOrganization: Organization;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import { Schedule } from '@medplum/fhirtypes';
|
|
|
30
30
|
import { ServiceRequest } from '@medplum/fhirtypes';
|
|
31
31
|
import { Slot } from '@medplum/fhirtypes';
|
|
32
32
|
import { Specimen } from '@medplum/fhirtypes';
|
|
33
|
+
import { StructureDefinition } from '@medplum/fhirtypes';
|
|
33
34
|
import { Subscription } from '@medplum/fhirtypes';
|
|
34
35
|
import { Task } from '@medplum/fhirtypes';
|
|
35
36
|
import type { TDocumentDefinitions } from 'pdfmake/interfaces';
|
|
@@ -89,6 +90,12 @@ export declare const ExampleWorkflowTask2: Task;
|
|
|
89
90
|
|
|
90
91
|
export declare const ExampleWorkflowTask3: Task;
|
|
91
92
|
|
|
93
|
+
export declare const FishPatientResources: {
|
|
94
|
+
getFishPatientProfileSD: () => ProfileStructureDefinition;
|
|
95
|
+
getFishSpeciesExtensionSD: () => ProfileStructureDefinition;
|
|
96
|
+
getSampleFishPatient: () => Patient;
|
|
97
|
+
};
|
|
98
|
+
|
|
92
99
|
export declare const HomerBartRelatedPerson: RelatedPerson;
|
|
93
100
|
|
|
94
101
|
export declare const HomerCommunication: Communication;
|
|
@@ -187,6 +194,11 @@ export declare class MockFetchClient {
|
|
|
187
194
|
private mockFhirHandler;
|
|
188
195
|
}
|
|
189
196
|
|
|
197
|
+
export declare type ProfileStructureDefinition = StructureDefinition & {
|
|
198
|
+
url: string;
|
|
199
|
+
name: string;
|
|
200
|
+
};
|
|
201
|
+
|
|
190
202
|
export declare const SimpsonsFamily: Group;
|
|
191
203
|
|
|
192
204
|
export declare const TestOrganization: Organization;
|