@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.
Files changed (198) hide show
  1. package/README.md +9 -3
  2. package/dist/AccessPolicy.d.ts +19 -13
  3. package/dist/Account.d.ts +30 -30
  4. package/dist/ActivityDefinition.d.ts +71 -71
  5. package/dist/Address.d.ts +12 -12
  6. package/dist/AdverseEvent.d.ts +41 -41
  7. package/dist/Age.d.ts +7 -7
  8. package/dist/AllergyIntolerance.d.ts +38 -38
  9. package/dist/Annotation.d.ts +6 -6
  10. package/dist/Appointment.d.ts +38 -38
  11. package/dist/AppointmentResponse.d.ts +16 -16
  12. package/dist/Attachment.d.ts +10 -10
  13. package/dist/AuditEvent.d.ts +62 -62
  14. package/dist/Basic.d.ts +13 -13
  15. package/dist/Binary.d.ts +8 -8
  16. package/dist/BiologicallyDerivedProduct.d.ts +47 -47
  17. package/dist/BodyStructure.d.ts +16 -16
  18. package/dist/Bot.d.ts +19 -8
  19. package/dist/Bundle.d.ts +47 -47
  20. package/dist/CapabilityStatement.d.ts +129 -129
  21. package/dist/CarePlan.d.ts +63 -63
  22. package/dist/CareTeam.d.ts +28 -28
  23. package/dist/CatalogEntry.d.ts +27 -27
  24. package/dist/ChargeItem.d.ts +43 -43
  25. package/dist/ChargeItemDefinition.d.ts +49 -49
  26. package/dist/Claim.d.ts +159 -159
  27. package/dist/ClaimResponse.d.ts +145 -145
  28. package/dist/ClientApplication.d.ts +8 -8
  29. package/dist/ClinicalImpression.d.ts +40 -40
  30. package/dist/CodeSystem.d.ts +74 -74
  31. package/dist/CodeableConcept.d.ts +4 -4
  32. package/dist/Coding.d.ts +7 -7
  33. package/dist/Communication.d.ts +37 -37
  34. package/dist/CommunicationRequest.d.ts +37 -37
  35. package/dist/CompartmentDefinition.d.ts +28 -28
  36. package/dist/Composition.d.ts +54 -54
  37. package/dist/ConceptMap.d.ts +66 -66
  38. package/dist/Condition.d.ts +44 -44
  39. package/dist/Consent.d.ts +57 -57
  40. package/dist/ContactDetail.d.ts +4 -4
  41. package/dist/ContactPoint.d.ts +7 -7
  42. package/dist/Contract.d.ts +202 -202
  43. package/dist/Contributor.d.ts +5 -5
  44. package/dist/Count.d.ts +7 -7
  45. package/dist/Coverage.d.ts +43 -43
  46. package/dist/CoverageEligibilityRequest.d.ts +53 -53
  47. package/dist/CoverageEligibilityResponse.d.ts +62 -62
  48. package/dist/DataRequirement.d.ts +28 -28
  49. package/dist/DetectedIssue.d.ts +32 -32
  50. package/dist/Device.d.ts +65 -65
  51. package/dist/DeviceDefinition.d.ts +64 -64
  52. package/dist/DeviceMetric.d.ts +24 -24
  53. package/dist/DeviceRequest.d.ts +43 -43
  54. package/dist/DeviceUseStatement.d.ts +23 -23
  55. package/dist/DiagnosticReport.d.ts +32 -32
  56. package/dist/Distance.d.ts +7 -7
  57. package/dist/DocumentManifest.d.ts +25 -25
  58. package/dist/DocumentReference.d.ts +44 -44
  59. package/dist/Dosage.d.ts +25 -25
  60. package/dist/Duration.d.ts +7 -7
  61. package/dist/EffectEvidenceSynthesis.d.ts +82 -82
  62. package/dist/Element.d.ts +2 -2
  63. package/dist/ElementDefinition.d.ts +295 -295
  64. package/dist/Encounter.d.ts +72 -72
  65. package/dist/Endpoint.d.ts +19 -19
  66. package/dist/EnrollmentRequest.d.ts +15 -15
  67. package/dist/EnrollmentResponse.d.ts +16 -16
  68. package/dist/EpisodeOfCare.d.ts +31 -31
  69. package/dist/EventDefinition.d.ts +37 -37
  70. package/dist/Evidence.d.ts +36 -36
  71. package/dist/EvidenceVariable.d.ts +53 -53
  72. package/dist/ExampleScenario.d.ts +85 -85
  73. package/dist/ExplanationOfBenefit.d.ts +272 -272
  74. package/dist/Expression.d.ts +7 -7
  75. package/dist/Extension.d.ts +53 -53
  76. package/dist/FamilyMemberHistory.d.ts +45 -45
  77. package/dist/Flag.d.ts +16 -16
  78. package/dist/Goal.d.ts +38 -38
  79. package/dist/GraphDefinition.d.ts +48 -48
  80. package/dist/Group.d.ts +35 -35
  81. package/dist/GuidanceResponse.d.ts +25 -25
  82. package/dist/HealthcareService.d.ts +49 -49
  83. package/dist/HumanName.d.ts +9 -9
  84. package/dist/Identifier.d.ts +8 -8
  85. package/dist/ImagingStudy.d.ts +55 -55
  86. package/dist/Immunization.d.ts +65 -65
  87. package/dist/ImmunizationEvaluation.d.ts +23 -23
  88. package/dist/ImmunizationRecommendation.d.ts +35 -35
  89. package/dist/ImplementationGuide.d.ts +102 -102
  90. package/dist/InsurancePlan.d.ts +79 -79
  91. package/dist/Invoice.d.ts +43 -43
  92. package/dist/JsonWebKey.d.ts +20 -20
  93. package/dist/Library.d.ts +40 -40
  94. package/dist/Linkage.d.ts +16 -16
  95. package/dist/List.d.ts +28 -28
  96. package/dist/Location.d.ts +38 -38
  97. package/dist/Login.d.ts +21 -21
  98. package/dist/MarketingStatus.d.ts +8 -8
  99. package/dist/Measure.d.ts +83 -83
  100. package/dist/MeasureReport.d.ts +55 -55
  101. package/dist/Media.d.ts +31 -31
  102. package/dist/Medication.d.ts +28 -28
  103. package/dist/MedicationAdministration.d.ts +44 -44
  104. package/dist/MedicationDispense.d.ts +46 -46
  105. package/dist/MedicationKnowledge.d.ts +121 -121
  106. package/dist/MedicationRequest.d.ts +63 -63
  107. package/dist/MedicationStatement.d.ts +27 -27
  108. package/dist/MedicinalProduct.d.ts +65 -65
  109. package/dist/MedicinalProductAuthorization.d.ts +40 -40
  110. package/dist/MedicinalProductContraindication.d.ts +21 -21
  111. package/dist/MedicinalProductIndication.d.ts +23 -23
  112. package/dist/MedicinalProductIngredient.d.ts +44 -44
  113. package/dist/MedicinalProductInteraction.d.ts +20 -20
  114. package/dist/MedicinalProductManufactured.d.ts +15 -15
  115. package/dist/MedicinalProductPackaged.d.ts +37 -37
  116. package/dist/MedicinalProductPharmaceutical.d.ts +41 -41
  117. package/dist/MedicinalProductUndesirableEffect.d.ts +13 -13
  118. package/dist/MessageDefinition.d.ts +45 -45
  119. package/dist/MessageHeader.d.ts +41 -41
  120. package/dist/Meta.d.ts +11 -11
  121. package/dist/MolecularSequence.d.ts +100 -100
  122. package/dist/Money.d.ts +4 -4
  123. package/dist/NamingSystem.d.ts +29 -29
  124. package/dist/Narrative.d.ts +4 -4
  125. package/dist/NutritionOrder.d.ts +71 -71
  126. package/dist/Observation.d.ts +72 -72
  127. package/dist/ObservationDefinition.d.ts +39 -39
  128. package/dist/OperationDefinition.d.ts +63 -63
  129. package/dist/OperationOutcome.d.ts +18 -18
  130. package/dist/Organization.d.ts +25 -25
  131. package/dist/OrganizationAffiliation.d.ts +20 -20
  132. package/dist/ParameterDefinition.d.ts +9 -9
  133. package/dist/Parameters.d.ts +61 -61
  134. package/dist/PasswordChangeRequest.d.ts +8 -8
  135. package/dist/Patient.d.ts +46 -46
  136. package/dist/PaymentNotice.d.ts +20 -20
  137. package/dist/PaymentReconciliation.d.ts +41 -41
  138. package/dist/Period.d.ts +4 -4
  139. package/dist/Person.d.ts +23 -23
  140. package/dist/PlanDefinition.d.ts +117 -117
  141. package/dist/Population.d.ts +8 -8
  142. package/dist/Practitioner.d.ts +25 -25
  143. package/dist/PractitionerRole.d.ts +34 -34
  144. package/dist/Procedure.d.ts +51 -51
  145. package/dist/ProdCharacteristic.d.ts +14 -14
  146. package/dist/ProductShelfLife.d.ts +7 -7
  147. package/dist/Project.d.ts +9 -9
  148. package/dist/ProjectMembership.d.ts +11 -10
  149. package/dist/Provenance.d.ts +32 -32
  150. package/dist/Quantity.d.ts +7 -7
  151. package/dist/Questionnaire.d.ts +89 -89
  152. package/dist/QuestionnaireResponse.d.ts +43 -43
  153. package/dist/Range.d.ts +4 -4
  154. package/dist/Ratio.d.ts +4 -4
  155. package/dist/Reference.d.ts +7 -7
  156. package/dist/RelatedArtifact.d.ts +9 -9
  157. package/dist/RelatedPerson.d.ts +25 -25
  158. package/dist/RequestGroup.d.ts +65 -65
  159. package/dist/ResearchDefinition.d.ts +43 -43
  160. package/dist/ResearchElementDefinition.d.ts +66 -66
  161. package/dist/ResearchStudy.d.ts +43 -43
  162. package/dist/ResearchSubject.d.ts +16 -16
  163. package/dist/RiskAssessment.d.ts +37 -37
  164. package/dist/RiskEvidenceSynthesis.d.ts +74 -74
  165. package/dist/SampledData.d.ts +9 -9
  166. package/dist/Schedule.d.ts +16 -16
  167. package/dist/SearchParameter.d.ts +39 -39
  168. package/dist/ServiceRequest.d.ts +46 -46
  169. package/dist/Signature.d.ts +9 -9
  170. package/dist/Slot.d.ts +19 -19
  171. package/dist/Specimen.d.ts +51 -51
  172. package/dist/SpecimenDefinition.d.ts +49 -49
  173. package/dist/StructureDefinition.d.ts +55 -55
  174. package/dist/StructureMap.d.ts +145 -145
  175. package/dist/Subscription.d.ts +22 -22
  176. package/dist/Substance.d.ts +27 -27
  177. package/dist/SubstanceAmount.d.ts +13 -13
  178. package/dist/SubstanceNucleicAcid.d.ts +37 -37
  179. package/dist/SubstancePolymer.d.ts +52 -52
  180. package/dist/SubstanceProtein.d.ts +23 -23
  181. package/dist/SubstanceReferenceInformation.d.ts +45 -45
  182. package/dist/SubstanceSourceMaterial.d.ts +62 -62
  183. package/dist/SubstanceSpecification.d.ts +121 -121
  184. package/dist/SupplyDelivery.d.ts +27 -27
  185. package/dist/SupplyRequest.d.ts +34 -34
  186. package/dist/Task.d.ts +153 -153
  187. package/dist/TerminologyCapabilities.d.ts +87 -87
  188. package/dist/TestReport.d.ts +66 -66
  189. package/dist/TestScript.d.ts +157 -157
  190. package/dist/Timing.d.ts +25 -25
  191. package/dist/TriggerDefinition.d.ts +10 -10
  192. package/dist/UsageContext.d.ts +7 -7
  193. package/dist/User.d.ts +7 -7
  194. package/dist/UserConfiguration.d.ts +20 -20
  195. package/dist/ValueSet.d.ts +90 -90
  196. package/dist/VerificationResult.d.ts +49 -49
  197. package/dist/VisionPrescription.d.ts +38 -38
  198. package/package.json +1 -1
