Provenance
POST {{host}}/fhir/Provenance
Request Body
{"resourceType"=>"Provenance", "id"=>"{{fhir_provenance_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\">procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from XDS managed CDA Referral received 26-June as authorized by a referenced Consent.</div>"}, "target"=>[{"reference"=>"Patient/{{fhir_patient_id}}"}], "occurredPeriod"=>{"start"=>"2015-06-27", "end"=>"2015-06-28"}, "recorded"=>"2015-06-27T08:39:24+10:00", "policy"=>["http://acme.com/fhir/Consent/25"], "location"=>{"reference"=>"Location/{{fhir_location_id}}"}, "reason"=>[{"coding"=>[{"system"=>"http://snomed.info/sct", "code"=>"3457005", "display"=>"Referral"}]}], "agent"=>[{"type"=>{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/v3-ParticipationType", "code"=>"AUT"}]}, "who"=>{"reference"=>"Patient/{{fhir_patient_id}}"}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
prefer | string |