Also use questionnaire in the example

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
pull/4302/head
Johannes Marbach 1 month ago
parent 1d3004c6ed
commit 00f3d2824e

@ -55,22 +55,15 @@ To enable the efficient exchange of FHIR resources in either inline or file form
"type": "m.fhir.resource", "type": "m.fhir.resource",
"content": { "content": {
// Metadata to help identify the resource // Metadata to help identify the resource
"canonical_url": "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1", "canonical_url": "http://hl7.org/fhir/StructureDefinition/Questionnaire|4.0.1",
"profiles": [ "profiles": [
"https://gematik.de/fhir/epa/StructureDefinition/epa-patient|1.2.0", "https://gematik.de/fhir/isik/StructureDefinition/ISiKFormularDefinition|5.0.0"
"https://gematik.de/fhir/ti/StructureDefinition/ti-patient|1.1.1"
], ],
// Either: The resource in inline form // Either: The resource in inline form
"m.fhir.resource": { "m.fhir.resource": {
"resourceType": "Patient", "resourceType": "Questionnaire",
"name": [{ "title": "Dr. Dre's anamnesis questionnaire for new patients",
"use": "official", // further properties as per the questionnaire's schema
"given": ["John", "James"],
"family": "Doe"
}],
"gender": "male",
"birthDate": "1970-01-01",
// further properties as per the Patient schema
}, },
// Or: A file representing the resource // Or: A file representing the resource
"m.file": { "m.file": {

Loading…
Cancel
Save