@@ -25,14 +25,14 @@ export interface CompartmentDefinition {
25
25
  * The logical id of the resource, as used in the URL for the resource.
26
26
  * Once assigned, this value never changes.
27
27
  */
28
- readonly id?: string;
28
+ id?: string;
29
29
 
30
30
  /**
31
31
  * The metadata about the resource. This is content that is maintained by
32
32
  * the infrastructure. Changes to the content might not always be
33
33
  * associated with version changes to the resource.
34
34
  */
35
- readonly meta?: Meta;
35
+ meta?: Meta;
36
36
 
37
37
  /**
38
38
  * A reference to a set of rules that were followed when the resource was
@@ -40,12 +40,12 @@ export interface CompartmentDefinition {
40
40
  * Often, this is a reference to an implementation guide that defines the
41
41
  * special rules along with other profiles etc.
42
42
  */
43
- readonly implicitRules?: string;
43
+ implicitRules?: string;
44
44
 
45
45
  /**
46
46
  * The base language in which the resource is written.
47
47
  */
48
- readonly language?: string;
48
+ language?: string;
49
49
 
50
50
  /**
51
51
  * A human-readable narrative that contains a summary of the resource and
@@ -55,14 +55,14 @@ export interface CompartmentDefinition {
55
55
  * just read the narrative. Resource definitions may define what content
56
56
  * should be represented in the narrative to ensure clinical safety.
57
57
  */
58
- readonly text?: Narrative;
58
+ text?: Narrative;
59
59
 
60
60
  /**
61
61
  * These resources do not have an independent existence apart from the
62
62
  * resource that contains them - they cannot be identified independently,
63
63
  * and nor can they have their own independent transaction scope.
64
64
  */
65
- readonly contained?: Resource[];
65
+ contained?: Resource[];
66
66
 
67
67
  /**
68
68
  * May be used to represent additional information that is not part of
@@ -72,7 +72,7 @@ export interface CompartmentDefinition {
72
72
  * define an extension, there is a set of requirements that SHALL be met
73
73
  * as part of the definition of the extension.
74
74
  */
75
- readonly extension?: Extension[];
75
+ extension?: Extension[];
76
76
 
77
77
  /**
78
78
  * May be used to represent additional information that is not part of
@@ -90,7 +90,7 @@ export interface CompartmentDefinition {
90
90
  * Resource or DomainResource (including cannot change the meaning of
91
91
  * modifierExtension itself).
92
92
  */
93
- readonly modifierExtension?: Extension[];
93
+ modifierExtension?: Extension[];
94
94
 
95
95
  /**
96
96
  * An absolute URI that is used to identify this compartment definition
@@ -102,7 +102,7 @@ export interface CompartmentDefinition {
102
102
  * SHALL remain the same when the compartment definition is stored on
103
103
  * different servers.
104
104
  */
105
- readonly url?: string;
105
+ url?: string;
106
106
 
107
107
  /**
108
108
  * The identifier that is used to identify this version of the
@@ -113,27 +113,27 @@ export interface CompartmentDefinition {
113
113
  * managed version is not available. There is also no expectation that
114
114
  * versions can be placed in a lexicographical sequence.
115
115
  */
116
- readonly version?: string;
116
+ version?: string;
117
117
 
118
118
  /**
119
119
  * A natural language name identifying the compartment definition. This
120
120
  * name should be usable as an identifier for the module by machine
121
121
  * processing applications such as code generation.
122
122
  */
123
- readonly name?: string;
123
+ name?: string;
124
124
 
125
125
  /**
126
126
  * The status of this compartment definition. Enables tracking the
127
127
  * life-cycle of the content.
128
128
  */
129
- readonly status?: string;
129
+ status?: string;
130
130
 
131
131
  /**
132
132
  * A Boolean value to indicate that this compartment definition is
133
133
  * authored for testing purposes (or education/evaluation/marketing) and
134
134
  * is not intended to be used for genuine usage.
135
135
  */
136
- readonly experimental?: boolean;
136
+ experimental?: boolean;
137
137
 
138
138
  /**
139
139
  * The date (and optionally time) when the compartment definition was
@@ -142,25 +142,25 @@ export interface CompartmentDefinition {
142
142
  * change when the substantive content of the compartment definition
143
143
  * changes.
144
144
  */
145
- readonly date?: string;
145
+ date?: string;
146
146
 
147
147
  /**
148
148
  * The name of the organization or individual that published the
149
149
  * compartment definition.
150
150
  */
151
- readonly publisher?: string;
151
+ publisher?: string;
152
152
 
153
153
  /**
154
154
  * Contact details to assist a user in finding and communicating with the
155
155
  * publisher.
156
156
  */
157
- readonly contact?: ContactDetail[];
157
+ contact?: ContactDetail[];
158
158
 
159
159
  /**
160
160
  * A free text natural language description of the compartment definition
161
161
  * from a consumer's perspective.
162
162
  */
163
- readonly description?: string;
163
+ description?: string;
164
164
 
165
165
  /**
166
166
  * The content was developed with a focus and intent of supporting the
@@ -170,28 +170,28 @@ export interface CompartmentDefinition {
170
170
  * indexing and searching for appropriate compartment definition
171
171
  * instances.
172
172
  */
173
- readonly useContext?: UsageContext[];
173
+ useContext?: UsageContext[];
174
174
 
175
175
  /**
176
176
  * Explanation of why this compartment definition is needed and why it
177
177
  * has been designed as it has.
178
178
  */
179
- readonly purpose?: string;
179
+ purpose?: string;
180
180
 
181
181
  /**
182
182
  * Which compartment this definition describes.
183
183
  */
184
- readonly code?: string;
184
+ code?: string;
185
185
 
186
186
  /**
187
187
  * Whether the search syntax is supported,.
188
188
  */
189
- readonly search?: boolean;
189
+ search?: boolean;
190
190
 
191
191
  /**
192
192
  * Information about how a resource is related to the compartment.
193
193
  */
194
- readonly resource?: CompartmentDefinitionResource[];
194
+ resource?: CompartmentDefinitionResource[];
195
195
  }
