@medplum/fhirtypes 2.2.7 → 3.0.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.
- package/dist/AccessPolicy.d.ts +3 -3
- package/dist/Account.d.ts +3 -3
- package/dist/ActivityDefinition.d.ts +4 -4
- package/dist/AdverseEvent.d.ts +3 -3
- package/dist/Agent.d.ts +5 -5
- package/dist/AllergyIntolerance.d.ts +2 -2
- package/dist/Annotation.d.ts +1 -1
- package/dist/Appointment.d.ts +3 -3
- package/dist/AppointmentResponse.d.ts +2 -2
- package/dist/AsyncJob.d.ts +3 -3
- package/dist/AuditEvent.d.ts +7 -7
- package/dist/Basic.d.ts +1 -1
- package/dist/Binary.d.ts +1 -1
- package/dist/BodyStructure.d.ts +1 -1
- package/dist/BulkDataExport.d.ts +9 -9
- package/dist/Bundle.d.ts +6 -6
- package/dist/CapabilityStatement.d.ts +21 -21
- package/dist/CarePlan.d.ts +4 -4
- package/dist/CatalogEntry.d.ts +5 -5
- package/dist/ChargeItem.d.ts +4 -4
- package/dist/ChargeItemDefinition.d.ts +3 -3
- package/dist/Claim.d.ts +25 -25
- package/dist/ClaimResponse.d.ts +28 -28
- package/dist/ClientApplication.d.ts +8 -0
- package/dist/ClinicalImpression.d.ts +3 -3
- package/dist/CodeSystem.d.ts +10 -10
- package/dist/Communication.d.ts +1 -1
- package/dist/CommunicationRequest.d.ts +1 -1
- package/dist/CompartmentDefinition.d.ts +6 -6
- package/dist/Composition.d.ts +7 -7
- package/dist/ConceptMap.d.ts +6 -6
- package/dist/Condition.d.ts +1 -1
- package/dist/Consent.d.ts +8 -8
- package/dist/Contract.d.ts +13 -13
- package/dist/Contributor.d.ts +2 -2
- package/dist/Coverage.d.ts +6 -6
- package/dist/CoverageEligibilityRequest.d.ts +8 -8
- package/dist/CoverageEligibilityResponse.d.ts +10 -10
- package/dist/DataRequirement.d.ts +3 -3
- package/dist/DetectedIssue.d.ts +2 -2
- package/dist/Device.d.ts +5 -5
- package/dist/DeviceDefinition.d.ts +10 -10
- package/dist/DeviceMetric.d.ts +2 -2
- package/dist/DeviceRequest.d.ts +2 -2
- package/dist/DeviceUseStatement.d.ts +3 -3
- package/dist/DiagnosticReport.d.ts +3 -3
- package/dist/DocumentManifest.d.ts +2 -2
- package/dist/DocumentReference.d.ts +5 -5
- package/dist/DomainConfiguration.d.ts +1 -1
- package/dist/EffectEvidenceSynthesis.d.ts +6 -6
- package/dist/ElementDefinition.d.ts +15 -15
- package/dist/Encounter.d.ts +8 -8
- package/dist/Endpoint.d.ts +4 -4
- package/dist/EpisodeOfCare.d.ts +5 -5
- package/dist/EventDefinition.d.ts +2 -2
- package/dist/Evidence.d.ts +2 -2
- package/dist/EvidenceVariable.d.ts +2 -2
- package/dist/ExampleScenario.d.ts +11 -11
- package/dist/ExplanationOfBenefit.d.ts +31 -31
- package/dist/Expression.d.ts +1 -1
- package/dist/Extension.d.ts +1 -1
- package/dist/FamilyMemberHistory.d.ts +4 -4
- package/dist/Flag.d.ts +3 -3
- package/dist/Goal.d.ts +3 -3
- package/dist/GraphDefinition.d.ts +7 -7
- package/dist/Group.d.ts +5 -5
- package/dist/GuidanceResponse.d.ts +1 -1
- package/dist/HealthcareService.d.ts +1 -1
- package/dist/IdentityProvider.d.ts +5 -5
- package/dist/ImagingStudy.d.ts +7 -7
- package/dist/Immunization.d.ts +4 -4
- package/dist/ImmunizationEvaluation.d.ts +5 -5
- package/dist/ImmunizationRecommendation.d.ts +6 -6
- package/dist/ImplementationGuide.d.ts +20 -20
- package/dist/InsurancePlan.d.ts +6 -6
- package/dist/Invoice.d.ts +3 -3
- package/dist/Library.d.ts +2 -2
- package/dist/Linkage.d.ts +3 -3
- package/dist/List.d.ts +3 -3
- package/dist/Location.d.ts +2 -2
- package/dist/Login.d.ts +3 -3
- package/dist/MarketingStatus.d.ts +3 -3
- package/dist/Measure.d.ts +4 -4
- package/dist/MeasureReport.d.ts +6 -6
- package/dist/Media.d.ts +2 -2
- package/dist/MedicationAdministration.d.ts +3 -3
- package/dist/MedicationDispense.d.ts +3 -3
- package/dist/MedicationKnowledge.d.ts +12 -12
- package/dist/MedicationRequest.d.ts +3 -3
- package/dist/MedicationStatement.d.ts +2 -2
- package/dist/MedicinalProduct.d.ts +6 -6
- package/dist/MedicinalProductAuthorization.d.ts +1 -1
- package/dist/MedicinalProductContraindication.d.ts +1 -1
- package/dist/MedicinalProductIndication.d.ts +1 -1
- package/dist/MedicinalProductIngredient.d.ts +6 -6
- package/dist/MedicinalProductManufactured.d.ts +2 -2
- package/dist/MedicinalProductPackaged.d.ts +4 -4
- package/dist/MedicinalProductPharmaceutical.d.ts +7 -7
- package/dist/MessageDefinition.d.ts +5 -5
- package/dist/MessageHeader.d.ts +5 -5
- package/dist/MolecularSequence.d.ts +3 -3
- package/dist/NamingSystem.d.ts +7 -7
- package/dist/Narrative.d.ts +2 -2
- package/dist/NutritionOrder.d.ts +4 -4
- package/dist/Observation.d.ts +3 -3
- package/dist/ObservationDefinition.d.ts +1 -1
- package/dist/OperationDefinition.d.ts +14 -14
- package/dist/OperationOutcome.d.ts +3 -3
- package/dist/ParameterDefinition.d.ts +2 -2
- package/dist/Parameters.d.ts +1 -1
- package/dist/PasswordChangeRequest.d.ts +2 -2
- package/dist/Patient.d.ts +3 -3
- package/dist/PaymentNotice.d.ts +5 -5
- package/dist/PaymentReconciliation.d.ts +5 -5
- package/dist/Person.d.ts +1 -1
- package/dist/PlanDefinition.d.ts +6 -6
- package/dist/Practitioner.d.ts +1 -1
- package/dist/PractitionerRole.d.ts +1 -1
- package/dist/Procedure.d.ts +4 -4
- package/dist/ProductShelfLife.d.ts +2 -2
- package/dist/Project.d.ts +3 -3
- package/dist/ProjectMembership.d.ts +5 -5
- package/dist/Provenance.d.ts +6 -6
- package/dist/Questionnaire.d.ts +6 -6
- package/dist/QuestionnaireResponse.d.ts +2 -2
- package/dist/RelatedArtifact.d.ts +1 -1
- package/dist/RelatedPerson.d.ts +2 -2
- package/dist/RequestGroup.d.ts +5 -5
- package/dist/ResearchDefinition.d.ts +2 -2
- package/dist/ResearchElementDefinition.d.ts +3 -3
- package/dist/ResearchStudy.d.ts +2 -2
- package/dist/ResearchSubject.d.ts +3 -3
- package/dist/RiskAssessment.d.ts +2 -2
- package/dist/RiskEvidenceSynthesis.d.ts +3 -3
- package/dist/SampledData.d.ts +3 -3
- package/dist/Schedule.d.ts +1 -1
- package/dist/SearchParameter.d.ts +9 -9
- package/dist/ServiceRequest.d.ts +3 -3
- package/dist/Signature.d.ts +3 -3
- package/dist/Slot.d.ts +4 -4
- package/dist/SpecimenDefinition.d.ts +1 -1
- package/dist/StructureDefinition.d.ts +11 -11
- package/dist/StructureMap.d.ts +17 -17
- package/dist/Subscription.d.ts +5 -5
- package/dist/SubscriptionStatus.d.ts +3 -3
- package/dist/Substance.d.ts +1 -1
- package/dist/SubstanceSpecification.d.ts +1 -1
- package/dist/SupplyRequest.d.ts +1 -1
- package/dist/Task.d.ts +4 -4
- package/dist/TerminologyCapabilities.d.ts +10 -10
- package/dist/TestReport.d.ts +11 -11
- package/dist/TestScript.d.ts +23 -23
- package/dist/TriggerDefinition.d.ts +1 -1
- package/dist/UsageContext.d.ts +1 -1
- package/dist/User.d.ts +2 -2
- package/dist/UserConfiguration.d.ts +6 -6
- package/dist/ValueSet.d.ts +9 -9
- package/dist/VerificationResult.d.ts +2 -2
- package/dist/VisionPrescription.d.ts +10 -10
- package/package.json +1 -1
package/dist/RequestGroup.d.ts
CHANGED
|
@@ -156,13 +156,13 @@ export interface RequestGroup {
|
|
|
156
156
|
* The current state of the request. For request groups, the status
|
|
157
157
|
* reflects the status of all the requests in the group.
|
|
158
158
|
*/
|
|
159
|
-
status
|
|
159
|
+
status: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* Indicates the level of authority/intentionality associated with the
|
|
163
163
|
* request and where the request fits into the workflow chain.
|
|
164
164
|
*/
|
|
165
|
-
intent
|
|
165
|
+
intent: 'proposal' | 'plan' | 'directive' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Indicates how quickly the request should be addressed with respect to
|
|
@@ -435,7 +435,7 @@ export interface RequestGroupActionCondition {
|
|
|
435
435
|
/**
|
|
436
436
|
* The kind of condition.
|
|
437
437
|
*/
|
|
438
|
-
kind
|
|
438
|
+
kind: 'applicability' | 'start' | 'stop';
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
441
|
* An expression that returns true or false, indicating whether or not
|
|
@@ -488,12 +488,12 @@ export interface RequestGroupActionRelatedAction {
|
|
|
488
488
|
/**
|
|
489
489
|
* The element id of the action this is related to.
|
|
490
490
|
*/
|
|
491
|
-
actionId
|
|
491
|
+
actionId: string;
|
|
492
492
|
|
|
493
493
|
/**
|
|
494
494
|
* The relationship of this action to the related action.
|
|
495
495
|
*/
|
|
496
|
-
relationship
|
|
496
|
+
relationship: 'before-start' | 'before' | 'before-end' | 'concurrent-with-start' | 'concurrent' |
|
|
497
497
|
'concurrent-with-end' | 'after-start' | 'after' | 'after-end';
|
|
498
498
|
|
|
499
499
|
/**
|
|
@@ -162,7 +162,7 @@ export interface ResearchDefinition {
|
|
|
162
162
|
* The status of this research definition. Enables tracking the
|
|
163
163
|
* life-cycle of the content.
|
|
164
164
|
*/
|
|
165
|
-
status
|
|
165
|
+
status: 'draft' | 'active' | 'retired' | 'unknown';
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* A Boolean value to indicate that this research definition is authored
|
|
@@ -319,7 +319,7 @@ export interface ResearchDefinition {
|
|
|
319
319
|
* A reference to a ResearchElementDefinition resource that defines the
|
|
320
320
|
* population for the research.
|
|
321
321
|
*/
|
|
322
|
-
population
|
|
322
|
+
population: Reference<ResearchElementDefinition>;
|
|
323
323
|
|
|
324
324
|
/**
|
|
325
325
|
* A reference to a ResearchElementDefinition resource that defines the
|
|
@@ -166,7 +166,7 @@ export interface ResearchElementDefinition {
|
|
|
166
166
|
* The status of this research element definition. Enables tracking the
|
|
167
167
|
* life-cycle of the content.
|
|
168
168
|
*/
|
|
169
|
-
status
|
|
169
|
+
status: 'draft' | 'active' | 'retired' | 'unknown';
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* A Boolean value to indicate that this research element definition is
|
|
@@ -326,7 +326,7 @@ export interface ResearchElementDefinition {
|
|
|
326
326
|
* The type of research element, a population, an exposure, or an
|
|
327
327
|
* outcome.
|
|
328
328
|
*/
|
|
329
|
-
type
|
|
329
|
+
type: 'population' | 'exposure' | 'outcome';
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* The type of the outcome (e.g. Dichotomous, Continuous, or
|
|
@@ -338,7 +338,7 @@ export interface ResearchElementDefinition {
|
|
|
338
338
|
* A characteristic that defines the members of the research element.
|
|
339
339
|
* Multiple characteristics are applied with "and" semantics.
|
|
340
340
|
*/
|
|
341
|
-
characteristic
|
|
341
|
+
characteristic: ResearchElementDefinitionCharacteristic[];
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
/**
|
package/dist/ResearchStudy.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export interface ResearchStudy {
|
|
|
134
134
|
/**
|
|
135
135
|
* The current state of the study.
|
|
136
136
|
*/
|
|
137
|
-
status
|
|
137
|
+
status: 'active' | 'administratively-completed' | 'approved' | 'closed-to-accrual' |
|
|
138
138
|
'closed-to-accrual-and-intervention' | 'completed' | 'disapproved' | 'in-review' | 'temporarily-closed-to-accrual' |
|
|
139
139
|
'temporarily-closed-to-accrual-and-intervention' | 'withdrawn';
|
|
140
140
|
|
|
@@ -303,7 +303,7 @@ export interface ResearchStudyArm {
|
|
|
303
303
|
/**
|
|
304
304
|
* Unique, human-readable label for this arm of the study.
|
|
305
305
|
*/
|
|
306
|
-
name
|
|
306
|
+
name: string;
|
|
307
307
|
|
|
308
308
|
/**
|
|
309
309
|
* Categorization of study arm, e.g. experimental, active comparator,
|
|
@@ -104,7 +104,7 @@ export interface ResearchSubject {
|
|
|
104
104
|
/**
|
|
105
105
|
* The current state of the subject.
|
|
106
106
|
*/
|
|
107
|
-
status
|
|
107
|
+
status: 'candidate' | 'eligible' | 'follow-up' | 'ineligible' | 'not-registered' | 'off-study' | 'on-study' |
|
|
108
108
|
'on-study-intervention' | 'on-study-observation' | 'pending-on-study' | 'potential-candidate' | 'screening' |
|
|
109
109
|
'withdrawn';
|
|
110
110
|
|
|
@@ -117,12 +117,12 @@ export interface ResearchSubject {
|
|
|
117
117
|
/**
|
|
118
118
|
* Reference to the study the subject is participating in.
|
|
119
119
|
*/
|
|
120
|
-
study
|
|
120
|
+
study: Reference<ResearchStudy>;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* The record of the person or animal who is involved in the study.
|
|
124
124
|
*/
|
|
125
|
-
individual
|
|
125
|
+
individual: Reference<Patient>;
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* The name of the arm in the study the subject is expected to follow as
|
package/dist/RiskAssessment.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ export interface RiskAssessment {
|
|
|
126
126
|
* The status of the RiskAssessment, using the same statuses as an
|
|
127
127
|
* Observation.
|
|
128
128
|
*/
|
|
129
|
-
status
|
|
129
|
+
status: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* The algorithm, process or mechanism used to evaluate the risk.
|
|
@@ -141,7 +141,7 @@ export interface RiskAssessment {
|
|
|
141
141
|
/**
|
|
142
142
|
* The patient or group the risk assessment applies to.
|
|
143
143
|
*/
|
|
144
|
-
subject
|
|
144
|
+
subject: Reference<Patient | Group>;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* The encounter where the assessment was performed.
|
|
@@ -147,7 +147,7 @@ export interface RiskEvidenceSynthesis {
|
|
|
147
147
|
* The status of this risk evidence synthesis. Enables tracking the
|
|
148
148
|
* life-cycle of the content.
|
|
149
149
|
*/
|
|
150
|
-
status
|
|
150
|
+
status: 'draft' | 'active' | 'retired' | 'unknown';
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* The date (and optionally time) when the risk evidence synthesis was
|
|
@@ -277,7 +277,7 @@ export interface RiskEvidenceSynthesis {
|
|
|
277
277
|
* A reference to a EvidenceVariable resource that defines the population
|
|
278
278
|
* for the research.
|
|
279
279
|
*/
|
|
280
|
-
population
|
|
280
|
+
population: Reference<EvidenceVariable>;
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
283
|
* A reference to a EvidenceVariable resource that defines the exposure
|
|
@@ -289,7 +289,7 @@ export interface RiskEvidenceSynthesis {
|
|
|
289
289
|
* A reference to a EvidenceVariable resomece that defines the outcome
|
|
290
290
|
* for the research.
|
|
291
291
|
*/
|
|
292
|
-
outcome
|
|
292
|
+
outcome: Reference<EvidenceVariable>;
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* A description of the size of the sample involved in the synthesis.
|
package/dist/SampledData.d.ts
CHANGED
|
@@ -32,12 +32,12 @@ export interface SampledData {
|
|
|
32
32
|
* The base quantity that a measured value of zero represents. In
|
|
33
33
|
* addition, this provides the units of the entire measurement series.
|
|
34
34
|
*/
|
|
35
|
-
origin
|
|
35
|
+
origin: Quantity;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* The length of time between sampling times, measured in milliseconds.
|
|
39
39
|
*/
|
|
40
|
-
period
|
|
40
|
+
period: number;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* A correction factor that is applied to the sampled data points before
|
|
@@ -64,7 +64,7 @@ export interface SampledData {
|
|
|
64
64
|
* greater than one, then the dimensions will be interlaced - all the
|
|
65
65
|
* sample points for a point in time will be recorded at once.
|
|
66
66
|
*/
|
|
67
|
-
dimensions
|
|
67
|
+
dimensions: number;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* A series of data points which are decimal values separated by a single
|
package/dist/Schedule.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export interface Schedule {
|
|
|
133
133
|
* Slots that reference this schedule resource provide the availability
|
|
134
134
|
* details to these referenced resource(s).
|
|
135
135
|
*/
|
|
136
|
-
actor
|
|
136
|
+
actor: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location>[];
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* The period of time that the slots that reference this Schedule
|
|
@@ -103,7 +103,7 @@ export interface SearchParameter {
|
|
|
103
103
|
* can be the target of a canonical reference. It SHALL remain the same
|
|
104
104
|
* when the search parameter is stored on different servers.
|
|
105
105
|
*/
|
|
106
|
-
url
|
|
106
|
+
url: string;
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* The identifier that is used to identify this version of the search
|
|
@@ -121,7 +121,7 @@ export interface SearchParameter {
|
|
|
121
121
|
* should be usable as an identifier for the module by machine processing
|
|
122
122
|
* applications such as code generation.
|
|
123
123
|
*/
|
|
124
|
-
name
|
|
124
|
+
name: string;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* Where this search parameter is originally defined. If a derivedFrom is
|
|
@@ -136,7 +136,7 @@ export interface SearchParameter {
|
|
|
136
136
|
* The status of this search parameter. Enables tracking the life-cycle
|
|
137
137
|
* of the content.
|
|
138
138
|
*/
|
|
139
|
-
status
|
|
139
|
+
status: 'draft' | 'active' | 'retired' | 'unknown';
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* A Boolean value to indicate that this search parameter is authored for
|
|
@@ -168,7 +168,7 @@ export interface SearchParameter {
|
|
|
168
168
|
/**
|
|
169
169
|
* And how it used.
|
|
170
170
|
*/
|
|
171
|
-
description
|
|
171
|
+
description: string;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* The content was developed with a focus and intent of supporting the
|
|
@@ -195,19 +195,19 @@ export interface SearchParameter {
|
|
|
195
195
|
* The code used in the URL or the parameter name in a parameters
|
|
196
196
|
* resource for this search parameter.
|
|
197
197
|
*/
|
|
198
|
-
code
|
|
198
|
+
code: string;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* The base resource type(s) that this search parameter can be used
|
|
202
202
|
* against.
|
|
203
203
|
*/
|
|
204
|
-
base
|
|
204
|
+
base: ResourceType[];
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* The type of value that a search parameter may contain, and how the
|
|
208
208
|
* content is interpreted.
|
|
209
209
|
*/
|
|
210
|
-
type
|
|
210
|
+
type: 'number' | 'date' | 'string' | 'token' | 'reference' | 'composite' | 'quantity' | 'uri' | 'special';
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* A FHIRPath expression that returns a set of elements for the search
|
|
@@ -315,11 +315,11 @@ export interface SearchParameterComponent {
|
|
|
315
315
|
/**
|
|
316
316
|
* The definition of the search parameter that describes this part.
|
|
317
317
|
*/
|
|
318
|
-
definition
|
|
318
|
+
definition: string;
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
321
|
* A sub-expression that defines how to extract values for this component
|
|
322
322
|
* from the output of the main SearchParameter.expression.
|
|
323
323
|
*/
|
|
324
|
-
expression
|
|
324
|
+
expression: string;
|
|
325
325
|
}
|
package/dist/ServiceRequest.d.ts
CHANGED
|
@@ -161,13 +161,13 @@ export interface ServiceRequest {
|
|
|
161
161
|
/**
|
|
162
162
|
* The status of the order.
|
|
163
163
|
*/
|
|
164
|
-
status
|
|
164
|
+
status: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
167
|
* Whether the request is a proposal, plan, an original order or a reflex
|
|
168
168
|
* order.
|
|
169
169
|
*/
|
|
170
|
-
intent
|
|
170
|
+
intent: 'proposal' | 'plan' | 'directive' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* A code that classifies the service for searching, sorting and display
|
|
@@ -230,7 +230,7 @@ export interface ServiceRequest {
|
|
|
230
230
|
* or animals, devices such as dialysis machines, or even locations
|
|
231
231
|
* (typically for environmental scans).
|
|
232
232
|
*/
|
|
233
|
-
subject
|
|
233
|
+
subject: Reference<Patient | Group | Location | Device>;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* An encounter that provides additional information about the healthcare
|
package/dist/Signature.d.ts
CHANGED
|
@@ -45,18 +45,18 @@ export interface Signature {
|
|
|
45
45
|
* can be used when determining accountability for various actions
|
|
46
46
|
* concerning the document.
|
|
47
47
|
*/
|
|
48
|
-
type
|
|
48
|
+
type: Coding[];
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* When the digital signature was signed.
|
|
52
52
|
*/
|
|
53
|
-
when
|
|
53
|
+
when: string;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* A reference to an application-usable description of the identity that
|
|
57
57
|
* signed (e.g. the signature used their private key).
|
|
58
58
|
*/
|
|
59
|
-
who
|
|
59
|
+
who: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* A reference to an application-usable description of the identity that
|
package/dist/Slot.d.ts
CHANGED
|
@@ -129,22 +129,22 @@ export interface Slot {
|
|
|
129
129
|
* The schedule resource that this slot defines an interval of status
|
|
130
130
|
* information.
|
|
131
131
|
*/
|
|
132
|
-
schedule
|
|
132
|
+
schedule: Reference<Schedule>;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* busy | free | busy-unavailable | busy-tentative | entered-in-error.
|
|
136
136
|
*/
|
|
137
|
-
status
|
|
137
|
+
status: 'busy' | 'free' | 'busy-unavailable' | 'busy-tentative' | 'entered-in-error';
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Date/Time that the slot is to begin.
|
|
141
141
|
*/
|
|
142
|
-
start
|
|
142
|
+
start: string;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* Date/Time that the slot is to conclude.
|
|
146
146
|
*/
|
|
147
|
-
end
|
|
147
|
+
end: string;
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* This slot has already been overbooked, appointments are unlikely to be
|
|
@@ -182,7 +182,7 @@ export interface SpecimenDefinitionTypeTested {
|
|
|
182
182
|
/**
|
|
183
183
|
* The preference for this type of conditioned specimen.
|
|
184
184
|
*/
|
|
185
|
-
preference
|
|
185
|
+
preference: 'preferred' | 'alternate';
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* The specimen's container.
|
|
@@ -107,7 +107,7 @@ export interface StructureDefinition {
|
|
|
107
107
|
* SHALL remain the same when the structure definition is stored on
|
|
108
108
|
* different servers.
|
|
109
109
|
*/
|
|
110
|
-
url
|
|
110
|
+
url: string;
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* A formal identifier that is used to identify this structure definition
|
|
@@ -132,7 +132,7 @@ export interface StructureDefinition {
|
|
|
132
132
|
* name should be usable as an identifier for the module by machine
|
|
133
133
|
* processing applications such as code generation.
|
|
134
134
|
*/
|
|
135
|
-
name
|
|
135
|
+
name: string;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* A short, descriptive, user-friendly title for the structure
|
|
@@ -144,7 +144,7 @@ export interface StructureDefinition {
|
|
|
144
144
|
* The status of this structure definition. Enables tracking the
|
|
145
145
|
* life-cycle of the content.
|
|
146
146
|
*/
|
|
147
|
-
status
|
|
147
|
+
status: 'draft' | 'active' | 'retired' | 'unknown';
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* A Boolean value to indicate that this structure definition is authored
|
|
@@ -232,7 +232,7 @@ export interface StructureDefinition {
|
|
|
232
232
|
/**
|
|
233
233
|
* Defines the kind of structure that this definition is describing.
|
|
234
234
|
*/
|
|
235
|
-
kind
|
|
235
|
+
kind: 'primitive-type' | 'complex-type' | 'resource' | 'logical';
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
238
|
* Whether structure this definition describes is abstract or not - that
|
|
@@ -240,7 +240,7 @@ export interface StructureDefinition {
|
|
|
240
240
|
* Resources and Data types, abstract types will never be exchanged
|
|
241
241
|
* between systems.
|
|
242
242
|
*/
|
|
243
|
-
abstract
|
|
243
|
+
abstract: boolean;
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* Identifies the types of resource or data type elements to which the
|
|
@@ -266,7 +266,7 @@ export interface StructureDefinition {
|
|
|
266
266
|
* to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are
|
|
267
267
|
* only allowed in logical models.
|
|
268
268
|
*/
|
|
269
|
-
type
|
|
269
|
+
type: string;
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* An absolute URI that is the base structure from which this type is
|
|
@@ -337,13 +337,13 @@ export interface StructureDefinitionContext {
|
|
|
337
337
|
* Defines how to interpret the expression that defines what the context
|
|
338
338
|
* of the extension is.
|
|
339
339
|
*/
|
|
340
|
-
type
|
|
340
|
+
type: 'fhirpath' | 'element' | 'extension';
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
343
|
* An expression that defines where an extension can be used in
|
|
344
344
|
* resources.
|
|
345
345
|
*/
|
|
346
|
-
expression
|
|
346
|
+
expression: string;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
/**
|
|
@@ -390,7 +390,7 @@ export interface StructureDefinitionDifferential {
|
|
|
390
390
|
/**
|
|
391
391
|
* Captures constraints on each element within the resource.
|
|
392
392
|
*/
|
|
393
|
-
element
|
|
393
|
+
element: ElementDefinition[];
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
/**
|
|
@@ -437,7 +437,7 @@ export interface StructureDefinitionMapping {
|
|
|
437
437
|
* An Internal id that is used to identify this mapping set when specific
|
|
438
438
|
* mappings are made.
|
|
439
439
|
*/
|
|
440
|
-
identity
|
|
440
|
+
identity: string;
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* An absolute URI that identifies the specification that this mapping is
|
|
@@ -501,5 +501,5 @@ export interface StructureDefinitionSnapshot {
|
|
|
501
501
|
/**
|
|
502
502
|
* Captures constraints on each element within the resource.
|
|
503
503
|
*/
|
|
504
|
-
element
|
|
504
|
+
element: ElementDefinition[];
|
|
505
505
|
}
|
package/dist/StructureMap.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ export interface StructureMap {
|
|
|
129
129
|
* be the target of a canonical reference. It SHALL remain the same when
|
|
130
130
|
* the structure map is stored on different servers.
|
|
131
131
|
*/
|
|
132
|
-
url
|
|
132
|
+
url: string;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* A formal identifier that is used to identify this structure map when
|
|
@@ -154,7 +154,7 @@ export interface StructureMap {
|
|
|
154
154
|
* should be usable as an identifier for the module by machine processing
|
|
155
155
|
* applications such as code generation.
|
|
156
156
|
*/
|
|
157
|
-
name
|
|
157
|
+
name: string;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* A short, descriptive, user-friendly title for the structure map.
|
|
@@ -165,7 +165,7 @@ export interface StructureMap {
|
|
|
165
165
|
* The status of this structure map. Enables tracking the life-cycle of
|
|
166
166
|
* the content.
|
|
167
167
|
*/
|
|
168
|
-
status
|
|
168
|
+
status: 'draft' | 'active' | 'retired' | 'unknown';
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* A Boolean value to indicate that this structure map is authored for
|
|
@@ -244,7 +244,7 @@ export interface StructureMap {
|
|
|
244
244
|
* Organizes the mapping into manageable chunks for human review/ease of
|
|
245
245
|
* maintenance.
|
|
246
246
|
*/
|
|
247
|
-
group
|
|
247
|
+
group: StructureMapGroup[];
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
/**
|
|
@@ -291,7 +291,7 @@ export interface StructureMapGroup {
|
|
|
291
291
|
/**
|
|
292
292
|
* A unique name for the group for the convenience of human readers.
|
|
293
293
|
*/
|
|
294
|
-
name
|
|
294
|
+
name: string;
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
297
|
* Another group that this group adds rules to.
|
|
@@ -302,7 +302,7 @@ export interface StructureMapGroup {
|
|
|
302
302
|
* If this is the default rule set to apply for the source type or this
|
|
303
303
|
* combination of types.
|
|
304
304
|
*/
|
|
305
|
-
typeMode
|
|
305
|
+
typeMode: 'none' | 'types' | 'type-and-types';
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
308
|
* Additional supporting documentation that explains the purpose of the
|
|
@@ -314,12 +314,12 @@ export interface StructureMapGroup {
|
|
|
314
314
|
* A name assigned to an instance of data. The instance must be provided
|
|
315
315
|
* when the mapping is invoked.
|
|
316
316
|
*/
|
|
317
|
-
input
|
|
317
|
+
input: StructureMapGroupInput[];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Transform Rule from source to target.
|
|
321
321
|
*/
|
|
322
|
-
rule
|
|
322
|
+
rule: StructureMapGroupRule[];
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
/**
|
|
@@ -366,7 +366,7 @@ export interface StructureMapGroupInput {
|
|
|
366
366
|
/**
|
|
367
367
|
* Name for this instance of data.
|
|
368
368
|
*/
|
|
369
|
-
name
|
|
369
|
+
name: string;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
372
|
* Type for this instance of data.
|
|
@@ -376,7 +376,7 @@ export interface StructureMapGroupInput {
|
|
|
376
376
|
/**
|
|
377
377
|
* Mode for this instance of data.
|
|
378
378
|
*/
|
|
379
|
-
mode
|
|
379
|
+
mode: 'source' | 'target';
|
|
380
380
|
|
|
381
381
|
/**
|
|
382
382
|
* Documentation for this instance of data.
|
|
@@ -427,12 +427,12 @@ export interface StructureMapGroupRule {
|
|
|
427
427
|
/**
|
|
428
428
|
* Name of the rule for internal references.
|
|
429
429
|
*/
|
|
430
|
-
name
|
|
430
|
+
name: string;
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
433
|
* Source inputs to the mapping.
|
|
434
434
|
*/
|
|
435
|
-
source
|
|
435
|
+
source: StructureMapGroupRuleSource[];
|
|
436
436
|
|
|
437
437
|
/**
|
|
438
438
|
* Content to create because of this mapping rule.
|
|
@@ -498,12 +498,12 @@ export interface StructureMapGroupRuleDependent {
|
|
|
498
498
|
/**
|
|
499
499
|
* Name of a rule or group to apply.
|
|
500
500
|
*/
|
|
501
|
-
name
|
|
501
|
+
name: string;
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
504
|
* Variable to pass to the rule or group.
|
|
505
505
|
*/
|
|
506
|
-
variable
|
|
506
|
+
variable: string[];
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
/**
|
|
@@ -549,7 +549,7 @@ export interface StructureMapGroupRuleSource {
|
|
|
549
549
|
/**
|
|
550
550
|
* Type or variable this rule applies to.
|
|
551
551
|
*/
|
|
552
|
-
context
|
|
552
|
+
context: string;
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
555
|
* Specified minimum cardinality for the element. This is optional; if
|
|
@@ -1046,12 +1046,12 @@ export interface StructureMapStructure {
|
|
|
1046
1046
|
/**
|
|
1047
1047
|
* The canonical reference to the structure.
|
|
1048
1048
|
*/
|
|
1049
|
-
url
|
|
1049
|
+
url: string;
|
|
1050
1050
|
|
|
1051
1051
|
/**
|
|
1052
1052
|
* How the referenced structure is used in this mapping.
|
|
1053
1053
|
*/
|
|
1054
|
-
mode
|
|
1054
|
+
mode: 'source' | 'queried' | 'target' | 'produced';
|
|
1055
1055
|
|
|
1056
1056
|
/**
|
|
1057
1057
|
* The name used for this type in the map.
|
package/dist/Subscription.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ export interface Subscription {
|
|
|
99
99
|
* The status of the subscription, which marks the server state for
|
|
100
100
|
* managing the subscription.
|
|
101
101
|
*/
|
|
102
|
-
status
|
|
102
|
+
status: 'requested' | 'active' | 'error' | 'off';
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Contact details for a human to contact about the subscription. The
|
|
@@ -115,13 +115,13 @@ export interface Subscription {
|
|
|
115
115
|
/**
|
|
116
116
|
* A description of why this subscription is defined.
|
|
117
117
|
*/
|
|
118
|
-
reason
|
|
118
|
+
reason: string;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* The rules that the server should use to determine when to generate
|
|
122
122
|
* notifications for this subscription.
|
|
123
123
|
*/
|
|
124
|
-
criteria
|
|
124
|
+
criteria: string;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* A record of the last error that occurred when the server processed a
|
|
@@ -133,7 +133,7 @@ export interface Subscription {
|
|
|
133
133
|
* Details where to send notifications when resources are received that
|
|
134
134
|
* meet the criteria.
|
|
135
135
|
*/
|
|
136
|
-
channel
|
|
136
|
+
channel: SubscriptionChannel;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/**
|
|
@@ -180,7 +180,7 @@ export interface SubscriptionChannel {
|
|
|
180
180
|
/**
|
|
181
181
|
* The type of channel to send notifications on.
|
|
182
182
|
*/
|
|
183
|
-
type
|
|
183
|
+
type: 'rest-hook' | 'websocket' | 'email' | 'sms' | 'message';
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* The url that describes the actual end-point to send messages to.
|
|
@@ -102,7 +102,7 @@ export interface SubscriptionStatus {
|
|
|
102
102
|
/**
|
|
103
103
|
* The type of event being conveyed with this notificaiton.
|
|
104
104
|
*/
|
|
105
|
-
type
|
|
105
|
+
type: string;
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* The total number of actual events which have been generated since the
|
|
@@ -121,7 +121,7 @@ export interface SubscriptionStatus {
|
|
|
121
121
|
/**
|
|
122
122
|
* The reference to the Subscription which generated this notification.
|
|
123
123
|
*/
|
|
124
|
-
subscription
|
|
124
|
+
subscription: Reference<Subscription>;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* The reference to the SubscriptionTopic for the Subscription which
|
|
@@ -181,7 +181,7 @@ export interface SubscriptionStatusNotificationEvent {
|
|
|
181
181
|
* The sequential number of this event in this subscription context. Note
|
|
182
182
|
* that this value is a 64-bit integer value, encoded as a string.
|
|
183
183
|
*/
|
|
184
|
-
eventNumber
|
|
184
|
+
eventNumber: string;
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* The actual time this event occured on the server.
|