@medplum/fhirtypes 0.9.2 → 0.9.3

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.
@@ -5,6 +5,7 @@
5
5
 
6
6
  import { Annotation } from './Annotation';
7
7
  import { CodeableConcept } from './CodeableConcept';
8
+ import { CodeableReference } from './CodeableReference';
8
9
  import { ContactPoint } from './ContactPoint';
9
10
  import { Extension } from './Extension';
10
11
  import { Identifier } from './Identifier';
@@ -15,6 +16,7 @@ import { ProdCharacteristic } from './ProdCharacteristic';
15
16
  import { ProductShelfLife } from './ProductShelfLife';
16
17
  import { Quantity } from './Quantity';
17
18
  import { Reference } from './Reference';
19
+ import { RelatedArtifact } from './RelatedArtifact';
18
20
  import { Resource } from './Resource';
19
21
 
20
22
  /**
@@ -227,6 +229,17 @@ export interface DeviceDefinition {
227
229
  * made.
228
230
  */
229
231
  material?: DeviceDefinitionMaterial[];
232
+
233
+ /**
234
+ * What kind of device or device system this is.
235
+ */
236
+ classification?: DeviceDefinitionClassification[];
237
+
238
+ /**
239
+ * Indicates the anotomic location on the subject's body where the device
240
+ * was used ( i.e. the target).
241
+ */
242
+ bodySite?: CodeableReference;
230
243
  }
231
244
 
232
245
  /**
@@ -280,6 +293,58 @@ export interface DeviceDefinitionCapability {
280
293
  description?: CodeableConcept[];
281
294
  }
282
295
 
296
+ /**
297
+ * What kind of device or device system this is.
298
+ */
299
+ export interface DeviceDefinitionClassification {
300
+
301
+ /**
302
+ * Unique id for the element within a resource (for internal references).
303
+ * This may be any string value that does not contain spaces.
304
+ */
305
+ id?: string;
306
+
307
+ /**
308
+ * May be used to represent additional information that is not part of
309
+ * the basic definition of the element. To make the use of extensions
310
+ * safe and manageable, there is a strict set of governance applied to
311
+ * the definition and use of extensions. Though any implementer can
312
+ * define an extension, there is a set of requirements that SHALL be met
313
+ * as part of the definition of the extension.
314
+ */
315
+ extension?: Extension[];
316
+
317
+ /**
318
+ * May be used to represent additional information that is not part of
319
+ * the basic definition of the element and that modifies the
320
+ * understanding of the element in which it is contained and/or the
321
+ * understanding of the containing element's descendants. Usually
322
+ * modifier elements provide negation or qualification. To make the use
323
+ * of extensions safe and manageable, there is a strict set of governance
324
+ * applied to the definition and use of extensions. Though any
325
+ * implementer can define an extension, there is a set of requirements
326
+ * that SHALL be met as part of the definition of the extension.
327
+ * Applications processing a resource are required to check for modifier
328
+ * extensions.
329
+ *
330
+ * Modifier extensions SHALL NOT change the meaning of any elements on
331
+ * Resource or DomainResource (including cannot change the meaning of
332
+ * modifierExtension itself).
333
+ */
334
+ modifierExtension?: Extension[];
335
+
336
+ /**
337
+ * A classification or risk class of the device model.
338
+ */
339
+ type?: CodeableConcept;
340
+
341
+ /**
342
+ * Further information qualifying this classification of the device
343
+ * model.
344
+ */
345
+ justification?: RelatedArtifact[];
346
+ }
347
+
283
348
  /**
284
349
  * A name given to the device to identify it.
285
350
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",