Publish Box goes here
No examples are currently available for the profile.
GET [base]/ServiceRequest/2842
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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "ServiceRequest",
"id": "2842",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:42:54.409+00:00",
"source": "#37bb4023-c8d6-90",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2841"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "noSharing"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange",
"extension": [
{
"url": "low",
"valueQuantity": {
"value": 2.0
}
},
{
"url": "high",
"valueQuantity": {
"value": 4.0
}
},
{
"url": "type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/reference-range-type",
"code": "TBD"
}
]
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "completed"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-18T07:42:53+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/ActivityDefinition/41223"
],
"status": "completed",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "14ed6bb3-77b0-4882-a445-3247937eb5e2"
},
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/18773"
}
}
GET [base]/ServiceRequest/2905/_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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "ServiceRequest",
"id": "2905",
"meta": {
"versionId": "2",
"lastUpdated": "2023-10-18T07:43:32.886+00:00",
"source": "#a0bb3392-ea52-98",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2904"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "noSharing"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "active"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-18T07:43:31+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "on-hold"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-10-18T07:43:31+00:00"
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "revoked"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-11-16T07:43:31+00:00"
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/ActivityDefinition/1168"
],
"status": "active",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "51f14d18-4946-4222-ab04-740d8fcb35e8"
},
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/12858"
}
}
POST [base]/ServiceRequest/$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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "ServiceRequest",
"meta": {
"lastUpdated": "2023-10-18T07:43:44.386+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2926"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "noSharing"
}
]
}
},
{
"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": 536774528,
"system": "http://unitsofmeasure.org",
"code": "h"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "completed"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-18T07:43:44+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/ActivityDefinition/58580"
],
"status": "completed",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "40e854fa-2ef1-417c-bcec-5eacd005bdcf"
},
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/72816"
}
}
}
]
}
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]/ServiceRequest/2905
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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "ServiceRequest",
"id": "2905",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:43:32.716+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2904"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "noSharing"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "active"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-18T07:43:31+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "on-hold"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-10-18T07:43:31+00:00"
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "revoked"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-11-16T07:43:31+00:00"
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/ActivityDefinition/1168"
],
"status": "active",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "51f14d18-4946-4222-ab04-740d8fcb35e8"
},
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/12858"
}
}
Response
{
"resourceType": "ServiceRequest",
"id": "2905",
"meta": {
"versionId": "2",
"lastUpdated": "2023-10-18T07:43:32.886+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2904"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "noSharing"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "active"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-18T07:43:31+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "on-hold"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-10-18T07:43:31+00:00"
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "revoked"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-11-16T07:43:31+00:00"
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/ActivityDefinition/1168"
],
"status": "active",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "51f14d18-4946-4222-ab04-740d8fcb35e8"
},
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/12858"
}
}