Publish Box goes here
No examples are currently available for the profile.
GET [base]/ServiceRequest/2345
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5yZWFkIiwiQ2FyZVBsYW4ucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiQ2FyZVBsYW4uc2VhcmNoIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "2345",
"meta": {
"versionId": "1",
"lastUpdated": "2023-05-16T07:51:39.008+00:00",
"source": "#0e61812f-d945-93",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
],
"tag": [
{
"system": "http://ehealth.sundhed.dk/cs/ehealth-system",
"code": "xb"
},
{
"system": "http://ehealth.sundhed.dk/cs/ehealth-system",
"code": "xa"
}
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2467.local/fhir/EpisodeOfCare/2341"
}
},
{
"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": -967491325,
"system": "http://unitsofmeasure.org",
"code": "h"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-trigger-enablement-code",
"valueCode": "NO_TRIGGER"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "draft"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-05-16T07:51:39+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2467.local/fhir/ActivityDefinition/14535"
],
"status": "draft",
"intent": "order",
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-2467.local/fhir/Patient/41412"
}
}
GET [base]/ServiceRequest/2297/_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": "2297",
"meta": {
"versionId": "2",
"lastUpdated": "2023-05-16T07:51:00.889+00:00",
"source": "#32cc432d-a118-95",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2467.local/fhir/EpisodeOfCare/2296"
}
},
{
"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-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "on-hold"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-05-16T07:50:59+00:00"
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "revoked"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-06-14T07:50:59+00:00"
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2467.local/fhir/ActivityDefinition/94941"
],
"status": "active",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "12254d24-58c3-480a-946f-ca72cdfa54d3"
},
"subject": {
"reference": "https://patient.cit-careplan-2467.local/fhir/Patient/87825"
}
}
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-05-16T07:51:07.725+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-2467.local/fhir/EpisodeOfCare/2318"
}
},
{
"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": -890807887,
"system": "http://unitsofmeasure.org",
"code": "h"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2467.local/fhir/ActivityDefinition/80593"
],
"status": "completed",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "c00ae124-3bdc-4b63-a739-5998e0c46aa7"
},
"subject": {
"reference": "https://patient.cit-careplan-2467.local/fhir/Patient/73960"
}
}
}
]
}
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/2297
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": "2297",
"meta": {
"versionId": "1",
"lastUpdated": "2023-05-16T07:50:59.790+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-2467.local/fhir/EpisodeOfCare/2296"
}
},
{
"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-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "on-hold"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-05-16T07:50:59+00:00"
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "revoked"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-06-14T07:50:59+00:00"
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2467.local/fhir/ActivityDefinition/94941"
],
"status": "active",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "12254d24-58c3-480a-946f-ca72cdfa54d3"
},
"subject": {
"reference": "https://patient.cit-careplan-2467.local/fhir/Patient/87825"
}
}
Response
{
"resourceType": "ServiceRequest",
"id": "2297",
"meta": {
"versionId": "2",
"lastUpdated": "2023-05-16T07:51:00.889+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-2467.local/fhir/EpisodeOfCare/2296"
}
},
{
"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-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "on-hold"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-05-16T07:50:59+00:00"
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule",
"extension": [
{
"url": "status",
"valueCode": "revoked"
},
{
"url": "scheduledTime",
"valueDateTime": "2023-06-14T07:50:59+00:00"
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2467.local/fhir/ActivityDefinition/94941"
],
"status": "active",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "12254d24-58c3-480a-946f-ca72cdfa54d3"
},
"subject": {
"reference": "https://patient.cit-careplan-2467.local/fhir/Patient/87825"
}
}