@medplum/fhirtypes 0.3.0

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 (199) hide show
  1. package/README.md +61 -0
  2. package/dist/AccessPolicy.d.ts +95 -0
  3. package/dist/Account.d.ts +286 -0
  4. package/dist/ActivityDefinition.d.ts +580 -0
  5. package/dist/Address.d.ts +93 -0
  6. package/dist/AdverseEvent.d.ts +353 -0
  7. package/dist/Age.d.ts +60 -0
  8. package/dist/AllergyIntolerance.d.ts +329 -0
  9. package/dist/Annotation.d.ts +54 -0
  10. package/dist/Appointment.d.ts +330 -0
  11. package/dist/AppointmentResponse.d.ts +154 -0
  12. package/dist/Attachment.d.ts +74 -0
  13. package/dist/AuditEvent.d.ts +532 -0
  14. package/dist/Basic.d.ts +130 -0
  15. package/dist/Binary.d.ts +78 -0
  16. package/dist/BiologicallyDerivedProduct.d.ts +416 -0
  17. package/dist/BodyStructure.d.ts +142 -0
  18. package/dist/Bot.d.ts +64 -0
  19. package/dist/Bundle.d.ts +438 -0
  20. package/dist/CapabilityStatement.d.ts +1193 -0
  21. package/dist/CarePlan.d.ts +518 -0
  22. package/dist/CareTeam.d.ts +247 -0
  23. package/dist/CatalogEntry.d.ts +230 -0
  24. package/dist/ChargeItem.d.ts +338 -0
  25. package/dist/ChargeItemDefinition.d.ts +460 -0
  26. package/dist/Claim.d.ts +1269 -0
  27. package/dist/ClaimResponse.d.ts +1204 -0
  28. package/dist/ClientApplication.d.ts +61 -0
  29. package/dist/ClinicalImpression.d.ts +355 -0
  30. package/dist/CodeSystem.d.ts +627 -0
  31. package/dist/CodeableConcept.d.ts +43 -0
  32. package/dist/Coding.d.ts +63 -0
  33. package/dist/Communication.d.ts +309 -0
  34. package/dist/CommunicationRequest.d.ts +306 -0
  35. package/dist/CompartmentDefinition.d.ts +253 -0
  36. package/dist/Composition.d.ts +494 -0
  37. package/dist/ConceptMap.d.ts +596 -0
  38. package/dist/Condition.d.ts +379 -0
  39. package/dist/Consent.d.ts +529 -0
  40. package/dist/ContactDetail.d.ts +41 -0
  41. package/dist/ContactPoint.d.ts +60 -0
  42. package/dist/Contract.d.ts +1676 -0
  43. package/dist/Contributor.d.ts +48 -0
  44. package/dist/Count.d.ts +62 -0
  45. package/dist/Coverage.d.ts +380 -0
  46. package/dist/CoverageEligibilityRequest.d.ts +468 -0
  47. package/dist/CoverageEligibilityResponse.d.ts +507 -0
  48. package/dist/DataRequirement.d.ts +276 -0
  49. package/dist/DetectedIssue.d.ts +293 -0
  50. package/dist/Device.d.ts +570 -0
  51. package/dist/DeviceDefinition.d.ts +563 -0
  52. package/dist/DeviceMetric.d.ts +231 -0
  53. package/dist/DeviceRequest.d.ts +347 -0
  54. package/dist/DeviceUseStatement.d.ts +198 -0
  55. package/dist/DiagnosticReport.d.ts +294 -0
  56. package/dist/Distance.d.ts +60 -0
  57. package/dist/DocumentManifest.d.ts +229 -0
  58. package/dist/DocumentReference.d.ts +403 -0
  59. package/dist/Dosage.d.ts +184 -0
  60. package/dist/Duration.d.ts +59 -0
  61. package/dist/EffectEvidenceSynthesis.d.ts +686 -0
  62. package/dist/Element.d.ts +29 -0
  63. package/dist/ElementDefinition.d.ts +3010 -0
  64. package/dist/Encounter.d.ts +643 -0
  65. package/dist/Endpoint.d.ts +166 -0
  66. package/dist/EnrollmentRequest.d.ts +135 -0
  67. package/dist/EnrollmentResponse.d.ts +140 -0
  68. package/dist/EpisodeOfCare.d.ts +286 -0
  69. package/dist/EventDefinition.d.ts +297 -0
  70. package/dist/Evidence.d.ts +295 -0
  71. package/dist/EvidenceVariable.d.ts +431 -0
  72. package/dist/ExampleScenario.d.ts +728 -0
  73. package/dist/ExplanationOfBenefit.d.ts +2140 -0
  74. package/dist/Expression.d.ts +58 -0
  75. package/dist/Extension.d.ts +365 -0
  76. package/dist/FamilyMemberHistory.d.ts +359 -0
  77. package/dist/Flag.d.ts +155 -0
  78. package/dist/Goal.d.ts +345 -0
  79. package/dist/GraphDefinition.d.ts +408 -0
  80. package/dist/Group.d.ts +315 -0
  81. package/dist/GuidanceResponse.d.ts +228 -0
  82. package/dist/HealthcareService.d.ts +415 -0
  83. package/dist/HumanName.d.ts +73 -0
  84. package/dist/Identifier.d.ts +67 -0
  85. package/dist/ImagingStudy.d.ts +472 -0
  86. package/dist/Immunization.d.ts +520 -0
  87. package/dist/ImmunizationEvaluation.d.ts +179 -0
  88. package/dist/ImmunizationRecommendation.d.ts +298 -0
  89. package/dist/ImplementationGuide.d.ts +944 -0
  90. package/dist/InsurancePlan.d.ts +719 -0
  91. package/dist/Invoice.d.ts +399 -0
  92. package/dist/JsonWebKey.d.ts +126 -0
  93. package/dist/Library.d.ts +324 -0
  94. package/dist/Linkage.d.ts +170 -0
  95. package/dist/List.d.ts +236 -0
  96. package/dist/Location.d.ts +324 -0
  97. package/dist/Login.d.ts +146 -0
  98. package/dist/MarketingStatus.d.ts +96 -0
  99. package/dist/Measure.d.ts +715 -0
  100. package/dist/MeasureReport.d.ts +531 -0
  101. package/dist/Media.d.ts +243 -0
  102. package/dist/Medication.d.ts +267 -0
  103. package/dist/MedicationAdministration.d.ts +403 -0
  104. package/dist/MedicationDispense.d.ts +398 -0
  105. package/dist/MedicationKnowledge.d.ts +1136 -0
  106. package/dist/MedicationRequest.d.ts +554 -0
  107. package/dist/MedicationStatement.d.ts +262 -0
  108. package/dist/MedicinalProduct.d.ts +530 -0
  109. package/dist/MedicinalProductAuthorization.d.ts +320 -0
  110. package/dist/MedicinalProductContraindication.d.ts +199 -0
  111. package/dist/MedicinalProductIndication.d.ts +210 -0
  112. package/dist/MedicinalProductIngredient.d.ts +391 -0
  113. package/dist/MedicinalProductInteraction.d.ts +186 -0
  114. package/dist/MedicinalProductManufactured.d.ts +135 -0
  115. package/dist/MedicinalProductPackaged.d.ts +305 -0
  116. package/dist/MedicinalProductPharmaceutical.d.ts +383 -0
  117. package/dist/MedicinalProductUndesirableEffect.d.ts +121 -0
  118. package/dist/MessageDefinition.d.ts +384 -0
  119. package/dist/MessageHeader.d.ts +374 -0
  120. package/dist/Meta.d.ts +92 -0
  121. package/dist/MolecularSequence.d.ts +875 -0
  122. package/dist/Money.d.ts +39 -0
  123. package/dist/NamingSystem.d.ts +255 -0
  124. package/dist/Narrative.d.ts +42 -0
  125. package/dist/NutritionOrder.d.ts +650 -0
  126. package/dist/Observation.d.ts +601 -0
  127. package/dist/ObservationDefinition.d.ts +326 -0
  128. package/dist/OperationDefinition.d.ts +542 -0
  129. package/dist/OperationOutcome.d.ts +186 -0
  130. package/dist/Organization.d.ts +217 -0
  131. package/dist/OrganizationAffiliation.d.ts +172 -0
  132. package/dist/ParameterDefinition.d.ts +72 -0
  133. package/dist/Parameters.d.ts +388 -0
  134. package/dist/PasswordChangeRequest.d.ts +66 -0
  135. package/dist/Patient.d.ts +398 -0
  136. package/dist/PaymentNotice.d.ts +162 -0
  137. package/dist/PaymentReconciliation.d.ts +330 -0
  138. package/dist/Period.d.ts +42 -0
  139. package/dist/Person.d.ts +206 -0
  140. package/dist/PlanDefinition.d.ts +968 -0
  141. package/dist/Population.d.ts +76 -0
  142. package/dist/Practitioner.d.ts +223 -0
  143. package/dist/PractitionerRole.d.ts +302 -0
  144. package/dist/Procedure.d.ts +432 -0
  145. package/dist/ProdCharacteristic.d.ts +132 -0
  146. package/dist/ProductShelfLife.d.ts +83 -0
  147. package/dist/Project.d.ts +57 -0
  148. package/dist/ProjectMembership.d.ts +83 -0
  149. package/dist/Provenance.d.ts +299 -0
  150. package/dist/Quantity.d.ts +59 -0
  151. package/dist/Questionnaire.d.ts +703 -0
  152. package/dist/QuestionnaireResponse.d.ts +365 -0
  153. package/dist/Range.d.ts +40 -0
  154. package/dist/Ratio.d.ts +40 -0
  155. package/dist/Reference.d.ts +80 -0
  156. package/dist/RelatedArtifact.d.ts +72 -0
  157. package/dist/RelatedPerson.d.ts +223 -0
  158. package/dist/RequestGroup.d.ts +509 -0
  159. package/dist/ResearchDefinition.d.ts +341 -0
  160. package/dist/ResearchElementDefinition.d.ts +505 -0
  161. package/dist/ResearchStudy.d.ts +370 -0
  162. package/dist/ResearchSubject.d.ts +142 -0
  163. package/dist/Resource.d.ts +316 -0
  164. package/dist/RiskAssessment.d.ts +291 -0
  165. package/dist/RiskEvidenceSynthesis.d.ts +616 -0
  166. package/dist/SampledData.d.ts +77 -0
  167. package/dist/Schedule.d.ts +152 -0
  168. package/dist/SearchParameter.d.ts +324 -0
  169. package/dist/ServiceRequest.d.ts +362 -0
  170. package/dist/Signature.d.ts +86 -0
  171. package/dist/Slot.d.ts +160 -0
  172. package/dist/Specimen.d.ts +427 -0
  173. package/dist/SpecimenDefinition.d.ts +423 -0
  174. package/dist/StructureDefinition.d.ts +504 -0
  175. package/dist/StructureMap.d.ts +1064 -0
  176. package/dist/Subscription.d.ts +202 -0
  177. package/dist/Substance.d.ts +249 -0
  178. package/dist/SubstanceAmount.d.ts +135 -0
  179. package/dist/SubstanceNucleicAcid.d.ts +356 -0
  180. package/dist/SubstancePolymer.d.ts +470 -0
  181. package/dist/SubstanceProtein.d.ts +249 -0
  182. package/dist/SubstanceReferenceInformation.d.ts +386 -0
  183. package/dist/SubstanceSourceMaterial.d.ts +596 -0
  184. package/dist/SubstanceSpecification.d.ts +965 -0
  185. package/dist/SupplyDelivery.d.ts +240 -0
  186. package/dist/SupplyRequest.d.ts +279 -0
  187. package/dist/Task.d.ts +970 -0
  188. package/dist/TerminologyCapabilities.d.ts +820 -0
  189. package/dist/TestReport.d.ts +631 -0
  190. package/dist/TestScript.d.ts +1364 -0
  191. package/dist/Timing.d.ts +210 -0
  192. package/dist/TriggerDefinition.d.ts +81 -0
  193. package/dist/UsageContext.d.ts +74 -0
  194. package/dist/User.d.ts +59 -0
  195. package/dist/ValueSet.d.ts +830 -0
  196. package/dist/VerificationResult.d.ts +399 -0
  197. package/dist/VisionPrescription.d.ts +311 -0
  198. package/dist/index.d.ts +201 -0
  199. package/package.json +36 -0