196
196
 
197
197
  /**
@@ -203,7 +203,7 @@ export interface CompartmentDefinitionResource {
203
203
  * Unique id for the element within a resource (for internal references).
204
204
  * This may be any string value that does not contain spaces.
205
205
  */
206
- readonly id?: string;
206
+ id?: string;
207
207
 
208
208
  /**
209
209
  * May be used to represent additional information that is not part of
@@ -213,7 +213,7 @@ export interface CompartmentDefinitionResource {
213
213
  * define an extension, there is a set of requirements that SHALL be met
214
214
  * as part of the definition of the extension.
215
215
  */
216
- readonly extension?: Extension[];
216
+ extension?: Extension[];
217
217
 
218
218
  /**
219
219
  * May be used to represent additional information that is not part of
@@ -232,22 +232,22 @@ export interface CompartmentDefinitionResource {
232
232
  * Resource or DomainResource (including cannot change the meaning of
233
233
  * modifierExtension itself).
234
234
  */
235
- readonly modifierExtension?: Extension[];
235
+ modifierExtension?: Extension[];
236
236
 
237
237
  /**
238
238
  * The name of a resource supported by the server.
239
239
  */
240
- readonly code?: string;
240
+ code?: string;
241
241
 
242
242
  /**
243
243
  * The name of a search parameter that represents the link to the
244
244
  * compartment. More than one may be listed because a resource may be
245
245
  * linked to a compartment in more than one way,.
246
246
  */
