@medplum/mock 5.1.21 → 5.1.22
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 +4 -2
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/index.cjs.map +4 -4
- package/dist/cjs/index.d.ts +19 -10
- package/dist/esm/index.d.ts +19 -10
- package/dist/esm/index.mjs +4 -4
- package/dist/esm/index.mjs.map +4 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,8 +5,10 @@ Provides the `MockClient` class and a large number of mocked endpoints and resou
|
|
|
5
5
|
For example:
|
|
6
6
|
|
|
7
7
|
- `GET fhir/R4/Patient/123` returns Homer Simpson
|
|
8
|
-
- `GET fhir/R4/Practitioner/
|
|
9
|
-
- `GET fhir/R4/Organization/
|
|
8
|
+
- `GET fhir/R4/Practitioner/124` returns Dr. Alice Smith
|
|
9
|
+
- `GET fhir/R4/Organization/125` returns Test Organization
|
|
10
|
+
|
|
11
|
+
Well-known resource ids are exported as constants from `@medplum/mock` (for example `MOCK_HOMER_PATIENT_ID`, `MOCK_ALICE_PRACTITIONER_ID`).
|
|
10
12
|
|
|
11
13
|
## Installation
|
|
12
14
|
|