Skip to content

Commit e10e613

Browse files
committed
Update rest-api-capabilities.md
Added note that you need to have versioning config set up
1 parent 2477fb6 commit e10e613

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

articles/healthcare-apis/fhir/rest-api-capabilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Content-Type: `application/json`
182182
```
183183

184184
#### Patch with `_meta-history` parameter
185-
The FHIR service supports the `_meta-history` query parameter with both `PUT` and `PATCH` operations. This parameter allows you to control whether metadata-only changes to a resource create a new historical version of the resource or not. By default, any change to a resource, including metadata-only changes, creates a new version and saves the previous version as a historical record. When you set the `_meta-history` parameter to `false`, metadata-only changes do not create a new version, and the previous version is not saved as a historical record. This feature is useful for scenarios where frequent metadata updates are made, and you want to avoid cluttering the resource history with numerous versions that only differ in metadata. For more information and examples, see [FHIR versioning policy and history management](fhir-versioning-policy-and-history-management.md#metadata-only-updates-and-versioning).
185+
The FHIR service supports the `_meta-history` query parameter with both `PUT` and `PATCH` operations. When FHIR server the versioning policy is set to either `versioned` or `version-update`, the `_meta-history` parameter allows you to control whether metadata-only changes to a resource create a new historical version of the resource or not. By default, any change to a resource, including metadata-only changes, creates a new version and saves the previous version as a historical record. When you set the `_meta-history` parameter to `false`, metadata-only changes do not create a new version, and the previous version is not saved as a historical record. This feature is useful for scenarios where frequent metadata updates are made, and you want to avoid cluttering the resource history with numerous versions that only differ in metadata. For more information and examples, see [FHIR versioning policy and history management](fhir-versioning-policy-and-history-management.md#metadata-only-updates-and-versioning).
186186

187187
`PATCH <fhir server>/Patient/test-patient?_meta-history=false`
188188

0 commit comments

Comments
 (0)