Update a condition

put

/Condition/{ID}

Updates an existing condition.

Note:

  • Currently, problem-list-item and encounter-diagnosis are supported.
  • A missing field is interpreted as nulling out or removing data from the resource. See FHIR Update for additional details about update operations.
  • The code.coding field can have at most two codings, one of which must be set as userSelected: true and the other one must be set as userSelected: false.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : ConditionUpdateBody
Type: object
Show Source
  • The estimated or actual date when the condition, problem, or diagnosis was first entered.
    Example: 2013-02-08T00:00:00.000Z
  • The logical ID of the resource to update. The ID value must match the condition value.
    Example: p123412
Match All
Show Source
Example:
{
  "resourceType": "Condition",
  "id": "d2572382197",
  "meta": {
    "versionId": "2572382197",
    "lastUpdated": "2020-06-11T04:03:21.000Z"
  },
  "patient": {
    "reference": "Patient/12724066"
  },
  "encounter": {
    "reference": "Encounter/97953477"
  },
  "dateRecorded": "2020-06-11",
  "code": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "271737000",
        "display": "Anemia (disorder)",
        "userSelected": true
      },
      {
        "system": "http://hl7.org/fhir/sid/icd-10-cm",
        "code": "D64.9",
        "display": "Anemia, unspecified",
        "userSelected": false
      }
    ],
    "text": "Anemia"
  },
  "category": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/condition-category",
        "code": "diagnosis",
        "display": "Diagnosis"
      }
    ],
    "text": "Diagnosis"
  },
  "clinicalStatus": "resolved",
  "verificationStatus": "differential",
  "onsetDateTime": "2020-06-10T17:00:00.000Z"
}
Nested Schema : ConditionCreateBody
Type: object
Show Source
  • Indicates if the condition is resolved or has gone into remission.
    Example: true
  • The date or estimated date that the condition resolved or went into remission.
    Example: 2015-10-14T13:13:20-06:00
  • A category assigned to the condition.
    Example: { "coding": [ { "system": "http://hl7.org/fhir/condition-category", "code": "diagnosis", "display": "Diagnosis" } ], "text": "Diagnosis" }
  • The clinical status of the condition.
    Example: resolved
  • Identification of the condition, problem, or diagnosis.
    Example: { "coding": [ { "system": "http://hl7.org/fhir/sid/icd-9-cm", "code": "345.0", "display": "Generalized nonconvulsive epilepsy", "userSelected": true } ], "text": "Absence seizures" }
  • The encounter during which the condition was first asserted.
    Note: Required when the condition category code is encounter-diagnosis.
    Example: { "reference": "Encounter/1309819" }
  • Additional information about the condition.
    Example: Information related to condition
  • The estimated or actual date or date and time when the condition began, in the opinion of the clinician.
    Note:
    • Only a type of dateTime is supported.
    • The dateTime is converted to a GMT date.
    Example: 2015-10-14T13:13:20-06:00
  • Who has the condition.
    Example: { "reference": "Patient/2744123", "display": "Joe, Test" }
  • The FHIR resource type. resourceType must be Condition.
    Example: Condition
  • The assessment of the severity of the condition as evaluated by the clinician.
    Example: { "coding": [ { "system": "http://snomed.info/sct", "code": "371923003", "display": "Mild to moderate" } ], "text": "Mild to moderate" }
  • The verification status to support or decline the clinical status of the condition or diagnosis.
    Example: confirmed
Example:
{
  "resourceType": "Condition",
  "patient": {
    "reference": "Patient/12724066"
  },
  "code": {
    "text": "Freetext Diagnosis"
  },
  "category": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/condition-category",
        "code": "diagnosis",
        "display": "Diagnosis"
      }
    ],
    "text": "Diagnosis"
  },
  "clinicalStatus": "active",
  "verificationStatus": "differential",
  "encounter": {
    "reference": "Encounter/97953477"
  }
}
Nested Schema : ConditionUpdateBody-allOf[1]
Type: object
Back to Top

Response

Supported Media Types

200 Response

Example Request:
PUT https://fhir-ehr-code.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/Condition/p73077203
Example Response:
  Cache-Control: no-cache
  Content-Length: 0
  Content-Type: text/html
  Date: Tue, 20 Aug 2019 21:17:04 GMT
  Etag: W/"12809861"
  Last-Modified: TTue, 20 Aug 2019 21:17:04 GMT
  Vary: Origin
  X-Request-Id: 11111111111111111111111111111111
The ETag response header indicates the current If-Match version to use on a subsequent update.
Headers
Back to Top