{"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-1046.local/fhir/Organization/96090"}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization","valueReference":{"reference":"https://organization.cit-questionnaire-1046.local/fhir/Organization/85531"}},{"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-1046.local/fhir/Organization/81143"}},{"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-1046"}}}},{"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-1046"}}}},{"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":"99f58100-e698-40e0-86e8-04ad56d39851","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-09-16T08:27:17.784+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-1046.local/fhir/Organization/96090"}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization","valueReference":{"reference":"https://organization.cit-questionnaire-1046.local/fhir/Organization/85531"}},{"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-1046.local/fhir/Organization/81143"}},{"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:e153a94d-da7f-4ac2-afd3-b0e1d3d0d380","assigner":{"identifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"cit-questionnaire-1046"}}}},{"url":"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment","valueIdentifier":{"system":"http://ehealth.sundhed.dk/id/ehealth-environment","value":"cit-questionnaire-1046"}}],"identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:uuid:0b43fa9c-4b13-454f-aa06-6879304ec3d1"}],"version":"1.0","name":"99f58100-e698-40e0-86e8-04ad56d39851","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"]}]}