ResMed Core Implementation Guide
0.37.0 - ci-build
ResMed Core Implementation Guide - Local Development build (v0.37.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://resmed.com/fhir/core/OperationDefinition/Resource-validate | Version: 0.37.0 | |||
| Draft as of 2024-01-11 | Computable Name: Validate | |||
The validate operation checks whether the attached content would be acceptable. The return from this operation is an OperationOutcome
Note that this operation is not the only way to validate resources - see Validating Resources for further information.
URL: [base]/Resource/$validate
URL: [base]/Resource/[id]/$validate
Parameters
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | resource | 1..1 | Resource | Must be present for validation. | ||
| IN | mode | 0..0 | code | ResourceValidationMode (Required) | Default is 'no action'; (e.g. general validation) | |
| IN | profile | 0..1 | uri | If a profile name is provided, then the resource is validated against this specific profile, overriding any profile specified in the resource parameter. This can be omitted if a profile has been specified in the resource itself. If the server cannot validate against profile, i.e. it is not a known profile, it SHALL return an error. | ||
| OUT | return | 1..1 | OperationOutcome | If the operation outcome does not list any errors, then this is an indication that either a create or update operation on the resource instance specified would be expected to succeed. |