Contract

POST {{host}}/fhir/Contract

Request Body

{"resourceType"=>"Contract", "id"=>"{{fhir_contract_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of the contract</div>"}, "identifier"=>[{"system"=>"http://happyvalley.com/contract", "value"=>"{{fhir_contract_id}}"}], "subject"=>[{"reference"=>"Patient/{{fhir_patient_id}}"}], "legallyBindingAttachment"=>{"contentType"=>"application/pdf", "url"=>"http://www.aws3.com/storage/doc.pdf"}}

HEADERS

KeyDatatypeRequiredDescription
content-typestring
preferstring