@medplum/fhirtypes 0.5.2 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/dist/AccessPolicy.d.ts +19 -13
- package/dist/Account.d.ts +30 -30
- package/dist/ActivityDefinition.d.ts +71 -71
- package/dist/Address.d.ts +12 -12
- package/dist/AdverseEvent.d.ts +41 -41
- package/dist/Age.d.ts +7 -7
- package/dist/AllergyIntolerance.d.ts +38 -38
- package/dist/Annotation.d.ts +6 -6
- package/dist/Appointment.d.ts +38 -38
- package/dist/AppointmentResponse.d.ts +16 -16
- package/dist/Attachment.d.ts +10 -10
- package/dist/AuditEvent.d.ts +62 -62
- package/dist/Basic.d.ts +13 -13
- package/dist/Binary.d.ts +8 -8
- package/dist/BiologicallyDerivedProduct.d.ts +47 -47
- package/dist/BodyStructure.d.ts +16 -16
- package/dist/Bot.d.ts +19 -8
- package/dist/Bundle.d.ts +47 -47
- package/dist/CapabilityStatement.d.ts +129 -129
- package/dist/CarePlan.d.ts +63 -63
- package/dist/CareTeam.d.ts +28 -28
- package/dist/CatalogEntry.d.ts +27 -27
- package/dist/ChargeItem.d.ts +43 -43
- package/dist/ChargeItemDefinition.d.ts +49 -49
- package/dist/Claim.d.ts +159 -159
- package/dist/ClaimResponse.d.ts +145 -145
- package/dist/ClientApplication.d.ts +8 -8
- package/dist/ClinicalImpression.d.ts +40 -40
- package/dist/CodeSystem.d.ts +74 -74
- package/dist/CodeableConcept.d.ts +4 -4
- package/dist/Coding.d.ts +7 -7
- package/dist/Communication.d.ts +37 -37
- package/dist/CommunicationRequest.d.ts +37 -37
- package/dist/CompartmentDefinition.d.ts +28 -28
- package/dist/Composition.d.ts +54 -54
- package/dist/ConceptMap.d.ts +66 -66
- package/dist/Condition.d.ts +44 -44
- package/dist/Consent.d.ts +57 -57
- package/dist/ContactDetail.d.ts +4 -4
- package/dist/ContactPoint.d.ts +7 -7
- package/dist/Contract.d.ts +202 -202
- package/dist/Contributor.d.ts +5 -5
- package/dist/Count.d.ts +7 -7
- package/dist/Coverage.d.ts +43 -43
- package/dist/CoverageEligibilityRequest.d.ts +53 -53
- package/dist/CoverageEligibilityResponse.d.ts +62 -62
- package/dist/DataRequirement.d.ts +28 -28
- package/dist/DetectedIssue.d.ts +32 -32
- package/dist/Device.d.ts +65 -65
- package/dist/DeviceDefinition.d.ts +64 -64
- package/dist/DeviceMetric.d.ts +24 -24
- package/dist/DeviceRequest.d.ts +43 -43
- package/dist/DeviceUseStatement.d.ts +23 -23
- package/dist/DiagnosticReport.d.ts +32 -32
- package/dist/Distance.d.ts +7 -7
- package/dist/DocumentManifest.d.ts +25 -25
- package/dist/DocumentReference.d.ts +44 -44
- package/dist/Dosage.d.ts +25 -25
- package/dist/Duration.d.ts +7 -7
- package/dist/EffectEvidenceSynthesis.d.ts +82 -82
- package/dist/Element.d.ts +2 -2
- package/dist/ElementDefinition.d.ts +295 -295
- package/dist/Encounter.d.ts +72 -72
- package/dist/Endpoint.d.ts +19 -19
- package/dist/EnrollmentRequest.d.ts +15 -15
- package/dist/EnrollmentResponse.d.ts +16 -16
- package/dist/EpisodeOfCare.d.ts +31 -31
- package/dist/EventDefinition.d.ts +37 -37
- package/dist/Evidence.d.ts +36 -36
- package/dist/EvidenceVariable.d.ts +53 -53
- package/dist/ExampleScenario.d.ts +85 -85
- package/dist/ExplanationOfBenefit.d.ts +272 -272
- package/dist/Expression.d.ts +7 -7
- package/dist/Extension.d.ts +53 -53
- package/dist/FamilyMemberHistory.d.ts +45 -45
- package/dist/Flag.d.ts +16 -16
- package/dist/Goal.d.ts +38 -38
- package/dist/GraphDefinition.d.ts +48 -48
- package/dist/Group.d.ts +35 -35
- package/dist/GuidanceResponse.d.ts +25 -25
- package/dist/HealthcareService.d.ts +49 -49
- package/dist/HumanName.d.ts +9 -9
- package/dist/Identifier.d.ts +8 -8
- package/dist/ImagingStudy.d.ts +55 -55
- package/dist/Immunization.d.ts +65 -65
- package/dist/ImmunizationEvaluation.d.ts +23 -23
- package/dist/ImmunizationRecommendation.d.ts +35 -35
- package/dist/ImplementationGuide.d.ts +102 -102
- package/dist/InsurancePlan.d.ts +79 -79
- package/dist/Invoice.d.ts +43 -43
- package/dist/JsonWebKey.d.ts +20 -20
- package/dist/Library.d.ts +40 -40
- package/dist/Linkage.d.ts +16 -16
- package/dist/List.d.ts +28 -28
- package/dist/Location.d.ts +38 -38
- package/dist/Login.d.ts +21 -21
- package/dist/MarketingStatus.d.ts +8 -8
- package/dist/Measure.d.ts +83 -83
- package/dist/MeasureReport.d.ts +55 -55
- package/dist/Media.d.ts +31 -31
- package/dist/Medication.d.ts +28 -28
- package/dist/MedicationAdministration.d.ts +44 -44
- package/dist/MedicationDispense.d.ts +46 -46
- package/dist/MedicationKnowledge.d.ts +121 -121
- package/dist/MedicationRequest.d.ts +63 -63
- package/dist/MedicationStatement.d.ts +27 -27
- package/dist/MedicinalProduct.d.ts +65 -65
- package/dist/MedicinalProductAuthorization.d.ts +40 -40
- package/dist/MedicinalProductContraindication.d.ts +21 -21
- package/dist/MedicinalProductIndication.d.ts +23 -23
- package/dist/MedicinalProductIngredient.d.ts +44 -44
- package/dist/MedicinalProductInteraction.d.ts +20 -20
- package/dist/MedicinalProductManufactured.d.ts +15 -15
- package/dist/MedicinalProductPackaged.d.ts +37 -37
- package/dist/MedicinalProductPharmaceutical.d.ts +41 -41
- package/dist/MedicinalProductUndesirableEffect.d.ts +13 -13
- package/dist/MessageDefinition.d.ts +45 -45
- package/dist/MessageHeader.d.ts +41 -41
- package/dist/Meta.d.ts +11 -11
- package/dist/MolecularSequence.d.ts +100 -100
- package/dist/Money.d.ts +4 -4
- package/dist/NamingSystem.d.ts +29 -29
- package/dist/Narrative.d.ts +4 -4
- package/dist/NutritionOrder.d.ts +71 -71
- package/dist/Observation.d.ts +72 -72
- package/dist/ObservationDefinition.d.ts +39 -39
- package/dist/OperationDefinition.d.ts +63 -63
- package/dist/OperationOutcome.d.ts +18 -18
- package/dist/Organization.d.ts +25 -25
- package/dist/OrganizationAffiliation.d.ts +20 -20
- package/dist/ParameterDefinition.d.ts +9 -9
- package/dist/Parameters.d.ts +61 -61
- package/dist/PasswordChangeRequest.d.ts +8 -8
- package/dist/Patient.d.ts +46 -46
- package/dist/PaymentNotice.d.ts +20 -20
- package/dist/PaymentReconciliation.d.ts +41 -41
- package/dist/Period.d.ts +4 -4
- package/dist/Person.d.ts +23 -23
- package/dist/PlanDefinition.d.ts +117 -117
- package/dist/Population.d.ts +8 -8
- package/dist/Practitioner.d.ts +25 -25
- package/dist/PractitionerRole.d.ts +34 -34
- package/dist/Procedure.d.ts +51 -51
- package/dist/ProdCharacteristic.d.ts +14 -14
- package/dist/ProductShelfLife.d.ts +7 -7
- package/dist/Project.d.ts +9 -9
- package/dist/ProjectMembership.d.ts +11 -10
- package/dist/Provenance.d.ts +32 -32
- package/dist/Quantity.d.ts +7 -7
- package/dist/Questionnaire.d.ts +89 -89
- package/dist/QuestionnaireResponse.d.ts +43 -43
- package/dist/Range.d.ts +4 -4
- package/dist/Ratio.d.ts +4 -4
- package/dist/Reference.d.ts +7 -7
- package/dist/RelatedArtifact.d.ts +9 -9
- package/dist/RelatedPerson.d.ts +25 -25
- package/dist/RequestGroup.d.ts +65 -65
- package/dist/ResearchDefinition.d.ts +43 -43
- package/dist/ResearchElementDefinition.d.ts +66 -66
- package/dist/ResearchStudy.d.ts +43 -43
- package/dist/ResearchSubject.d.ts +16 -16
- package/dist/RiskAssessment.d.ts +37 -37
- package/dist/RiskEvidenceSynthesis.d.ts +74 -74
- package/dist/SampledData.d.ts +9 -9
- package/dist/Schedule.d.ts +16 -16
- package/dist/SearchParameter.d.ts +39 -39
- package/dist/ServiceRequest.d.ts +46 -46
- package/dist/Signature.d.ts +9 -9
- package/dist/Slot.d.ts +19 -19
- package/dist/Specimen.d.ts +51 -51
- package/dist/SpecimenDefinition.d.ts +49 -49
- package/dist/StructureDefinition.d.ts +55 -55
- package/dist/StructureMap.d.ts +145 -145
- package/dist/Subscription.d.ts +22 -22
- package/dist/Substance.d.ts +27 -27
- package/dist/SubstanceAmount.d.ts +13 -13
- package/dist/SubstanceNucleicAcid.d.ts +37 -37
- package/dist/SubstancePolymer.d.ts +52 -52
- package/dist/SubstanceProtein.d.ts +23 -23
- package/dist/SubstanceReferenceInformation.d.ts +45 -45
- package/dist/SubstanceSourceMaterial.d.ts +62 -62
- package/dist/SubstanceSpecification.d.ts +121 -121
- package/dist/SupplyDelivery.d.ts +27 -27
- package/dist/SupplyRequest.d.ts +34 -34
- package/dist/Task.d.ts +153 -153
- package/dist/TerminologyCapabilities.d.ts +87 -87
- package/dist/TestReport.d.ts +66 -66
- package/dist/TestScript.d.ts +157 -157
- package/dist/Timing.d.ts +25 -25
- package/dist/TriggerDefinition.d.ts +10 -10
- package/dist/UsageContext.d.ts +7 -7
- package/dist/User.d.ts +7 -7
- package/dist/UserConfiguration.d.ts +20 -20
- package/dist/ValueSet.d.ts +90 -90
- package/dist/VerificationResult.d.ts +49 -49
- package/dist/VisionPrescription.d.ts +38 -38
- package/package.json +1 -1
package/dist/Questionnaire.d.ts
CHANGED
|
@@ -34,14 +34,14 @@ export interface Questionnaire {
|
|
|
34
34
|
* The logical id of the resource, as used in the URL for the resource.
|
|
35
35
|
* Once assigned, this value never changes.
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
id?: string;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* The metadata about the resource. This is content that is maintained by
|
|
41
41
|
* the infrastructure. Changes to the content might not always be
|
|
42
42
|
* associated with version changes to the resource.
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
meta?: Meta;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* A reference to a set of rules that were followed when the resource was
|
|
@@ -49,12 +49,12 @@ export interface Questionnaire {
|
|
|
49
49
|
* Often, this is a reference to an implementation guide that defines the
|
|
50
50
|
* special rules along with other profiles etc.
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
implicitRules?: string;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* The base language in which the resource is written.
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
language?: string;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* A human-readable narrative that contains a summary of the resource and
|
|
@@ -64,14 +64,14 @@ export interface Questionnaire {
|
|
|
64
64
|
* just read the narrative. Resource definitions may define what content
|
|
65
65
|
* should be represented in the narrative to ensure clinical safety.
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
text?: Narrative;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* These resources do not have an independent existence apart from the
|
|
71
71
|
* resource that contains them - they cannot be identified independently,
|
|
72
72
|
* and nor can they have their own independent transaction scope.
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
contained?: Resource[];
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* May be used to represent additional information that is not part of
|
|
@@ -81,7 +81,7 @@ export interface Questionnaire {
|
|
|
81
81
|
* define an extension, there is a set of requirements that SHALL be met
|
|
82
82
|
* as part of the definition of the extension.
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
extension?: Extension[];
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* May be used to represent additional information that is not part of
|
|
@@ -99,7 +99,7 @@ export interface Questionnaire {
|
|
|
99
99
|
* Resource or DomainResource (including cannot change the meaning of
|
|
100
100
|
* modifierExtension itself).
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
modifierExtension?: Extension[];
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* An absolute URI that is used to identify this questionnaire when it is
|
|
@@ -110,14 +110,14 @@ export interface Questionnaire {
|
|
|
110
110
|
* be the target of a canonical reference. It SHALL remain the same when
|
|
111
111
|
* the questionnaire is stored on different servers.
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
url?: string;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* A formal identifier that is used to identify this questionnaire when
|
|
117
117
|
* it is represented in other formats, or referenced in a specification,
|
|
118
118
|
* model, design or an instance.
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
identifier?: Identifier[];
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* The identifier that is used to identify this version of the
|
|
@@ -128,43 +128,43 @@ export interface Questionnaire {
|
|
|
128
128
|
* available. There is also no expectation that versions can be placed in
|
|
129
129
|
* a lexicographical sequence.
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
version?: string;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* A natural language name identifying the questionnaire. This name
|
|
135
135
|
* should be usable as an identifier for the module by machine processing
|
|
136
136
|
* applications such as code generation.
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
name?: string;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* A short, descriptive, user-friendly title for the questionnaire.
|
|
142
142
|
*/
|
|
143
|
-
|
|
143
|
+
title?: string;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* The URL of a Questionnaire that this Questionnaire is based on.
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
derivedFrom?: string[];
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* The status of this questionnaire. Enables tracking the life-cycle of
|
|
152
152
|
* the content.
|
|
153
153
|
*/
|
|
154
|
-
|
|
154
|
+
status?: string;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* A Boolean value to indicate that this questionnaire is authored for
|
|
158
158
|
* testing purposes (or education/evaluation/marketing) and is not
|
|
159
159
|
* intended to be used for genuine usage.
|
|
160
160
|
*/
|
|
161
|
-
|
|
161
|
+
experimental?: boolean;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* The types of subjects that can be the subject of responses created for
|
|
165
165
|
* the questionnaire.
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
subjectType?: string[];
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* The date (and optionally time) when the questionnaire was published.
|
|
@@ -172,25 +172,25 @@ export interface Questionnaire {
|
|
|
172
172
|
* change if the status code changes. In addition, it should change when
|
|
173
173
|
* the substantive content of the questionnaire changes.
|
|
174
174
|
*/
|
|
175
|
-
|
|
175
|
+
date?: string;
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* The name of the organization or individual that published the
|
|
179
179
|
* questionnaire.
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
publisher?: string;
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
184
|
* Contact details to assist a user in finding and communicating with the
|
|
185
185
|
* publisher.
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
contact?: ContactDetail[];
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* A free text natural language description of the questionnaire from a
|
|
191
191
|
* consumer's perspective.
|
|
192
192
|
*/
|
|
193
|
-
|
|
193
|
+
description?: string;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* The content was developed with a focus and intent of supporting the
|
|
@@ -199,58 +199,58 @@ export interface Questionnaire {
|
|
|
199
199
|
* (insurance plans, studies, ...) and may be used to assist with
|
|
200
200
|
* indexing and searching for appropriate questionnaire instances.
|
|
201
201
|
*/
|
|
202
|
-
|
|
202
|
+
useContext?: UsageContext[];
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* A legal or geographic region in which the questionnaire is intended to
|
|
206
206
|
* be used.
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
jurisdiction?: CodeableConcept[];
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* Explanation of why this questionnaire is needed and why it has been
|
|
212
212
|
* designed as it has.
|
|
213
213
|
*/
|
|
214
|
-
|
|
214
|
+
purpose?: string;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* A copyright statement relating to the questionnaire and/or its
|
|
218
218
|
* contents. Copyright statements are generally legal restrictions on the
|
|
219
219
|
* use and publishing of the questionnaire.
|
|
220
220
|
*/
|
|
221
|
-
|
|
221
|
+
copyright?: string;
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* The date on which the resource content was approved by the publisher.
|
|
225
225
|
* Approval happens once when the content is officially approved for
|
|
226
226
|
* usage.
|
|
227
227
|
*/
|
|
228
|
-
|
|
228
|
+
approvalDate?: string;
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* The date on which the resource content was last reviewed. Review
|
|
232
232
|
* happens periodically after approval but does not change the original
|
|
233
233
|
* approval date.
|
|
234
234
|
*/
|
|
235
|
-
|
|
235
|
+
lastReviewDate?: string;
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
238
|
* The period during which the questionnaire content was or is planned to
|
|
239
239
|
* be in active use.
|
|
240
240
|
*/
|
|
241
|
-
|
|
241
|
+
effectivePeriod?: Period;
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
244
|
* An identifier for this question or group of questions in a particular
|
|
245
245
|
* terminology such as LOINC.
|
|
246
246
|
*/
|
|
247
|
-
|
|
247
|
+
code?: Coding[];
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* A particular question, question grouping or display text that is part
|
|
251
251
|
* of the questionnaire.
|
|
252
252
|
*/
|
|
253
|
-
|
|
253
|
+
item?: QuestionnaireItem[];
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
/**
|
|
@@ -263,7 +263,7 @@ export interface QuestionnaireItem {
|
|
|
263
263
|
* Unique id for the element within a resource (for internal references).
|
|
264
264
|
* This may be any string value that does not contain spaces.
|
|
265
265
|
*/
|
|
266
|
-
|
|
266
|
+
id?: string;
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* May be used to represent additional information that is not part of
|
|
@@ -273,7 +273,7 @@ export interface QuestionnaireItem {
|
|
|
273
273
|
* define an extension, there is a set of requirements that SHALL be met
|
|
274
274
|
* as part of the definition of the extension.
|
|
275
275
|
*/
|
|
276
|
-
|
|
276
|
+
extension?: Extension[];
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* May be used to represent additional information that is not part of
|
|
@@ -292,13 +292,13 @@ export interface QuestionnaireItem {
|
|
|
292
292
|
* Resource or DomainResource (including cannot change the meaning of
|
|
293
293
|
* modifierExtension itself).
|
|
294
294
|
*/
|
|
295
|
-
|
|
295
|
+
modifierExtension?: Extension[];
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
298
|
* An identifier that is unique within the Questionnaire allowing linkage
|
|
299
299
|
* to the equivalent item in a QuestionnaireResponse resource.
|
|
300
300
|
*/
|
|
301
|
-
|
|
301
|
+
linkId?: string;
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
304
|
* This element is a URI that refers to an
|
|
@@ -318,95 +318,95 @@ export interface QuestionnaireItem {
|
|
|
318
318
|
* * answerValueSet (ElementDefinition.binding)
|
|
319
319
|
* * options (ElementDefinition.binding).
|
|
320
320
|
*/
|
|
321
|
-
|
|
321
|
+
definition?: string;
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
324
|
* A terminology code that corresponds to this group or question (e.g. a
|
|
325
325
|
* code from LOINC, which defines many questions and answers).
|
|
326
326
|
*/
|
|
327
|
-
|
|
327
|
+
code?: Coding[];
|
|
328
328
|
|
|
329
329
|
/**
|
|
330
330
|
* A short label for a particular group, question or set of display text
|
|
331
331
|
* within the questionnaire used for reference by the individual
|
|
332
332
|
* completing the questionnaire.
|
|
333
333
|
*/
|
|
334
|
-
|
|
334
|
+
prefix?: string;
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
337
|
* The name of a section, the text of a question or text content for a
|
|
338
338
|
* display item.
|
|
339
339
|
*/
|
|
340
|
-
|
|
340
|
+
text?: string;
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
343
|
* The type of questionnaire item this is - whether text for display, a
|
|
344
344
|
* grouping of other items or a particular type of data to be captured
|
|
345
345
|
* (string, integer, coded choice, etc.).
|
|
346
346
|
*/
|
|
347
|
-
|
|
347
|
+
type?: string;
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
350
|
* A constraint indicating that this item should only be enabled
|
|
351
351
|
* (displayed/allow answers to be captured) when the specified condition
|
|
352
352
|
* is true.
|
|
353
353
|
*/
|
|
354
|
-
|
|
354
|
+
enableWhen?: QuestionnaireItemEnableWhen[];
|
|
355
355
|
|
|
356
356
|
/**
|
|
357
357
|
* Controls how multiple enableWhen values are interpreted - whether all
|
|
358
358
|
* or any must be true.
|
|
359
359
|
*/
|
|
360
|
-
|
|
360
|
+
enableBehavior?: string;
|
|
361
361
|
|
|
362
362
|
/**
|
|
363
363
|
* An indication, if true, that the item must be present in a "completed"
|
|
364
364
|
* QuestionnaireResponse. If false, the item may be skipped when
|
|
365
365
|
* answering the questionnaire.
|
|
366
366
|
*/
|
|
367
|
-
|
|
367
|
+
required?: boolean;
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* An indication, if true, that the item may occur multiple times in the
|
|
371
371
|
* response, collecting multiple answers for questions or multiple sets
|
|
372
372
|
* of answers for groups.
|
|
373
373
|
*/
|
|
374
|
-
|
|
374
|
+
repeats?: boolean;
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
377
|
* An indication, when true, that the value cannot be changed by a human
|
|
378
378
|
* respondent to the Questionnaire.
|
|
379
379
|
*/
|
|
380
|
-
|
|
380
|
+
readOnly?: boolean;
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
383
|
* The maximum number of characters that are permitted in the answer to
|
|
384
384
|
* be considered a "valid" QuestionnaireResponse.
|
|
385
385
|
*/
|
|
386
|
-
|
|
386
|
+
maxLength?: number;
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
389
|
* A reference to a value set containing a list of codes representing
|
|
390
390
|
* permitted answers for a "choice" or "open-choice" question.
|
|
391
391
|
*/
|
|
392
|
-
|
|
392
|
+
answerValueSet?: string;
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* One of the permitted answers for a "choice" or "open-choice" question.
|
|
396
396
|
*/
|
|
397
|
-
|
|
397
|
+
answerOption?: QuestionnaireItemAnswerOption[];
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
400
|
* One or more values that should be pre-populated in the answer when
|
|
401
401
|
* initially rendering the questionnaire for user input.
|
|
402
402
|
*/
|
|
403
|
-
|
|
403
|
+
initial?: QuestionnaireItemInitial[];
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* Text, questions and other groups to be nested beneath a question or
|
|
407
407
|
* group.
|
|
408
408
|
*/
|
|
409
|
-
|
|
409
|
+
item?: QuestionnaireItem[];
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
/**
|
|
@@ -418,7 +418,7 @@ export interface QuestionnaireItemAnswerOption {
|
|
|
418
418
|
* Unique id for the element within a resource (for internal references).
|
|
419
419
|
* This may be any string value that does not contain spaces.
|
|
420
420
|
*/
|
|
421
|
-
|
|
421
|
+
id?: string;
|
|
422
422
|
|
|
423
423
|
/**
|
|
424
424
|
* May be used to represent additional information that is not part of
|
|
@@ -428,7 +428,7 @@ export interface QuestionnaireItemAnswerOption {
|
|
|
428
428
|
* define an extension, there is a set of requirements that SHALL be met
|
|
429
429
|
* as part of the definition of the extension.
|
|
430
430
|
*/
|
|
431
|
-
|
|
431
|
+
extension?: Extension[];
|
|
432
432
|
|
|
433
433
|
/**
|
|
434
434
|
* May be used to represent additional information that is not part of
|
|
@@ -447,43 +447,43 @@ export interface QuestionnaireItemAnswerOption {
|
|
|
447
447
|
* Resource or DomainResource (including cannot change the meaning of
|
|
448
448
|
* modifierExtension itself).
|
|
449
449
|
*/
|
|
450
|
-
|
|
450
|
+
modifierExtension?: Extension[];
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
453
|
* A potential answer that's allowed as the answer to this question.
|
|
454
454
|
*/
|
|
455
|
-
|
|
455
|
+
valueInteger?: number;
|
|
456
456
|
|
|
457
457
|
/**
|
|
458
458
|
* A potential answer that's allowed as the answer to this question.
|
|
459
459
|
*/
|
|
460
|
-
|
|
460
|
+
valueDate?: string;
|
|
461
461
|
|
|
462
462
|
/**
|
|
463
463
|
* A potential answer that's allowed as the answer to this question.
|
|
464
464
|
*/
|
|
465
|
-
|
|
465
|
+
valueTime?: string;
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
468
|
* A potential answer that's allowed as the answer to this question.
|
|
469
469
|
*/
|
|
470
|
-
|
|
470
|
+
valueString?: string;
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
473
|
* A potential answer that's allowed as the answer to this question.
|
|
474
474
|
*/
|
|
475
|
-
|
|
475
|
+
valueCoding?: Coding;
|
|
476
476
|
|
|
477
477
|
/**
|
|
478
478
|
* A potential answer that's allowed as the answer to this question.
|
|
479
479
|
*/
|
|
480
|
-
|
|
480
|
+
valueReference?: Reference<Resource>;
|
|
481
481
|
|
|
482
482
|
/**
|
|
483
483
|
* Indicates whether the answer value is selected when the list of
|
|
484
484
|
* possible answers is initially shown.
|
|
485
485
|
*/
|
|
486
|
-
|
|
486
|
+
initialSelected?: boolean;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
/**
|
|
@@ -497,7 +497,7 @@ export interface QuestionnaireItemEnableWhen {
|
|
|
497
497
|
* Unique id for the element within a resource (for internal references).
|
|
498
498
|
* This may be any string value that does not contain spaces.
|
|
499
499
|
*/
|
|
500
|
-
|
|
500
|
+
id?: string;
|
|
501
501
|
|
|
502
502
|
/**
|
|
503
503
|
* May be used to represent additional information that is not part of
|
|
@@ -507,7 +507,7 @@ export interface QuestionnaireItemEnableWhen {
|
|
|
507
507
|
* define an extension, there is a set of requirements that SHALL be met
|
|
508
508
|
* as part of the definition of the extension.
|
|
509
509
|
*/
|
|
510
|
-
|
|
510
|
+
extension?: Extension[];
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
513
|
* May be used to represent additional information that is not part of
|
|
@@ -526,78 +526,78 @@ export interface QuestionnaireItemEnableWhen {
|
|
|
526
526
|
* Resource or DomainResource (including cannot change the meaning of
|
|
527
527
|
* modifierExtension itself).
|
|
528
528
|
*/
|
|
529
|
-
|
|
529
|
+
modifierExtension?: Extension[];
|
|
530
530
|
|
|
531
531
|
/**
|
|
532
532
|
* The linkId for the question whose answer (or lack of answer) governs
|
|
533
533
|
* whether this item is enabled.
|
|
534
534
|
*/
|
|
535
|
-
|
|
535
|
+
question?: string;
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* Specifies the criteria by which the question is enabled.
|
|
539
539
|
*/
|
|
540
|
-
|
|
540
|
+
operator?: string;
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
543
|
* A value that the referenced question is tested using the specified
|
|
544
544
|
* operator in order for the item to be enabled.
|
|
545
545
|
*/
|
|
546
|
-
|
|
546
|
+
answerBoolean?: boolean;
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
549
|
* A value that the referenced question is tested using the specified
|
|
550
550
|
* operator in order for the item to be enabled.
|
|
551
551
|
*/
|
|
552
|
-
|
|
552
|
+
answerDecimal?: number;
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
555
|
* A value that the referenced question is tested using the specified
|
|
556
556
|
* operator in order for the item to be enabled.
|
|
557
557
|
*/
|
|
558
|
-
|
|
558
|
+
answerInteger?: number;
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
561
|
* A value that the referenced question is tested using the specified
|
|
562
562
|
* operator in order for the item to be enabled.
|
|
563
563
|
*/
|
|
564
|
-
|
|
564
|
+
answerDate?: string;
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
567
|
* A value that the referenced question is tested using the specified
|
|
568
568
|
* operator in order for the item to be enabled.
|
|
569
569
|
*/
|
|
570
|
-
|
|
570
|
+
answerDateTime?: string;
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
573
|
* A value that the referenced question is tested using the specified
|
|
574
574
|
* operator in order for the item to be enabled.
|
|
575
575
|
*/
|
|
576
|
-
|
|
576
|
+
answerTime?: string;
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
* A value that the referenced question is tested using the specified
|
|
580
580
|
* operator in order for the item to be enabled.
|
|
581
581
|
*/
|
|
582
|
-
|
|
582
|
+
answerString?: string;
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
585
|
* A value that the referenced question is tested using the specified
|
|
586
586
|
* operator in order for the item to be enabled.
|
|
587
587
|
*/
|
|
588
|
-
|
|
588
|
+
answerCoding?: Coding;
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
591
|
* A value that the referenced question is tested using the specified
|
|
592
592
|
* operator in order for the item to be enabled.
|
|
593
593
|
*/
|
|
594
|
-
|
|
594
|
+
answerQuantity?: Quantity;
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
597
|
* A value that the referenced question is tested using the specified
|
|
598
598
|
* operator in order for the item to be enabled.
|
|
599
599
|
*/
|
|
600
|
-
|
|
600
|
+
answerReference?: Reference<Resource>;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
/**
|
|
@@ -610,7 +610,7 @@ export interface QuestionnaireItemInitial {
|
|
|
610
610
|
* Unique id for the element within a resource (for internal references).
|
|
611
611
|
* This may be any string value that does not contain spaces.
|
|
612
612
|
*/
|
|
613
|
-
|
|
613
|
+
id?: string;
|
|
614
614
|
|
|
615
615
|
/**
|
|
616
616
|
* May be used to represent additional information that is not part of
|
|
@@ -620,7 +620,7 @@ export interface QuestionnaireItemInitial {
|
|
|
620
620
|
* define an extension, there is a set of requirements that SHALL be met
|
|
621
621
|
* as part of the definition of the extension.
|
|
622
622
|
*/
|
|
623
|
-
|
|
623
|
+
extension?: Extension[];
|
|
624
624
|
|
|
625
625
|
/**
|
|
626
626
|
* May be used to represent additional information that is not part of
|
|
@@ -639,65 +639,65 @@ export interface QuestionnaireItemInitial {
|
|
|
639
639
|
* Resource or DomainResource (including cannot change the meaning of
|
|
640
640
|
* modifierExtension itself).
|
|
641
641
|
*/
|
|
642
|
-
|
|
642
|
+
modifierExtension?: Extension[];
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
645
|
* The actual value to for an initial answer.
|
|
646
646
|
*/
|
|
647
|
-
|
|
647
|
+
valueBoolean?: boolean;
|
|
648
648
|
|
|
649
649
|
/**
|
|
650
650
|
* The actual value to for an initial answer.
|
|
651
651
|
*/
|
|
652
|
-
|
|
652
|
+
valueDecimal?: number;
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
655
|
* The actual value to for an initial answer.
|
|
656
656
|
*/
|
|
657
|
-
|
|
657
|
+
valueInteger?: number;
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
660
|
* The actual value to for an initial answer.
|
|
661
661
|
*/
|
|
662
|
-
|
|
662
|
+
valueDate?: string;
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
665
|
* The actual value to for an initial answer.
|
|
666
666
|
*/
|
|
667
|
-
|
|
667
|
+
valueDateTime?: string;
|
|
668
668
|
|
|
669
669
|
/**
|
|
670
670
|
* The actual value to for an initial answer.
|
|
671
671
|
*/
|
|
672
|
-
|
|
672
|
+
valueTime?: string;
|
|
673
673
|
|
|
674
674
|
/**
|
|
675
675
|
* The actual value to for an initial answer.
|
|
676
676
|
*/
|
|
677
|
-
|
|
677
|
+
valueString?: string;
|
|
678
678
|
|
|
679
679
|
/**
|
|
680
680
|
* The actual value to for an initial answer.
|
|
681
681
|
*/
|
|
682
|
-
|
|
682
|
+
valueUri?: string;
|
|
683
683
|
|
|
684
684
|
/**
|
|
685
685
|
* The actual value to for an initial answer.
|
|
686
686
|
*/
|
|
687
|
-
|
|
687
|
+
valueAttachment?: Attachment;
|
|
688
688
|
|
|
689
689
|
/**
|
|
690
690
|
* The actual value to for an initial answer.
|
|
691
691
|
*/
|
|
692
|
-
|
|
692
|
+
valueCoding?: Coding;
|
|
693
693
|
|
|
694
694
|
/**
|
|
695
695
|
* The actual value to for an initial answer.
|
|
696
696
|
*/
|
|
697
|
-
|
|
697
|
+
valueQuantity?: Quantity;
|
|
698
698
|
|
|
699
699
|
/**
|
|
700
700
|
* The actual value to for an initial answer.
|
|
701
701
|
*/
|
|
702
|
-
|
|
702
|
+
valueReference?: Reference<Resource>;
|
|
703
703
|
}
|