247
- readonly param?: string[];
247
+ param?: string[];
248
248
 
249
249
  /**
250
250
  * Additional documentation about the resource and compartment.
251
251
  */
252
- readonly documentation?: string;
252
+ documentation?: string;
253
253
  }
@@ -42,14 +42,14 @@ export interface Composition {
42
42
  * The logical id of the resource, as used in the URL for the resource.
43
43
  * Once assigned, this value never changes.
44
44
  */
45
- readonly id?: string;
45
+ id?: string;
46
46
 
47
47
  /**
48
48
  * The metadata about the resource. This is content that is maintained by
49
49
  * the infrastructure. Changes to the content might not always be
50
50
  * associated with version changes to the resource.
51
51
  */
52
- readonly meta?: Meta;
52
+ meta?: Meta;
53
53
 
54
54
  /**
55
55
  * A reference to a set of rules that were followed when the resource was
@@ -57,12 +57,12 @@ export interface Composition {
57
57
  * Often, this is a reference to an implementation guide that defines the
58
58
  * special rules along with other profiles etc.
59
59
  */
60
- readonly implicitRules?: string;
60
+ implicitRules?: string;
61
61
 
62
62
  /**
63
63
  * The base language in which the resource is written.
64
64
  */
65
- readonly language?: string;
65
+ language?: string;
66
66
 
67
67
  /**
68
68
  * A human-readable narrative that contains a summary of the resource and
@@ -72,14 +72,14 @@ export interface Composition {
72
72
  * just read the narrative. Resource definitions may define what content
73
73
  * should be represented in the narrative to ensure clinical safety.
74
74
  */
75
- readonly text?: Narrative;
75
+ text?: Narrative;
76
76
 
77
77
  /**
78
78
  * These resources do not have an independent existence apart from the
79
79
  * resource that contains them - they cannot be identified independently,
80
80
  * and nor can they have their own independent transaction scope.
81
81
  */
82
- readonly contained?: Resource[];
82
+ contained?: Resource[];
83
83
 
84
84
  /**
85
85
  * May be used to represent additional information that is not part of
@@ -89,7 +89,7 @@ export interface Composition {
89
89
  * define an extension, there is a set of requirements that SHALL be met
90
90
  * as part of the definition of the extension.
91
91
  */
92
- readonly extension?: Extension[];
92
+ extension?: Extension[];
93
93
 
94
94
  /**
95
95
  * May be used to represent additional information that is not part of
@@ -107,33 +107,33 @@ export interface Composition {
107
107
  * Resource or DomainResource (including cannot change the meaning of
108
108
  * modifierExtension itself).
109
109
  */
110
- readonly modifierExtension?: Extension[];
110
+ modifierExtension?: Extension[];
111
111
 
112
112
  /**
113
113
  * A version-independent identifier for the Composition. This identifier
114
114
  * stays constant as the composition is changed over time.
115
115
  */
116
- readonly identifier?: Identifier;
116
+ identifier?: Identifier;
117
117
 
118
118
  /**
119
119
  * The workflow/clinical status of this composition. The status is a
120
120
  * marker for the clinical standing of the document.
121
121
  */
122
- readonly status?: string;
122
+ status?: string;
123
123
 
124
124
  /**
125
125
  * Specifies the particular kind of composition (e.g. History and
126
126
  * Physical, Discharge Summary, Progress Note). This usually equates to
127
127
  * the purpose of making the composition.
128
128
  */
129
- readonly type?: CodeableConcept;
129
+ type?: CodeableConcept;
130
130
 
131
131
  /**
132
132
  * A categorization for the type of the composition - helps for indexing
133
133
  * and searching. This may be implied by or derived from the code
134
134
  * specified in the Composition Type.
135
135
  */
136
- readonly category?: CodeableConcept[];
136
+ category?: CodeableConcept[];
137
137
 
138
138
  /**
139
139
  * Who or what the composition is about. The composition can be about a
@@ -141,64 +141,64 @@ export interface Composition {
141
141
  * machine) or even a group of subjects (such as a document about a herd
142
142
  * of livestock, or a set of patients that share a common exposure).
143
143
  */
144
- readonly subject?: Reference<Resource>;
144
+ subject?: Reference<Resource>;
145
145
 
146
146
  /**
147
147
  * Describes the clinical encounter or type of care this documentation is
148
148
  * associated with.
149
149
  */
150
- readonly encounter?: Reference<Encounter>;
150
+ encounter?: Reference<Encounter>;
151
151
 
152
152
  /**
153
153
  * The composition editing time, when the composition was last logically
154
154
  * changed by the author.
155
155
  */
156
- readonly date?: string;
156
+ date?: string;
157
157
 
158
158
  /**
159
159
  * Identifies who is responsible for the information in the composition,
160
160
  * not necessarily who typed it in.
161
161
  */
162
- readonly author?: Reference<Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization>[];
162
+ author?: Reference<Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization>[];
163
163
 
164
164
  /**
165
165
  * Official human-readable label for the composition.
166
166
  */
167
- readonly title?: string;
167
+ title?: string;
168
168
 
169
169
  /**
170
170
  * The code specifying the level of confidentiality of the Composition.
171
171
  */
172
- readonly confidentiality?: string;
172
+ confidentiality?: string;
173
173
 
174
174
  /**
175
175
  * A participant who has attested to the accuracy of the
176
176
  * composition/document.
177
177
  */
178
- readonly attester?: CompositionAttester[];
178
+ attester?: CompositionAttester[];
179
179
 
180
180
  /**
181
181
  * Identifies the organization or group who is responsible for ongoing
182
182
  * maintenance of and access to the composition/document information.
183
183
  */
184
- readonly custodian?: Reference<Organization>;
184
+ custodian?: Reference<Organization>;
185
185
 
186
186
  /**
187
187
  * Relationships that this composition has with other compositions or
188
188
  * documents that already exist.
189
189
  */
190
- readonly relatesTo?: CompositionRelatesTo[];
190
+ relatesTo?: CompositionRelatesTo[];
191
191
 
192
192
  /**
193
193
  * The clinical service, such as a colonoscopy or an appendectomy, being
194
194
  * documented.
195
195
  */
196
- readonly event?: CompositionEvent[];
196
+ event?: CompositionEvent[];
197
197
 
198
198
  /**
199
199
  * The root of the sections that make up the composition.
200
200
  */
201
- readonly section?: CompositionSection[];
201
+ section?: CompositionSection[];
202
202
  }
