GET /fhir/Patient/17b69d79-3d9b-45f8-af79-75f958502763
GET /Patient/17b69d79-3d9b-45f8-af79-75f958502763
Status: 200
name:
- given: Bob
gender: male
id: 17b69d79-3d9b-45f8-af79-75f958502763
resourceType: Patient
meta:
lastUpdated: '2018-11-29T10:44:10.588Z'
versionId: '13'
extension:
- url: 'ex:createdAt'
valueInstant: '2018-11-29T10:44:10.588Z'
Status: 200
name:
- given: Bob
gender: male
id: 17b69d79-3d9b-45f8-af79-75f958502763
resourceType: Patient
meta:
lastUpdated: '2018-11-29T10:44:10.588Z'
createdAt: '2018-11-29T10:44:10.588Z'
versionId: '13'
GET /fhir/Patient/some-not-existing-id
GET /Patient/some-not-existing-id
Status: 404
resourceType: OperationOutcome
id: 'not-found'
text:
status: generated
div: Resource Patient/some-not-existing-id not found
issue:
- severity: fatal
code: not-found
diagnostics: Resource Patient/some-not-existing-id not found
Status: 404
resourceType: OperationOutcome
id: 'not-found'
text:
status: generated
div: Resource Patient/some-not-existing-id not found
issue:
- severity: fatal
code: not-found
diagnostics: Resource Patient/some-not-existing-id not found
GET [base]/[type]/[id]/_history/[vid]
This one is another read interaction, but it returns a specific version resource. Similar to read, but it additionally requires to specify version id.
GET /fhir/Patient/17b69d79-3d9b-45f8-af79-75f958502763/_history/13
GET /Patient/17b69d79-3d9b-45f8-af79-75f958502763/_history/13
Status: 200
name:
- given:
- Bob
gender: male
id: '17b69d79-3d9b-45f8-af79-75f958502763'
resourceType: Patient
meta:
lastUpdated: '2018-11-29T10:44:10.588Z'
versionId: '13'
extension:
- url: 'ex:createdAt'
valueInstant: '2018-11-29T10:44:10.588Z'
Status: 200
name:
- given:
- Bob
gender: male
id: '17b69d79-3d9b-45f8-af79-75f958502763'
resourceType: Patient
meta:
lastUpdated: '2018-11-29T10:44:10.588Z'
createdAt: '2018-11-29T10:44:10.588ZZ'
versionId: '13'