GET [base]/ProcedureRequest/1851
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiQ2FyZVBsYW4kdXBkYXRlLWNhcmUtdGVhbXMiLCJDYXJlUGxhbi5yZWFkIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJDYXJlUGxhbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "ProcedureRequest",
"id": "1851",
"meta": {
"versionId": "1",
"lastUpdated": "2021-05-04T09:57:51.035+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-procedurerequest"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "TBD"
}
]
}
}
],
"definition": [
{
"reference": "https://plan.cit-careplan-1716.local/fhir/ActivityDefinition/51131"
}
],
"status": "suspended",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "502eb18c-7909-40fd-a171-8d03527c0a0a"
},
"subject": {
"reference": "https://patient.cit-careplan-1716.local/fhir/Patient/94754"
},
"context": {
"reference": "https://careplan.cit-careplan-1716.local/fhir/EpisodeOfCare/1850"
}
}
GET [base]/ProcedureRequest/1171/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "ProcedureRequest",
"id": "1171",
"meta": {
"versionId": "2",
"lastUpdated": "2021-05-04T09:54:35.181+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-procedurerequest"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "noSharing",
"display": "No sharing"
}
]
}
}
],
"definition": [
{
"reference": "https://plan.cit-careplan-1716.local/fhir/ActivityDefinition/6487"
}
],
"status": "completed",
"intent": "option",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "afa54c11-2682-41ff-bd63-4697ec2697ff"
},
"subject": {
"reference": "https://patient.cit-careplan-1716.local/fhir/Patient/15796"
},
"context": {
"reference": "https://careplan.cit-careplan-1716.local/fhir/EpisodeOfCare/1170"
}
}
POST [base]/ProcedureRequest/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "ProcedureRequest",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-procedurerequest"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria",
"extension": [
{
"url": "allowed",
"valueBoolean": true
},
{
"url": "situationQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/situation-quality",
"code": "unknown"
}
]
}
},
{
"url": "usageQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/usage-quality",
"code": "TBD"
}
]
}
},
{
"url": "deviceMeasuringQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/device-measuring-quality",
"code": "TBD"
}
]
}
},
{
"url": "dataActuality",
"valueDuration": {
"value": -1953403031,
"system": "http://unitsofmeasure.org",
"code": "h"
}
}
]
}
],
"definition": [
{
"reference": "https://plan.cit-careplan-1716.local/fhir/ActivityDefinition/3743"
}
],
"status": "completed",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "e3a2ed71-7545-4525-a619-a70cd799fc38"
},
"subject": {
"reference": "https://patient.cit-careplan-1716.local/fhir/Patient/99169"
},
"context": {
"reference": "https://careplan.cit-careplan-1716.local/fhir/EpisodeOfCare/1195"
}
}
}
]
}
Response
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td></tr><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td></tr></table></div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
},
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
}
]
}
PUT [base]/ProcedureRequest/1190
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "ProcedureRequest",
"id": "1190",
"meta": {
"versionId": "1",
"lastUpdated": "2021-05-04T09:54:40.981+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-procedurerequest"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria",
"extension": [
{
"url": "allowed",
"valueBoolean": true
},
{
"url": "situationQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/situation-quality",
"code": "unknown"
}
]
}
},
{
"url": "usageQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/usage-quality",
"code": "TBD"
}
]
}
},
{
"url": "deviceMeasuringQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/device-measuring-quality",
"code": "TBD"
}
]
}
},
{
"url": "dataActuality",
"valueDuration": {
"value": -1628901063,
"system": "http://unitsofmeasure.org",
"code": "h"
}
}
]
}
],
"definition": [
{
"reference": "https://plan.cit-careplan-1716.local/fhir/ActivityDefinition/32812"
}
],
"status": "completed",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "93be7bfd-da41-4ef6-b24a-6c769047351c"
},
"subject": {
"reference": "https://patient.cit-careplan-1716.local/fhir/Patient/98461"
},
"context": {
"reference": "https://careplan.cit-careplan-1716.local/fhir/EpisodeOfCare/1189"
},
"occurrenceTiming": {
"repeat": {
"boundsPeriod": {
"start": "2021-05-04T09:54:41+00:00",
"end": "2021-05-04T09:54:41+00:00"
}
}
}
}
Response
{
"resourceType": "ProcedureRequest",
"id": "1190",
"meta": {
"versionId": "2",
"lastUpdated": "2021-05-04T09:54:41.098+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-procedurerequest"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria",
"extension": [
{
"url": "allowed",
"valueBoolean": true
},
{
"url": "situationQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/situation-quality",
"code": "unknown"
}
]
}
},
{
"url": "usageQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/usage-quality",
"code": "TBD"
}
]
}
},
{
"url": "deviceMeasuringQuality",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/device-measuring-quality",
"code": "TBD"
}
]
}
},
{
"url": "dataActuality",
"valueDuration": {
"value": -1628901063,
"system": "http://unitsofmeasure.org",
"code": "h"
}
}
]
}
],
"definition": [
{
"reference": "https://plan.cit-careplan-1716.local/fhir/ActivityDefinition/32812"
}
],
"status": "completed",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "93be7bfd-da41-4ef6-b24a-6c769047351c"
},
"subject": {
"reference": "https://patient.cit-careplan-1716.local/fhir/Patient/98461"
},
"context": {
"reference": "https://careplan.cit-careplan-1716.local/fhir/EpisodeOfCare/1189"
},
"occurrenceTiming": {
"repeat": {
"boundsPeriod": {
"start": "2021-05-04T09:54:41+00:00",
"end": "2021-05-04T09:54:41+00:00"
}
}
}
}