203
203
 
204
204
  /**
@@ -211,7 +211,7 @@ export interface CompositionAttester {
211
211
  * Unique id for the element within a resource (for internal references).
212
212
  * This may be any string value that does not contain spaces.
213
213
  */
214
- readonly id?: string;
214
+ id?: string;
215
215
 
216
216
  /**
217
217
  * May be used to represent additional information that is not part of
@@ -221,7 +221,7 @@ export interface CompositionAttester {
221
221
  * define an extension, there is a set of requirements that SHALL be met
222
222
  * as part of the definition of the extension.
223
223
  */
224
- readonly extension?: Extension[];
224
+ extension?: Extension[];
225
225
 
226
226
  /**
227
227
  * May be used to represent additional information that is not part of
@@ -240,22 +240,22 @@ export interface CompositionAttester {
240
240
  * Resource or DomainResource (including cannot change the meaning of
241
241
  * modifierExtension itself).
242
242
  */
243
- readonly modifierExtension?: Extension[];
243
+ modifierExtension?: Extension[];
244
244
 
245
245
  /**
246
246
  * The type of attestation the authenticator offers.
247
247
  */
248
- readonly mode?: string;
248
+ mode?: string;
249
249
 
250
250
  /**
251
251
  * When the composition was attested by the party.
252
252
  */
