@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
|
@@ -29,14 +29,14 @@ export interface MessageDefinition {
|
|
|
29
29
|
* The logical id of the resource, as used in the URL for the resource.
|
|
30
30
|
* Once assigned, this value never changes.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
id?: string;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* The metadata about the resource. This is content that is maintained by
|
|
36
36
|
* the infrastructure. Changes to the content might not always be
|
|
37
37
|
* associated with version changes to the resource.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
meta?: Meta;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* A reference to a set of rules that were followed when the resource was
|
|
@@ -44,12 +44,12 @@ export interface MessageDefinition {
|
|
|
44
44
|
* Often, this is a reference to an implementation guide that defines the
|
|
45
45
|
* special rules along with other profiles etc.
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
implicitRules?: string;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* The base language in which the resource is written.
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
language?: string;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* A human-readable narrative that contains a summary of the resource and
|
|
@@ -59,14 +59,14 @@ export interface MessageDefinition {
|
|
|
59
59
|
* just read the narrative. Resource definitions may define what content
|
|
60
60
|
* should be represented in the narrative to ensure clinical safety.
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
text?: Narrative;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* These resources do not have an independent existence apart from the
|
|
66
66
|
* resource that contains them - they cannot be identified independently,
|
|
67
67
|
* and nor can they have their own independent transaction scope.
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
contained?: Resource[];
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* May be used to represent additional information that is not part of
|
|
@@ -76,7 +76,7 @@ export interface MessageDefinition {
|
|
|
76
76
|
* define an extension, there is a set of requirements that SHALL be met
|
|
77
77
|
* as part of the definition of the extension.
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
extension?: Extension[];
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* May be used to represent additional information that is not part of
|
|
@@ -94,21 +94,21 @@ export interface MessageDefinition {
|
|
|
94
94
|
* Resource or DomainResource (including cannot change the meaning of
|
|
95
95
|
* modifierExtension itself).
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
modifierExtension?: Extension[];
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* The business identifier that is used to reference the
|
|
101
101
|
* MessageDefinition and *is* expected to be consistent from server to
|
|
102
102
|
* server.
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
url?: string;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* A formal identifier that is used to identify this message definition
|
|
108
108
|
* when it is represented in other formats, or referenced in a
|
|
109
109
|
* specification, model, design or an instance.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
identifier?: Identifier[];
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* The identifier that is used to identify this version of the message
|
|
@@ -119,37 +119,37 @@ export interface MessageDefinition {
|
|
|
119
119
|
* available. There is also no expectation that versions can be placed in
|
|
120
120
|
* a lexicographical sequence.
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
version?: string;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* A natural language name identifying the message definition. This name
|
|
126
126
|
* should be usable as an identifier for the module by machine processing
|
|
127
127
|
* applications such as code generation.
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
name?: string;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* A short, descriptive, user-friendly title for the message definition.
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
title?: string;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* A MessageDefinition that is superseded by this definition.
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
replaces?: string[];
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* The status of this message definition. Enables tracking the life-cycle
|
|
143
143
|
* of the content.
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
status?: string;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* A Boolean value to indicate that this message definition is authored
|
|
149
149
|
* for testing purposes (or education/evaluation/marketing) and is not
|
|
150
150
|
* intended to be used for genuine usage.
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
experimental?: boolean;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* The date (and optionally time) when the message definition was
|
|
@@ -157,25 +157,25 @@ export interface MessageDefinition {
|
|
|
157
157
|
* it must change if the status code changes. In addition, it should
|
|
158
158
|
* change when the substantive content of the message definition changes.
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
date?: string;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* The name of the organization or individual that published the message
|
|
164
164
|
* definition.
|
|
165
165
|
*/
|
|
166
|
-
|
|
166
|
+
publisher?: string;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* Contact details to assist a user in finding and communicating with the
|
|
170
170
|
* publisher.
|
|
171
171
|
*/
|
|
172
|
-
|
|
172
|
+
contact?: ContactDetail[];
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
175
|
* A free text natural language description of the message definition
|
|
176
176
|
* from a consumer's perspective.
|
|
177
177
|
*/
|
|
178
|
-
|
|
178
|
+
description?: string;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* The content was developed with a focus and intent of supporting the
|
|
@@ -184,72 +184,72 @@ export interface MessageDefinition {
|
|
|
184
184
|
* (insurance plans, studies, ...) and may be used to assist with
|
|
185
185
|
* indexing and searching for appropriate message definition instances.
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
useContext?: UsageContext[];
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* A legal or geographic region in which the message definition is
|
|
191
191
|
* intended to be used.
|
|
192
192
|
*/
|
|
193
|
-
|
|
193
|
+
jurisdiction?: CodeableConcept[];
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* Explanation of why this message definition is needed and why it has
|
|
197
197
|
* been designed as it has.
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
purpose?: string;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* A copyright statement relating to the message definition and/or its
|
|
203
203
|
* contents. Copyright statements are generally legal restrictions on the
|
|
204
204
|
* use and publishing of the message definition.
|
|
205
205
|
*/
|
|
206
|
-
|
|
206
|
+
copyright?: string;
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* The MessageDefinition that is the basis for the contents of this
|
|
210
210
|
* resource.
|
|
211
211
|
*/
|
|
212
|
-
|
|
212
|
+
base?: string;
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Identifies a protocol or workflow that this MessageDefinition
|
|
216
216
|
* represents a step in.
|
|
217
217
|
*/
|
|
218
|
-
|
|
218
|
+
parent?: string[];
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* Event code or link to the EventDefinition.
|
|
222
222
|
*/
|
|
223
|
-
|
|
223
|
+
eventCoding?: Coding;
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* Event code or link to the EventDefinition.
|
|
227
227
|
*/
|
|
228
|
-
|
|
228
|
+
eventUri?: string;
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* The impact of the content of the message.
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
category?: string;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Identifies the resource (or resources) that are being addressed by the
|
|
237
237
|
* event. For example, the Encounter for an admit message or two Account
|
|
238
238
|
* records for a merge.
|
|
239
239
|
*/
|
|
240
|
-
|
|
240
|
+
focus?: MessageDefinitionFocus[];
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* Declare at a message definition level whether a response is required
|
|
244
244
|
* or only upon error or success, or never.
|
|
245
245
|
*/
|
|
246
|
-
|
|
246
|
+
responseRequired?: string;
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
249
|
* Indicates what types of messages may be sent as an application-level
|
|
250
250
|
* response to this message.
|
|
251
251
|
*/
|
|
252
|
-
|
|
252
|
+
allowedResponse?: MessageDefinitionAllowedResponse[];
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
255
|
* Canonical reference to a GraphDefinition. If a URL is provided, it is
|
|
@@ -258,7 +258,7 @@ export interface MessageDefinition {
|
|
|
258
258
|
* building the document. The GraphDefinition can also specify profiles
|
|
259
259
|
* that apply to the various resources.
|
|
260
260
|
*/
|
|
261
|
-
|
|
261
|
+
graph?: string[];
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
/**
|
|
@@ -271,7 +271,7 @@ export interface MessageDefinitionAllowedResponse {
|
|
|
271
271
|
* Unique id for the element within a resource (for internal references).
|
|
272
272
|
* This may be any string value that does not contain spaces.
|
|
273
273
|
*/
|
|
274
|
-
|
|
274
|
+
id?: string;
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* May be used to represent additional information that is not part of
|
|
@@ -281,7 +281,7 @@ export interface MessageDefinitionAllowedResponse {
|
|
|
281
281
|
* define an extension, there is a set of requirements that SHALL be met
|
|
282
282
|
* as part of the definition of the extension.
|
|
283
283
|
*/
|
|
284
|
-
|
|
284
|
+
extension?: Extension[];
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* May be used to represent additional information that is not part of
|
|
@@ -300,19 +300,19 @@ export interface MessageDefinitionAllowedResponse {
|
|
|
300
300
|
* Resource or DomainResource (including cannot change the meaning of
|
|
301
301
|
* modifierExtension itself).
|
|
302
302
|
*/
|
|
303
|
-
|
|
303
|
+
modifierExtension?: Extension[];
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* A reference to the message definition that must be adhered to by this
|
|
307
307
|
* supported response.
|
|
308
308
|
*/
|
|
309
|
-
|
|
309
|
+
message?: string;
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
312
|
* Provides a description of the circumstances in which this response
|
|
313
313
|
* should be used (as opposed to one of the alternative responses).
|
|
314
314
|
*/
|
|
315
|
-
|
|
315
|
+
situation?: string;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
/**
|
|
@@ -326,7 +326,7 @@ export interface MessageDefinitionFocus {
|
|
|
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 MessageDefinitionFocus {
|
|
|
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,30 +355,30 @@ export interface MessageDefinitionFocus {
|
|
|
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
|
* The kind of resource that must be the focus for this message.
|
|
362
362
|
*/
|
|
363
|
-
|
|
363
|
+
code?: string;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
366
|
* A profile that reflects constraints for the focal resource (and
|
|
367
367
|
* potentially for related resources).
|
|
368
368
|
*/
|
|
369
|
-
|
|
369
|
+
profile?: string;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
372
|
* Identifies the minimum number of resources of this type that must be
|
|
373
373
|
* pointed to by a message in order for it to be valid against this
|
|
374
374
|
* MessageDefinition.
|
|
375
375
|
*/
|
|
376
|
-
|
|
376
|
+
min?: number;
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
379
|
* Identifies the maximum number of resources of this type that must be
|
|
380
380
|
* pointed to by a message in order for it to be valid against this
|
|
381
381
|
* MessageDefinition.
|
|
382
382
|
*/
|
|
383
|
-
|
|
383
|
+
max?: string;
|
|
384
384
|
}
|
package/dist/MessageHeader.d.ts
CHANGED
|
@@ -35,14 +35,14 @@ export interface MessageHeader {
|
|
|
35
35
|
* The logical id of the resource, as used in the URL for the resource.
|
|
36
36
|
* Once assigned, this value never changes.
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
id?: string;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* The metadata about the resource. This is content that is maintained by
|
|
42
42
|
* the infrastructure. Changes to the content might not always be
|
|
43
43
|
* associated with version changes to the resource.
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
meta?: Meta;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* A reference to a set of rules that were followed when the resource was
|
|
@@ -50,12 +50,12 @@ export interface MessageHeader {
|
|
|
50
50
|
* Often, this is a reference to an implementation guide that defines the
|
|
51
51
|
* special rules along with other profiles etc.
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
implicitRules?: string;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* The base language in which the resource is written.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
language?: string;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* A human-readable narrative that contains a summary of the resource and
|
|
@@ -65,14 +65,14 @@ export interface MessageHeader {
|
|
|
65
65
|
* just read the narrative. Resource definitions may define what content
|
|
66
66
|
* should be represented in the narrative to ensure clinical safety.
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
text?: Narrative;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* These resources do not have an independent existence apart from the
|
|
72
72
|
* resource that contains them - they cannot be identified independently,
|
|
73
73
|
* and nor can they have their own independent transaction scope.
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
contained?: Resource[];
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* May be used to represent additional information that is not part of
|
|
@@ -82,7 +82,7 @@ export interface MessageHeader {
|
|
|
82
82
|
* define an extension, there is a set of requirements that SHALL be met
|
|
83
83
|
* as part of the definition of the extension.
|
|
84
84
|
*/
|
|
85
|
-
|
|
85
|
+
extension?: Extension[];
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* May be used to represent additional information that is not part of
|
|
@@ -100,7 +100,7 @@ export interface MessageHeader {
|
|
|
100
100
|
* Resource or DomainResource (including cannot change the meaning of
|
|
101
101
|
* modifierExtension itself).
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
modifierExtension?: Extension[];
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* Code that identifies the event this message represents and connects it
|
|
@@ -109,7 +109,7 @@ export interface MessageHeader {
|
|
|
109
109
|
* "http://terminology.hl7.org/CodeSystem/message-events". Alternatively
|
|
110
110
|
* uri to the EventDefinition.
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
eventCoding?: Coding;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* Code that identifies the event this message represents and connects it
|
|
@@ -118,25 +118,25 @@ export interface MessageHeader {
|
|
|
118
118
|
* "http://terminology.hl7.org/CodeSystem/message-events". Alternatively
|
|
119
119
|
* uri to the EventDefinition.
|
|
120
120
|
*/
|
|
121
|
-
|
|
121
|
+
eventUri?: string;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* The destination application which the message is intended for.
|
|
125
125
|
*/
|
|
126
|
-
|
|
126
|
+
destination?: MessageHeaderDestination[];
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Identifies the sending system to allow the use of a trust
|
|
130
130
|
* relationship.
|
|
131
131
|
*/
|
|
132
|
-
|
|
132
|
+
sender?: Reference<Practitioner | PractitionerRole | Organization>;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* The person or device that performed the data entry leading to this
|
|
136
136
|
* message. When there is more than one candidate, pick the most proximal
|
|
137
137
|
* to the message. Can provide other enterers in extensions.
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
enterer?: Reference<Practitioner | PractitionerRole>;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* The logical author of the message - the person or device that decided
|
|
@@ -144,42 +144,42 @@ export interface MessageHeader {
|
|
|
144
144
|
* candidate, pick the most proximal to the MessageHeader. Can provide
|
|
145
145
|
* other authors in extensions.
|
|
146
146
|
*/
|
|
147
|
-
|
|
147
|
+
author?: Reference<Practitioner | PractitionerRole>;
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* The source application from which this message originated.
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
source?: MessageHeaderSource;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* The person or organization that accepts overall responsibility for the
|
|
156
156
|
* contents of the message. The implication is that the message event
|
|
157
157
|
* happened under the policies of the responsible party.
|
|
158
158
|
*/
|
|
159
|
-
|
|
159
|
+
responsible?: Reference<Practitioner | PractitionerRole | Organization>;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* Coded indication of the cause for the event - indicates a reason for
|
|
163
163
|
* the occurrence of the event that is a focus of this message.
|
|
164
164
|
*/
|
|
165
|
-
|
|
165
|
+
reason?: CodeableConcept;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Information about the message that this message is a response to.
|
|
169
169
|
* Only present if this message is a response.
|
|
170
170
|
*/
|
|
171
|
-
|
|
171
|
+
response?: MessageHeaderResponse;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* The actual data of the message - a reference to the root/focus class
|
|
175
175
|
* of the event.
|
|
176
176
|
*/
|
|
177
|
-
|
|
177
|
+
focus?: Reference<Resource>[];
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* Permanent link to the MessageDefinition for this message.
|
|
181
181
|
*/
|
|
182
|
-
|
|
182
|
+
definition?: string;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/**
|
|
@@ -191,7 +191,7 @@ export interface MessageHeaderDestination {
|
|
|
191
191
|
* Unique id for the element within a resource (for internal references).
|
|
192
192
|
* This may be any string value that does not contain spaces.
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
id?: string;
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* May be used to represent additional information that is not part of
|
|
@@ -201,7 +201,7 @@ export interface MessageHeaderDestination {
|
|
|
201
201
|
* define an extension, there is a set of requirements that SHALL be met
|
|
202
202
|
* as part of the definition of the extension.
|
|
203
203
|
*/
|
|
204
|
-
|
|
204
|
+
extension?: Extension[];
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* May be used to represent additional information that is not part of
|
|
@@ -220,30 +220,30 @@ export interface MessageHeaderDestination {
|
|
|
220
220
|
* Resource or DomainResource (including cannot change the meaning of
|
|
221
221
|
* modifierExtension itself).
|
|
222
222
|
*/
|
|
223
|
-
|
|
223
|
+
modifierExtension?: Extension[];
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* Human-readable name for the target system.
|
|
227
227
|
*/
|
|
228
|
-
|
|
228
|
+
name?: string;
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* Identifies the target end system in situations where the initial
|
|
232
232
|
* message transmission is to an intermediary system.
|
|
233
233
|
*/
|
|
234
|
-
|
|
234
|
+
target?: Reference<Device>;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* Indicates where the message should be routed to.
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
endpoint?: string;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* Allows data conveyed by a message to be addressed to a particular
|
|
243
243
|
* person or department when routing to a specific application isn't
|
|
244
244
|
* sufficient.
|
|
245
245
|
*/
|
|
246
|
-
|
|
246
|
+
receiver?: Reference<Practitioner | PractitionerRole | Organization>;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
/**
|
|
@@ -256,7 +256,7 @@ export interface MessageHeaderResponse {
|
|
|
256
256
|
* Unique id for the element within a resource (for internal references).
|
|
257
257
|
* This may be any string value that does not contain spaces.
|
|
258
258
|
*/
|
|
259
|
-
|
|
259
|
+
id?: string;
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
* May be used to represent additional information that is not part of
|
|
@@ -266,7 +266,7 @@ export interface MessageHeaderResponse {
|
|
|
266
266
|
* define an extension, there is a set of requirements that SHALL be met
|
|
267
267
|
* as part of the definition of the extension.
|
|
268
268
|
*/
|
|
269
|
-
|
|
269
|
+
extension?: Extension[];
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* May be used to represent additional information that is not part of
|
|
@@ -285,24 +285,24 @@ export interface MessageHeaderResponse {
|
|
|
285
285
|
* Resource or DomainResource (including cannot change the meaning of
|
|
286
286
|
* modifierExtension itself).
|
|
287
287
|
*/
|
|
288
|
-
|
|
288
|
+
modifierExtension?: Extension[];
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* The MessageHeader.id of the message to which this message is a
|
|
292
292
|
* response.
|
|
293
293
|
*/
|
|
294
|
-
|
|
294
|
+
identifier?: string;
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
297
|
* Code that identifies the type of response to the message - whether it
|
|
298
298
|
* was successful or not, and whether it should be resent or not.
|
|
299
299
|
*/
|
|
300
|
-
|
|
300
|
+
code?: string;
|
|
301
301
|
|
|
302
302
|
/**
|
|
303
303
|
* Full details of any issues found in the message.
|
|
304
304
|
*/
|
|
305
|
-
|
|
305
|
+
details?: Reference<OperationOutcome>;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
/**
|
|
@@ -314,7 +314,7 @@ export interface MessageHeaderSource {
|
|
|
314
314
|
* Unique id for the element within a resource (for internal references).
|
|
315
315
|
* This may be any string value that does not contain spaces.
|
|
316
316
|
*/
|
|
317
|
-
|
|
317
|
+
id?: string;
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* May be used to represent additional information that is not part of
|
|
@@ -324,7 +324,7 @@ export interface MessageHeaderSource {
|
|
|
324
324
|
* define an extension, there is a set of requirements that SHALL be met
|
|
325
325
|
* as part of the definition of the extension.
|
|
326
326
|
*/
|
|
327
|
-
|
|
327
|
+
extension?: Extension[];
|
|
328
328
|
|
|
329
329
|
/**
|
|
330
330
|
* May be used to represent additional information that is not part of
|
|
@@ -343,32 +343,32 @@ export interface MessageHeaderSource {
|
|
|
343
343
|
* Resource or DomainResource (including cannot change the meaning of
|
|
344
344
|
* modifierExtension itself).
|
|
345
345
|
*/
|
|
346
|
-
|
|
346
|
+
modifierExtension?: Extension[];
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
349
|
* Human-readable name for the source system.
|
|
350
350
|
*/
|
|
351
|
-
|
|
351
|
+
name?: string;
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
354
|
* May include configuration or other information useful in debugging.
|
|
355
355
|
*/
|
|
356
|
-
|
|
356
|
+
software?: string;
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
359
|
* Can convey versions of multiple systems in situations where a message
|
|
360
360
|
* passes through multiple hands.
|
|
361
361
|
*/
|
|
362
|
-
|
|
362
|
+
version?: string;
|
|
363
363
|
|
|
364
364
|
/**
|
|
365
365
|
* An e-mail, phone, website or other contact point to use to resolve
|
|
366
366
|
* issues with message communications.
|
|
367
367
|
*/
|
|
368
|
-
|
|
368
|
+
contact?: ContactPoint;
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* Identifies the routing target to send acknowledgements to.
|
|
372
372
|
*/
|
|
373
|
-
|
|
373
|
+
endpoint?: string;
|
|
374
374
|
}
|