{"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-1053.local/fhir/Organization/25583"}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization","valueReference":{"reference":"https://organization.cit-questionnaire-1053.local/fhir/Organization/75182"}},{"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-1053.local/fhir/Organization/77546"}},{"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-1053"}}}},{"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-1053"}}}},{"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":"47dd9008-1c78-4a64-a999-519e2287d87c","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-10-10T14:19:08.573+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-1053.local/fhir/Organization/25583"}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization","valueReference":{"reference":"https://organization.cit-questionnaire-1053.local/fhir/Organization/75182"}},{"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-1053.local/fhir/Organization/77546"}},{"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:47b0e115-1837-4a46-87cd-918647ecfcb7","assigner":{"identifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"cit-questionnaire-1053"}}}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment","valueIdentifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"cit-questionnaire-1053"}}],"identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:uuid:6ca3c3f8-699a-4aa7-a7f9-67d54f9ce148"}],"version":"1.0","name":"47dd9008-1c78-4a64-a999-519e2287d87c","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"]}]}