Operation $validate-code on CodeSystem

Validate whether the coded value is in the CodeSystem and returns the result using the $validate-code operation. The $validate-code operation is supported both at type level and at instance level.

HTTP Request

You can use both HTTP GET and HTTP POST requests to run the $validate-code operation.

Instance Level:

GET [base]/CodeSystem/[id]/$validate-code?[parameters]

POST [base]/CodeSystem/[id]/$validate-code

Type Level:

GET [base]/CodeSystem/$validate-code?[parameters]

POST [base]/CodeSystem/$validate-code

Header:

Content-Type:application/json

Path Parameters

  • base: Service endpoint to interact with FHIR resources. For more information, see Service Endpoint.

  • id: The CodeSystem ID

  • parameters: Parameter-value pair

    Supported Parameters:

    • Input Parameters - url (mandatory), code (mandatory), and version

    • Output Parameters - result and message