@medplum/fhirtypes 0.9.35 → 0.9.37
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/Account.d.ts +1 -1
- package/dist/ActivityDefinition.d.ts +7 -5
- package/dist/Address.d.ts +2 -2
- package/dist/AdverseEvent.d.ts +1 -1
- package/dist/Age.d.ts +1 -1
- package/dist/AllergyIntolerance.d.ts +4 -4
- package/dist/Appointment.d.ts +3 -3
- package/dist/AppointmentResponse.d.ts +1 -1
- package/dist/AuditEvent.d.ts +3 -3
- package/dist/BiologicallyDerivedProduct.d.ts +3 -3
- package/dist/Bundle.d.ts +3 -3
- package/dist/CapabilityStatement.d.ts +16 -14
- package/dist/CarePlan.d.ts +4 -4
- package/dist/CareTeam.d.ts +1 -1
- package/dist/CatalogEntry.d.ts +2 -2
- package/dist/ChargeItem.d.ts +1 -1
- package/dist/ChargeItemDefinition.d.ts +2 -2
- package/dist/Claim.d.ts +2 -2
- package/dist/ClaimResponse.d.ts +4 -4
- package/dist/ClinicalImpression.d.ts +1 -1
- package/dist/CodeSystem.d.ts +5 -5
- package/dist/Communication.d.ts +2 -2
- package/dist/CommunicationRequest.d.ts +2 -2
- package/dist/CompartmentDefinition.d.ts +4 -3
- package/dist/Composition.d.ts +4 -4
- package/dist/ConceptMap.d.ts +3 -3
- package/dist/Consent.d.ts +3 -3
- package/dist/ContactPoint.d.ts +2 -2
- package/dist/Contract.d.ts +4 -2
- package/dist/Contributor.d.ts +1 -1
- package/dist/Count.d.ts +1 -1
- package/dist/Coverage.d.ts +1 -1
- package/dist/CoverageEligibilityRequest.d.ts +2 -2
- package/dist/CoverageEligibilityResponse.d.ts +3 -3
- package/dist/DataRequirement.d.ts +1 -1
- package/dist/DetectedIssue.d.ts +2 -2
- package/dist/Device.d.ts +3 -3
- package/dist/DeviceDefinition.d.ts +1 -1
- package/dist/DeviceMetric.d.ts +5 -5
- package/dist/DeviceRequest.d.ts +3 -3
- package/dist/DeviceUseStatement.d.ts +1 -1
- package/dist/DiagnosticReport.d.ts +1 -1
- package/dist/Distance.d.ts +1 -1
- package/dist/DocumentManifest.d.ts +1 -1
- package/dist/DocumentReference.d.ts +3 -3
- package/dist/Duration.d.ts +1 -1
- package/dist/EffectEvidenceSynthesis.d.ts +2 -2
- package/dist/ElementDefinition.d.ts +7 -7
- package/dist/Encounter.d.ts +3 -3
- package/dist/Endpoint.d.ts +1 -1
- package/dist/EnrollmentRequest.d.ts +1 -1
- package/dist/EnrollmentResponse.d.ts +2 -2
- package/dist/EpisodeOfCare.d.ts +2 -2
- package/dist/EventDefinition.d.ts +1 -1
- package/dist/Evidence.d.ts +1 -1
- package/dist/EvidenceVariable.d.ts +3 -3
- package/dist/ExampleScenario.d.ts +4 -3
- package/dist/ExplanationOfBenefit.d.ts +4 -4
- package/dist/FamilyMemberHistory.d.ts +1 -1
- package/dist/Flag.d.ts +1 -1
- package/dist/Goal.d.ts +1 -1
- package/dist/GraphDefinition.d.ts +7 -6
- package/dist/Group.d.ts +1 -1
- package/dist/GuidanceResponse.d.ts +1 -1
- package/dist/HealthcareService.d.ts +1 -1
- package/dist/HumanName.d.ts +1 -1
- package/dist/Identifier.d.ts +1 -1
- package/dist/ImagingStudy.d.ts +1 -1
- package/dist/Immunization.d.ts +1 -1
- package/dist/ImmunizationEvaluation.d.ts +1 -1
- package/dist/ImplementationGuide.d.ts +56 -7
- package/dist/InsurancePlan.d.ts +1 -1
- package/dist/Invoice.d.ts +2 -2
- package/dist/Library.d.ts +1 -1
- package/dist/Linkage.d.ts +1 -1
- package/dist/List.d.ts +2 -2
- package/dist/Location.d.ts +3 -3
- package/dist/Measure.d.ts +1 -1
- package/dist/MeasureReport.d.ts +2 -2
- package/dist/Media.d.ts +1 -1
- package/dist/Medication.d.ts +1 -1
- package/dist/MedicationAdministration.d.ts +1 -1
- package/dist/MedicationDispense.d.ts +1 -1
- package/dist/MedicationKnowledge.d.ts +1 -1
- package/dist/MedicationRequest.d.ts +3 -3
- package/dist/MedicationStatement.d.ts +1 -1
- package/dist/MessageDefinition.d.ts +5 -4
- package/dist/MessageHeader.d.ts +1 -1
- package/dist/MolecularSequence.d.ts +5 -5
- package/dist/NamingSystem.d.ts +3 -3
- package/dist/Narrative.d.ts +1 -1
- package/dist/NutritionOrder.d.ts +2 -2
- package/dist/Observation.d.ts +1 -1
- package/dist/ObservationDefinition.d.ts +4 -3
- package/dist/OperationDefinition.d.ts +7 -6
- package/dist/OperationOutcome.d.ts +5 -2
- package/dist/ParameterDefinition.d.ts +1 -1
- package/dist/Patient.d.ts +3 -3
- package/dist/PaymentNotice.d.ts +1 -1
- package/dist/PaymentReconciliation.d.ts +3 -3
- package/dist/Person.d.ts +2 -2
- package/dist/PlanDefinition.d.ts +11 -10
- package/dist/Practitioner.d.ts +1 -1
- package/dist/PractitionerRole.d.ts +1 -1
- package/dist/Procedure.d.ts +1 -1
- package/dist/Provenance.d.ts +1 -1
- package/dist/Quantity.d.ts +1 -1
- package/dist/Questionnaire.d.ts +7 -5
- package/dist/QuestionnaireResponse.d.ts +1 -1
- package/dist/RelatedArtifact.d.ts +1 -1
- package/dist/RelatedPerson.d.ts +1 -1
- package/dist/RequestGroup.d.ts +12 -11
- package/dist/ResearchDefinition.d.ts +1 -1
- package/dist/ResearchElementDefinition.d.ts +5 -5
- package/dist/ResearchStudy.d.ts +3 -1
- package/dist/ResearchSubject.d.ts +3 -1
- package/dist/Resource.d.ts +0 -3
- package/dist/ResourceType.d.ts +9 -0
- package/dist/RiskAssessment.d.ts +1 -1
- package/dist/RiskEvidenceSynthesis.d.ts +1 -1
- package/dist/SearchParameter.d.ts +8 -7
- package/dist/ServiceRequest.d.ts +3 -3
- package/dist/Slot.d.ts +1 -1
- package/dist/Specimen.d.ts +1 -1
- package/dist/SpecimenDefinition.d.ts +1 -1
- package/dist/StructureDefinition.d.ts +6 -5
- package/dist/StructureMap.d.ts +9 -8
- package/dist/Subscription.d.ts +2 -2
- package/dist/Substance.d.ts +1 -1
- package/dist/SupplyDelivery.d.ts +1 -1
- package/dist/SupplyRequest.d.ts +2 -2
- package/dist/Task.d.ts +4 -3
- package/dist/TerminologyCapabilities.d.ts +3 -3
- package/dist/TestReport.d.ts +5 -5
- package/dist/TestScript.d.ts +7 -6
- package/dist/Timing.d.ts +6 -4
- package/dist/TriggerDefinition.d.ts +1 -1
- package/dist/ValueSet.d.ts +2 -2
- package/dist/VerificationResult.d.ts +1 -1
- package/dist/VisionPrescription.d.ts +3 -3
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/Account.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ export interface Account {
|
|
|
113
113
|
/**
|
|
114
114
|
* Indicates whether the account is presently used/usable or not.
|
|
115
115
|
*/
|
|
116
|
-
status?:
|
|
116
|
+
status?: 'active' | 'inactive' | 'entered-in-error' | 'on-hold' | 'unknown';
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* Categorizes the account for reporting and searching purposes.
|
|
@@ -166,7 +166,7 @@ export interface ActivityDefinition {
|
|
|
166
166
|
* The status of this activity 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 activity definition is authored
|
|
@@ -317,7 +317,9 @@ export interface ActivityDefinition {
|
|
|
317
317
|
* CommunicationRequest. Typically, but not always, this is a Request
|
|
318
318
|
* resource.
|
|
319
319
|
*/
|
|
320
|
-
kind?:
|
|
320
|
+
kind?: 'Appointment' | 'AppointmentResponse' | 'CarePlan' | 'Claim' | 'CommunicationRequest' | 'Contract' |
|
|
321
|
+
'DeviceRequest' | 'EnrollmentRequest' | 'ImmunizationRecommendation' | 'MedicationRequest' | 'NutritionOrder' |
|
|
322
|
+
'ServiceRequest' | 'SupplyRequest' | 'Task' | 'VisionPrescription';
|
|
321
323
|
|
|
322
324
|
/**
|
|
323
325
|
* A profile to which the target of the activity definition is expected
|
|
@@ -335,13 +337,13 @@ export interface ActivityDefinition {
|
|
|
335
337
|
* Indicates the level of authority/intentionality associated with the
|
|
336
338
|
* activity and where the request should fit into the workflow chain.
|
|
337
339
|
*/
|
|
338
|
-
intent?:
|
|
340
|
+
intent?: 'proposal' | 'plan' | 'directive' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
|
|
339
341
|
|
|
340
342
|
/**
|
|
341
343
|
* Indicates how quickly the activity should be addressed with respect
|
|
342
344
|
* to other requests.
|
|
343
345
|
*/
|
|
344
|
-
priority?:
|
|
346
|
+
priority?: 'routine' | 'urgent' | 'asap' | 'stat';
|
|
345
347
|
|
|
346
348
|
/**
|
|
347
349
|
* Set this to true if the definition is to indicate that a particular
|
|
@@ -570,7 +572,7 @@ export interface ActivityDefinitionParticipant {
|
|
|
570
572
|
/**
|
|
571
573
|
* The type of participant in the action.
|
|
572
574
|
*/
|
|
573
|
-
type?:
|
|
575
|
+
type?: 'patient' | 'practitioner' | 'related-person' | 'device';
|
|
574
576
|
|
|
575
577
|
/**
|
|
576
578
|
* The role the participant should play in performing the described
|
package/dist/Address.d.ts
CHANGED
|
@@ -34,14 +34,14 @@ export interface Address {
|
|
|
34
34
|
/**
|
|
35
35
|
* The purpose of this address.
|
|
36
36
|
*/
|
|
37
|
-
use?:
|
|
37
|
+
use?: 'home' | 'work' | 'temp' | 'old' | 'billing';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Distinguishes between physical addresses (those you can visit) and
|
|
41
41
|
* mailing addresses (e.g. PO Boxes and care-of addresses). Most
|
|
42
42
|
* addresses are both.
|
|
43
43
|
*/
|
|
44
|
-
type?:
|
|
44
|
+
type?: 'postal' | 'physical' | 'both';
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Specifies the entire address as it should be displayed e.g. on a
|
package/dist/AdverseEvent.d.ts
CHANGED
|
@@ -128,7 +128,7 @@ export interface AdverseEvent {
|
|
|
128
128
|
* Note that this is independent of whether anyone was affected or harmed
|
|
129
129
|
* or how severely.
|
|
130
130
|
*/
|
|
131
|
-
actuality?:
|
|
131
|
+
actuality?: 'actual' | 'potential';
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* The overall type of event, intended for search and filtering purposes.
|
package/dist/Age.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface Age {
|
|
|
39
39
|
* measurement issues; e.g. if the comparator is "<" , then the real
|
|
40
40
|
* value is < stated value.
|
|
41
41
|
*/
|
|
42
|
-
comparator?:
|
|
42
|
+
comparator?: '<' | '<=' | '>=' | '>';
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* A human-readable form of the unit.
|
|
@@ -125,18 +125,18 @@ export interface AllergyIntolerance {
|
|
|
125
125
|
* Identification of the underlying physiological mechanism for the
|
|
126
126
|
* reaction risk.
|
|
127
127
|
*/
|
|
128
|
-
type?:
|
|
128
|
+
type?: 'allergy' | 'intolerance';
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* Category of the identified substance.
|
|
132
132
|
*/
|
|
133
|
-
category?:
|
|
133
|
+
category?: ('food' | 'medication' | 'environment' | 'biologic')[];
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* Estimate of the potential clinical harm, or seriousness, of the
|
|
137
137
|
* reaction to the identified substance.
|
|
138
138
|
*/
|
|
139
|
-
criticality?:
|
|
139
|
+
criticality?: 'low' | 'high' | 'unable-to-assess';
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* Code for an allergy or intolerance statement (either a positive or a
|
|
@@ -313,7 +313,7 @@ export interface AllergyIntoleranceReaction {
|
|
|
313
313
|
* Clinical assessment of the severity of the reaction event as a whole,
|
|
314
314
|
* potentially considering multiple different manifestations.
|
|
315
315
|
*/
|
|
316
|
-
severity?:
|
|
316
|
+
severity?: 'mild' | 'moderate' | 'severe';
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* Identification of the route by which the subject was exposed to the
|
package/dist/Appointment.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ export interface Appointment {
|
|
|
121
121
|
* their own participation status which indicates their involvement in
|
|
122
122
|
* the process, however this status indicates the shared status.
|
|
123
123
|
*/
|
|
124
|
-
status?:
|
|
124
|
+
status?: 'proposed' | 'pending' | 'booked' | 'arrived' | 'fulfilled' | 'cancelled' | 'noshow' | 'entered-in-error' | 'checked-in' | 'waitlist';
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* The coded reason for the appointment being cancelled. This is often
|
|
@@ -316,12 +316,12 @@ export interface AppointmentParticipant {
|
|
|
316
316
|
* results for a specific patient, and the patient is not required to be
|
|
317
317
|
* present.
|
|
318
318
|
*/
|
|
319
|
-
required?:
|
|
319
|
+
required?: 'required' | 'optional' | 'information-only';
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
322
|
* Participation status of the actor.
|
|
323
323
|
*/
|
|
324
|
-
status?:
|
|
324
|
+
status?: 'accepted' | 'declined' | 'tentative' | 'needs-action';
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* Participation period of the actor.
|
|
@@ -145,7 +145,7 @@ export interface AppointmentResponse {
|
|
|
145
145
|
* When the status is accepted, the times can either be the time of the
|
|
146
146
|
* appointment (as a confirmation of the time) or can be empty.
|
|
147
147
|
*/
|
|
148
|
-
participantStatus?:
|
|
148
|
+
participantStatus?: 'accepted' | 'declined' | 'tentative' | 'needs-action';
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* Additional comments about the appointment.
|
package/dist/AuditEvent.d.ts
CHANGED
|
@@ -118,7 +118,7 @@ export interface AuditEvent {
|
|
|
118
118
|
* Indicator for type of action performed during the event that generated
|
|
119
119
|
* the audit.
|
|
120
120
|
*/
|
|
121
|
-
action?:
|
|
121
|
+
action?: 'C' | 'R' | 'U' | 'D' | 'E';
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* The period during which the activity occurred.
|
|
@@ -133,7 +133,7 @@ export interface AuditEvent {
|
|
|
133
133
|
/**
|
|
134
134
|
* Indicates whether the event succeeded or failed.
|
|
135
135
|
*/
|
|
136
|
-
outcome?:
|
|
136
|
+
outcome?: '0' | '4' | '8' | '12';
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* A free text description of the outcome of the event.
|
|
@@ -324,7 +324,7 @@ export interface AuditEventAgentNetwork {
|
|
|
324
324
|
* An identifier for the type of network access point that originated the
|
|
325
325
|
* audit event.
|
|
326
326
|
*/
|
|
327
|
-
type?:
|
|
327
|
+
type?: '1' | '2' | '3' | '4' | '5';
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
/**
|
|
@@ -113,7 +113,7 @@ export interface BiologicallyDerivedProduct {
|
|
|
113
113
|
/**
|
|
114
114
|
* Broad category of this product.
|
|
115
115
|
*/
|
|
116
|
-
productCategory?:
|
|
116
|
+
productCategory?: 'organ' | 'tissue' | 'fluid' | 'cells' | 'biologicalAgent';
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* A code that identifies the kind of this biologically derived product
|
|
@@ -124,7 +124,7 @@ export interface BiologicallyDerivedProduct {
|
|
|
124
124
|
/**
|
|
125
125
|
* Whether the product is currently available.
|
|
126
126
|
*/
|
|
127
|
-
status?:
|
|
127
|
+
status?: 'available' | 'unavailable';
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* Procedure request to obtain this biologically derived product.
|
|
@@ -407,7 +407,7 @@ export interface BiologicallyDerivedProductStorage {
|
|
|
407
407
|
/**
|
|
408
408
|
* Temperature scale used.
|
|
409
409
|
*/
|
|
410
|
-
scale?:
|
|
410
|
+
scale?: 'farenheit' | 'celsius' | 'kelvin';
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* Storage timeperiod.
|
package/dist/Bundle.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export interface Bundle<T extends Resource = Resource> {
|
|
|
54
54
|
/**
|
|
55
55
|
* Indicates the purpose of this bundle - how it is intended to be used.
|
|
56
56
|
*/
|
|
57
|
-
type?:
|
|
57
|
+
type?: 'document' | 'message' | 'transaction' | 'transaction-response' | 'batch' | 'batch-response' | 'history' | 'searchset' | 'collection';
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* The date/time that the bundle was assembled - i.e. when the resources
|
|
@@ -220,7 +220,7 @@ export interface BundleEntryRequest {
|
|
|
220
220
|
* this entry. In a history bundle, this indicates the HTTP action that
|
|
221
221
|
* occurred.
|
|
222
222
|
*/
|
|
223
|
-
method?:
|
|
223
|
+
method?: 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* The URL for this entry, relative to the root (the address to which the
|
|
@@ -377,7 +377,7 @@ export interface BundleEntrySearch {
|
|
|
377
377
|
* or because of an _include requirement, or to convey information or
|
|
378
378
|
* warning information about the search process.
|
|
379
379
|
*/
|
|
380
|
-
mode?:
|
|
380
|
+
mode?: 'match' | 'include' | 'outcome';
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
383
|
* When searching, the server's search ranking score for the entry.
|
|
@@ -12,6 +12,7 @@ import { Narrative } from './Narrative';
|
|
|
12
12
|
import { Organization } from './Organization';
|
|
13
13
|
import { Reference } from './Reference';
|
|
14
14
|
import { Resource } from './Resource';
|
|
15
|
+
import { ResourceType } from './ResourceType';
|
|
15
16
|
import { UsageContext } from './UsageContext';
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -138,7 +139,7 @@ export interface CapabilityStatement {
|
|
|
138
139
|
* The status of this capability statement. Enables tracking the
|
|
139
140
|
* life-cycle of the content.
|
|
140
141
|
*/
|
|
141
|
-
status?:
|
|
142
|
+
status?: 'draft' | 'active' | 'retired' | 'unknown';
|
|
142
143
|
|
|
143
144
|
/**
|
|
144
145
|
* A Boolean value to indicate that this capability statement is authored
|
|
@@ -211,7 +212,7 @@ export interface CapabilityStatement {
|
|
|
211
212
|
* instance of software) or a class of implementation (e.g. a desired
|
|
212
213
|
* purchase).
|
|
213
214
|
*/
|
|
214
|
-
kind?:
|
|
215
|
+
kind?: 'instance' | 'capability' | 'requirements';
|
|
215
216
|
|
|
216
217
|
/**
|
|
217
218
|
* Reference to a canonical URL of another CapabilityStatement that this
|
|
@@ -251,7 +252,8 @@ export interface CapabilityStatement {
|
|
|
251
252
|
* describes (which SHALL be the same as the FHIR version of the
|
|
252
253
|
* CapabilityStatement itself). There is no default value.
|
|
253
254
|
*/
|
|
254
|
-
fhirVersion?:
|
|
255
|
+
fhirVersion?: '0.01' | '0.05' | '0.06' | '0.11' | '0.0.80' | '0.0.81' | '0.0.82' | '0.4.0' | '0.5.0' | '1.0.0' |
|
|
256
|
+
'1.0.1' | '1.0.2' | '1.1.0' | '1.4.0' | '1.6.0' | '1.8.0' | '3.0.0' | '3.0.1' | '3.3.0' | '3.5.0' | '4.0.0' | '4.0.1';
|
|
255
257
|
|
|
256
258
|
/**
|
|
257
259
|
* A list of the formats supported by this implementation using their
|
|
@@ -331,7 +333,7 @@ export interface CapabilityStatementDocument {
|
|
|
331
333
|
* Mode of this document declaration - whether an application is a
|
|
332
334
|
* producer or consumer.
|
|
333
335
|
*/
|
|
334
|
-
mode?:
|
|
336
|
+
mode?: 'producer' | 'consumer';
|
|
335
337
|
|
|
336
338
|
/**
|
|
337
339
|
* A description of how the application supports or uses the specified
|
|
@@ -575,7 +577,7 @@ export interface CapabilityStatementMessagingSupportedMessage {
|
|
|
575
577
|
* The mode of this event declaration - whether application is sender or
|
|
576
578
|
* receiver.
|
|
577
579
|
*/
|
|
578
|
-
mode?:
|
|
580
|
+
mode?: 'sender' | 'receiver';
|
|
579
581
|
|
|
580
582
|
/**
|
|
581
583
|
* Points to a message definition that identifies the messaging event,
|
|
@@ -628,7 +630,7 @@ export interface CapabilityStatementRest {
|
|
|
628
630
|
* Identifies whether this portion of the statement is describing the
|
|
629
631
|
* ability to initiate or receive restful operations.
|
|
630
632
|
*/
|
|
631
|
-
mode?:
|
|
633
|
+
mode?: 'client' | 'server';
|
|
632
634
|
|
|
633
635
|
/**
|
|
634
636
|
* Information about the system's restful capabilities that apply across
|
|
@@ -718,7 +720,7 @@ export interface CapabilityStatementRestInteraction {
|
|
|
718
720
|
/**
|
|
719
721
|
* A coded identifier of the operation, supported by the system.
|
|
720
722
|
*/
|
|
721
|
-
code?:
|
|
723
|
+
code?: 'transaction' | 'batch' | 'search-system' | 'history-system';
|
|
722
724
|
|
|
723
725
|
/**
|
|
724
726
|
* Guidance specific to the implementation of this operation, such as
|
|
@@ -772,7 +774,7 @@ export interface CapabilityStatementRestResource {
|
|
|
772
774
|
/**
|
|
773
775
|
* A type of resource exposed via the restful interface.
|
|
774
776
|
*/
|
|
775
|
-
type?:
|
|
777
|
+
type?: ResourceType;
|
|
776
778
|
|
|
777
779
|
/**
|
|
778
780
|
* A specification of the profile that describes the solution's overall
|
|
@@ -812,7 +814,7 @@ export interface CapabilityStatementRestResource {
|
|
|
812
814
|
* 'versioned-update', then the server supports all the versioning
|
|
813
815
|
* features, including using e-tags for version integrity in the API.
|
|
814
816
|
*/
|
|
815
|
-
versioning?:
|
|
817
|
+
versioning?: 'no-version' | 'versioned' | 'versioned-update';
|
|
816
818
|
|
|
817
819
|
/**
|
|
818
820
|
* A flag for whether the server is able to return past versions as part
|
|
@@ -837,7 +839,7 @@ export interface CapabilityStatementRestResource {
|
|
|
837
839
|
/**
|
|
838
840
|
* A code that indicates how the server supports conditional read.
|
|
839
841
|
*/
|
|
840
|
-
conditionalRead?:
|
|
842
|
+
conditionalRead?: 'not-supported' | 'modified-since' | 'not-match' | 'full-support';
|
|
841
843
|
|
|
842
844
|
/**
|
|
843
845
|
* A flag that indicates that the server supports conditional update.
|
|
@@ -847,12 +849,12 @@ export interface CapabilityStatementRestResource {
|
|
|
847
849
|
/**
|
|
848
850
|
* A code that indicates how the server supports conditional delete.
|
|
849
851
|
*/
|
|
850
|
-
conditionalDelete?:
|
|
852
|
+
conditionalDelete?: 'not-supported' | 'single' | 'multiple';
|
|
851
853
|
|
|
852
854
|
/**
|
|
853
855
|
* A set of flags that defines how references are supported.
|
|
854
856
|
*/
|
|
855
|
-
referencePolicy?:
|
|
857
|
+
referencePolicy?: ('literal' | 'logical' | 'resolves' | 'enforced' | 'local')[];
|
|
856
858
|
|
|
857
859
|
/**
|
|
858
860
|
* A list of _include values supported by the server.
|
|
@@ -924,7 +926,7 @@ export interface CapabilityStatementRestResourceInteraction {
|
|
|
924
926
|
/**
|
|
925
927
|
* Coded identifier of the operation, supported by the system resource.
|
|
926
928
|
*/
|
|
927
|
-
code?:
|
|
929
|
+
code?: 'read' | 'vread' | 'update' | 'patch' | 'delete' | 'history-instance' | 'history-type' | 'create' | 'search-type';
|
|
928
930
|
|
|
929
931
|
/**
|
|
930
932
|
* Guidance specific to the implementation of this operation, such as
|
|
@@ -1067,7 +1069,7 @@ export interface CapabilityStatementRestResourceSearchParam {
|
|
|
1067
1069
|
* The type of value a search parameter refers to, and how the content is
|
|
1068
1070
|
* interpreted.
|
|
1069
1071
|
*/
|
|
1070
|
-
type?: string;
|
|
1072
|
+
type?: 'number' | 'date' | 'string' | 'token' | 'reference' | 'composite' | 'quantity' | 'uri' | 'special';
|
|
1071
1073
|
|
|
1072
1074
|
/**
|
|
1073
1075
|
* This allows documentation of any distinct behaviors about how the
|
package/dist/CarePlan.d.ts
CHANGED
|
@@ -168,13 +168,13 @@ export interface CarePlan {
|
|
|
168
168
|
* Indicates whether the plan is currently being acted upon, represents
|
|
169
169
|
* future intentions or is now a historical record.
|
|
170
170
|
*/
|
|
171
|
-
status?:
|
|
171
|
+
status?: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* Indicates the level of authority/intentionality associated with the
|
|
175
175
|
* care plan and where the care plan fits into the workflow chain.
|
|
176
176
|
*/
|
|
177
|
-
intent?:
|
|
177
|
+
intent?: 'proposal' | 'plan' | 'order' | 'option';
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* Identifies what "kind" of plan this is to support differentiation
|
|
@@ -394,7 +394,7 @@ export interface CarePlanActivityDetail {
|
|
|
394
394
|
* CarePlan.activity.reference. For example, a MedicationRequest, a
|
|
395
395
|
* ServiceRequest, or a CommunicationRequest.
|
|
396
396
|
*/
|
|
397
|
-
kind?:
|
|
397
|
+
kind?: 'Appointment' | 'CommunicationRequest' | 'DeviceRequest' | 'MedicationRequest' | 'NutritionOrder' | 'Task' | 'ServiceRequest' | 'VisionPrescription';
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
400
|
* The URL pointing to a FHIR-defined protocol, guideline, questionnaire
|
|
@@ -439,7 +439,7 @@ export interface CarePlanActivityDetail {
|
|
|
439
439
|
/**
|
|
440
440
|
* Identifies what progress is being made for the specific activity.
|
|
441
441
|
*/
|
|
442
|
-
status?:
|
|
442
|
+
status?: 'not-started' | 'scheduled' | 'in-progress' | 'on-hold' | 'completed' | 'cancelled' | 'stopped' | 'unknown' | 'entered-in-error';
|
|
443
443
|
|
|
444
444
|
/**
|
|
445
445
|
* Provides reason why the activity isn't yet started, is on hold, was
|
package/dist/CareTeam.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export interface CareTeam {
|
|
|
114
114
|
/**
|
|
115
115
|
* Indicates the current state of the care team.
|
|
116
116
|
*/
|
|
117
|
-
status?:
|
|
117
|
+
status?: 'proposed' | 'active' | 'suspended' | 'inactive' | 'entered-in-error';
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* Identifies what kind of team. This is to support differentiation
|
package/dist/CatalogEntry.d.ts
CHANGED
|
@@ -141,7 +141,7 @@ export interface CatalogEntry {
|
|
|
141
141
|
* Used to support catalog exchange even for unsupported products, e.g.
|
|
142
142
|
* getting list of medications even if not prescribable.
|
|
143
143
|
*/
|
|
144
|
-
status?:
|
|
144
|
+
status?: 'draft' | 'active' | 'retired' | 'unknown';
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* The time period in which this catalog entry is expected to be active.
|
|
@@ -221,7 +221,7 @@ export interface CatalogEntryRelatedEntry {
|
|
|
221
221
|
* The type of relation to the related item: child, parent,
|
|
222
222
|
* packageContent, containerPackage, usedIn, uses, requires, etc.
|
|
223
223
|
*/
|
|
224
|
-
relationtype?:
|
|
224
|
+
relationtype?: 'triggers' | 'is-replaced-by';
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* The reference to the related item.
|
package/dist/ChargeItem.d.ts
CHANGED
|
@@ -143,7 +143,7 @@ export interface ChargeItem {
|
|
|
143
143
|
/**
|
|
144
144
|
* The current state of the ChargeItem.
|
|
145
145
|
*/
|
|
146
|
-
status?:
|
|
146
|
+
status?: 'planned' | 'billable' | 'not-billable' | 'aborted' | 'billed' | 'entered-in-error' | 'unknown';
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* ChargeItems can be grouped to larger ChargeItems covering the whole
|
|
@@ -164,7 +164,7 @@ export interface ChargeItemDefinition {
|
|
|
164
164
|
/**
|
|
165
165
|
* The current state of the ChargeItemDefinition.
|
|
166
166
|
*/
|
|
167
|
-
status?:
|
|
167
|
+
status?: 'draft' | 'active' | 'retired' | 'unknown';
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* A Boolean value to indicate that this charge item definition is
|
|
@@ -439,7 +439,7 @@ export interface ChargeItemDefinitionPropertyGroupPriceComponent {
|
|
|
439
439
|
/**
|
|
440
440
|
* This code identifies the type of the component.
|
|
441
441
|
*/
|
|
442
|
-
type?:
|
|
442
|
+
type?: 'base' | 'surcharge' | 'deduction' | 'discount' | 'tax' | 'informational';
|
|
443
443
|
|
|
444
444
|
/**
|
|
445
445
|
* A code that identifies the component. Codes may be used to
|
package/dist/Claim.d.ts
CHANGED
|
@@ -123,7 +123,7 @@ export interface Claim {
|
|
|
123
123
|
/**
|
|
124
124
|
* The status of the resource instance.
|
|
125
125
|
*/
|
|
126
|
-
status?:
|
|
126
|
+
status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* The category of claim, e.g. oral, pharmacy, vision, institutional,
|
|
@@ -145,7 +145,7 @@ export interface Claim {
|
|
|
145
145
|
* or requesting the non-binding adjudication of the listed products and
|
|
146
146
|
* services which could be provided in the future.
|
|
147
147
|
*/
|
|
148
|
-
use?:
|
|
148
|
+
use?: 'claim' | 'preauthorization' | 'predetermination';
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* The party to whom the professional services and/or products have been
|
package/dist/ClaimResponse.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export interface ClaimResponse {
|
|
|
114
114
|
/**
|
|
115
115
|
* The status of the resource instance.
|
|
116
116
|
*/
|
|
117
|
-
status?:
|
|
117
|
+
status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* A finer grained suite of claim type codes which may convey additional
|
|
@@ -137,7 +137,7 @@ export interface ClaimResponse {
|
|
|
137
137
|
* or requesting the non-binding adjudication of the listed products and
|
|
138
138
|
* services which could be provided in the future.
|
|
139
139
|
*/
|
|
140
|
-
use?:
|
|
140
|
+
use?: 'claim' | 'preauthorization' | 'predetermination';
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* The party to whom the professional services and/or products have been
|
|
@@ -172,7 +172,7 @@ export interface ClaimResponse {
|
|
|
172
172
|
* The outcome of the claim, predetermination, or preauthorization
|
|
173
173
|
* processing.
|
|
174
174
|
*/
|
|
175
|
-
outcome?:
|
|
175
|
+
outcome?: 'queued' | 'complete' | 'error' | 'partial';
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* A human readable description of the status of the adjudication.
|
|
@@ -1134,7 +1134,7 @@ export interface ClaimResponseProcessNote {
|
|
|
1134
1134
|
/**
|
|
1135
1135
|
* The business purpose of the note text.
|
|
1136
1136
|
*/
|
|
1137
|
-
type?:
|
|
1137
|
+
type?: 'display' | 'print' | 'printoper';
|
|
1138
1138
|
|
|
1139
1139
|
/**
|
|
1140
1140
|
* The explanation or description associated with the processing.
|
|
@@ -125,7 +125,7 @@ export interface ClinicalImpression {
|
|
|
125
125
|
/**
|
|
126
126
|
* Identifies the workflow status of the assessment.
|
|
127
127
|
*/
|
|
128
|
-
status?:
|
|
128
|
+
status?: 'in-progress' | 'completed' | 'entered-in-error';
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* Captures the reason for the current state of the ClinicalImpression.
|
package/dist/CodeSystem.d.ts
CHANGED
|
@@ -143,7 +143,7 @@ export interface CodeSystem {
|
|
|
143
143
|
* The date (and optionally time) when the code system resource was
|
|
144
144
|
* created or revised.
|
|
145
145
|
*/
|
|
146
|
-
status?:
|
|
146
|
+
status?: 'draft' | 'active' | 'retired' | 'unknown';
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* A Boolean value to indicate that this code system is authored for
|
|
@@ -222,7 +222,7 @@ export interface CodeSystem {
|
|
|
222
222
|
* The meaning of the hierarchy of concepts as represented in this
|
|
223
223
|
* resource.
|
|
224
224
|
*/
|
|
225
|
-
hierarchyMeaning?:
|
|
225
|
+
hierarchyMeaning?: 'grouped-by' | 'is-a' | 'part-of' | 'classified-with';
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* The code system defines a compositional (post-coordination) grammar.
|
|
@@ -240,7 +240,7 @@ export interface CodeSystem {
|
|
|
240
240
|
* The extent of the content of the code system (the concepts and codes
|
|
241
241
|
* it defines) are represented in this resource instance.
|
|
242
242
|
*/
|
|
243
|
-
content?:
|
|
243
|
+
content?: 'not-present' | 'example' | 'fragment' | 'complete' | 'supplement';
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* The canonical URL of the code system that this code system supplement
|
|
@@ -549,7 +549,7 @@ export interface CodeSystemFilter {
|
|
|
549
549
|
/**
|
|
550
550
|
* A list of operators that can be used with the filter.
|
|
551
551
|
*/
|
|
552
|
-
operator?:
|
|
552
|
+
operator?: ('=' | 'is-a' | 'descendent-of' | 'is-not-a' | 'regex' | 'in' | 'not-in' | 'generalizes' | 'exists')[];
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
555
|
* A description of what the value for the filter should be.
|
|
@@ -623,5 +623,5 @@ export interface CodeSystemProperty {
|
|
|
623
623
|
* code defined by the code system (e.g. a reference to another defined
|
|
624
624
|
* concept).
|
|
625
625
|
*/
|
|
626
|
-
type?: string;
|
|
626
|
+
type?: 'code' | 'Coding' | 'string' | 'integer' | 'boolean' | 'dateTime' | 'decimal';
|
|
627
627
|
}
|
package/dist/Communication.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ export interface Communication {
|
|
|
150
150
|
/**
|
|
151
151
|
* The status of the transmission.
|
|
152
152
|
*/
|
|
153
|
-
status?:
|
|
153
|
+
status?: 'preparation' | 'in-progress' | 'not-done' | 'on-hold' | 'stopped' | 'completed' | 'entered-in-error' | 'unknown';
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
156
|
* Captures the reason for the current state of the Communication.
|
|
@@ -167,7 +167,7 @@ export interface Communication {
|
|
|
167
167
|
* Characterizes how quickly the planned or in progress communication
|
|
168
168
|
* must be addressed. Includes concepts such as stat, urgent, routine.
|
|
169
169
|
*/
|
|
170
|
-
priority?:
|
|
170
|
+
priority?: 'routine' | 'urgent' | 'asap' | 'stat';
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* A channel that was used for this communication (e.g. email, fax).
|
|
@@ -140,7 +140,7 @@ export interface CommunicationRequest {
|
|
|
140
140
|
/**
|
|
141
141
|
* The status of the proposal or order.
|
|
142
142
|
*/
|
|
143
|
-
status?:
|
|
143
|
+
status?: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Captures the reason for the current state of the CommunicationRequest.
|
|
@@ -157,7 +157,7 @@ export interface CommunicationRequest {
|
|
|
157
157
|
* Characterizes how quickly the proposed act must be initiated. Includes
|
|
158
158
|
* concepts such as stat, urgent, routine.
|
|
159
159
|
*/
|
|
160
|
-
priority?:
|
|
160
|
+
priority?: 'routine' | 'urgent' | 'asap' | 'stat';
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* If true indicates that the CommunicationRequest is asking for the
|
|
@@ -8,6 +8,7 @@ import { Extension } from './Extension';
|
|
|
8
8
|
import { Meta } from './Meta';
|
|
9
9
|
import { Narrative } from './Narrative';
|
|
10
10
|
import { Resource } from './Resource';
|
|
11
|
+
import { ResourceType } from './ResourceType';
|
|
11
12
|
import { UsageContext } from './UsageContext';
|
|
12
13
|
|
|
13
14
|
/**
|
|
@@ -126,7 +127,7 @@ export interface CompartmentDefinition {
|
|
|
126
127
|
* The status of this compartment definition. Enables tracking the
|
|
127
128
|
* life-cycle of the content.
|
|
128
129
|
*/
|
|
129
|
-
status?:
|
|
130
|
+
status?: 'draft' | 'active' | 'retired' | 'unknown';
|
|
130
131
|
|
|
131
132
|
/**
|
|
132
133
|
* A Boolean value to indicate that this compartment definition is
|
|
@@ -181,7 +182,7 @@ export interface CompartmentDefinition {
|
|
|
181
182
|
/**
|
|
182
183
|
* Which compartment this definition describes.
|
|
183
184
|
*/
|
|
184
|
-
code?:
|
|
185
|
+
code?: 'Patient' | 'Encounter' | 'RelatedPerson' | 'Practitioner' | 'Device';
|
|
185
186
|
|
|
186
187
|
/**
|
|
187
188
|
* Whether the search syntax is supported,.
|
|
@@ -237,7 +238,7 @@ export interface CompartmentDefinitionResource {
|
|
|
237
238
|
/**
|
|
238
239
|
* The name of a resource supported by the server.
|
|
239
240
|
*/
|
|
240
|
-
code?:
|
|
241
|
+
code?: ResourceType;
|
|
241
242
|
|
|
242
243
|
/**
|
|
243
244
|
* The name of a search parameter that represents the link to the
|