Update a condition
put
/Condition/{ID}
Updates an existing condition.
Note:
- Currently,
problem-list-item
andencounter-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 asuserSelected: true
and the other one must be set asuserSelected: false
.
Request
Supported Media Types
- application/fhir+json
Path Parameters
-
ID(required): string
The logical resource ID associated with the resource.
Header Parameters
-
Accept(required): string
The media type to be requested. See what the resource's operation produces for what is supported.
-
If-Match(required): string
The current version of the Condition resource.
Root Schema : ConditionUpdateBody
Type:
Show Source
object
-
dateRecorded:
string
The estimated or actual date when the condition, problem, or diagnosis was first entered.Example:
2013-02-08T00:00:00.000Z
-
ID(required):
string
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:
Show Source
object
-
abatementBoolean:
boolean
Indicates if the condition is resolved or has gone into remission.Example:
true
-
abatementDateTime:
string
The date or estimated date that the condition resolved or went into remission.Example:
2015-10-14T13:13:20-06:00
-
category:
A category assigned to the condition.Example:
{ "coding": [ { "system": "http://hl7.org/fhir/condition-category", "code": "diagnosis", "display": "Diagnosis" } ], "text": "Diagnosis" }
-
clinicalStatus:
The clinical status of the condition.Example:
resolved
-
code(required):
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" }
-
encounter:
The encounter during which the condition was first asserted.
Note: Required when the condition category code isencounter-diagnosis
.Example:{ "reference": "Encounter/1309819" }
-
note:
Additional information about the condition.Example:
Information related to condition
-
onsetDateTime:
string
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
- Only a type of
-
patient(required):
Who has the condition.Example:
{ "reference": "Patient/2744123", "display": "Joe, Test" }
-
resourceType(required):
string
The FHIR resource type.
resourceType
must beCondition
.Example:Condition
-
severity:
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" }
-
verificationStatus(required):
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
Response
Supported Media Types
- application/json
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
-
ETag: string
The identifier for a specific version of a resource. The identifier is formatted as
W/"
and used to specify the" If-Match
header value on subsequent updates. -
X-Request-Id: string
The Oracle troubleshooting identifier.
-
opc-request-id: string
The Oracle troubleshooting identifier.