DELETE [base]/StructureDefinition/16
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUucmVhZCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
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>Successfully deleted 1 resource(s) in 89ms</pre></td></tr></table></div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully deleted 1 resource(s) in 89ms"
}
]
}
GET [base]/StructureDefinition?name=920f134c-ce5d-4c6c-8e93-2d169d6ef3c7
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUucmVhZCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "58899890-ea9a-4c0a-8ac6-2ab17b1600f5",
"meta": {
"lastUpdated": "2020-10-23T11:31:31.966+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://questionnaire.cit-questionnaire-619.local/fhir/StructureDefinition?_format=json&_pretty=true&name=920f134c-ce5d-4c6c-8e93-2d169d6ef3c7"
}
],
"entry": [
{
"fullUrl": "https://questionnaire.cit-questionnaire-619.local/fhir/StructureDefinition/19",
"resource": {
"resourceType": "StructureDefinition",
"id": "19",
"meta": {
"versionId": "1",
"lastUpdated": "2020-10-23T11:31:31.779+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
]
},
"url": "569f7ed4-4d07-475d-95b1-aba2d4c81c4b",
"name": "920f134c-ce5d-4c6c-8e93-2d169d6ef3c7",
"status": "draft",
"kind": "logical",
"abstract": true,
"type": "9f3acebc-7350-44a7-8303-bc788636011b",
"snapshot": {
"element": [
{
"id": "9f3acebc-7350-44a7-8303-bc788636011b",
"path": "9f3acebc-7350-44a7-8303-bc788636011b",
"definition": "751ca6f7-80e9-44b8-985a-5963d1fb7ebc",
"min": 0,
"max": "1"
}
]
}
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://questionnaire.cit-questionnaire-619.local/fhir/StructureDefinition/17",
"resource": {
"resourceType": "StructureDefinition",
"id": "17",
"meta": {
"versionId": "1",
"lastUpdated": "2020-10-23T11:31:31.380+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
]
},
"url": "833f28d5-7493-4410-a781-fd691015b614",
"name": "920f134c-ce5d-4c6c-8e93-2d169d6ef3c7",
"status": "draft",
"kind": "logical",
"abstract": true,
"type": "7105fc84-9460-4845-99b1-1f8f91a0c74b",
"snapshot": {
"element": [
{
"id": "7105fc84-9460-4845-99b1-1f8f91a0c74b",
"path": "7105fc84-9460-4845-99b1-1f8f91a0c74b",
"definition": "6d7fc4d5-6f75-4b60-95ba-f1499813ee05",
"min": 0,
"max": "1"
}
]
}
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/StructureDefinition/20/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUucmVhZCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "StructureDefinition",
"id": "20",
"meta": {
"versionId": "2",
"lastUpdated": "2020-10-23T11:31:32.495+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
]
},
"url": "66af1b9a-f1a4-4530-be55-a567d3e64230",
"name": "5c3baefa-98ec-4876-adb5-92e4be692a7e",
"status": "draft",
"kind": "logical",
"abstract": true,
"type": "3c86a320-b3da-4350-9bba-aaab088245af",
"snapshot": {
"element": [
{
"id": "3c86a320-b3da-4350-9bba-aaab088245af",
"path": "3c86a320-b3da-4350-9bba-aaab088245af",
"definition": "1b6841b8-04a8-40ba-9370-84eacf626c0f",
"min": 0,
"max": "1"
}
]
}
}
POST [base]/StructureDefinition
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUucmVhZCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "StructureDefinition",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
]
},
"url": "82c81686-4213-4b07-b04e-cdf102221abe",
"version": "14b3cbf7-60d1-4289-a121-a0eb06d2bf5f",
"name": "c15a2f3e-18b0-443a-9bcc-dc8638c08ae3",
"status": "draft",
"kind": "logical",
"abstract": true,
"type": "b46e9930-530e-4fb5-8939-f79a5746090f",
"snapshot": {
"element": [
{
"id": "b46e9930-530e-4fb5-8939-f79a5746090f",
"path": "b46e9930-530e-4fb5-8939-f79a5746090f",
"definition": "f9a843fc-9b0c-42a0-9cf6-b93f573c0816",
"min": 0,
"max": "1"
}
]
}
}
Response
{
"resourceType": "StructureDefinition",
"id": "15",
"meta": {
"versionId": "1",
"lastUpdated": "2020-10-23T11:31:30.467+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
]
},
"url": "82c81686-4213-4b07-b04e-cdf102221abe",
"version": "14b3cbf7-60d1-4289-a121-a0eb06d2bf5f",
"name": "c15a2f3e-18b0-443a-9bcc-dc8638c08ae3",
"status": "draft",
"kind": "logical",
"abstract": true,
"type": "b46e9930-530e-4fb5-8939-f79a5746090f",
"snapshot": {
"element": [
{
"id": "b46e9930-530e-4fb5-8939-f79a5746090f",
"path": "b46e9930-530e-4fb5-8939-f79a5746090f",
"definition": "f9a843fc-9b0c-42a0-9cf6-b93f573c0816",
"min": 0,
"max": "1"
}
]
}
}
POST [base]/StructureDefinition/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUucmVhZCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (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": "StructureDefinition",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
]
},
"url": "90d0bf80-23cd-4835-8fc0-0f8ab9f1c569",
"name": "7d8070b0-a4a0-47d8-9e64-16669c12b33e",
"status": "draft",
"kind": "logical",
"abstract": true,
"type": "31c334a7-df92-4dea-8bce-ff305e65357c",
"snapshot": {
"element": [
{
"id": "31c334a7-df92-4dea-8bce-ff305e65357c",
"path": "31c334a7-df92-4dea-8bce-ff305e65357c",
"definition": "70b6ac22-2ceb-459b-bfde-eac3e06e4bf6",
"min": 0,
"max": "1"
}
]
}
}
}
]
}
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]/StructureDefinition/20
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUucmVhZCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "StructureDefinition",
"id": "20",
"meta": {
"versionId": "1",
"lastUpdated": "2020-10-23T11:31:32.240+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
]
},
"url": "66af1b9a-f1a4-4530-be55-a567d3e64230",
"name": "5c3baefa-98ec-4876-adb5-92e4be692a7e",
"status": "draft",
"kind": "logical",
"abstract": true,
"type": "3c86a320-b3da-4350-9bba-aaab088245af",
"snapshot": {
"element": [
{
"id": "3c86a320-b3da-4350-9bba-aaab088245af",
"path": "3c86a320-b3da-4350-9bba-aaab088245af",
"definition": "1b6841b8-04a8-40ba-9370-84eacf626c0f",
"min": 0,
"max": "1"
}
]
}
}
Response
{
"resourceType": "StructureDefinition",
"id": "20",
"meta": {
"versionId": "2",
"lastUpdated": "2020-10-23T11:31:32.495+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
]
},
"url": "66af1b9a-f1a4-4530-be55-a567d3e64230",
"name": "5c3baefa-98ec-4876-adb5-92e4be692a7e",
"status": "draft",
"kind": "logical",
"abstract": true,
"type": "3c86a320-b3da-4350-9bba-aaab088245af",
"snapshot": {
"element": [
{
"id": "3c86a320-b3da-4350-9bba-aaab088245af",
"path": "3c86a320-b3da-4350-9bba-aaab088245af",
"definition": "1b6841b8-04a8-40ba-9370-84eacf626c0f",
"min": 0,
"max": "1"
}
]
}
}