{"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-1024.local/fhir/Organization/6828"}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization","valueReference":{"reference":"https://organization.cit-questionnaire-1024.local/fhir/Organization/48523"}},{"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":"QQ"}]}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role","extension":[{"url":"reference","valueReference":{"reference":"https://organization.cit-questionnaire-1024.local/fhir/Organization/26692"}},{"url":"role","valueCodeableConcept":{"coding":[{"system":"http://ehealth.sundhed.dk/cs/modifier-role","code":"owner"}]}}]},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title","valueString":"EmployeeTitle"},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-usage","valueString":"Usage - Description for clinicians"},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base","valueIdentifier":{"system":"urn:ietf:rfc:3986","value":"urn:uuid:53fefa32-fcbb-4ff8-8a92-55ee120877b7","assigner":{"identifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"cit-questionnaire-1024"}}}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-predecessor","valueIdentifier":{"system":"urn:ietf:rfc:3986","value":"urn:uuid:53fefa32-fcbb-4ff8-8a92-55ee120877b7","assigner":{"identifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"cit-questionnaire-1024"}}}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment","valueIdentifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"bad-env"}}],"version":"1.0","name":"c7143b2a-4717-42ea-8d73-8bafbcecad70","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},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-shortText","valueString":"Short text about item"}],"linkId":"link,link,link","type":"integer","required":true,"repeats":true}]}
Response
{"resourceType":"Questionnaire","id":"97","meta":{"versionId":"1","lastUpdated":"2022-06-16T09:07:40.458+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-1024.local/fhir/Organization/6828"}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization","valueReference":{"reference":"https://organization.cit-questionnaire-1024.local/fhir/Organization/48523"}},{"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":"QQ"}]}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role","extension":[{"url":"reference","valueReference":{"reference":"https://organization.cit-questionnaire-1024.local/fhir/Organization/26692"}},{"url":"role","valueCodeableConcept":{"coding":[{"system":"http://ehealth.sundhed.dk/cs/modifier-role","code":"owner"}]}}]},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title","valueString":"EmployeeTitle"},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-usage","valueString":"Usage - Description for clinicians"},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base","valueIdentifier":{"system":"urn:ietf:rfc:3986","value":"urn:uuid:3a83639b-31df-4512-9a50-724d8f01926b","assigner":{"identifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"cit-questionnaire-1024"}}}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment","valueIdentifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"cit-questionnaire-1024"}}],"identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:uuid:dc3d822f-e610-4f4c-926d-739e8ea4e0f9"}],"version":"1.0","name":"c7143b2a-4717-42ea-8d73-8bafbcecad70","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},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-shortText","valueString":"Short text about item"}],"linkId":"link,link,link","type":"integer","required":true,"repeats":true}]}
{"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;\">WARNING</td><td>[Parameters.parameter[0].resource.ofType(Questionnaire), Line 1, Col 113]</td><td><pre>que-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed</pre></td></tr><tr><td style=\"font-weight: bold;\">WARNING</td><td>[Parameters.parameter[0].resource.ofType(Questionnaire), Line 1, Col 113]</td><td><pre>que-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed</pre></td></tr></table></div>"},"issue":[{"severity":"warning","code":"processing","diagnostics":"que-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed","location":["Parameters.parameter[0].resource.ofType(Questionnaire)","Line 1, Col 113"]},{"severity":"warning","code":"processing","diagnostics":"que-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed","location":["Parameters.parameter[0].resource.ofType(Questionnaire)","Line 1, Col 113"]}]}