General
Contract
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>"
"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.00,
"currency": "CAD"
},
"factor": 1.0,
"points": 1.0,
"net": {
"value": 200.00,
"currency": "CAD"
}
}
]
"identifier" : [{
"system" : "http://happyvalley.com/contract",
"value" : "12347"
}],
"term" : [{
"offer" : {
"text" : "Can't refuse"
},
"asset" : [{
"type" : [{
"coding" : [{
"system" : "urn:ietf:rfc:3986",
"code" : "urn:uuid:3a48c68c-318d-4c68-8471-4a3c10fcb41b",
"display" : "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.00,
"currency" : "CAD"
},
"factor" : 1.0,
"points" : 1.0,
"net" : {
"value" : 200.00,
"currency" : "CAD"
}
]
}
],
"rule": [
{
"contentAttachment": {
"contentType": "application/txt",
"url": "http://www.rfc-editor.org/bcp/bcp13.txt"
}
}]
}]
}],
"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"
}],
"legallyBindingAttachment" : {
"contentType" : "application/pdf",
"url" : "http://www.aws3.com/storage/doc.pdf"
}
}
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
not
a
normative
part
of
the
specification.