253
- readonly time?: string;
253
+ time?: string;
254
254
 
255
255
  /**
256
256
  * Who attested the composition in the specified way.
257
257
  */
258
- readonly party?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Organization>;
258
+ party?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Organization>;
259
259
  }
260
260
 
261
261
  /**
@@ -268,7 +268,7 @@ export interface CompositionEvent {
268
268
  * Unique id for the element within a resource (for internal references).
269
269
  * This may be any string value that does not contain spaces.
270
270
  */
271
- readonly id?: string;
271
+ id?: string;
272
272
 
273
273
  /**
274
274
  * May be used to represent additional information that is not part of
@@ -278,7 +278,7 @@ export interface CompositionEvent {
278
278
  * define an extension, there is a set of requirements that SHALL be met
279
279
  * as part of the definition of the extension.
280
280
  */
281
- readonly extension?: Extension[];
281
+ extension?: Extension[];
282
282
 
283
283
  /**
284
284
  * May be used to represent additional information that is not part of
@@ -297,7 +297,7 @@ export interface CompositionEvent {
297
297
  * Resource or DomainResource (including cannot change the meaning of
298
298
  * modifierExtension itself).
299
299
  */
300
- readonly modifierExtension?: Extension[];
300
+ modifierExtension?: Extension[];
301
301
 
