@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.
- package/README.md +9 -3
- package/dist/AccessPolicy.d.ts +19 -13
- package/dist/Account.d.ts +30 -30
- package/dist/ActivityDefinition.d.ts +71 -71
- package/dist/Address.d.ts +12 -12
- package/dist/AdverseEvent.d.ts +41 -41
- package/dist/Age.d.ts +7 -7
- package/dist/AllergyIntolerance.d.ts +38 -38
- package/dist/Annotation.d.ts +6 -6
- package/dist/Appointment.d.ts +38 -38
- package/dist/AppointmentResponse.d.ts +16 -16
- package/dist/Attachment.d.ts +10 -10
- package/dist/AuditEvent.d.ts +62 -62
- package/dist/Basic.d.ts +13 -13
- package/dist/Binary.d.ts +8 -8
- package/dist/BiologicallyDerivedProduct.d.ts +47 -47
- package/dist/BodyStructure.d.ts +16 -16
- package/dist/Bot.d.ts +19 -8
- package/dist/Bundle.d.ts +47 -47
- package/dist/CapabilityStatement.d.ts +129 -129
- package/dist/CarePlan.d.ts +63 -63
- package/dist/CareTeam.d.ts +28 -28
- package/dist/CatalogEntry.d.ts +27 -27
- package/dist/ChargeItem.d.ts +43 -43
- package/dist/ChargeItemDefinition.d.ts +49 -49
- package/dist/Claim.d.ts +159 -159
- package/dist/ClaimResponse.d.ts +145 -145
- package/dist/ClientApplication.d.ts +8 -8
- package/dist/ClinicalImpression.d.ts +40 -40
- package/dist/CodeSystem.d.ts +74 -74
- package/dist/CodeableConcept.d.ts +4 -4
- package/dist/Coding.d.ts +7 -7
- package/dist/Communication.d.ts +37 -37
- package/dist/CommunicationRequest.d.ts +37 -37
- package/dist/CompartmentDefinition.d.ts +28 -28
- package/dist/Composition.d.ts +54 -54
- package/dist/ConceptMap.d.ts +66 -66
- package/dist/Condition.d.ts +44 -44
- package/dist/Consent.d.ts +57 -57
- package/dist/ContactDetail.d.ts +4 -4
- package/dist/ContactPoint.d.ts +7 -7
- package/dist/Contract.d.ts +202 -202
- package/dist/Contributor.d.ts +5 -5
- package/dist/Count.d.ts +7 -7
- package/dist/Coverage.d.ts +43 -43
- package/dist/CoverageEligibilityRequest.d.ts +53 -53
- package/dist/CoverageEligibilityResponse.d.ts +62 -62
- package/dist/DataRequirement.d.ts +28 -28
- package/dist/DetectedIssue.d.ts +32 -32
- package/dist/Device.d.ts +65 -65
- package/dist/DeviceDefinition.d.ts +64 -64
- package/dist/DeviceMetric.d.ts +24 -24
- package/dist/DeviceRequest.d.ts +43 -43
- package/dist/DeviceUseStatement.d.ts +23 -23
- package/dist/DiagnosticReport.d.ts +32 -32
- package/dist/Distance.d.ts +7 -7
- package/dist/DocumentManifest.d.ts +25 -25
- package/dist/DocumentReference.d.ts +44 -44
- package/dist/Dosage.d.ts +25 -25
- package/dist/Duration.d.ts +7 -7
- package/dist/EffectEvidenceSynthesis.d.ts +82 -82
- package/dist/Element.d.ts +2 -2
- package/dist/ElementDefinition.d.ts +295 -295
- package/dist/Encounter.d.ts +72 -72
- package/dist/Endpoint.d.ts +19 -19
- package/dist/EnrollmentRequest.d.ts +15 -15
- package/dist/EnrollmentResponse.d.ts +16 -16
- package/dist/EpisodeOfCare.d.ts +31 -31
- package/dist/EventDefinition.d.ts +37 -37
- package/dist/Evidence.d.ts +36 -36
- package/dist/EvidenceVariable.d.ts +53 -53
- package/dist/ExampleScenario.d.ts +85 -85
- package/dist/ExplanationOfBenefit.d.ts +272 -272
- package/dist/Expression.d.ts +7 -7
- package/dist/Extension.d.ts +53 -53
- package/dist/FamilyMemberHistory.d.ts +45 -45
- package/dist/Flag.d.ts +16 -16
- package/dist/Goal.d.ts +38 -38
- package/dist/GraphDefinition.d.ts +48 -48
- package/dist/Group.d.ts +35 -35
- package/dist/GuidanceResponse.d.ts +25 -25
- package/dist/HealthcareService.d.ts +49 -49
- package/dist/HumanName.d.ts +9 -9
- package/dist/Identifier.d.ts +8 -8
- package/dist/ImagingStudy.d.ts +55 -55
- package/dist/Immunization.d.ts +65 -65
- package/dist/ImmunizationEvaluation.d.ts +23 -23
- package/dist/ImmunizationRecommendation.d.ts +35 -35
- package/dist/ImplementationGuide.d.ts +102 -102
- package/dist/InsurancePlan.d.ts +79 -79
- package/dist/Invoice.d.ts +43 -43
- package/dist/JsonWebKey.d.ts +20 -20
- package/dist/Library.d.ts +40 -40
- package/dist/Linkage.d.ts +16 -16
- package/dist/List.d.ts +28 -28
- package/dist/Location.d.ts +38 -38
- package/dist/Login.d.ts +21 -21
- package/dist/MarketingStatus.d.ts +8 -8
- package/dist/Measure.d.ts +83 -83
- package/dist/MeasureReport.d.ts +55 -55
- package/dist/Media.d.ts +31 -31
- package/dist/Medication.d.ts +28 -28
- package/dist/MedicationAdministration.d.ts +44 -44
- package/dist/MedicationDispense.d.ts +46 -46
- package/dist/MedicationKnowledge.d.ts +121 -121
- package/dist/MedicationRequest.d.ts +63 -63
- package/dist/MedicationStatement.d.ts +27 -27
- package/dist/MedicinalProduct.d.ts +65 -65
- package/dist/MedicinalProductAuthorization.d.ts +40 -40
- package/dist/MedicinalProductContraindication.d.ts +21 -21
- package/dist/MedicinalProductIndication.d.ts +23 -23
- package/dist/MedicinalProductIngredient.d.ts +44 -44
- package/dist/MedicinalProductInteraction.d.ts +20 -20
- package/dist/MedicinalProductManufactured.d.ts +15 -15
- package/dist/MedicinalProductPackaged.d.ts +37 -37
- package/dist/MedicinalProductPharmaceutical.d.ts +41 -41
- package/dist/MedicinalProductUndesirableEffect.d.ts +13 -13
- package/dist/MessageDefinition.d.ts +45 -45
- package/dist/MessageHeader.d.ts +41 -41
- package/dist/Meta.d.ts +11 -11
- package/dist/MolecularSequence.d.ts +100 -100
- package/dist/Money.d.ts +4 -4
- package/dist/NamingSystem.d.ts +29 -29
- package/dist/Narrative.d.ts +4 -4
- package/dist/NutritionOrder.d.ts +71 -71
- package/dist/Observation.d.ts +72 -72
- package/dist/ObservationDefinition.d.ts +39 -39
- package/dist/OperationDefinition.d.ts +63 -63
- package/dist/OperationOutcome.d.ts +18 -18
- package/dist/Organization.d.ts +25 -25
- package/dist/OrganizationAffiliation.d.ts +20 -20
- package/dist/ParameterDefinition.d.ts +9 -9
- package/dist/Parameters.d.ts +61 -61
- package/dist/PasswordChangeRequest.d.ts +8 -8
- package/dist/Patient.d.ts +46 -46
- package/dist/PaymentNotice.d.ts +20 -20
- package/dist/PaymentReconciliation.d.ts +41 -41
- package/dist/Period.d.ts +4 -4
- package/dist/Person.d.ts +23 -23
- package/dist/PlanDefinition.d.ts +117 -117
- package/dist/Population.d.ts +8 -8
- package/dist/Practitioner.d.ts +25 -25
- package/dist/PractitionerRole.d.ts +34 -34
- package/dist/Procedure.d.ts +51 -51
- package/dist/ProdCharacteristic.d.ts +14 -14
- package/dist/ProductShelfLife.d.ts +7 -7
- package/dist/Project.d.ts +9 -9
- package/dist/ProjectMembership.d.ts +11 -10
- package/dist/Provenance.d.ts +32 -32
- package/dist/Quantity.d.ts +7 -7
- package/dist/Questionnaire.d.ts +89 -89
- package/dist/QuestionnaireResponse.d.ts +43 -43
- package/dist/Range.d.ts +4 -4
- package/dist/Ratio.d.ts +4 -4
- package/dist/Reference.d.ts +7 -7
- package/dist/RelatedArtifact.d.ts +9 -9
- package/dist/RelatedPerson.d.ts +25 -25
- package/dist/RequestGroup.d.ts +65 -65
- package/dist/ResearchDefinition.d.ts +43 -43
- package/dist/ResearchElementDefinition.d.ts +66 -66
- package/dist/ResearchStudy.d.ts +43 -43
- package/dist/ResearchSubject.d.ts +16 -16
- package/dist/RiskAssessment.d.ts +37 -37
- package/dist/RiskEvidenceSynthesis.d.ts +74 -74
- package/dist/SampledData.d.ts +9 -9
- package/dist/Schedule.d.ts +16 -16
- package/dist/SearchParameter.d.ts +39 -39
- package/dist/ServiceRequest.d.ts +46 -46
- package/dist/Signature.d.ts +9 -9
- package/dist/Slot.d.ts +19 -19
- package/dist/Specimen.d.ts +51 -51
- package/dist/SpecimenDefinition.d.ts +49 -49
- package/dist/StructureDefinition.d.ts +55 -55
- package/dist/StructureMap.d.ts +145 -145
- package/dist/Subscription.d.ts +22 -22
- package/dist/Substance.d.ts +27 -27
- package/dist/SubstanceAmount.d.ts +13 -13
- package/dist/SubstanceNucleicAcid.d.ts +37 -37
- package/dist/SubstancePolymer.d.ts +52 -52
- package/dist/SubstanceProtein.d.ts +23 -23
- package/dist/SubstanceReferenceInformation.d.ts +45 -45
- package/dist/SubstanceSourceMaterial.d.ts +62 -62
- package/dist/SubstanceSpecification.d.ts +121 -121
- package/dist/SupplyDelivery.d.ts +27 -27
- package/dist/SupplyRequest.d.ts +34 -34
- package/dist/Task.d.ts +153 -153
- package/dist/TerminologyCapabilities.d.ts +87 -87
- package/dist/TestReport.d.ts +66 -66
- package/dist/TestScript.d.ts +157 -157
- package/dist/Timing.d.ts +25 -25
- package/dist/TriggerDefinition.d.ts +10 -10
- package/dist/UsageContext.d.ts +7 -7
- package/dist/User.d.ts +7 -7
- package/dist/UserConfiguration.d.ts +20 -20
- package/dist/ValueSet.d.ts +90 -90
- package/dist/VerificationResult.d.ts +49 -49
- package/dist/VisionPrescription.d.ts +38 -38
- package/package.json +1 -1
package/dist/Encounter.d.ts
CHANGED
|
@@ -45,14 +45,14 @@ export interface Encounter {
|
|
|
45
45
|
* The logical id of the resource, as used in the URL for the resource.
|
|
46
46
|
* Once assigned, this value never changes.
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
id?: string;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* The metadata about the resource. This is content that is maintained by
|
|
52
52
|
* the infrastructure. Changes to the content might not always be
|
|
53
53
|
* associated with version changes to the resource.
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
meta?: Meta;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* A reference to a set of rules that were followed when the resource was
|
|
@@ -60,12 +60,12 @@ export interface Encounter {
|
|
|
60
60
|
* Often, this is a reference to an implementation guide that defines the
|
|
61
61
|
* special rules along with other profiles etc.
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
implicitRules?: string;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* The base language in which the resource is written.
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
language?: string;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* A human-readable narrative that contains a summary of the resource and
|
|
@@ -75,14 +75,14 @@ export interface Encounter {
|
|
|
75
75
|
* just read the narrative. Resource definitions may define what content
|
|
76
76
|
* should be represented in the narrative to ensure clinical safety.
|
|
77
77
|
*/
|
|
78
|
-
|
|
78
|
+
text?: Narrative;
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* These resources do not have an independent existence apart from the
|
|
82
82
|
* resource that contains them - they cannot be identified independently,
|
|
83
83
|
* and nor can they have their own independent transaction scope.
|
|
84
84
|
*/
|
|
85
|
-
|
|
85
|
+
contained?: Resource[];
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* May be used to represent additional information that is not part of
|
|
@@ -92,7 +92,7 @@ export interface Encounter {
|
|
|
92
92
|
* define an extension, there is a set of requirements that SHALL be met
|
|
93
93
|
* as part of the definition of the extension.
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
extension?: Extension[];
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* May be used to represent additional information that is not part of
|
|
@@ -110,32 +110,32 @@ export interface Encounter {
|
|
|
110
110
|
* Resource or DomainResource (including cannot change the meaning of
|
|
111
111
|
* modifierExtension itself).
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
modifierExtension?: Extension[];
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Identifier(s) by which this encounter is known.
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
identifier?: Identifier[];
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* planned | arrived | triaged | in-progress | onleave | finished |
|
|
122
122
|
* cancelled +.
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
status?: string;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* The status history permits the encounter resource to contain the
|
|
128
128
|
* status history without needing to read through the historical versions
|
|
129
129
|
* of the resource, or even have the server store them.
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
statusHistory?: EncounterStatusHistory[];
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* Concepts representing classification of patient encounter such as
|
|
135
135
|
* ambulatory (outpatient), inpatient, emergency, home health or others
|
|
136
136
|
* due to local variations.
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
class?: Coding;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* The class history permits the tracking of the encounters transitions
|
|
@@ -147,29 +147,29 @@ export interface Encounter {
|
|
|
147
147
|
* not get lost or cancelled during a kind of discharge from emergency to
|
|
148
148
|
* inpatient.
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
classHistory?: EncounterClassHistory[];
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* Specific type of encounter (e.g. e-mail consultation, surgical
|
|
154
154
|
* day-care, skilled nursing, rehabilitation).
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
type?: CodeableConcept[];
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Broad categorization of the service that is to be provided (e.g.
|
|
160
160
|
* cardiology).
|
|
161
161
|
*/
|
|
162
|
-
|
|
162
|
+
serviceType?: CodeableConcept;
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* Indicates the urgency of the encounter.
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
priority?: CodeableConcept;
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* The patient or group present at the encounter.
|
|
171
171
|
*/
|
|
172
|
-
|
|
172
|
+
subject?: Reference<Patient | Group>;
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
175
|
* Where a specific encounter should be classified as a part of a
|
|
@@ -181,66 +181,66 @@ export interface Encounter {
|
|
|
181
181
|
* grouped on entry rather than editing the episode of care to append
|
|
182
182
|
* another encounter to it (the episode of care could span years).
|
|
183
183
|
*/
|
|
184
|
-
|
|
184
|
+
episodeOfCare?: Reference<EpisodeOfCare>[];
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* The request this encounter satisfies (e.g. incoming referral or
|
|
188
188
|
* procedure request).
|
|
189
189
|
*/
|
|
190
|
-
|
|
190
|
+
basedOn?: Reference<ServiceRequest>[];
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* The list of people responsible for providing the service.
|
|
194
194
|
*/
|
|
195
|
-
|
|
195
|
+
participant?: EncounterParticipant[];
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
198
|
* The appointment that scheduled this encounter.
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
appointment?: Reference<Appointment>[];
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* The start and end time of the encounter.
|
|
204
204
|
*/
|
|
205
|
-
|
|
205
|
+
period?: Period;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
208
|
* Quantity of time the encounter lasted. This excludes the time during
|
|
209
209
|
* leaves of absence.
|
|
210
210
|
*/
|
|
211
|
-
|
|
211
|
+
length?: Duration;
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* Reason the encounter takes place, expressed as a code. For admissions,
|
|
215
215
|
* this can be used for a coded admission diagnosis.
|
|
216
216
|
*/
|
|
217
|
-
|
|
217
|
+
reasonCode?: CodeableConcept[];
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* Reason the encounter takes place, expressed as a code. For admissions,
|
|
221
221
|
* this can be used for a coded admission diagnosis.
|
|
222
222
|
*/
|
|
223
|
-
|
|
223
|
+
reasonReference?: Reference<Condition | Procedure | Observation | ImmunizationRecommendation>[];
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* The list of diagnosis relevant to this encounter.
|
|
227
227
|
*/
|
|
228
|
-
|
|
228
|
+
diagnosis?: EncounterDiagnosis[];
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* The set of accounts that may be used for billing for this Encounter.
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
account?: Reference<Account>[];
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Details about the admission to a healthcare service.
|
|
237
237
|
*/
|
|
238
|
-
|
|
238
|
+
hospitalization?: EncounterHospitalization;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* List of locations where the patient has been during this encounter.
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
location?: EncounterLocation[];
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* The organization that is primarily responsible for this Encounter's
|
|
@@ -250,13 +250,13 @@ export interface Encounter {
|
|
|
250
250
|
* seperately) for an external consultation. Refer to the example bundle
|
|
251
251
|
* showing an abbreviated set of Encounters for a colonoscopy.
|
|
252
252
|
*/
|
|
253
|
-
|
|
253
|
+
serviceProvider?: Reference<Organization>;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
256
|
* Another Encounter of which this encounter is a part of
|
|
257
257
|
* (administratively or in time).
|
|
258
258
|
*/
|
|
259
|
-
|
|
259
|
+
partOf?: Reference<Encounter>;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
/**
|
|
@@ -275,7 +275,7 @@ export interface EncounterClassHistory {
|
|
|
275
275
|
* Unique id for the element within a resource (for internal references).
|
|
276
276
|
* This may be any string value that does not contain spaces.
|
|
277
277
|
*/
|
|
278
|
-
|
|
278
|
+
id?: string;
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* May be used to represent additional information that is not part of
|
|
@@ -285,7 +285,7 @@ export interface EncounterClassHistory {
|
|
|
285
285
|
* define an extension, there is a set of requirements that SHALL be met
|
|
286
286
|
* as part of the definition of the extension.
|
|
287
287
|
*/
|
|
288
|
-
|
|
288
|
+
extension?: Extension[];
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* May be used to represent additional information that is not part of
|
|
@@ -304,17 +304,17 @@ export interface EncounterClassHistory {
|
|
|
304
304
|
* Resource or DomainResource (including cannot change the meaning of
|
|
305
305
|
* modifierExtension itself).
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
modifierExtension?: Extension[];
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* inpatient | outpatient | ambulatory | emergency +.
|
|
311
311
|
*/
|
|
312
|
-
|
|
312
|
+
class?: Coding;
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
315
|
* The time that the episode was in the specified class.
|
|
316
316
|
*/
|
|
317
|
-
|
|
317
|
+
period?: Period;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
/**
|
|
@@ -326,7 +326,7 @@ export interface EncounterDiagnosis {
|
|
|
326
326
|
* Unique id for the element within a resource (for internal references).
|
|
327
327
|
* This may be any string value that does not contain spaces.
|
|
328
328
|
*/
|
|
329
|
-
|
|
329
|
+
id?: string;
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* May be used to represent additional information that is not part of
|
|
@@ -336,7 +336,7 @@ export interface EncounterDiagnosis {
|
|
|
336
336
|
* define an extension, there is a set of requirements that SHALL be met
|
|
337
337
|
* as part of the definition of the extension.
|
|
338
338
|
*/
|
|
339
|
-
|
|
339
|
+
extension?: Extension[];
|
|
340
340
|
|
|
341
341
|
/**
|
|
342
342
|
* May be used to represent additional information that is not part of
|
|
@@ -355,7 +355,7 @@ export interface EncounterDiagnosis {
|
|
|
355
355
|
* Resource or DomainResource (including cannot change the meaning of
|
|
356
356
|
* modifierExtension itself).
|
|
357
357
|
*/
|
|
358
|
-
|
|
358
|
+
modifierExtension?: Extension[];
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* Reason the encounter takes place, as specified using information from
|
|
@@ -363,18 +363,18 @@ export interface EncounterDiagnosis {
|
|
|
363
363
|
* indication will typically be a Condition (with other resources
|
|
364
364
|
* referenced in the evidence.detail), or a Procedure.
|
|
365
365
|
*/
|
|
366
|
-
|
|
366
|
+
condition?: Reference<Condition | Procedure>;
|
|
367
367
|
|
|
368
368
|
/**
|
|
369
369
|
* Role that this diagnosis has within the encounter (e.g. admission,
|
|
370
370
|
* billing, discharge …).
|
|
371
371
|
*/
|
|
372
|
-
|
|
372
|
+
use?: CodeableConcept;
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
375
|
* Ranking of the diagnosis (for each role type).
|
|
376
376
|
*/
|
|
377
|
-
|
|
377
|
+
rank?: number;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
/**
|
|
@@ -386,7 +386,7 @@ export interface EncounterHospitalization {
|
|
|
386
386
|
* Unique id for the element within a resource (for internal references).
|
|
387
387
|
* This may be any string value that does not contain spaces.
|
|
388
388
|
*/
|
|
389
|
-
|
|
389
|
+
id?: string;
|
|
390
390
|
|
|
391
391
|
/**
|
|
392
392
|
* May be used to represent additional information that is not part of
|
|
@@ -396,7 +396,7 @@ export interface EncounterHospitalization {
|
|
|
396
396
|
* define an extension, there is a set of requirements that SHALL be met
|
|
397
397
|
* as part of the definition of the extension.
|
|
398
398
|
*/
|
|
399
|
-
|
|
399
|
+
extension?: Extension[];
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* May be used to represent additional information that is not part of
|
|
@@ -415,55 +415,55 @@ export interface EncounterHospitalization {
|
|
|
415
415
|
* Resource or DomainResource (including cannot change the meaning of
|
|
416
416
|
* modifierExtension itself).
|
|
417
417
|
*/
|
|
418
|
-
|
|
418
|
+
modifierExtension?: Extension[];
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
421
|
* Pre-admission identifier.
|
|
422
422
|
*/
|
|
423
|
-
|
|
423
|
+
preAdmissionIdentifier?: Identifier;
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* The location/organization from which the patient came before
|
|
427
427
|
* admission.
|
|
428
428
|
*/
|
|
429
|
-
|
|
429
|
+
origin?: Reference<Location | Organization>;
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
432
|
* From where patient was admitted (physician referral, transfer).
|
|
433
433
|
*/
|
|
434
|
-
|
|
434
|
+
admitSource?: CodeableConcept;
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
437
|
* Whether this hospitalization is a readmission and why if known.
|
|
438
438
|
*/
|
|
439
|
-
|
|
439
|
+
reAdmission?: CodeableConcept;
|
|
440
440
|
|
|
441
441
|
/**
|
|
442
442
|
* Diet preferences reported by the patient.
|
|
443
443
|
*/
|
|
444
|
-
|
|
444
|
+
dietPreference?: CodeableConcept[];
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
447
|
* Special courtesies (VIP, board member).
|
|
448
448
|
*/
|
|
449
|
-
|
|
449
|
+
specialCourtesy?: CodeableConcept[];
|
|
450
450
|
|
|
451
451
|
/**
|
|
452
452
|
* Any special requests that have been made for this hospitalization
|
|
453
453
|
* encounter, such as the provision of specific equipment or other
|
|
454
454
|
* things.
|
|
455
455
|
*/
|
|
456
|
-
|
|
456
|
+
specialArrangement?: CodeableConcept[];
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
459
|
* Location/organization to which the patient is discharged.
|
|
460
460
|
*/
|
|
461
|
-
|
|
461
|
+
destination?: Reference<Location | Organization>;
|
|
462
462
|
|
|
463
463
|
/**
|
|
464
464
|
* Category or kind of location after discharge.
|
|
465
465
|
*/
|
|
466
|
-
|
|
466
|
+
dischargeDisposition?: CodeableConcept;
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
/**
|
|
@@ -475,7 +475,7 @@ export interface EncounterLocation {
|
|
|
475
475
|
* Unique id for the element within a resource (for internal references).
|
|
476
476
|
* This may be any string value that does not contain spaces.
|
|
477
477
|
*/
|
|
478
|
-
|
|
478
|
+
id?: string;
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
481
|
* May be used to represent additional information that is not part of
|
|
@@ -485,7 +485,7 @@ export interface EncounterLocation {
|
|
|
485
485
|
* define an extension, there is a set of requirements that SHALL be met
|
|
486
486
|
* as part of the definition of the extension.
|
|
487
487
|
*/
|
|
488
|
-
|
|
488
|
+
extension?: Extension[];
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* May be used to represent additional information that is not part of
|
|
@@ -504,30 +504,30 @@ export interface EncounterLocation {
|
|
|
504
504
|
* Resource or DomainResource (including cannot change the meaning of
|
|
505
505
|
* modifierExtension itself).
|
|
506
506
|
*/
|
|
507
|
-
|
|
507
|
+
modifierExtension?: Extension[];
|
|
508
508
|
|
|
509
509
|
/**
|
|
510
510
|
* The location where the encounter takes place.
|
|
511
511
|
*/
|
|
512
|
-
|
|
512
|
+
location?: Reference<Location>;
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
515
|
* The status of the participants' presence at the specified location
|
|
516
516
|
* during the period specified. If the participant is no longer at the
|
|
517
517
|
* location, then the period will have an end date/time.
|
|
518
518
|
*/
|
|
519
|
-
|
|
519
|
+
status?: string;
|
|
520
520
|
|
|
521
521
|
/**
|
|
522
522
|
* This will be used to specify the required levels (bed/ward/room/etc.)
|
|
523
523
|
* desired to be recorded to simplify either messaging or query.
|
|
524
524
|
*/
|
|
525
|
-
|
|
525
|
+
physicalType?: CodeableConcept;
|
|
526
526
|
|
|
527
527
|
/**
|
|
528
528
|
* Time period during which the patient was present at the location.
|
|
529
529
|
*/
|
|
530
|
-
|
|
530
|
+
period?: Period;
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
/**
|
|
@@ -539,7 +539,7 @@ export interface EncounterParticipant {
|
|
|
539
539
|
* Unique id for the element within a resource (for internal references).
|
|
540
540
|
* This may be any string value that does not contain spaces.
|
|
541
541
|
*/
|
|
542
|
-
|
|
542
|
+
id?: string;
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
545
|
* May be used to represent additional information that is not part of
|
|
@@ -549,7 +549,7 @@ export interface EncounterParticipant {
|
|
|
549
549
|
* define an extension, there is a set of requirements that SHALL be met
|
|
550
550
|
* as part of the definition of the extension.
|
|
551
551
|
*/
|
|
552
|
-
|
|
552
|
+
extension?: Extension[];
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
555
|
* May be used to represent additional information that is not part of
|
|
@@ -568,24 +568,24 @@ export interface EncounterParticipant {
|
|
|
568
568
|
* Resource or DomainResource (including cannot change the meaning of
|
|
569
569
|
* modifierExtension itself).
|
|
570
570
|
*/
|
|
571
|
-
|
|
571
|
+
modifierExtension?: Extension[];
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* Role of participant in encounter.
|
|
575
575
|
*/
|
|
576
|
-
|
|
576
|
+
type?: CodeableConcept[];
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
* The period of time that the specified participant participated in the
|
|
580
580
|
* encounter. These can overlap or be sub-sets of the overall encounter's
|
|
581
581
|
* period.
|
|
582
582
|
*/
|
|
583
|
-
|
|
583
|
+
period?: Period;
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
586
|
* Persons involved in the encounter other than the patient.
|
|
587
587
|
*/
|
|
588
|
-
|
|
588
|
+
individual?: Reference<Practitioner | PractitionerRole | RelatedPerson>;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
/**
|
|
@@ -599,7 +599,7 @@ export interface EncounterStatusHistory {
|
|
|
599
599
|
* Unique id for the element within a resource (for internal references).
|
|
600
600
|
* This may be any string value that does not contain spaces.
|
|
601
601
|
*/
|
|
602
|
-
|
|
602
|
+
id?: string;
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
605
|
* May be used to represent additional information that is not part of
|
|
@@ -609,7 +609,7 @@ export interface EncounterStatusHistory {
|
|
|
609
609
|
* define an extension, there is a set of requirements that SHALL be met
|
|
610
610
|
* as part of the definition of the extension.
|
|
611
611
|
*/
|
|
612
|
-
|
|
612
|
+
extension?: Extension[];
|
|
613
613
|
|
|
614
614
|
/**
|
|
615
615
|
* May be used to represent additional information that is not part of
|
|
@@ -628,16 +628,16 @@ export interface EncounterStatusHistory {
|
|
|
628
628
|
* Resource or DomainResource (including cannot change the meaning of
|
|
629
629
|
* modifierExtension itself).
|
|
630
630
|
*/
|
|
631
|
-
|
|
631
|
+
modifierExtension?: Extension[];
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
634
|
* planned | arrived | triaged | in-progress | onleave | finished |
|
|
635
635
|
* cancelled +.
|
|
636
636
|
*/
|
|
637
|
-
|
|
637
|
+
status?: string;
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
640
|
* The time that the episode was in the specified status.
|
|
641
641
|
*/
|
|
642
|
-
|
|
642
|
+
period?: Period;
|
|
643
643
|
}
|
package/dist/Endpoint.d.ts
CHANGED
|
@@ -32,14 +32,14 @@ export interface Endpoint {
|
|
|
32
32
|
* The logical id of the resource, as used in the URL for the resource.
|
|
33
33
|
* Once assigned, this value never changes.
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
id?: string;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* The metadata about the resource. This is content that is maintained by
|
|
39
39
|
* the infrastructure. Changes to the content might not always be
|
|
40
40
|
* associated with version changes to the resource.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
meta?: Meta;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* A reference to a set of rules that were followed when the resource was
|
|
@@ -47,12 +47,12 @@ export interface Endpoint {
|
|
|
47
47
|
* Often, this is a reference to an implementation guide that defines the
|
|
48
48
|
* special rules along with other profiles etc.
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
implicitRules?: string;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* The base language in which the resource is written.
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
language?: string;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* A human-readable narrative that contains a summary of the resource and
|
|
@@ -62,14 +62,14 @@ export interface Endpoint {
|
|
|
62
62
|
* just read the narrative. Resource definitions may define what content
|
|
63
63
|
* should be represented in the narrative to ensure clinical safety.
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
text?: Narrative;
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* These resources do not have an independent existence apart from the
|
|
69
69
|
* resource that contains them - they cannot be identified independently,
|
|
70
70
|
* and nor can they have their own independent transaction scope.
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
contained?: Resource[];
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* May be used to represent additional information that is not part of
|
|
@@ -79,7 +79,7 @@ export interface Endpoint {
|
|
|
79
79
|
* define an extension, there is a set of requirements that SHALL be met
|
|
80
80
|
* as part of the definition of the extension.
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
extension?: Extension[];
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* May be used to represent additional information that is not part of
|
|
@@ -97,54 +97,54 @@ export interface Endpoint {
|
|
|
97
97
|
* Resource or DomainResource (including cannot change the meaning of
|
|
98
98
|
* modifierExtension itself).
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
modifierExtension?: Extension[];
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* Identifier for the organization that is used to identify the endpoint
|
|
104
104
|
* across multiple disparate systems.
|
|
105
105
|
*/
|
|
106
|
-
|
|
106
|
+
identifier?: Identifier[];
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* active | suspended | error | off | test.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
status?: string;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* A coded value that represents the technical details of the usage of
|
|
115
115
|
* this endpoint, such as what WSDLs should be used in what way. (e.g.
|
|
116
116
|
* XDS.b/DICOM/cds-hook).
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
connectionType?: Coding;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* A friendly name that this endpoint can be referred to with.
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
name?: string;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* The organization that manages this endpoint (even if technically
|
|
127
127
|
* another organization is hosting this in the cloud, it is the
|
|
128
128
|
* organization associated with the data).
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
managingOrganization?: Reference<Organization>;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* Contact details for a human to contact about the subscription. The
|
|
134
134
|
* primary use of this for system administrator troubleshooting.
|
|
135
135
|
*/
|
|
136
|
-
|
|
136
|
+
contact?: ContactPoint[];
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* The interval during which the endpoint is expected to be operational.
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
period?: Period;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* The payload type describes the acceptable content that can be
|
|
145
145
|
* communicated on the endpoint.
|
|
146
146
|
*/
|
|
147
|
-
|
|
147
|
+
payloadType?: CodeableConcept[];
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* The mime type to send the payload in - e.g. application/fhir+xml,
|
|
@@ -152,15 +152,15 @@ export interface Endpoint {
|
|
|
152
152
|
* sender could send any content (including no content depending on the
|
|
153
153
|
* connectionType).
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
payloadMimeType?: string[];
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* The uri that describes the actual end-point to connect to.
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
address?: string;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* Additional headers / information to send as part of the notification.
|
|
164
164
|
*/
|
|
165
|
-
|
|
165
|
+
header?: string[];
|
|
166
166
|
}
|