Applying Deltas to CodeSystems

A pair of FHIR operations can be used to add or remove codes from the CodeSystems. These operations directly add or remove the codes from the specified CodeSystem.

Delta Add Operation: $apply-codesystem-delta-add

The $apply-codesystem-delta-add operation can be used to add concepts to an existing Codeystem.

The following example shows an invocation of the Delta Add operation. This payload should be a POST to the following URL:

http://<HOST_NAME>:<PORT>/oracle-fhir-server/fhir/CodeSystem/$apply-codesystem-delta-add

The payload is shown below:

{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "system",
      "valueUri": "http://example.com/csv"
    },
    {
      "name": "file",
      "valueAttachment": {
        "contentType": "text/csv",
        "data": "Q09ERSxESVNQTEFZCgpDSEVNVFJZLENoZW1pc3RyeQpIQjEsSGVtb2dsb2Jpbg==",
        "url": "file:/concepts.csv"
      }
    }
  ]
}

Delta Remove Operation: $apply-codesystem-delta-remove

The $apply-codesystem-delta-remove operation can be used to remove concepts from an existing CodeSystem.

The following example shows an invocation of the Delta Remove operation. This payload should be a POST to the following URL:

http://<HOST_NAME>:<PORT>/oracle-fhir-server/fhir/CodeSystem/$apply-codesystem-delta-remove

The payload is shown below:

{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "system",
      "valueUri": "http://example.com/csv"
    },
    {
      "name": "file",
      "valueAttachment": {
        "contentType": "text/csv",
        "data": "Q09ERSxESVNQTEFZCgpDSEVNVFJZLENoZW1pc3RyeQpIQjEsSGVtb2dsb2Jpbg==",
        "url": "file:/concepts.csv"
      }
    }
  ]
}