Operation | updateCreate Questionnaire |
Method | PUT |
Path | https://blaze.life.uni-leipzig.de/fhir/Questionnaire/5702e771cec3481abc5d966cdab8410d |
Resource | Questionnaire | Id | 5702e771cec3481abc5d966cdab8410d | | |
{
"resourceType" : "Questionnaire",
"id" : "5702e771cec3481abc5d966cdab8410d",
"meta" : {
"security" : [ {
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code" : "HTEST",
"display" : "test health data"
} ]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <pre>Lifelines Questionnaire 1 part 1\n 2. General Questions:\n 2.a) What is your gender?\n 2.b) What is your date of birth?\n 2.c) What is your country of birth?\n 2.d) What is your marital status?\n 3. Intoxications:\n 3.a) Do you smoke?\n 3.b) Do you drink alcohol?</pre>\n </div>"
},
"url" : "http://touchstone.com/fhir/Questionnaire/c6yk00gOlZL-wqf3Df",
"identifier" : [ {
"use" : "official",
"system" : "http://happyvalley.com/questionnaire",
"value" : "c6yk00gOlZL-wqf3Df"
} ],
"name" : "NewPatientQuestionnaire",
"status" : "draft",
"subjectType" : [ "Patient" ],
"date" : "2020-03-07",
"code" : [ {
"system" : "http://example.org/system/code/lifelines/nl",
"code" : "VL 1-1, 18-65_1.2.2",
"display" : "Lifelines Questionnaire 1 part 1"
} ],
"item" : [ {
"linkId" : "1",
"text" : "Do you have allergies?",
"type" : "boolean"
}, {
"linkId" : "2",
"text" : "General questions",
"type" : "group",
"item" : [ {
"linkId" : "2.1",
"text" : "What is your gender?",
"type" : "string"
}, {
"linkId" : "2.2",
"text" : "What is your date of birth?",
"type" : "date"
}, {
"linkId" : "2.3",
"text" : "What is your country of birth?",
"type" : "string"
}, {
"linkId" : "2.4",
"text" : "What is your marital status?",
"type" : "string"
} ]
}, {
"linkId" : "3",
"text" : "Intoxications",
"type" : "group",
"item" : [ {
"linkId" : "3.1",
"text" : "Do you smoke?",
"type" : "boolean"
}, {
"linkId" : "3.2",
"text" : "Do you drink alchohol?",
"type" : "boolean"
} ]
} ]
}