302
302
  /**
303
303
  * This list of codes represents the main clinical acts, such as a
@@ -306,21 +306,21 @@ export interface CompositionEvent {
306
306
  * Report&quot; in which the procedure being documented is necessarily a
307
307
  * &quot;History and Physical&quot; act.
308
308
  */
309
- readonly code?: CodeableConcept[];
309
+ code?: CodeableConcept[];
310
310
 
311
311
  /**
312
312
  * The period of time covered by the documentation. There is no assertion
313
313
  * that the documentation is a complete representation for this period,
314
314
  * only that it documents events during this time.
315
315
  */
316
- readonly period?: Period;
316
+ period?: Period;
317
317
 
318
318
  /**
319
319
  * The description and/or reference of the event(s) being documented. For
320
320
  * example, this could be used to document such a colonoscopy or an
321
321
  * appendectomy.
322
322
  */
323
- readonly detail?: Reference<Resource>[];
323
+ detail?: Reference<Resource>[];
324
324
  }
325
325
 
326
326
  /**
@@ -333,7 +333,7 @@ export interface CompositionRelatesTo {
333
333
  * Unique id for the element within a resource (for internal references).
334
334
  * This may be any string value that does not contain spaces.
335
335
  */
336
- readonly id?: string;
336
+ id?: string;
337
337
 
338
338
  /**
339
339
  * May be used to represent additional information that is not part of
@@ -343,7 +343,7 @@ export interface CompositionRelatesTo {
343
343
  * define an extension, there is a set of requirements that SHALL be met
344
344
  * as part of the definition of the extension.
345
345
  */
346
- readonly extension?: Extension[];
346
+ extension?: Extension[];
347
347
 
348
348
  /**
349
349
  * May be used to represent additional information that is not part of
@@ -362,23 +362,23 @@ export interface CompositionRelatesTo {
362
362
  * Resource or DomainResource (including cannot change the meaning of
363
363
  * modifierExtension itself).
364
364
  */
