Update a condition

put

/Condition/{ID}

Updates an existing condition by the associated condition ID.

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 multiple codings. However, only one for userSelected=true and one for userSelected=false are written to Millennium.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : ConditionUpdateBody
Type: object
Show Source
  • 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": "d2593255383",
    "subject": {
        "reference": "Patient/13502100"
    },
    "abatementDateTime": "",
    "category": [
        {
            "coding": [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/condition-category",
                    "code": "encounter-diagnosis",
                    "display": "encounter-diagnosis"
                }
            ],
            "text": "encounter-diagnosis"
        }
    ],
    "code": {
        "coding": [
            {
                "system": "http://snomed.info/sct",
                "code": "1137438000",
                "display": "Pain due to arthritis",
                "userSelected": true
            }
        ],
        "text": "Pain due to arthritis"
    },
    "clinicalStatus": {
        "coding": [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                "code": "active",
                "display": "Active",
                "userSelected": false
            }
        ],
        "text": "Active"
    },
    "severity": {
        "coding": [
            {
                "system": "http://snomed.info/sct",
                "code": "255604002",
                "display": "Mild"
            }
        ]
    },
    "onsetDateTime": "2015-10-14T13:13:20-06:00",
    "verificationStatus": {
        "coding": [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
                "code": "confirmed",
                "display": "Confirmed"
            }
        ],
        "text": "Confirmed"
    }
}
Nested Schema : ConditionCreateBody
Type: object
Show Source
  • The date or estimated date that the condition resolved or went into remission.
    Note: Not supported for conditions with a category of encounter-diagnosis.
    Example: 2015-10-14T13:13:20-06:00
  • A category assigned to the condition.
    Note:
    • Only a single category may be provided.
    • The problem-list-item and encounter-diagnosis category codes are supported.
    • Classification codes are not supported.
    Example: [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-category", "code": "problem-list-item", "display": "Problem List Item" } ], "text": "Problem List Item" } ]
  • The clinical status of the condition.
    Note:
    • A clinicalStatus must always be provided while creating a condition.
    • Only the active code is supported when the category is encounter-diagnosis.
    Example: { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "resolved", "display": "Resolved" } ], "text": "Resolved" }
  • Identification of the condition, problem, or diagnosis.
    Example: { "coding": [ { "system": "http://snomed.info/sct", "code": "209832007", "display": "Concussion NOS (disorder)", "userSelected": true } ], "text": "Concussion with loss of consciousness" }
  • The encounter during which the condition was first asserted.
    Note:
    • Must be a reference to an encounter.
    • Required when the condition category code is encounter-diagnosis.
  • Additional information about the condition. This is a general notes or comments entry for a description of the condition, its diagnosis, and prognosis.
    Note: Does not allow updates.
    Example: [ { "authorReference": { "reference": "Practitioner/4594011", "display": "Leroux, Erik" }, "text": "Test Comment 2" } ]
  • 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
  • The FHIR resource type. resourceType must be Condition.
    Example: Condition
  • A subjective assessment of the severity of the condition as evaluated by the clinician.
    Example: { "coding": [ { "system": "http://snomed.info/sct", "code": "255604002", "display": "Mild" } ] }
  • The patient who the condition record is associated with. Must be a reference to a patient.
    Example: { "reference": "Patient/631923", "display": "Nilsson, Christine" }
  • The verification status to support or decline the clinical status of the condition or diagnosis.
    Note: verificationStatus codes of entered-in-error and refuted are not supported when creating a condition.
    Example: { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", "code": "confirmed", "display": "Confirmed" } ], "text": "Confirmed" }
Example:
{
    "resourceType": "Condition",
    "abatementDateTime": "2015-10-14T13:13:20-06:00",
    "category": [
        {
            "coding": [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/condition-category",
                    "code": "problem-list-item",
                    "display": "Problem List Item TEST"
                }
            ]
        }
    ],
    "clinicalStatus": {
        "coding": [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                "code": "resolved",
                "display": "Resolved"
            }
        ],
        "text": "Resolved"
    },
    "code": {
        "coding": [
            {
                "system": "http://snomed.info/sct",
                "code": "confirmed",
                "display": "confirmed_display"
            }
        ],
        "text": "confirmed_text"
    },
    "encounter": {
        "reference": "Encounter/98107594"
    },
    "note": [
        {
            "text": "ConditionNote"
        }
    ],
    "onsetDateTime": "2015-10-14T13:13:20-06:00",
    "severity": {
        "coding": [
            {
                "system": "http://snomed.info/sct",
                "code": "255604002",
                "display": "Mild"
            }
        ]
    },
    "subject": {
        "reference": "Patient/13034092"
    },
    "verificationStatus": {
        "coding": [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
                "code": "confirmed",
                "display": "Confirmed"
            }
        ],
        "text": "Confirmed"
    }
}
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/r4/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