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}}"}], "signer"=>[{"type"=>{"system"=>"http://terminology.hl7.org/CodeSystem/contractsignertypecodes", "code"=>"AMENDER"}, "party"=>{"reference"=>"Practitioner/{{fhir_practitioner_id}}"}, "signature"=>[{"type"=>[{"system"=>"urn:iso-astm:E1762-95:2013", "code"=>"1.2.840.10065.1.12.1.1"}], "when"=>"2023-09-25T12:59:42.619+00:00", "who"=>{"reference"=>"Practitioner/{{fhir_practitioner_id}}"}}]}], "subject"=>[{"reference"=>"Patient/{{fhir_patient_id}}"}], "legallyBindingAttachment"=>{"contentType"=>"application/pdf", "url"=>"http://www.aws3.com/storage/doc.pdf"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
content-type | string | ||
prefer | string |