365
- readonly modifierExtension?: Extension[];
365
+ modifierExtension?: Extension[];
366
366
 
367
367
  /**
368
368
  * The type of relationship that this composition has with anther
369
369
  * composition or document.
370
370
  */
371
- readonly code?: string;
371
+ code?: string;
372
372
 
373
373
  /**
374
374
  * The target composition/document of this relationship.
375
375
  */
376
- readonly targetIdentifier?: Identifier;
376
+ targetIdentifier?: Identifier;
377
377
 
378
378
  /**
379
379
  * The target composition/document of this relationship.
380
380
  */
381
- readonly targetReference?: Reference<Composition>;
381
+ targetReference?: Reference<Composition>;
382
382
  }
383
383
 
384
384
  /**
@@ -390,7 +390,7 @@ export interface CompositionSection {
390
390
  * Unique id for the element within a resource (for internal references).
391
391
  * This may be any string value that does not contain spaces.
392
392
  */
393
- readonly id?: string;
393
+ id?: string;
394
394
 
395
395
  /**
396
396
  * May be used to represent additional information that is not part of
@@ -400,7 +400,7 @@ export interface CompositionSection {
400
400
  * define an extension, there is a set of requirements that SHALL be met
401
401
  * as part of the definition of the extension.
402
402
  */
403
- readonly extension?: Extension[];
403
+ extension?: Extension[];
404
404
 
405
405
  /**
406
406
  * May be used to represent additional information that is not part of
@@ -419,26 +419,26 @@ export interface CompositionSection {
419
419
  * Resource or DomainResource (including cannot change the meaning of
420
420
  * modifierExtension itself).
421
421
  */
422
- readonly modifierExtension?: Extension[];
422
+ modifierExtension?: Extension[];
423
423
 
424
424
  /**
425
425
  * The label for this particular section. This will be part of the
426
426
  * rendered content for the document, and is often used to build a table
427
427
  * of contents.
428
428
  */
429
- readonly title?: string;
429
+ title?: string;
430
430
 
431
431
  /**
432
432
  * A code identifying the kind of content contained within the section.
433
433
  * This must be consistent with the section title.
434
434
  */
435
- readonly code?: CodeableConcept;
435
+ code?: CodeableConcept;
436
436
 
437
437
  /**
438
438
  * Identifies who is responsible for the information in this section, not
439
439
  * necessarily who typed it in.
440
440
  */
441
- readonly author?: Reference<Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization>[];
441
+ author?: Reference<Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization>[];
442
442
 
443
443
  /**
444
444
  * The actual focus of the section when it is not the subject of the
@@ -451,7 +451,7 @@ export interface CompositionSection {
451
451
  * focus, etc.) matches the section focus, or the resources have no
452
452
  * logical subject (few resources).
453
453
  */
454
- readonly focus?: Reference<Resource>;
454
+ focus?: Reference<Resource>;
455
455
 
456
456
  /**
457
457
  * A human-readable narrative that contains the attested content of the
@@ -460,7 +460,7 @@ export interface CompositionSection {
460
460
  * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
461
461
  * just read the narrative.
462
462
  */
463
- readonly text?: Narrative;
463
+ text?: Narrative;
464
464
 
465
465
  /**
466
466
  * How the entry list was prepared - whether it is a working list that is
@@ -468,27 +468,27 @@ export interface CompositionSection {
468
468
  * a snapshot of a list of items from another source, or whether it is a
469
469
  * prepared list where items may be marked as added, modified or deleted.
470
470
  */
471
- readonly mode?: string;
471
+ mode?: string;
472
472
 
473
473
  /**
474
474
  * Specifies the order applied to the items in the section entries.
475
475
  */
476
- readonly orderedBy?: CodeableConcept;
476
+ orderedBy?: CodeableConcept;
477
477
 
478
478
  /**
479
479
  * A reference to the actual resource from which the narrative in the
480
480
  * section is derived.
481
481
  */
482
- readonly entry?: Reference<Resource>[];
482
+ entry?: Reference<Resource>[];
483
483
 
484
484
  /**
485
485
  * If the section is empty, why the list is empty. An empty section
486
486
  * typically has some text explaining the empty reason.
487
487
  */
488
- readonly emptyReason?: CodeableConcept;
488
+ emptyReason?: CodeableConcept;
489
489
 
490
490
  /**
491
491
  * A nested sub-section within this section.
492
492
  */
493
- readonly section?: CompositionSection[];
493
+ section?: CompositionSection[];
494
494
  }