@andes/fhir 1.12.0 → 1.12.1-beta.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 (127) hide show
  1. package/LICENSE +674 -674
  2. package/README.md +2 -2
  3. package/{src → dist}/data/patient.json +192 -192
  4. package/dist/helpers/patientFactory.d.ts +26 -0
  5. package/dist/{src/helpers → helpers}/patientFactory.js +35 -31
  6. package/dist/index.d.ts +15 -0
  7. package/dist/index.js +55 -52
  8. package/dist/lib/allergyIntolerance.d.ts +29 -0
  9. package/dist/{src/lib → lib}/allergyIntolerance.js +39 -40
  10. package/dist/lib/bundle.d.ts +14 -0
  11. package/dist/{src/lib → lib}/bundle.js +25 -26
  12. package/dist/lib/composition.d.ts +47 -0
  13. package/dist/{src/lib → lib}/composition.js +152 -152
  14. package/dist/lib/condition.d.ts +53 -0
  15. package/dist/{src/lib → lib}/condition.js +79 -80
  16. package/dist/lib/config.d.ts +9 -0
  17. package/dist/{src/lib → lib}/config.js +27 -21
  18. package/dist/lib/config.test.d.ts +1 -0
  19. package/dist/lib/config.test.js +19 -0
  20. package/dist/lib/device.d.ts +22 -0
  21. package/dist/{src/lib → lib}/device.js +38 -39
  22. package/dist/lib/device.test.d.ts +1 -0
  23. package/dist/lib/device.test.js +9 -0
  24. package/dist/lib/document-reference.d.ts +71 -0
  25. package/dist/{src/lib → lib}/document-reference.js +106 -107
  26. package/dist/lib/immunization.d.ts +44 -0
  27. package/dist/{src/lib → lib}/immunization.js +67 -68
  28. package/dist/lib/medication.d.ts +25 -0
  29. package/{src/lib/medication.ts → dist/lib/medication.js} +64 -61
  30. package/dist/lib/medicationRequest.d.ts +42 -0
  31. package/{src/lib/medicationRequest.ts → dist/lib/medicationRequest.js} +103 -100
  32. package/dist/lib/medicationStatement.d.ts +47 -0
  33. package/dist/{src/lib → lib}/medicationStatement.js +55 -56
  34. package/dist/lib/organization.d.ts +6 -0
  35. package/dist/lib/organization.js +93 -0
  36. package/dist/lib/patient.d.ts +14 -0
  37. package/dist/lib/patient.js +465 -0
  38. package/dist/lib/patient.test.d.ts +1 -0
  39. package/dist/{src/lib → lib}/patient.test.js +132 -113
  40. package/dist/lib/practitioner.d.ts +6 -0
  41. package/dist/lib/practitioner.js +186 -0
  42. package/dist/types/andes/organization.types.d.ts +39 -0
  43. package/dist/types/andes/organization.types.js +2 -0
  44. package/dist/types/andes/patient.types.d.ts +57 -0
  45. package/dist/types/andes/patient.types.js +2 -0
  46. package/dist/types/andes/practitioner.types.d.ts +72 -0
  47. package/dist/types/andes/practitioner.types.js +3 -0
  48. package/package.json +56 -45
  49. package/.circleci/config.yml +0 -72
  50. package/.editorconfig +0 -14
  51. package/.env.example +0 -2
  52. package/.gitattributes +0 -1
  53. package/.github/CODEOWNERS +0 -1
  54. package/.github/labeler.yml +0 -11
  55. package/.github/pull_request_template.md +0 -28
  56. package/.github/workflows/build_test.yml +0 -14
  57. package/.github/workflows/has_conflicts.yml +0 -13
  58. package/.vscode/settings.json +0 -2
  59. package/CHANGELOG.md +0 -351
  60. package/coverage/clover.xml +0 -209
  61. package/coverage/coverage-final.json +0 -5
  62. package/coverage/lcov-report/base.css +0 -224
  63. package/coverage/lcov-report/block-navigation.js +0 -87
  64. package/coverage/lcov-report/config.ts.html +0 -136
  65. package/coverage/lcov-report/device.ts.html +0 -193
  66. package/coverage/lcov-report/favicon.png +0 -0
  67. package/coverage/lcov-report/helpers/index.html +0 -116
  68. package/coverage/lcov-report/helpers/patientFactory.ts.html +0 -124
  69. package/coverage/lcov-report/index.html +0 -131
  70. package/coverage/lcov-report/lib/config.ts.html +0 -136
  71. package/coverage/lcov-report/lib/device.ts.html +0 -193
  72. package/coverage/lcov-report/lib/index.html +0 -146
  73. package/coverage/lcov-report/lib/patient.ts.html +0 -1318
  74. package/coverage/lcov-report/patient.ts.html +0 -1207
  75. package/coverage/lcov-report/prettify.css +0 -1
  76. package/coverage/lcov-report/prettify.js +0 -2
  77. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  78. package/coverage/lcov-report/sorter.js +0 -210
  79. package/coverage/lcov.info +0 -425
  80. package/dist/index.js.map +0 -1
  81. package/dist/src/data/patient.json +0 -192
  82. package/dist/src/helpers/patientFactory.js.map +0 -1
  83. package/dist/src/lib/allergyIntolerance.js.map +0 -1
  84. package/dist/src/lib/bundle.js.map +0 -1
  85. package/dist/src/lib/composition.js.map +0 -1
  86. package/dist/src/lib/condition.js.map +0 -1
  87. package/dist/src/lib/config.js.map +0 -1
  88. package/dist/src/lib/config.test.js +0 -13
  89. package/dist/src/lib/config.test.js.map +0 -1
  90. package/dist/src/lib/device.js.map +0 -1
  91. package/dist/src/lib/device.test.js +0 -10
  92. package/dist/src/lib/device.test.js.map +0 -1
  93. package/dist/src/lib/document-reference.js.map +0 -1
  94. package/dist/src/lib/immunization.js.map +0 -1
  95. package/dist/src/lib/medication.js +0 -65
  96. package/dist/src/lib/medication.js.map +0 -1
  97. package/dist/src/lib/medicationRequest.js +0 -103
  98. package/dist/src/lib/medicationRequest.js.map +0 -1
  99. package/dist/src/lib/medicationStatement.js.map +0 -1
  100. package/dist/src/lib/organization.js +0 -91
  101. package/dist/src/lib/organization.js.map +0 -1
  102. package/dist/src/lib/patient.js +0 -397
  103. package/dist/src/lib/patient.js.map +0 -1
  104. package/dist/src/lib/patient.test.js.map +0 -1
  105. package/dist/src/lib/practitioner.js +0 -161
  106. package/dist/src/lib/practitioner.js.map +0 -1
  107. package/index.ts +0 -30
  108. package/jest.config.js +0 -12
  109. package/release.config.js +0 -74
  110. package/src/helpers/patientFactory.ts +0 -13
  111. package/src/lib/allergyIntolerance.ts +0 -36
  112. package/src/lib/bundle.ts +0 -19
  113. package/src/lib/composition.ts +0 -153
  114. package/src/lib/condition.ts +0 -80
  115. package/src/lib/config.test.ts +0 -13
  116. package/src/lib/config.ts +0 -17
  117. package/src/lib/device.test.ts +0 -9
  118. package/src/lib/device.ts +0 -36
  119. package/src/lib/document-reference.ts +0 -102
  120. package/src/lib/immunization.ts +0 -64
  121. package/src/lib/medicationStatement.ts +0 -52
  122. package/src/lib/organization.ts +0 -89
  123. package/src/lib/patient.test.ts +0 -101
  124. package/src/lib/patient.ts +0 -411
  125. package/src/lib/practitioner.ts +0 -157
  126. package/tsconfig.test.json +0 -18
  127. package/tslint.json +0 -139
