5. Add a note to a Patient

POST https://api-{{tenant-id}}.developer.commure.com/api/v1/r4/ClinicalImpression/

The client application can create notes about the patient (ClinicalImpression). A reference to the Patient resource is found in the ClinicalImpression resource in the subject field. We are going to retrieve both the Patient and the ClinicalImpression resources.

Request Body

{"resourceType"=>"ClinicalImpression", "status"=>"completed", "code"=>{"coding"=>[{"system"=>"http://loinc.org", "code"=>"77599-9", "display"=>"Additional documentation"}], "text"=>"Additional documentation"}, "subject"=>{"reference"=>"Patient/{{patient-id}}"}, "effectiveDateTime"=>"2020-01-29T15:15:04.000-08:00", "date"=>"2020-01-29T03:28:31.000-08:00", "summary"=>"Give a new medication to the patient 1"}

RESPONSES

status: Created

{"resourceType":"ClinicalImpression","id":"clinical-impresion-id","meta":{"extension":[{"extension":[{"url":"clientname","valueString":"data_uploader"},{"url":"person","valueReference":{"reference":"Person/person-id"}}],"url":"https://commure.com/fhir/provenance/StructureDefinition/creator-structure-map"}],"versionId":"26eab995-7cc1-4a8f-9307-0bd25c6fc887","lastUpdated":"2020-10-20T14:36:31.426650+00:00"},"status":"completed","code":{"coding":[{"system":"http://loinc.org","code":"77599-9","display":"Additional documentation"}],"text":"Additional documentation"},"subject":{"reference":"Patient/patient-id"},"effectiveDateTime":"2020-01-29T15:15:04.000-08:00","date":"2020-01-29T03:28:31.000-08:00","summary":"Give a new medication to the patient"}