API Reference

Update Contract with identifier {identifier}

Contract on the FHIR specification website.

Legally enforceable, formally recorded unilateral or bilateral directive i.e., a policy or agreement.

The body should be a valid FHIR object for Contract.

Here is an example:

{
  "resourceType": "Contract",
  "id": "C-123",
  "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": "12347"
    }
  ],
  "term": [
    {
      "offer": {
        "text": "Can't refuse"
      },
      "asset": [
        {
          "type": [
            {
              "coding": [
                {
                  "system": "urn:ietf:rfc:3986",
                  "code": "RicardianContract"
                }
              ]
            }
          ],
          "subtype": [
            {
              "text": "sample"
            }
          ],
          "period": [
            {
              "start": "2017-06-01"
            }
          ],
          "valuedItem": [
            {
              "entityCodeableConcept": {
                "text": "Ford Bobcat"
              },
              "identifier": {
                "system": "http://somewhere.motor-vehicle.com/vin",
                "value": "XXSVT34-7665t952236"
              },
              "effectiveTime": "1995",
              "quantity": {
                "value": 1
              },
              "unitPrice": {
                "value": 200,
                "currency": "CAD"
              },
              "factor": 1,
              "points": 1,
              "net": {
                "value": 200,
                "currency": "CAD"
              }
            }
          ]
        }
      ]
    }
  ],
  "rule": [
    {
      "contentAttachment": {
        "contentType": "application/txt",
        "url": "http://www.rfc-editor.org/bcp/bcp13.txt"
      }
    }
  ],
  "legallyBindingAttachment": {
    "contentType": "application/pdf",
    "url": "http://www.aws3.com/storage/doc.pdf"
  }
}

You can reference the FHIR documentation to determine the format for Contract.

Language
Authorization
Click Try It! to start a request and see the response here!