@@ -1,40 +1,39 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.encode = void 0;
4
- /**
5
- * Encode de Alergias e Intolerancias from ANDES to FHIR
6
- * @param {} AllergyIntolerance
7
- */
8
- function encode(patientReference, alergiaIntolerancia) {
9
- return {
10
- category: [
11
- 'medication'
12
- ],
13
- criticality: 'high',
14
- patient: {
15
- reference: patientReference
16
- },
17
- id: alergiaIntolerancia._id,
18
- code: {
19
- coding: [
20
- {
21
- system: 'http://snomed.info/sct',
22
- display: alergiaIntolerancia.concepto.term,
23
- code: alergiaIntolerancia.concepto.conceptId,
24
- }
25
- ]
26
- },
27
- meta: {
28
- profile: ['http://hl7.org/fhir/uv/ips/StructureDefinition/allergyintolerance-uv-ips']
29
- },
30
- text: {
31
- status: 'generated',
32
- div: `<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: Alergia </p><p><b>meta</b>: </p><p><b>text</b>: ${alergiaIntolerancia.concepto.semanticTag}</p></div>`
33
- },
34
- resourceType: 'AllergyIntolerance',
35
- type: 'allergy',
36
- onsetDateTime: alergiaIntolerancia.valor.fechaInicio
37
- };
38
- }
39
- exports.encode = encode;
40
- //# sourceMappingURL=allergyIntolerance.js.map
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.encode = void 0;
4
+ /**
5
+ * Encode de Alergias e Intolerancias from ANDES to FHIR
6
+ * @param {} AllergyIntolerance
7
+ */
8
+ function encode(patientReference, alergiaIntolerancia) {
9
+ return {
10
+ category: [
11
+ 'medication'
12
+ ],
13
+ criticality: 'high',
14
+ patient: {
15
+ reference: patientReference
16
+ },
17
+ id: alergiaIntolerancia._id,
18
+ code: {
19
+ coding: [
20
+ {
21
+ system: 'http://snomed.info/sct',
22
+ display: alergiaIntolerancia.concepto.term,
23
+ code: alergiaIntolerancia.concepto.conceptId,
24
+ }
25
+ ]
26
+ },
27
+ meta: {
28
+ profile: ['http://hl7.org/fhir/uv/ips/StructureDefinition/allergyintolerance-uv-ips']
29
+ },
30
+ text: {
31
+ status: 'generated',
32
+ div: `<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: Alergia </p><p><b>meta</b>: </p><p><b>text</b>: ${alergiaIntolerancia.concepto.semanticTag}</p></div>`
33
+ },
34
+ resourceType: 'AllergyIntolerance',
35
+ type: 'allergy',
36
+ onsetDateTime: alergiaIntolerancia.valor.fechaInicio
37
+ };
38
+ }
39
+ exports.encode = encode;
@@ -0,0 +1,14 @@
1
+ export declare function encode(ID: any, resources: any): {
2
+ resourceType: string;
3
+ id: any;
4
+ meta: {
5
+ lastUpdated: string;
6
+ };
7
+ language: string;
8
+ entry: any;
9
+ type: string;
10
+ identifier: {
11
+ system: string;
12
+ value: any;
13
+ };
14
+ };
@@ -1,26 +1,25 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.encode = void 0;
7
- const moment_1 = __importDefault(require("moment"));
8
- const config_1 = require("./config");
9
- function encode(ID, resources) {
10
- return {
11
- resourceType: 'Bundle',
12
- id: ID,
13
- meta: {
14
- lastUpdated: moment_1.default().format()
15
- },
16
- language: 'es-AR',
17
- entry: resources,
18
- type: 'document',
19
- identifier: {
20
- system: config_1.makeUrl('Bundle'),
21
- value: ID
22
- }
23
- };
24
- }
25
- exports.encode = encode;
26
- //# sourceMappingURL=bundle.js.map
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.encode = void 0;
7
+ const moment_1 = __importDefault(require("moment"));
8
+ const config_1 = require("./config");
9
+ function encode(ID, resources) {
10
+ return {
11
+ resourceType: 'Bundle',
12
+ id: ID,
13
+ meta: {
14
+ lastUpdated: (0, moment_1.default)().format()
15
+ },
16
+ language: 'es-AR',
17
+ entry: resources,
18
+ type: 'document',
19
+ identifier: {
20
+ system: (0, config_1.makeUrl)('Bundle'),
21
+ value: ID
22
+ }
23
+ };
24
+ }
25
+ exports.encode = encode;
@@ -0,0 +1,47 @@
1
+ import moment from 'moment';
2
+ export declare function encode(ID: any, patientReference: any, custodianReference: any, deviceReference: any, medicationStatementReference: any, ImmunizationReferences: any, AllergyIntoleranceReferences: any, ConditionReferences: any): {
3
+ id: any;
4
+ subject: {
5
+ reference: any;
6
+ };
7
+ section: any[];
8
+ resourceType: string;
9
+ author: {
10
+ identifier: {
11
+ system: string;
12
+ value: any;
13
+ };
14
+ }[];
15
+ confidentiality: string;
16
+ type: {
17
+ coding: {
18
+ system: string;
19
+ display: string;
20
+ code: string;
21
+ }[];
22
+ };
23
+ title: string;
24
+ identifier: {
25
+ system: string;
26
+ value: any;
27
+ };
28
+ date: moment.Moment;
29
+ text: {
30
+ status: string;
31
+ div: string;
32
+ };
33
+ custodian: {
34
+ identifier: {
35
+ system: string;
36
+ value: any;
37
+ };
38
+ };
39
+ attester: {
40
+ mode: string;
41
+ time: moment.Moment;
42
+ party: {
43
+ reference: any;
44
+ };
45
+ }[];
46
+ status: string;
47
+ };
@@ -1,152 +1,152 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.encode = void 0;
7
- const moment_1 = __importDefault(require("moment"));
8
- const config_1 = require("./config");
9
- function getReference(url) {
10
- return {
11
- reference: url
12
- };
13
- }
14
- function encode(ID, patientReference, custodianReference, deviceReference, medicationStatementReference, ImmunizationReferences, AllergyIntoleranceReferences, ConditionReferences) {
15
- const now = moment_1.default();
16
- let Immunization = [];
17
- let conditions = [];
18
- let medications = [];
19
- let allergyIntolerance = [];
20
- Immunization = [{
21
- title: 'Vacunas',
22
- text: {
23
- status: 'generated',
24
- div: '<div xmlns="http:\/\/www.w3.org\/1999\/xhtml">Sección referida a la vacunación del paciente <\/div>'
25
- },
26
- code: {
27
- coding: [
28
- {
29
- system: 'http:\/\/loinc.org',
30
- display: 'Immunization record',
31
- code: '60484-3'
32
- }
33
- ]
34
- },
35
- entry: ImmunizationReferences ? ImmunizationReferences.map(getReference) : []
36
- }];
37
- medications = [{
38
- title: 'Medicamentos',
39
- text: {
40
- status: 'generated',
41
- div: '<div xmlns="http:\/\/www.w3.org\/1999\/xhtml">Registro de medicamentos<\/div>'
42
- },
43
- code: {
44
- coding: [
45
- {
46
- system: 'http:\/\/loinc.org',
47
- display: 'Medication use',
48
- code: '10160-0'
49
- }
50
- ]
51
- },
52
- entry: medicationStatementReference ? medicationStatementReference.map(getReference) : [],
53
- }];
54
- allergyIntolerance = [{
55
- title: 'Alergias o Intolerancias',
56
- text: {
57
- status: 'generated',
58
- div: '<div xmlns="http:\/\/www.w3.org\/1999\/xhtml">Registro de Alergias<\/div>'
59
- },
60
- code: {
61
- coding: [
62
- {
63
- system: 'http:\/\/loinc.org',
64
- display: 'Allergies and/or adverse reactions',
65
- code: '48765-2'
66
- }
67
- ]
68
- },
69
- entry: AllergyIntoleranceReferences ? AllergyIntoleranceReferences.map(getReference) : [],
70
- }];
71
- conditions = [{
72
- code: {
73
- coding: [
74
- {
75
- system: 'http:\/\/loinc.org',
76
- display: 'Problem list',
77
- code: '11450-4'
78
- }
79
- ]
80
- },
81
- entry: ConditionReferences ? ConditionReferences.map(getReference) : [],
82
- title: 'Problemas activos',
83
- text: {
84
- status: 'generated',
85
- div: '<div xmlns="http:\/\/www.w3.org\/1999\/xhtml">Lista de problemas activos (trastornos)<\/div>'
86
- }
87
- }];
88
- return {
89
- id: ID,
90
- subject: {
91
- reference: patientReference
92
- },
93
- section: [
94
- ...conditions,
95
- ...medications,
96
- ...Immunization,
97
- ...allergyIntolerance
98
- ],
99
- resourceType: 'Composition',
100
- author: [
101
- {
102
- identifier: {
103
- system: 'https://federador.msal.gob.ar/uri',
104
- value: deviceReference
105
- }
106
- }
107
- ],
108
- confidentiality: 'N',
109
- type: {
110
- coding: [
111
- {
112
- system: 'http:\/\/loinc.org',
113
- display: 'Patient Summary',
114
- code: '60591-5'
115
- }
116
- ]
117
- },
118
- title: 'Resumen del paciente al ' + now.format('DD/MM/YYYY, HH:mm'),
119
- identifier: {
120
- system: config_1.makeUrl('Composition'),
121
- value: ID
122
- },
123
- date: now,
124
- // meta: {
125
- // profile: [
126
- // 'http:\/\/hl7.org\/fhir\/uv\/ips\/StructureDefinition\/composition-uv-ips'
127
- // ]
128
- // },
129
- text: {
130
- status: 'generated',
131
- div: '<div xmlns=\"http://www.w3.org/1999/xhtml\">IPS Neuquen</div>'
132
- },
133
- custodian: {
134
- identifier: {
135
- system: 'https://federador.msal.gob.ar/uri',
136
- value: custodianReference
137
- }
138
- },
139
- attester: [
140
- {
141
- mode: 'legal',
142
- time: now,
143
- party: {
144
- reference: custodianReference
145
- }
146
- }
147
- ],
148
- status: 'final'
149
- };
150
- }
151
- exports.encode = encode;
152
- //# sourceMappingURL=composition.js.map
1
+ "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.encode = void 0;
8
+ const moment_1 = __importDefault(require("moment"));
9
+ const config_1 = require("./config");
10
+ function getReference(url) {
11
+ return {
12
+ reference: url
13
+ };
14
+ }
15
+ function encode(ID, patientReference, custodianReference, deviceReference, medicationStatementReference, ImmunizationReferences, AllergyIntoleranceReferences, ConditionReferences) {
16
+ const now = (0, moment_1.default)();
17
+ let Immunization = [];
18
+ let conditions = [];
19
+ let medications = [];
20
+ let allergyIntolerance = [];
21
+ Immunization = [{
22
+ title: 'Vacunas',
23
+ text: {
24
+ status: 'generated',
25
+ div: '<div xmlns="http://www.w3.org/1999/xhtml">Sección referida a la vacunación del paciente </div>'
26
+ },
27
+ code: {
28
+ coding: [
29
+ {
30
+ system: 'http://loinc.org',
31
+ display: 'Immunization record',
32
+ code: '60484-3'
33
+ }
34
+ ]
35
+ },
36
+ entry: ImmunizationReferences ? ImmunizationReferences.map(getReference) : []
37
+ }];
38
+ medications = [{
39
+ title: 'Medicamentos',
40
+ text: {
41
+ status: 'generated',
42
+ div: '<div xmlns="http://www.w3.org/1999/xhtml">Registro de medicamentos</div>'
43
+ },
44
+ code: {
45
+ coding: [
46
+ {
47
+ system: 'http://loinc.org',
48
+ display: 'Medication use',
49
+ code: '10160-0'
50
+ }
51
+ ]
52
+ },
53
+ entry: medicationStatementReference ? medicationStatementReference.map(getReference) : [],
54
+ }];
55
+ allergyIntolerance = [{
56
+ title: 'Alergias o Intolerancias',
57
+ text: {
58
+ status: 'generated',
59
+ div: '<div xmlns="http://www.w3.org/1999/xhtml">Registro de Alergias</div>'
60
+ },
61
+ code: {
62
+ coding: [
63
+ {
64
+ system: 'http://loinc.org',
65
+ display: 'Allergies and/or adverse reactions',
66
+ code: '48765-2'
67
+ }
68
+ ]
69
+ },
70
+ entry: AllergyIntoleranceReferences ? AllergyIntoleranceReferences.map(getReference) : [],
71
+ }];
72
+ conditions = [{
73
+ code: {
74
+ coding: [
75
+ {
76
+ system: 'http://loinc.org',
77
+ display: 'Problem list',
78
+ code: '11450-4'
79
+ }
80
+ ]
81
+ },
82
+ entry: ConditionReferences ? ConditionReferences.map(getReference) : [],
83
+ title: 'Problemas activos',
84
+ text: {
85
+ status: 'generated',
86
+ div: '<div xmlns="http://www.w3.org/1999/xhtml">Lista de problemas activos (trastornos)</div>'
87
+ }
88
+ }];
89
+ return {
90
+ id: ID,
91
+ subject: {
92
+ reference: patientReference
93
+ },
94
+ section: [
95
+ ...conditions,
96
+ ...medications,
97
+ ...Immunization,
98
+ ...allergyIntolerance
99
+ ],
100
+ resourceType: 'Composition',
101
+ author: [
102
+ {
103
+ identifier: {
104
+ system: 'https://federador.msal.gob.ar/uri',
105
+ value: deviceReference
106
+ }
107
+ }
108
+ ],
109
+ confidentiality: 'N',
110
+ type: {
111
+ coding: [
112
+ {
113
+ system: 'http://loinc.org',
114
+ display: 'Patient Summary',
115
+ code: '60591-5'
116
+ }
117
+ ]
118
+ },
119
+ title: 'Resumen del paciente al ' + now.format('DD/MM/YYYY, HH:mm'),
120
+ identifier: {
121
+ system: (0, config_1.makeUrl)('Composition'),
122
+ value: ID
123
+ },
124
+ date: now,
125
+ // meta: {
126
+ // profile: [
127
+ // 'http:\/\/hl7.org\/fhir\/uv\/ips\/StructureDefinition\/composition-uv-ips'
128
+ // ]
129
+ // },
130
+ text: {
131
+ status: 'generated',
132
+ div: '<div xmlns="http://www.w3.org/1999/xhtml">IPS Neuquen</div>'
133
+ },
134
+ custodian: {
135
+ identifier: {
136
+ system: 'https://federador.msal.gob.ar/uri',
137
+ value: custodianReference
138
+ }
139
+ },
140
+ attester: [
141
+ {
142
+ mode: 'legal',
143
+ time: now,
144
+ party: {
145
+ reference: custodianReference
146
+ }
147
+ }
148
+ ],
149
+ status: 'final'
150
+ };
151
+ }
152
+ exports.encode = encode;
@@ -0,0 +1,53 @@
1
+ /**
2
+ *
3
+ * @param registro Registro RUP a transformar a FHIR
4
+ */
5
+ export declare function encode(patientReference: any, registro: any): {
6
+ id: any;
7
+ category: {
8
+ coding: {
9
+ system: string;
10
+ display: string;
11
+ code: string;
12
+ }[];
13
+ }[];
14
+ subject: {
15
+ reference: any;
16
+ };
17
+ onsetDateTime: any;
18
+ resourceType: string;
19
+ verificationStatus: {
20
+ coding: {
21
+ system: string;
22
+ code: string;
23
+ }[];
24
+ };
25
+ code: {
26
+ coding: {
27
+ code: any;
28
+ system: string;
29
+ display: any;
30
+ }[];
31
+ };
32
+ recordedDate: any;
33
+ meta: {
34
+ profile: string[];
35
+ };
36
+ text: {
37
+ status: string;
38
+ div: string;
39
+ };
40
+ severity: {
41
+ coding: {
42
+ system: string;
43
+ display: string;
44
+ code: string;
45
+ }[];
46
+ };
47
+ clinicalStatus: {
48
+ coding: {
49
+ system: string;
50
+ code: any;
51
+ }[];
52
+ };
53
+ };