@medplum/core 2.1.5 → 2.1.6

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.
@@ -14,6 +14,7 @@ export declare function validationError(details: string): OperationOutcome;
14
14
  export declare function serverError(err: Error): OperationOutcome;
15
15
  export declare function isOperationOutcome(value: unknown): value is OperationOutcome;
16
16
  export declare function isOk(outcome: OperationOutcome): boolean;
17
+ export declare function isCreated(outcome: OperationOutcome): boolean;
17
18
  export declare function isAccepted(outcome: OperationOutcome): boolean;
18
19
  export declare function isNotFound(outcome: OperationOutcome): boolean;
19
20
  export declare function isGone(outcome: OperationOutcome): boolean;
@@ -22,4 +22,4 @@ export declare const fhirTypeToJsType: {
22
22
  readonly xhtml: "string";
23
23
  readonly 'http://hl7.org/fhirpath/System.String': "string";
24
24
  };
25
- export declare function validate(resource: Resource, profile?: StructureDefinition): void;
25
+ export declare function validateResource(resource: Resource, profile?: StructureDefinition): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/core",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "Medplum TS/JS Library",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",