DELETE [base]/Questionnaire/13
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LXF1ZXN0aW9ubmFpcmUtNTYwLmxvY2FsL2ZoaXIvUHJhY3RpdGlvbmVyLzk0Njg3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlF1ZXN0aW9ubmFpcmUuZGVsZXRlIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHBzOi8vb3JnYW5pemF0aW9uLmNpdC1xdWVzdGlvbm5haXJlLTU2MC5sb2NhbC9maGlyL09yZ2FuaXphdGlvbi8zMjM5NyIsInBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LXF1ZXN0aW9ubmFpcmUtNTYwLmxvY2FsL2ZoaXIvUGF0aWVudC85MjkyNyIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlBSQUNUSVRJT05FUiJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/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>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully deleted 1 resource(s) in 89ms"
}
]
}
GET [base]/Questionnaire/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnJlYWQiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Questionnaire",
"id": "2",
"meta": {
"versionId": "2",
"lastUpdated": "2020-06-22T20:04:59.229+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/8500"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/40906"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "373dd9a2-8cdd-4a5b-86d6-952d1eb7ee76",
"name": "9e5eb0eb-5a01-4e24-b033-3bd327081456",
"status": "retired"
}
GET [base]/Questionnaire?name%3Aexact=0ecad367-28a6-4d7a-b7f0-57ee7cd0e7ac&type=TBD2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnJlYWQiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "72c00643-ddff-4449-8318-0c25411ebac5",
"meta": {
"lastUpdated": "2020-06-22T20:05:30.974+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://questionnaire.cit-questionnaire-560.local/fhir/Questionnaire?_format=json&_pretty=true&name%3Aexact=0ecad367-28a6-4d7a-b7f0-57ee7cd0e7ac&type=TBD2"
}
],
"entry": [
{
"fullUrl": "https://questionnaire.cit-questionnaire-560.local/fhir/Questionnaire/24",
"resource": {
"resourceType": "Questionnaire",
"id": "24",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T20:05:30.777+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD2"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/6606"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "eaebc697-912a-41ee-9a90-481b31817e2b",
"name": "0ecad367-28a6-4d7a-b7f0-57ee7cd0e7ac",
"status": "active"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://questionnaire.cit-questionnaire-560.local/fhir/Questionnaire/22",
"resource": {
"resourceType": "Questionnaire",
"id": "22",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T20:05:30.291+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD2"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/70625"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "328726ac-9e7b-4feb-b5e5-2201d979166c",
"name": "0ecad367-28a6-4d7a-b7f0-57ee7cd0e7ac",
"status": "active"
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Questionnaire/27/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnJlYWQiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Questionnaire",
"id": "27",
"meta": {
"versionId": "2",
"lastUpdated": "2020-06-22T20:05:43.707+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/59595"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "352267f5-7349-477c-9031-a1a6da70ba75",
"name": "3083a302-4c91-45b9-8e9f-abc85f5f5465",
"status": "active"
}
POST [base]/Questionnaire
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnJlYWQiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Questionnaire",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/34692"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/45685"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-recommendation",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-recommendation",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/20825"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "7954d461-7cd5-4658-8f07-6f8a76e015ff",
"name": "993cbc30-ac1c-460f-8561-e1c4bc81496d",
"status": "active",
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
"valueInteger": 2
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
"valueInteger": 7
},
{
"url": "http://hl7.org/fhir/StructureDefinition/minValue",
"valueInteger": 1
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"valueInteger": 5
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-feedback",
"extension": [
{
"url": "value",
"valueString": "value"
},
{
"url": "min",
"valueInteger": 2
},
{
"url": "max",
"valueInteger": 4
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-sliderStepValue",
"valueInteger": 2
}
],
"linkId": "link,link,link",
"type": "integer"
}
]
}
Response
{
"resourceType": "Questionnaire",
"id": "12",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T20:05:22.087+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/34692"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/45685"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-recommendation",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-recommendation",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/20825"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "7954d461-7cd5-4658-8f07-6f8a76e015ff",
"name": "993cbc30-ac1c-460f-8561-e1c4bc81496d",
"status": "active",
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
"valueInteger": 2
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
"valueInteger": 7
},
{
"url": "http://hl7.org/fhir/StructureDefinition/minValue",
"valueInteger": 1
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"valueInteger": 5
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-feedback",
"extension": [
{
"url": "value",
"valueString": "value"
},
{
"url": "min",
"valueInteger": 2
},
{
"url": "max",
"valueInteger": 4
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-sliderStepValue",
"valueInteger": 2
}
],
"linkId": "link,link,link",
"type": "integer"
}
]
}
POST [base]/Questionnaire/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnJlYWQiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "Questionnaire",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/49725"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "3fd5e3ce-131d-4185-b152-4ed2f36ef30d",
"name": "af648c5e-a778-47c8-b9ae-a28df5ef92e0",
"status": "active"
}
}
]
}
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>\r\r\r</tr>\r<tr>\r<td style=\"font-weight: bold;\">INFORMATION</td>\r<td>[]</td>\r\r\r\r<td><pre>No issues detected during validation</pre></td>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
},
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
}
]
}
PUT [base]/Questionnaire/27
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUXVlc3Rpb25uYWlyZS5kZWxldGUiLCJRdWVzdGlvbm5haXJlLnJlYWQiLCJRdWVzdGlvbm5haXJlLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmUuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJRdWVzdGlvbm5haXJlLnVwZGF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Questionnaire",
"id": "27",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T20:05:41.083+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/59595"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "352267f5-7349-477c-9031-a1a6da70ba75",
"name": "3083a302-4c91-45b9-8e9f-abc85f5f5465",
"status": "active"
}
Response
{
"resourceType": "Questionnaire",
"id": "27",
"meta": {
"versionId": "2",
"lastUpdated": "2020-06-22T20:05:43.707+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/questionnaire-types",
"code": "TBD"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-questionnaire-560.local/fhir/Organization/59595"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "352267f5-7349-477c-9031-a1a6da70ba75",
"name": "3083a302-4c91-45b9-8e9f-abc85f5f5465",
"status": "active"
}