-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathLab_Sample.yaml
77 lines (74 loc) · 1.83 KB
/
Lab_Sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#
# (c) 2018 OpenTHC, Inc.
# This file is part of OpenTHC API released under MIT License
# SPDX-License-Identifier: MIT
#
# Lab_Sample Object
#
description: "A Special type of Inventory Lot that becomes a Laboratory Sample"
type: object
required: [ "id", "license", "origin" ]
properties:
id:
description: ID of this specific Lab Sample
type: string
stat:
type: integer
description: Status/State indicator
enum: [ "200", "410" ]
created_at:
description: DateTime
type: string
format: dateTime
updated_at:
description: DateTime
type: string
format: dateTime
deleted_at:
description: DateTime when deleted -- null indicates NOT deleted
type: string
format: dateTime
license:
description: The License of the Owner of the Sample
# $ref: '#/components/schemas/License'
type: object
properties:
id:
description: "The License Identifier"
type: string
origin:
description: Origin Details of the Lab Sample
# $ref: '#/components/schemas/License'
type: object
properties:
inventory:
type: object
properties:
id:
description: "The Origin/Source Inventory Identifier"
type: string
license:
description: "The Origin/Source License Identifier"
type: object
properties:
id:
description: "The Origin/Source Inventory Identifier"
type: string
# laboratory:
# description: Laboratory Details, object with id and name properties
# type: object
# properties:
# id:
# type: string
# name:
# type: string
#
# result:
# description: The Result Object
# type: object
# properties:
# version:
# type: string
# metric:
# type: array
#