DELETE [base]/Questionnaire/25
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LXF1ZXN0aW9ubmFpcmUtNjIzLmxvY2FsL2ZoaXIvUHJhY3RpdGlvbmVyLzI1OTE0IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlF1ZXN0aW9ubmFpcmUuZGVsZXRlIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHBzOi8vb3JnYW5pemF0aW9uLmNpdC1xdWVzdGlvbm5haXJlLTYyMy5sb2NhbC9maGlyL09yZ2FuaXphdGlvbi83MjkwMCIsInBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LXF1ZXN0aW9ubmFpcmUtNjIzLmxvY2FsL2ZoaXIvUGF0aWVudC85NzM4MSIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlBSQUNUSVRJT05FUiJ9.
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 30ms</pre></td></tr></table></div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully deleted 1 resource(s) in 30ms"
}
]
}
GET [base]/Questionnaire/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": "Questionnaire",
"id": "2",
"meta": {
"versionId": "2",
"lastUpdated": "2020-12-21T12:50:49.220+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-623.local/fhir/Organization/74253"
}
},
{
"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-623.local/fhir/Organization/85630"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "69f50718-d706-4bd9-ad7d-59ee4bb150f3",
"name": "1fea3b57-1ae3-420e-be5c-edf06a6dfc9b",
"status": "retired"
}
GET [base]/Questionnaire?name%3Aexact=025af911-99f5-4345-bfdd-e8d223663454&type=TBD2
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": "fd5193fd-098c-457c-b4c6-0c26a642e52b",
"meta": {
"lastUpdated": "2020-12-21T12:51:40.305+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://questionnaire.cit-questionnaire-623.local/fhir/Questionnaire?_format=json&_pretty=true&name%3Aexact=025af911-99f5-4345-bfdd-e8d223663454&type=TBD2"
}
],
"entry": [
{
"fullUrl": "https://questionnaire.cit-questionnaire-623.local/fhir/Questionnaire/34",
"resource": {
"resourceType": "Questionnaire",
"id": "34",
"meta": {
"versionId": "1",
"lastUpdated": "2020-12-21T12:51:39.708+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-623.local/fhir/Organization/19630"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "7c02ce9a-0863-44c9-b0d8-fb148df748c3",
"name": "025af911-99f5-4345-bfdd-e8d223663454",
"status": "active"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://questionnaire.cit-questionnaire-623.local/fhir/Questionnaire/36",
"resource": {
"resourceType": "Questionnaire",
"id": "36",
"meta": {
"versionId": "1",
"lastUpdated": "2020-12-21T12:51:40.108+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-623.local/fhir/Organization/61585"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "84f24bd6-b612-414e-b0b4-5c23954108dc",
"name": "025af911-99f5-4345-bfdd-e8d223663454",
"status": "active"
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Questionnaire/39/_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": "Questionnaire",
"id": "39",
"meta": {
"versionId": "2",
"lastUpdated": "2020-12-21T12:51:59.357+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-623.local/fhir/Organization/47382"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "47edc9fa-4c10-4854-b86f-335849b3781d",
"name": "b8926b58-c99c-4bc5-8cd1-9fdab7d25474",
"status": "active"
}
POST [base]/Questionnaire
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": "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-623.local/fhir/Organization/55226"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization",
"valueReference": {
"reference": "https://organization.cit-questionnaire-623.local/fhir/Organization/44033"
}
},
{
"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-623.local/fhir/Organization/66428"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "655ac143-7c11-402c-b4bd-5a6d3c1405f6",
"name": "c0c09f30-e63b-4730-807f-384d6e495575",
"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",
"required": true,
"repeats": true
}
]
}
Response
{
"resourceType": "Questionnaire",
"id": "24",
"meta": {
"versionId": "1",
"lastUpdated": "2020-12-21T12:51:29.836+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-623.local/fhir/Organization/55226"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization",
"valueReference": {
"reference": "https://organization.cit-questionnaire-623.local/fhir/Organization/44033"
}
},
{
"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-623.local/fhir/Organization/66428"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "655ac143-7c11-402c-b4bd-5a6d3c1405f6",
"name": "c0c09f30-e63b-4730-807f-384d6e495575",
"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",
"required": true,
"repeats": true
}
]
}
POST [base]/Questionnaire/$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": "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-623.local/fhir/Organization/11088"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "398cc729-a735-4f4e-8890-ffd1b0b93f10",
"name": "0dc721ee-2a40-4fe0-8198-ddec4fa0ca35",
"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></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]/Questionnaire/39
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": "Questionnaire",
"id": "39",
"meta": {
"versionId": "1",
"lastUpdated": "2020-12-21T12:51:54.728+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-623.local/fhir/Organization/47382"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "47edc9fa-4c10-4854-b86f-335849b3781d",
"name": "b8926b58-c99c-4bc5-8cd1-9fdab7d25474",
"status": "active"
}
Response
{
"resourceType": "Questionnaire",
"id": "39",
"meta": {
"versionId": "2",
"lastUpdated": "2020-12-21T12:51:59.357+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-623.local/fhir/Organization/47382"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "47edc9fa-4c10-4854-b86f-335849b3781d",
"name": "b8926b58-c99c-4bc5-8cd1-9fdab7d25474",
"status": "active"
}