|
1 | | -id: encounter-create-connectathon |
2 | | -resourceType: Questionnaire |
3 | | -name: encounter-create-connectathon |
4 | | -title: Encounter create PH |
5 | | -url: encounter-create |
6 | | -status: active |
7 | 1 | subjectType: |
8 | 2 | - Patient |
9 | | -# mapping: |
10 | | -# - id: encounter-create |
11 | | -# resourceType: Mapping |
12 | | -launchContext: |
13 | | - - name: |
14 | | - code: Patient |
15 | | - type: |
16 | | - - Patient |
| 3 | +meta: |
| 4 | + profile: |
| 5 | + - https://emr-core.beda.software/StructureDefinition/fhir-emr-questionnaire |
| 6 | +name: encounter-create-connectathon |
17 | 7 | item: |
18 | | - - linkId: patientId |
19 | | - text: PatientId |
20 | | - type: string |
21 | | - hidden: true |
22 | | - initialExpression: |
23 | | - language: text/fhirpath |
24 | | - expression: "%Patient.id" |
25 | | - - linkId: patientName |
26 | | - text: PatientName |
27 | | - type: string |
28 | | - readOnly: true |
29 | | - initialExpression: |
30 | | - language: text/fhirpath |
31 | | - expression: "%Patient.name.first().given.first() + ' ' + %Patient.name.first().family" |
32 | | - - linkId: practitioner-role |
33 | | - text: Practitioner |
| 8 | + - text: Patient |
| 9 | + type: reference |
| 10 | + linkId: patient |
| 11 | + extension: |
| 12 | + - url: >- |
| 13 | + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn |
| 14 | + extension: |
| 15 | + - url: path |
| 16 | + valueString: >- |
| 17 | + name.given.first() + ' ' + name.family |
| 18 | + - url: forDisplay |
| 19 | + valueBoolean: true |
| 20 | + - url: >- |
| 21 | + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression |
| 22 | + valueExpression: |
| 23 | + language: application/x-fhir-query |
| 24 | + expression: Patient |
| 25 | + - url: >- |
| 26 | + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource |
| 27 | + valueCode: Patient |
| 28 | + - text: Practitioner |
34 | 29 | type: reference |
35 | | - referenceResource: |
36 | | - - PractitionerRole |
| 30 | + linkId: practitioner-role |
37 | 31 | required: true |
38 | | - answerExpression: |
39 | | - language: application/x-fhir-query |
40 | | - expression: "PractitionerRole?_assoc=practitioner" |
41 | | - choiceColumn: |
42 | | - - forDisplay: true |
43 | | - path: >- |
44 | | - practitioner.resource.name.given.first() + ' ' + |
45 | | - practitioner.resource.name.family + ' - ' + specialty.first().coding.display |
46 | | - - linkId: service |
47 | | - text: Service |
| 32 | + extension: |
| 33 | + - url: >- |
| 34 | + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn |
| 35 | + extension: |
| 36 | + - url: path |
| 37 | + valueString: >- |
| 38 | + practitioner.resource.name.given.first() + ' ' + |
| 39 | + practitioner.resource.name.family |
| 40 | + - url: forDisplay |
| 41 | + valueBoolean: true |
| 42 | + - url: >- |
| 43 | + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression |
| 44 | + valueExpression: |
| 45 | + language: application/x-fhir-query |
| 46 | + expression: PractitionerRole?_assoc=practitioner |
| 47 | + - url: >- |
| 48 | + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource |
| 49 | + valueCode: PractitionerRole |
| 50 | + - text: Service |
48 | 51 | type: choice |
49 | | - required: true |
| 52 | + linkId: service |
50 | 53 | repeats: false |
| 54 | + required: true |
51 | 55 | answerOption: |
52 | | - - value: |
53 | | - Coding: |
54 | | - system: http://fhir.org/guides/argonaut-scheduling/CodeSystem/visit-type |
55 | | - code: consultation |
56 | | - display: The first appointment |
57 | | - - value: |
58 | | - Coding: |
59 | | - system: http://fhir.org/guides/argonaut-scheduling/CodeSystem/visit-type |
60 | | - code: follow-up |
61 | | - display: A follow up visit |
62 | | - - linkId: date |
63 | | - text: Date |
| 56 | + - valueCoding: |
| 57 | + code: consultation |
| 58 | + system: http://fhir.org/guides/argonaut-scheduling/CodeSystem/visit-type |
| 59 | + display: The first appointment |
| 60 | + - valueCoding: |
| 61 | + code: follow-up |
| 62 | + system: http://fhir.org/guides/argonaut-scheduling/CodeSystem/visit-type |
| 63 | + display: A follow up visit |
| 64 | + - text: Date |
64 | 65 | type: dateTime |
65 | | - initialExpression: |
66 | | - language: text/fhirpath |
67 | | - expression: "now()" |
68 | | -# meta: |
69 | | -# profile: |
70 | | -# - https://emr-core.beda.software/StructureDefinition/fhir-emr-questionnaire |
| 66 | + linkId: date |
| 67 | + extension: |
| 68 | + - url: >- |
| 69 | + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression |
| 70 | + valueExpression: |
| 71 | + language: text/fhirpath |
| 72 | + expression: now() |
| 73 | +resourceType: Questionnaire |
| 74 | +title: Encounter create PH |
| 75 | +# - url: http://beda.software/fhir-extensions/questionnaire-mapper |
| 76 | +# valueReference: |
| 77 | +# reference: Mapping/encounter-create-connectathon |
| 78 | +status: active |
| 79 | +id: encounter-create-connectathon |
| 80 | +url: encounter-create |
0 commit comments