Create Subscription email
POST {{host}}/fhir/Subscription
Request Body
{"resourceType"=>"Subscription", "id"=>"{{subscription_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"}, "status"=>"requested", "contact"=>[{"system"=>"phone", "value"=>"123-345"}], "end"=>"{{subscription_end_date}}", "reason"=>"Monitor new observations for patient", "criteria"=>"Observation?patient=Patient/{{patient_id}}&status=final", "channel"=>{"type"=>"email", "endpoint"=>"iren.revutska@gmail.com", "header"=>["Observation for John Snow is ready"]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-consumer-id | string |