@@ -0,0 +1,875 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { CodeableConcept } from './CodeableConcept';
7
+ import { Device } from './Device';
8
+ import { Extension } from './Extension';
9
+ import { Identifier } from './Identifier';
10
+ import { Meta } from './Meta';
11
+ import { Narrative } from './Narrative';
12
+ import { Observation } from './Observation';
13
+ import { Organization } from './Organization';
14
+ import { Patient } from './Patient';
15
+ import { Quantity } from './Quantity';
16
+ import { Reference } from './Reference';
17
+ import { Resource } from './Resource';
18
+ import { Specimen } from './Specimen';
19
+
20
+ /**
21
+ * Raw data describing a biological sequence.
22
+ */
23
+ export interface MolecularSequence {
24
+
25
+ /**
26
+ * This is a MolecularSequence resource
27
+ */
28
+ readonly resourceType: 'MolecularSequence';
29
+
30
+ /**
31
+ * The logical id of the resource, as used in the URL for the resource.
32
+ * Once assigned, this value never changes.
33
+ */
34
+ readonly id?: string;
35
+
36
+ /**
37
+ * The metadata about the resource. This is content that is maintained by
38
+ * the infrastructure. Changes to the content might not always be
39
+ * associated with version changes to the resource.
40
+ */
41
+ readonly meta?: Meta;
42
+
43
+ /**
44
+ * A reference to a set of rules that were followed when the resource was
45
+ * constructed, and which must be understood when processing the content.
46
+ * Often, this is a reference to an implementation guide that defines the
47
+ * special rules along with other profiles etc.
48
+ */
49
+ readonly implicitRules?: string;
50
+
51
+ /**
52
+ * The base language in which the resource is written.
53
+ */
54
+ readonly language?: string;
55
+
56
+ /**
57
+ * A human-readable narrative that contains a summary of the resource and
58
+ * can be used to represent the content of the resource to a human. The
59
+ * narrative need not encode all the structured data, but is required to
60
+ * contain sufficient detail to make it "clinically safe" for a human to
61
+ * just read the narrative. Resource definitions may define what content
62
+ * should be represented in the narrative to ensure clinical safety.
63
+ */
64
+ readonly text?: Narrative;
65
+
66
+ /**
67
+ * These resources do not have an independent existence apart from the
68
+ * resource that contains them - they cannot be identified independently,
69
+ * and nor can they have their own independent transaction scope.
70
+ */
71
+ readonly contained?: Resource[];
72
+
73
+ /**
74
+ * May be used to represent additional information that is not part of
75
+ * the basic definition of the resource. To make the use of extensions
76
+ * safe and manageable, there is a strict set of governance applied to
77
+ * the definition and use of extensions. Though any implementer can
78
+ * define an extension, there is a set of requirements that SHALL be met
79
+ * as part of the definition of the extension.
80
+ */
81
+ readonly extension?: Extension[];
82
+
83
+ /**
84
+ * May be used to represent additional information that is not part of
85
+ * the basic definition of the resource and that modifies the
86
+ * understanding of the element that contains it and/or the understanding
87
+ * of the containing element's descendants. Usually modifier elements
88
+ * provide negation or qualification. To make the use of extensions safe
89
+ * and manageable, there is a strict set of governance applied to the
90
+ * definition and use of extensions. Though any implementer is allowed to
91
+ * define an extension, there is a set of requirements that SHALL be met
92
+ * as part of the definition of the extension. Applications processing a
93
+ * resource are required to check for modifier extensions.
94
+ *
95
+ * Modifier extensions SHALL NOT change the meaning of any elements on
96
+ * Resource or DomainResource (including cannot change the meaning of
97
+ * modifierExtension itself).
98
+ */
99
+ readonly modifierExtension?: Extension[];
100
+
101
+ /**
102
+ * A unique identifier for this particular sequence instance. This is a
103
+ * FHIR-defined id.
104
+ */
105
+ readonly identifier?: Identifier[];
106
+
107
+ /**
108
+ * Amino Acid Sequence/ DNA Sequence / RNA Sequence.
109
+ */
110
+ readonly type?: string;
111
+
112
+ /**
113
+ * Whether the sequence is numbered starting at 0 (0-based numbering or
114
+ * coordinates, inclusive start, exclusive end) or starting at 1 (1-based
115
+ * numbering, inclusive start and inclusive end).
116
+ */
117
+ readonly coordinateSystem?: number;
118
+
119
+ /**
120
+ * The patient whose sequencing results are described by this resource.
121
+ */
122
+ readonly patient?: Reference<Patient>;
123
+
124
+ /**
125
+ * Specimen used for sequencing.
126
+ */
127
+ readonly specimen?: Reference<Specimen>;
128
+
129
+ /**
130
+ * The method for sequencing, for example, chip information.
131
+ */
132
+ readonly device?: Reference<Device>;
133
+
134
+ /**
135
+ * The organization or lab that should be responsible for this result.
136
+ */
137
+ readonly performer?: Reference<Organization>;
138
+
139
+ /**
140
+ * The number of copies of the sequence of interest. (RNASeq).
141
+ */
142
+ readonly quantity?: Quantity;
143
+
144
+ /**
145
+ * A sequence that is used as a reference to describe variants that are
146
+ * present in a sequence analyzed.
147
+ */
148
+ readonly referenceSeq?: MolecularSequenceReferenceSeq;
149
+
150
+ /**
151
+ * The definition of variant here originates from Sequence ontology
152
+ * ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)).
153
+ * This element can represent amino acid or nucleic sequence
154
+ * change(including insertion,deletion,SNP,etc.) It can represent some
155
+ * complex mutation or segment variation with the assist of CIGAR string.
156
+ */
157
+ readonly variant?: MolecularSequenceVariant[];
158
+
159
+ /**
160
+ * Sequence that was observed. It is the result marked by referenceSeq
161
+ * along with variant records on referenceSeq. This shall start from
162
+ * referenceSeq.windowStart and end by referenceSeq.windowEnd.
163
+ */
164
+ readonly observedSeq?: string;
165
+
166
+ /**
167
+ * An experimental feature attribute that defines the quality of the
168
+ * feature in a quantitative way, such as a phred quality score
169
+ * ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).
170
+ */
171
+ readonly quality?: MolecularSequenceQuality[];
172
+
173
+ /**
174
+ * Coverage (read depth or depth) is the average number of reads
175
+ * representing a given nucleotide in the reconstructed sequence.
176
+ */
177
+ readonly readCoverage?: number;
178
+
179
+ /**
180
+ * Configurations of the external repository. The repository shall store
181
+ * target's observedSeq or records related with target's observedSeq.
182
+ */
183
+ readonly repository?: MolecularSequenceRepository[];
184
+
185
+ /**
186
+ * Pointer to next atomic sequence which at most contains one variant.
187
+ */
188
+ readonly pointer?: Reference<MolecularSequence>[];
189
+
190
+ /**
191
+ * Information about chromosome structure variation.
192
+ */
193
+ readonly structureVariant?: MolecularSequenceStructureVariant[];
194
+ }
195
+
196
+ /**
197
+ * An experimental feature attribute that defines the quality of the
198
+ * feature in a quantitative way, such as a phred quality score
199
+ * ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).
200
+ */
201
+ export interface MolecularSequenceQuality {
202
+
203
+ /**
204
+ * Unique id for the element within a resource (for internal references).
205
+ * This may be any string value that does not contain spaces.
206
+ */
207
+ readonly id?: string;
208
+
209
+ /**
210
+ * May be used to represent additional information that is not part of
211
+ * the basic definition of the element. To make the use of extensions
212
+ * safe and manageable, there is a strict set of governance applied to
213
+ * the definition and use of extensions. Though any implementer can
214
+ * define an extension, there is a set of requirements that SHALL be met
215
+ * as part of the definition of the extension.
216
+ */
217
+ readonly extension?: Extension[];
218
+
219
+ /**
220
+ * May be used to represent additional information that is not part of
221
+ * the basic definition of the element and that modifies the
222
+ * understanding of the element in which it is contained and/or the
223
+ * understanding of the containing element's descendants. Usually
224
+ * modifier elements provide negation or qualification. To make the use
225
+ * of extensions safe and manageable, there is a strict set of governance
226
+ * applied to the definition and use of extensions. Though any
227
+ * implementer can define an extension, there is a set of requirements
228
+ * that SHALL be met as part of the definition of the extension.
229
+ * Applications processing a resource are required to check for modifier
230
+ * extensions.
231
+ *
232
+ * Modifier extensions SHALL NOT change the meaning of any elements on
233
+ * Resource or DomainResource (including cannot change the meaning of
234
+ * modifierExtension itself).
235
+ */
236
+ readonly modifierExtension?: Extension[];
237
+
238
+ /**
239
+ * INDEL / SNP / Undefined variant.
240
+ */
241
+ readonly type?: string;
242
+
243
+ /**
244
+ * Gold standard sequence used for comparing against.
245
+ */
246
+ readonly standardSequence?: CodeableConcept;
247
+
248
+ /**
249
+ * Start position of the sequence. If the coordinate system is either
250
+ * 0-based or 1-based, then start position is inclusive.
251
+ */
252
+ readonly start?: number;
253
+
254
+ /**
255
+ * End position of the sequence. If the coordinate system is 0-based then
256
+ * end is exclusive and does not include the last position. If the
257
+ * coordinate system is 1-base, then end is inclusive and includes the
258
+ * last position.
259
+ */
260
+ readonly end?: number;
261
+
262
+ /**
263
+ * The score of an experimentally derived feature such as a p-value
264
+ * ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).
265
+ */
266
+ readonly score?: Quantity;
267
+
268
+ /**
269
+ * Which method is used to get sequence quality.
270
+ */
271
+ readonly method?: CodeableConcept;
272
+
273
+ /**
274
+ * True positives, from the perspective of the truth data, i.e. the
275
+ * number of sites in the Truth Call Set for which there are paths
276
+ * through the Query Call Set that are consistent with all of the alleles
277
+ * at this site, and for which there is an accurate genotype call for the
278
+ * event.
279
+ */
280
+ readonly truthTP?: number;
281
+
282
+ /**
283
+ * True positives, from the perspective of the query data, i.e. the
284
+ * number of sites in the Query Call Set for which there are paths
285
+ * through the Truth Call Set that are consistent with all of the alleles
286
+ * at this site, and for which there is an accurate genotype call for the
287
+ * event.
288
+ */
289
+ readonly queryTP?: number;
290
+
291
+ /**
292
+ * False negatives, i.e. the number of sites in the Truth Call Set for
293
+ * which there is no path through the Query Call Set that is consistent
294
+ * with all of the alleles at this site, or sites for which there is an
295
+ * inaccurate genotype call for the event. Sites with correct variant but
296
+ * incorrect genotype are counted here.
297
+ */
298
+ readonly truthFN?: number;
299
+
300
+ /**
301
+ * False positives, i.e. the number of sites in the Query Call Set for
302
+ * which there is no path through the Truth Call Set that is consistent
303
+ * with this site. Sites with correct variant but incorrect genotype are
304
+ * counted here.
305
+ */
306
+ readonly queryFP?: number;
307
+
308
+ /**
309
+ * The number of false positives where the non-REF alleles in the Truth
310
+ * and Query Call Sets match (i.e. cases where the truth is 1/1 and the
311
+ * query is 0/1 or similar).
312
+ */
313
+ readonly gtFP?: number;
314
+
315
+ /**
316
+ * QUERY.TP / (QUERY.TP + QUERY.FP).
317
+ */
318
+ readonly precision?: number;
319
+
320
+ /**
321
+ * TRUTH.TP / (TRUTH.TP + TRUTH.FN).
322
+ */
323
+ readonly recall?: number;
324
+
325
+ /**
326
+ * Harmonic mean of Recall and Precision, computed as: 2 * precision *
327
+ * recall / (precision + recall).
328
+ */
329
+ readonly fScore?: number;
330
+
331
+ /**
332
+ * Receiver Operator Characteristic (ROC) Curve to give
333
+ * sensitivity/specificity tradeoff.
334
+ */
335
+ readonly roc?: MolecularSequenceQualityRoc;
336
+ }
337
+
338
+ /**
339
+ * Receiver Operator Characteristic (ROC) Curve to give
340
+ * sensitivity/specificity tradeoff.
341
+ */
342
+ export interface MolecularSequenceQualityRoc {
343
+
344
+ /**
345
+ * Unique id for the element within a resource (for internal references).
346
+ * This may be any string value that does not contain spaces.
347
+ */
348
+ readonly id?: string;
349
+
350
+ /**
351
+ * May be used to represent additional information that is not part of
352
+ * the basic definition of the element. To make the use of extensions
353
+ * safe and manageable, there is a strict set of governance applied to
354
+ * the definition and use of extensions. Though any implementer can
355
+ * define an extension, there is a set of requirements that SHALL be met
356
+ * as part of the definition of the extension.
357
+ */
358
+ readonly extension?: Extension[];
359
+
360
+ /**
361
+ * May be used to represent additional information that is not part of
362
+ * the basic definition of the element and that modifies the
363
+ * understanding of the element in which it is contained and/or the
364
+ * understanding of the containing element's descendants. Usually
365
+ * modifier elements provide negation or qualification. To make the use
366
+ * of extensions safe and manageable, there is a strict set of governance
367
+ * applied to the definition and use of extensions. Though any
368
+ * implementer can define an extension, there is a set of requirements
369
+ * that SHALL be met as part of the definition of the extension.
370
+ * Applications processing a resource are required to check for modifier
371
+ * extensions.
372
+ *
373
+ * Modifier extensions SHALL NOT change the meaning of any elements on
374
+ * Resource or DomainResource (including cannot change the meaning of
375
+ * modifierExtension itself).
376
+ */
377
+ readonly modifierExtension?: Extension[];
378
+
379
+ /**
380
+ * Invidual data point representing the GQ (genotype quality) score
381
+ * threshold.
382
+ */
383
+ readonly score?: number[];
384
+
385
+ /**
386
+ * The number of true positives if the GQ score threshold was set to
387
+ * &quot;score&quot; field value.
388
+ */
389
+ readonly numTP?: number[];
390
+
391
+ /**
392
+ * The number of false positives if the GQ score threshold was set to
393
+ * &quot;score&quot; field value.
394
+ */
395
+ readonly numFP?: number[];
396
+
397
+ /**
398
+ * The number of false negatives if the GQ score threshold was set to
399
+ * &quot;score&quot; field value.
400
+ */
401
+ readonly numFN?: number[];
402
+
403
+ /**
404
+ * Calculated precision if the GQ score threshold was set to &quot;score&quot;
405
+ * field value.
406
+ */
407
+ readonly precision?: number[];
408
+
409
+ /**
410
+ * Calculated sensitivity if the GQ score threshold was set to &quot;score&quot;
411
+ * field value.
412
+ */
413
+ readonly sensitivity?: number[];
414
+
415
+ /**
416
+ * Calculated fScore if the GQ score threshold was set to &quot;score&quot; field
417
+ * value.
418
+ */
419
+ readonly fMeasure?: number[];
420
+ }
421
+
422
+ /**
423
+ * A sequence that is used as a reference to describe variants that are
424
+ * present in a sequence analyzed.
425
+ */
426
+ export interface MolecularSequenceReferenceSeq {
427
+
428
+ /**
429
+ * Unique id for the element within a resource (for internal references).
430
+ * This may be any string value that does not contain spaces.
431
+ */
432
+ readonly id?: string;
433
+
434
+ /**
435
+ * May be used to represent additional information that is not part of
436
+ * the basic definition of the element. To make the use of extensions
437
+ * safe and manageable, there is a strict set of governance applied to
438
+ * the definition and use of extensions. Though any implementer can
439
+ * define an extension, there is a set of requirements that SHALL be met
440
+ * as part of the definition of the extension.
441
+ */
442
+ readonly extension?: Extension[];
443
+
444
+ /**
445
+ * May be used to represent additional information that is not part of
446
+ * the basic definition of the element and that modifies the
447
+ * understanding of the element in which it is contained and/or the
448
+ * understanding of the containing element's descendants. Usually
449
+ * modifier elements provide negation or qualification. To make the use
450
+ * of extensions safe and manageable, there is a strict set of governance
451
+ * applied to the definition and use of extensions. Though any
452
+ * implementer can define an extension, there is a set of requirements
453
+ * that SHALL be met as part of the definition of the extension.
454
+ * Applications processing a resource are required to check for modifier
455
+ * extensions.
456
+ *
457
+ * Modifier extensions SHALL NOT change the meaning of any elements on
458
+ * Resource or DomainResource (including cannot change the meaning of
459
+ * modifierExtension itself).
460
+ */
461
+ readonly modifierExtension?: Extension[];
462
+
463
+ /**
464
+ * Structural unit composed of a nucleic acid molecule which controls its
465
+ * own replication through the interaction of specific proteins at one or
466
+ * more origins of replication
467
+ * ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).
468
+ */
469
+ readonly chromosome?: CodeableConcept;
470
+
471
+ /**
472
+ * The Genome Build used for reference, following GRCh build versions
473
+ * e.g. 'GRCh 37'. Version number must be included if a versioned
474
+ * release of a primary build was used.
475
+ */
476
+ readonly genomeBuild?: string;
477
+
478
+ /**
479
+ * A relative reference to a DNA strand based on gene orientation. The
480
+ * strand that contains the open reading frame of the gene is the &quot;sense&quot;
481
+ * strand, and the opposite complementary strand is the &quot;antisense&quot;
482
+ * strand.
483
+ */
484
+ readonly orientation?: string;
485
+
486
+ /**
487
+ * Reference identifier of reference sequence submitted to NCBI. It must
488
+ * match the type in the MolecularSequence.type field. For example, the
489
+ * prefix, &ldquo;NG_&rdquo; identifies reference sequence for genes, &ldquo;NM_&rdquo; for
490
+ * messenger RNA transcripts, and &ldquo;NP_&rdquo; for amino acid sequences.
491
+ */
492
+ readonly referenceSeqId?: CodeableConcept;
493
+
494
+ /**
495
+ * A pointer to another MolecularSequence entity as reference sequence.
496
+ */
497
+ readonly referenceSeqPointer?: Reference<MolecularSequence>;
498
+
499
+ /**
500
+ * A string like &quot;ACGT&quot;.
501
+ */
502
+ readonly referenceSeqString?: string;
503
+
504
+ /**
505
+ * An absolute reference to a strand. The Watson strand is the strand
506
+ * whose 5'-end is on the short arm of the chromosome, and the Crick
507
+ * strand as the one whose 5'-end is on the long arm.
508
+ */
509
+ readonly strand?: string;
510
+
511
+ /**
512
+ * Start position of the window on the reference sequence. If the
513
+ * coordinate system is either 0-based or 1-based, then start position is
514
+ * inclusive.
515
+ */
516
+ readonly windowStart?: number;
517
+
518
+ /**
519
+ * End position of the window on the reference sequence. If the
520
+ * coordinate system is 0-based then end is exclusive and does not
521
+ * include the last position. If the coordinate system is 1-base, then
522
+ * end is inclusive and includes the last position.
523
+ */
524
+ readonly windowEnd?: number;
525
+ }
526
+
527
+ /**
528
+ * Configurations of the external repository. The repository shall store
529
+ * target's observedSeq or records related with target's observedSeq.
530
+ */
531
+ export interface MolecularSequenceRepository {
532
+
533
+ /**
534
+ * Unique id for the element within a resource (for internal references).
535
+ * This may be any string value that does not contain spaces.
536
+ */
537
+ readonly id?: string;
538
+
539
+ /**
540
+ * May be used to represent additional information that is not part of
541
+ * the basic definition of the element. To make the use of extensions
542
+ * safe and manageable, there is a strict set of governance applied to
543
+ * the definition and use of extensions. Though any implementer can
544
+ * define an extension, there is a set of requirements that SHALL be met
545
+ * as part of the definition of the extension.
546
+ */
547
+ readonly extension?: Extension[];
548
+
549
+ /**
550
+ * May be used to represent additional information that is not part of
551
+ * the basic definition of the element and that modifies the
552
+ * understanding of the element in which it is contained and/or the
553
+ * understanding of the containing element's descendants. Usually
554
+ * modifier elements provide negation or qualification. To make the use
555
+ * of extensions safe and manageable, there is a strict set of governance
556
+ * applied to the definition and use of extensions. Though any
557
+ * implementer can define an extension, there is a set of requirements
558
+ * that SHALL be met as part of the definition of the extension.
559
+ * Applications processing a resource are required to check for modifier
560
+ * extensions.
561
+ *
562
+ * Modifier extensions SHALL NOT change the meaning of any elements on
563
+ * Resource or DomainResource (including cannot change the meaning of
564
+ * modifierExtension itself).
565
+ */
566
+ readonly modifierExtension?: Extension[];
567
+
568
+ /**
569
+ * Click and see / RESTful API / Need login to see / RESTful API with
570
+ * authentication / Other ways to see resource.
571
+ */
572
+ readonly type?: string;
573
+
574
+ /**
575
+ * URI of an external repository which contains further details about the
576
+ * genetics data.
577
+ */
578
+ readonly url?: string;
579
+
580
+ /**
581
+ * URI of an external repository which contains further details about the
582
+ * genetics data.
583
+ */
584
+ readonly name?: string;
585
+
586
+ /**
587
+ * Id of the variant in this external repository. The server will
588
+ * understand how to use this id to call for more info about datasets in
589
+ * external repository.
590
+ */
591
+ readonly datasetId?: string;
592
+
593
+ /**
594
+ * Id of the variantset in this external repository. The server will
595
+ * understand how to use this id to call for more info about variantsets
596
+ * in external repository.
597
+ */
598
+ readonly variantsetId?: string;
599
+
600
+ /**
601
+ * Id of the read in this external repository.
602
+ */
603
+ readonly readsetId?: string;
604
+ }
605
+
606
+ /**
607
+ * Information about chromosome structure variation.
608
+ */
609
+ export interface MolecularSequenceStructureVariant {
610
+
611
+ /**
612
+ * Unique id for the element within a resource (for internal references).
613
+ * This may be any string value that does not contain spaces.
614
+ */
615
+ readonly id?: string;
616
+
617
+ /**
618
+ * May be used to represent additional information that is not part of
619
+ * the basic definition of the element. To make the use of extensions
620
+ * safe and manageable, there is a strict set of governance applied to
621
+ * the definition and use of extensions. Though any implementer can
622
+ * define an extension, there is a set of requirements that SHALL be met
623
+ * as part of the definition of the extension.
624
+ */
625
+ readonly extension?: Extension[];
626
+
627
+ /**
628
+ * May be used to represent additional information that is not part of
629
+ * the basic definition of the element and that modifies the
630
+ * understanding of the element in which it is contained and/or the
631
+ * understanding of the containing element's descendants. Usually
632
+ * modifier elements provide negation or qualification. To make the use
633
+ * of extensions safe and manageable, there is a strict set of governance
634
+ * applied to the definition and use of extensions. Though any
635
+ * implementer can define an extension, there is a set of requirements
636
+ * that SHALL be met as part of the definition of the extension.
637
+ * Applications processing a resource are required to check for modifier
638
+ * extensions.
639
+ *
640
+ * Modifier extensions SHALL NOT change the meaning of any elements on
641
+ * Resource or DomainResource (including cannot change the meaning of
642
+ * modifierExtension itself).
643
+ */
644
+ readonly modifierExtension?: Extension[];
645
+
646
+ /**
647
+ * Information about chromosome structure variation DNA change type.
648
+ */
649
+ readonly variantType?: CodeableConcept;
650
+
651
+ /**
652
+ * Used to indicate if the outer and inner start-end values have the same
653
+ * meaning.
654
+ */
655
+ readonly exact?: boolean;
656
+
657
+ /**
658
+ * Length of the variant chromosome.
659
+ */
660
+ readonly length?: number;
661
+
662
+ /**
663
+ * Structural variant outer.
664
+ */
665
+ readonly outer?: MolecularSequenceStructureVariantOuter;
666
+
667
+ /**
668
+ * Structural variant inner.
669
+ */
670
+ readonly inner?: MolecularSequenceStructureVariantInner;
671
+ }
672
+
673
+ /**
674
+ * Structural variant inner.
675
+ */
676
+ export interface MolecularSequenceStructureVariantInner {
677
+
678
+ /**
679
+ * Unique id for the element within a resource (for internal references).
680
+ * This may be any string value that does not contain spaces.
681
+ */
682
+ readonly id?: string;
683
+
684
+ /**
685
+ * May be used to represent additional information that is not part of
686
+ * the basic definition of the element. To make the use of extensions
687
+ * safe and manageable, there is a strict set of governance applied to
688
+ * the definition and use of extensions. Though any implementer can
689
+ * define an extension, there is a set of requirements that SHALL be met
690
+ * as part of the definition of the extension.
691
+ */
692
+ readonly extension?: Extension[];
693
+
694
+ /**
695
+ * May be used to represent additional information that is not part of
696
+ * the basic definition of the element and that modifies the
697
+ * understanding of the element in which it is contained and/or the
698
+ * understanding of the containing element's descendants. Usually
699
+ * modifier elements provide negation or qualification. To make the use
700
+ * of extensions safe and manageable, there is a strict set of governance
701
+ * applied to the definition and use of extensions. Though any
702
+ * implementer can define an extension, there is a set of requirements
703
+ * that SHALL be met as part of the definition of the extension.
704
+ * Applications processing a resource are required to check for modifier
705
+ * extensions.
706
+ *
707
+ * Modifier extensions SHALL NOT change the meaning of any elements on
708
+ * Resource or DomainResource (including cannot change the meaning of
709
+ * modifierExtension itself).
710
+ */
711
+ readonly modifierExtension?: Extension[];
712
+
713
+ /**
714
+ * Structural variant inner start. If the coordinate system is either
715
+ * 0-based or 1-based, then start position is inclusive.
716
+ */
717
+ readonly start?: number;
718
+
719
+ /**
720
+ * Structural variant inner end. If the coordinate system is 0-based then
721
+ * end is exclusive and does not include the last position. If the
722
+ * coordinate system is 1-base, then end is inclusive and includes the
723
+ * last position.
724
+ */
725
+ readonly end?: number;
726
+ }
727
+
728
+ /**
729
+ * Structural variant outer.
730
+ */
731
+ export interface MolecularSequenceStructureVariantOuter {
732
+
733
+ /**
734
+ * Unique id for the element within a resource (for internal references).
735
+ * This may be any string value that does not contain spaces.
736
+ */
737
+ readonly id?: string;
738
+
739
+ /**
740
+ * May be used to represent additional information that is not part of
741
+ * the basic definition of the element. To make the use of extensions
742
+ * safe and manageable, there is a strict set of governance applied to
743
+ * the definition and use of extensions. Though any implementer can
744
+ * define an extension, there is a set of requirements that SHALL be met
745
+ * as part of the definition of the extension.
746
+ */
747
+ readonly extension?: Extension[];
748
+
749
+ /**
750
+ * May be used to represent additional information that is not part of
751
+ * the basic definition of the element and that modifies the
752
+ * understanding of the element in which it is contained and/or the
753
+ * understanding of the containing element's descendants. Usually
754
+ * modifier elements provide negation or qualification. To make the use
755
+ * of extensions safe and manageable, there is a strict set of governance
756
+ * applied to the definition and use of extensions. Though any
757
+ * implementer can define an extension, there is a set of requirements
758
+ * that SHALL be met as part of the definition of the extension.
759
+ * Applications processing a resource are required to check for modifier
760
+ * extensions.
761
+ *
762
+ * Modifier extensions SHALL NOT change the meaning of any elements on
763
+ * Resource or DomainResource (including cannot change the meaning of
764
+ * modifierExtension itself).
765
+ */
766
+ readonly modifierExtension?: Extension[];
767
+
768
+ /**
769
+ * Structural variant outer start. If the coordinate system is either
770
+ * 0-based or 1-based, then start position is inclusive.
771
+ */
772
+ readonly start?: number;
773
+
774
+ /**
775
+ * Structural variant outer end. If the coordinate system is 0-based then
776
+ * end is exclusive and does not include the last position. If the
777
+ * coordinate system is 1-base, then end is inclusive and includes the
778
+ * last position.
779
+ */
780
+ readonly end?: number;
781
+ }
782
+
783
+ /**
784
+ * The definition of variant here originates from Sequence ontology
785
+ * ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)).
786
+ * This element can represent amino acid or nucleic sequence
787
+ * change(including insertion,deletion,SNP,etc.) It can represent some
788
+ * complex mutation or segment variation with the assist of CIGAR string.
789
+ */
790
+ export interface MolecularSequenceVariant {
791
+
792
+ /**
793
+ * Unique id for the element within a resource (for internal references).
794
+ * This may be any string value that does not contain spaces.
795
+ */
796
+ readonly id?: string;
797
+
798
+ /**
799
+ * May be used to represent additional information that is not part of
800
+ * the basic definition of the element. To make the use of extensions
801
+ * safe and manageable, there is a strict set of governance applied to
802
+ * the definition and use of extensions. Though any implementer can
803
+ * define an extension, there is a set of requirements that SHALL be met
804
+ * as part of the definition of the extension.
805
+ */
806
+ readonly extension?: Extension[];
807
+
808
+ /**
809
+ * May be used to represent additional information that is not part of
810
+ * the basic definition of the element and that modifies the
811
+ * understanding of the element in which it is contained and/or the
812
+ * understanding of the containing element's descendants. Usually
813
+ * modifier elements provide negation or qualification. To make the use
814
+ * of extensions safe and manageable, there is a strict set of governance
815
+ * applied to the definition and use of extensions. Though any
816
+ * implementer can define an extension, there is a set of requirements
817
+ * that SHALL be met as part of the definition of the extension.
818
+ * Applications processing a resource are required to check for modifier
819
+ * extensions.
820
+ *
821
+ * Modifier extensions SHALL NOT change the meaning of any elements on
822
+ * Resource or DomainResource (including cannot change the meaning of
823
+ * modifierExtension itself).
824
+ */
825
+ readonly modifierExtension?: Extension[];
826
+
827
+ /**
828
+ * Start position of the variant on the reference sequence. If the
829
+ * coordinate system is either 0-based or 1-based, then start position is
830
+ * inclusive.
831
+ */
832
+ readonly start?: number;
833
+
834
+ /**
835
+ * End position of the variant on the reference sequence. If the
836
+ * coordinate system is 0-based then end is exclusive and does not
837
+ * include the last position. If the coordinate system is 1-base, then
838
+ * end is inclusive and includes the last position.
839
+ */
840
+ readonly end?: number;
841
+
842
+ /**
843
+ * An allele is one of a set of coexisting sequence variants of a gene
844
+ * ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)).
845
+ * Nucleotide(s)/amino acids from start position of sequence to stop
846
+ * position of sequence on the positive (+) strand of the observed
847
+ * sequence. When the sequence type is DNA, it should be the sequence on
848
+ * the positive (+) strand. This will lay in the range between
849
+ * variant.start and variant.end.
850
+ */
851
+ readonly observedAllele?: string;
852
+
853
+ /**
854
+ * An allele is one of a set of coexisting sequence variants of a gene
855
+ * ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)).
856
+ * Nucleotide(s)/amino acids from start position of sequence to stop
857
+ * position of sequence on the positive (+) strand of the reference
858
+ * sequence. When the sequence type is DNA, it should be the sequence on
859
+ * the positive (+) strand. This will lay in the range between
860
+ * variant.start and variant.end.
861
+ */
862
+ readonly referenceAllele?: string;
863
+
864
+ /**
865
+ * Extended CIGAR string for aligning the sequence with reference bases.
866
+ * See detailed documentation
867
+ * [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm).
868
+ */
869
+ readonly cigar?: string;
870
+
871
+ /**
872
+ * A pointer to an Observation containing variant information.
873
+ */
874
+ readonly variantPointer?: Reference<Observation>;
875
+ }