Get a contract by ID
get
/Contract/{ID}
Retrieves an individual contract by the contract ID.
Request
Path Parameters
-
ID(required): string
The logical resource ID associated with the resource.
Header Parameters
-
Accept(required): string
The media type to be requested. See what the resource's operation produces for what is supported.
-
Authorization(required): string
Contains the credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer token.
Response
Supported Media Types
- application/json+fhir
Default Response
This operation supports the following authorization types:
- Provider
- Patient
- System
GET https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/Contract/490068369
Example Response:
{
"resourceType": "Contract",
"id": "490068369",
"meta": {
"versionId": "51"
},
"text": {
"status": "generated",
"div": "<div><p><b>Contract</b></p><p><b>Actor Name</b>: SMART, NANCY</p><p><b>Subject Name</b>: SMART, TIMMY</p><p><b>Applies Begin</b>: Aug 10, 2020 4:37 P.M. UTC</p><p><b>Type</b>: Consent report (record artifact)</p><p><b>Subtype</b>: Consent status (finding)</p></div>"
},
"applies": {
"start": "2020-08-10T16:37:51.000Z"
},
"subject": [
{
"reference": "Patient/12724069",
"display": "SMART, TIMMY"
}
],
"type": {
"coding": [
{
"system": "https://snomed.ct/sct",
"code": "371537001",
"display": "Consent report (record artifact)"
}
],
"text": "Consent report (record artifact)"
},
"subtype": [
{
"coding": [
{
"system": "https://snomed.ct/sct",
"code": "309370004",
"display": "Consent status (finding)"
}
],
"text": "Consent status (finding)"
}
],
"action": [
{
"coding": [
{
"system": "https://snomed.ct/sct",
"code": "441898007",
"display": "Consented (qualifier value)"
}
],
"text": "Consented (qualifier value)"
}
],
"actionReason": [
{
"coding": [
{
"system": "https://snomed.ct/sct",
"code": "425691002",
"display": "Consent given for electronic record sharing (finding)"
}
],
"text": "Consent given for electronic record sharing (finding)"
}
],
"actor": [
{
"entity": {
"reference": "RelatedPerson/490068369",
"display": "SMART, NANCY"
},
"role": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "442681007",
"display": "Recipient consented (qualifier value)"
}
],
"text": "Authorized Representative"
}
]
}
]
}
Headers
-
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.