@medplum/fhirtypes 0.9.36 → 0.9.38

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.
@@ -316,6 +316,3 @@ export type Resource = AccessPolicy
316
316
  | ValueSet
317
317
  | VerificationResult
318
318
  | VisionPrescription;
319
-
320
- export type ResourceType = Resource['resourceType'];
321
- export type ExtractResource<K extends ResourceType> = Extract<Resource, { resourceType: K }>;
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { Resource } from './Resource';
7
+
8
+ export type ResourceType = Resource['resourceType'];
9
+ export type ExtractResource<K extends ResourceType> = Extract<Resource, { resourceType: K }>;
package/dist/index.d.ts CHANGED
@@ -166,6 +166,7 @@ export * from './ResearchElementDefinition';
166
166
  export * from './ResearchStudy';
167
167
  export * from './ResearchSubject';
168
168
  export * from './Resource';
169
+ export * from './ResourceType';
169
170
  export * from './RiskAssessment';
170
171
  export * from './RiskEvidenceSynthesis';
171
172
  export * from './SampledData';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "0.9.36",
3
+ "version": "0.9.38",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",