@haste-health/fhir-types 0.126.32 → 0.126.34
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/lib/generated/r4/sets.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @generated by `pnpm --filter @haste-health/fhir-types run generate` - do not edit.
|
|
2
|
-
export const resourceTypes = new Set(["AccessPolicyV2Assignment", "AccessPolicyV2", "ClientApplication", "HL7V2", "IdentityProvider", "Membership", "Project", "User", "ViewDefinition", "Resource", "Account", "ActivityDefinition", "AdverseEvent", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "Binary", "BiologicallyDerivedProduct", "BodyStructure", "Bundle", "CapabilityStatement", "CarePlan", "CareTeam", "CatalogEntry", "ChargeItem", "ChargeItemDefinition", "Claim", "ClaimResponse", "ClinicalImpression", "CodeSystem", "Communication", "CommunicationRequest", "CompartmentDefinition", "Composition", "ConceptMap", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceDefinition", "DeviceMetric", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "DomainResource", "EffectEvidenceSynthesis", "Encounter", "Endpoint", "EnrollmentRequest", "EnrollmentResponse", "EpisodeOfCare", "EventDefinition", "Evidence", "EvidenceVariable", "ExampleScenario", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GraphDefinition", "Group", "GuidanceResponse", "HealthcareService", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "ImplementationGuide", "InsurancePlan", "Invoice", "Library", "Linkage", "List", "Location", "Measure", "MeasureReport", "Media", "Medication", "MedicationAdministration", "MedicationDispense", "MedicationKnowledge", "MedicationRequest", "MedicationStatement", "MedicinalProduct", "MedicinalProductAuthorization", "MedicinalProductContraindication", "MedicinalProductIndication", "MedicinalProductIngredient", "MedicinalProductInteraction", "MedicinalProductManufactured", "MedicinalProductPackaged", "MedicinalProductPharmaceutical", "MedicinalProductUndesirableEffect", "MessageDefinition", "MessageHeader", "MolecularSequence", "NamingSystem", "NutritionOrder", "Observation", "ObservationDefinition", "OperationDefinition", "OperationOutcome", "Organization", "OrganizationAffiliation", "Parameters", "Patient", "PaymentNotice", "PaymentReconciliation", "Person", "PlanDefinition", "Practitioner", "PractitionerRole", "Procedure", "Provenance", "Questionnaire", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchDefinition", "ResearchElementDefinition", "ResearchStudy", "ResearchSubject", "RiskAssessment", "RiskEvidenceSynthesis", "Schedule", "SearchParameter", "ServiceRequest", "Slot", "Specimen", "SpecimenDefinition", "StructureDefinition", "StructureMap", "Subscription", "Substance", "SubstanceNucleicAcid", "SubstancePolymer", "SubstanceProtein", "SubstanceReferenceInformation", "SubstanceSourceMaterial", "SubstanceSpecification", "SupplyDelivery", "SupplyRequest", "Task", "TerminologyCapabilities", "TestReport", "TestScript", "ValueSet", "VerificationResult", "VisionPrescription"]);
|
|
2
|
+
export const resourceTypes = new Set(["AccessPolicyV2Assignment", "AccessPolicyV2", "AccessPolicyV3Assignment", "AccessPolicyV3", "ClientApplication", "DeidentificationPolicy", "HL7V2", "IdentityProvider", "Membership", "Project", "User", "ViewDefinition", "Resource", "Account", "ActivityDefinition", "AdverseEvent", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "Binary", "BiologicallyDerivedProduct", "BodyStructure", "Bundle", "CapabilityStatement", "CarePlan", "CareTeam", "CatalogEntry", "ChargeItem", "ChargeItemDefinition", "Claim", "ClaimResponse", "ClinicalImpression", "CodeSystem", "Communication", "CommunicationRequest", "CompartmentDefinition", "Composition", "ConceptMap", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceDefinition", "DeviceMetric", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "DomainResource", "EffectEvidenceSynthesis", "Encounter", "Endpoint", "EnrollmentRequest", "EnrollmentResponse", "EpisodeOfCare", "EventDefinition", "Evidence", "EvidenceVariable", "ExampleScenario", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GraphDefinition", "Group", "GuidanceResponse", "HealthcareService", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "ImplementationGuide", "InsurancePlan", "Invoice", "Library", "Linkage", "List", "Location", "Measure", "MeasureReport", "Media", "Medication", "MedicationAdministration", "MedicationDispense", "MedicationKnowledge", "MedicationRequest", "MedicationStatement", "MedicinalProduct", "MedicinalProductAuthorization", "MedicinalProductContraindication", "MedicinalProductIndication", "MedicinalProductIngredient", "MedicinalProductInteraction", "MedicinalProductManufactured", "MedicinalProductPackaged", "MedicinalProductPharmaceutical", "MedicinalProductUndesirableEffect", "MessageDefinition", "MessageHeader", "MolecularSequence", "NamingSystem", "NutritionOrder", "Observation", "ObservationDefinition", "OperationDefinition", "OperationOutcome", "Organization", "OrganizationAffiliation", "Parameters", "Patient", "PaymentNotice", "PaymentReconciliation", "Person", "PlanDefinition", "Practitioner", "PractitionerRole", "Procedure", "Provenance", "Questionnaire", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchDefinition", "ResearchElementDefinition", "ResearchStudy", "ResearchSubject", "RiskAssessment", "RiskEvidenceSynthesis", "Schedule", "SearchParameter", "ServiceRequest", "Slot", "Specimen", "SpecimenDefinition", "StructureDefinition", "StructureMap", "Subscription", "Substance", "SubstanceNucleicAcid", "SubstancePolymer", "SubstanceProtein", "SubstanceReferenceInformation", "SubstanceSourceMaterial", "SubstanceSpecification", "SupplyDelivery", "SupplyRequest", "Task", "TerminologyCapabilities", "TestReport", "TestScript", "ValueSet", "VerificationResult", "VisionPrescription"]);
|
|
3
3
|
export const complexTypes = new Set(["Element", "BackboneElement", "Address", "Age", "Annotation", "Attachment", "CodeableConcept", "Coding", "ContactDetail", "ContactPoint", "Contributor", "Count", "DataRequirement", "Distance", "Dosage", "Duration", "ElementDefinition", "Expression", "Extension", "HumanName", "Identifier", "MarketingStatus", "Meta", "Money", "Narrative", "ParameterDefinition", "Period", "Population", "ProdCharacteristic", "ProductShelfLife", "Quantity", "Range", "Ratio", "Reference", "RelatedArtifact", "SampledData", "Signature", "SubstanceAmount", "Timing", "TriggerDefinition", "UsageContext"]);
|
|
4
4
|
export const primitiveTypes = new Set(["base64Binary", "boolean", "canonical", "code", "date", "dateTime", "decimal", "id", "instant", "integer", "markdown", "oid", "positiveInt", "string", "time", "unsignedInt", "uri", "url", "uuid", "xhtml"]);
|
|
5
5
|
//# sourceMappingURL=sets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sets.js","sourceRoot":"","sources":["../../../src/generated/r4/sets.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,MAAM,CAAC,MAAM,aAAa,GAAiB,IAAI,GAAG,CAAC,CAAC,0BAA0B,EAAC,gBAAgB,EAAC,mBAAmB,EAAC,OAAO,EAAC,kBAAkB,EAAC,YAAY,EAAC,SAAS,EAAC,MAAM,EAAC,gBAAgB,EAAC,UAAU,EAAC,SAAS,EAAC,oBAAoB,EAAC,cAAc,EAAC,oBAAoB,EAAC,aAAa,EAAC,qBAAqB,EAAC,YAAY,EAAC,OAAO,EAAC,QAAQ,EAAC,4BAA4B,EAAC,eAAe,EAAC,QAAQ,EAAC,qBAAqB,EAAC,UAAU,EAAC,UAAU,EAAC,cAAc,EAAC,YAAY,EAAC,sBAAsB,EAAC,OAAO,EAAC,eAAe,EAAC,oBAAoB,EAAC,YAAY,EAAC,eAAe,EAAC,sBAAsB,EAAC,uBAAuB,EAAC,aAAa,EAAC,YAAY,EAAC,WAAW,EAAC,SAAS,EAAC,UAAU,EAAC,UAAU,EAAC,4BAA4B,EAAC,6BAA6B,EAAC,eAAe,EAAC,QAAQ,EAAC,kBAAkB,EAAC,cAAc,EAAC,eAAe,EAAC,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,EAAC,YAAY,EAAC,YAAY,EAAC,UAAU,EAAC,oBAAoB,EAAC,oBAAoB,CAAC,CAAC,CAAA;AAE10F,MAAM,CAAC,MAAM,YAAY,GAAiB,IAAI,GAAG,CAAC,CAAC,SAAS,EAAC,iBAAiB,EAAC,SAAS,EAAC,KAAK,EAAC,YAAY,EAAC,YAAY,EAAC,iBAAiB,EAAC,QAAQ,EAAC,eAAe,EAAC,cAAc,EAAC,aAAa,EAAC,OAAO,EAAC,iBAAiB,EAAC,UAAU,EAAC,QAAQ,EAAC,UAAU,EAAC,mBAAmB,EAAC,YAAY,EAAC,WAAW,EAAC,WAAW,EAAC,YAAY,EAAC,iBAAiB,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,EAAC,qBAAqB,EAAC,QAAQ,EAAC,YAAY,EAAC,oBAAoB,EAAC,kBAAkB,EAAC,UAAU,EAAC,OAAO,EAAC,OAAO,EAAC,WAAW,EAAC,iBAAiB,EAAC,aAAa,EAAC,WAAW,EAAC,iBAAiB,EAAC,QAAQ,EAAC,mBAAmB,EAAC,cAAc,CAAC,CAAC,CAAA;AAEnlB,MAAM,CAAC,MAAM,cAAc,GAAiB,IAAI,GAAG,CAAC,CAAC,cAAc,EAAC,SAAS,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,EAAC,UAAU,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,EAAC,SAAS,EAAC,UAAU,EAAC,KAAK,EAAC,aAAa,EAAC,QAAQ,EAAC,MAAM,EAAC,aAAa,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,OAAO,CAAC,CAAC,CAAA"}
|
|
@@ -4290,6 +4290,280 @@ export interface AccessPolicyV2 {
|
|
|
4290
4290
|
*/
|
|
4291
4291
|
target?: Array<AccessPolicyV2Target>;
|
|
4292
4292
|
}
|
|
4293
|
+
export interface AccessPolicyV3Assignment {
|
|
4294
|
+
resourceType: "AccessPolicyV3Assignment";
|
|
4295
|
+
/**
|
|
4296
|
+
* Logical id of this artifact
|
|
4297
|
+
*/
|
|
4298
|
+
id?: id;
|
|
4299
|
+
/**
|
|
4300
|
+
* Metadata about the resource
|
|
4301
|
+
*/
|
|
4302
|
+
meta?: Meta;
|
|
4303
|
+
/**
|
|
4304
|
+
* The access policy that this assignment grants.
|
|
4305
|
+
*/
|
|
4306
|
+
accessPolicy: Reference;
|
|
4307
|
+
/**
|
|
4308
|
+
* The target reference the access policy applies to.
|
|
4309
|
+
*/
|
|
4310
|
+
link: Reference;
|
|
4311
|
+
/**
|
|
4312
|
+
* Order of evaluation under first-applicable; lower first.
|
|
4313
|
+
*/
|
|
4314
|
+
priority?: integer;
|
|
4315
|
+
/**
|
|
4316
|
+
* Order of evaluation under first-applicable; lower first.
|
|
4317
|
+
*/
|
|
4318
|
+
_priority?: Element;
|
|
4319
|
+
}
|
|
4320
|
+
export interface AccessPolicyV3AttributeOperation {
|
|
4321
|
+
/**
|
|
4322
|
+
* The operation type.
|
|
4323
|
+
*/
|
|
4324
|
+
type: code;
|
|
4325
|
+
/**
|
|
4326
|
+
* The operation type.
|
|
4327
|
+
*/
|
|
4328
|
+
_type?: Element;
|
|
4329
|
+
/**
|
|
4330
|
+
* The resource type the operation targets.
|
|
4331
|
+
*/
|
|
4332
|
+
resourceType?: code;
|
|
4333
|
+
/**
|
|
4334
|
+
* The resource type the operation targets.
|
|
4335
|
+
*/
|
|
4336
|
+
_resourceType?: Element;
|
|
4337
|
+
/**
|
|
4338
|
+
* Search string with %principal.* substitutions.
|
|
4339
|
+
*/
|
|
4340
|
+
parameters?: string;
|
|
4341
|
+
/**
|
|
4342
|
+
* Search string with %principal.* substitutions.
|
|
4343
|
+
*/
|
|
4344
|
+
_parameters?: Element;
|
|
4345
|
+
}
|
|
4346
|
+
export interface AccessPolicyV3Attribute {
|
|
4347
|
+
/**
|
|
4348
|
+
* The id of the attribute referenced using %attributeId in expressions.
|
|
4349
|
+
*/
|
|
4350
|
+
attributeId: id;
|
|
4351
|
+
/**
|
|
4352
|
+
* The id of the attribute referenced using %attributeId in expressions.
|
|
4353
|
+
*/
|
|
4354
|
+
_attributeId?: Element;
|
|
4355
|
+
/**
|
|
4356
|
+
* Whether the attribute is resolved once per principal or per request.
|
|
4357
|
+
*/
|
|
4358
|
+
scope: code;
|
|
4359
|
+
/**
|
|
4360
|
+
* Whether the attribute is resolved once per principal or per request.
|
|
4361
|
+
*/
|
|
4362
|
+
_scope?: Element;
|
|
4363
|
+
/**
|
|
4364
|
+
* The operation to retrieve the attribute.
|
|
4365
|
+
*/
|
|
4366
|
+
operation?: AccessPolicyV3AttributeOperation;
|
|
4367
|
+
}
|
|
4368
|
+
export interface AccessPolicyV3RuleTarget {
|
|
4369
|
+
/**
|
|
4370
|
+
* Target expression.
|
|
4371
|
+
*/
|
|
4372
|
+
expression: string;
|
|
4373
|
+
/**
|
|
4374
|
+
* Target expression.
|
|
4375
|
+
*/
|
|
4376
|
+
_expression?: Element;
|
|
4377
|
+
}
|
|
4378
|
+
export interface AccessPolicyV3RuleCondition {
|
|
4379
|
+
/**
|
|
4380
|
+
* Condition expression.
|
|
4381
|
+
*/
|
|
4382
|
+
expression: string;
|
|
4383
|
+
/**
|
|
4384
|
+
* Condition expression.
|
|
4385
|
+
*/
|
|
4386
|
+
_expression?: Element;
|
|
4387
|
+
}
|
|
4388
|
+
export interface AccessPolicyV3RuleData {
|
|
4389
|
+
/**
|
|
4390
|
+
* The resource type constrained.
|
|
4391
|
+
*/
|
|
4392
|
+
resourceType: code;
|
|
4393
|
+
/**
|
|
4394
|
+
* The resource type constrained.
|
|
4395
|
+
*/
|
|
4396
|
+
_resourceType?: Element;
|
|
4397
|
+
/**
|
|
4398
|
+
* Search string with %principal.* substitutions.
|
|
4399
|
+
*/
|
|
4400
|
+
search: string;
|
|
4401
|
+
/**
|
|
4402
|
+
* Search string with %principal.* substitutions.
|
|
4403
|
+
*/
|
|
4404
|
+
_search?: Element;
|
|
4405
|
+
}
|
|
4406
|
+
export interface AccessPolicyV3RuleField {
|
|
4407
|
+
/**
|
|
4408
|
+
* The resource type the field belongs to.
|
|
4409
|
+
*/
|
|
4410
|
+
resourceType: code;
|
|
4411
|
+
/**
|
|
4412
|
+
* The resource type the field belongs to.
|
|
4413
|
+
*/
|
|
4414
|
+
_resourceType?: Element;
|
|
4415
|
+
/**
|
|
4416
|
+
* Element path.
|
|
4417
|
+
*/
|
|
4418
|
+
path: string;
|
|
4419
|
+
/**
|
|
4420
|
+
* Element path.
|
|
4421
|
+
*/
|
|
4422
|
+
_path?: Element;
|
|
4423
|
+
/**
|
|
4424
|
+
* How the element is handled.
|
|
4425
|
+
*/
|
|
4426
|
+
mode: code;
|
|
4427
|
+
/**
|
|
4428
|
+
* How the element is handled.
|
|
4429
|
+
*/
|
|
4430
|
+
_mode?: Element;
|
|
4431
|
+
/**
|
|
4432
|
+
* Redaction applied when mode is mask.
|
|
4433
|
+
*/
|
|
4434
|
+
redaction?: code;
|
|
4435
|
+
/**
|
|
4436
|
+
* Redaction applied when mode is mask.
|
|
4437
|
+
*/
|
|
4438
|
+
_redaction?: Element;
|
|
4439
|
+
}
|
|
4440
|
+
export interface AccessPolicyV3RuleObligation {
|
|
4441
|
+
/**
|
|
4442
|
+
* The obligation.
|
|
4443
|
+
*/
|
|
4444
|
+
code: code;
|
|
4445
|
+
/**
|
|
4446
|
+
* The obligation.
|
|
4447
|
+
*/
|
|
4448
|
+
_code?: Element;
|
|
4449
|
+
/**
|
|
4450
|
+
* Obligation parameter, for example a rate or result limit.
|
|
4451
|
+
*/
|
|
4452
|
+
value?: string;
|
|
4453
|
+
/**
|
|
4454
|
+
* Obligation parameter, for example a rate or result limit.
|
|
4455
|
+
*/
|
|
4456
|
+
_value?: Element;
|
|
4457
|
+
}
|
|
4458
|
+
export interface AccessPolicyV3Rule {
|
|
4459
|
+
/**
|
|
4460
|
+
* Rule identifier.
|
|
4461
|
+
*/
|
|
4462
|
+
name?: string;
|
|
4463
|
+
/**
|
|
4464
|
+
* Rule identifier.
|
|
4465
|
+
*/
|
|
4466
|
+
_name?: Element;
|
|
4467
|
+
/**
|
|
4468
|
+
* Rule description.
|
|
4469
|
+
*/
|
|
4470
|
+
description?: string;
|
|
4471
|
+
/**
|
|
4472
|
+
* Rule description.
|
|
4473
|
+
*/
|
|
4474
|
+
_description?: Element;
|
|
4475
|
+
/**
|
|
4476
|
+
* Whether the rule decides on the request or constrains the data it can reach.
|
|
4477
|
+
*/
|
|
4478
|
+
kind: code;
|
|
4479
|
+
/**
|
|
4480
|
+
* Whether the rule decides on the request or constrains the data it can reach.
|
|
4481
|
+
*/
|
|
4482
|
+
_kind?: Element;
|
|
4483
|
+
/**
|
|
4484
|
+
* Whether the rule permits or denies.
|
|
4485
|
+
*/
|
|
4486
|
+
type: code;
|
|
4487
|
+
/**
|
|
4488
|
+
* Whether the rule permits or denies.
|
|
4489
|
+
*/
|
|
4490
|
+
_type?: Element;
|
|
4491
|
+
/**
|
|
4492
|
+
* How nested rule decisions are combined.
|
|
4493
|
+
*/
|
|
4494
|
+
combining?: code;
|
|
4495
|
+
/**
|
|
4496
|
+
* How nested rule decisions are combined.
|
|
4497
|
+
*/
|
|
4498
|
+
_combining?: Element;
|
|
4499
|
+
/**
|
|
4500
|
+
* FHIRPath over %request and %principal; false or empty makes the rule not applicable.
|
|
4501
|
+
*/
|
|
4502
|
+
target?: AccessPolicyV3RuleTarget;
|
|
4503
|
+
/**
|
|
4504
|
+
* Decision rules only: FHIRPath over any attribute including %target.
|
|
4505
|
+
*/
|
|
4506
|
+
condition?: AccessPolicyV3RuleCondition;
|
|
4507
|
+
/**
|
|
4508
|
+
* Constraint rules only: the data the rule reaches.
|
|
4509
|
+
*/
|
|
4510
|
+
data?: Array<AccessPolicyV3RuleData>;
|
|
4511
|
+
/**
|
|
4512
|
+
* Permit rules only: per resource type element handling.
|
|
4513
|
+
*/
|
|
4514
|
+
field?: Array<AccessPolicyV3RuleField>;
|
|
4515
|
+
/**
|
|
4516
|
+
* Permit rules only: obligations the caller must satisfy.
|
|
4517
|
+
*/
|
|
4518
|
+
obligation?: Array<AccessPolicyV3RuleObligation>;
|
|
4519
|
+
/**
|
|
4520
|
+
* Nested rules; the parent carries its own combining.
|
|
4521
|
+
*/
|
|
4522
|
+
rule?: Array<AccessPolicyV3Rule>;
|
|
4523
|
+
}
|
|
4524
|
+
export interface AccessPolicyV3 {
|
|
4525
|
+
resourceType: "AccessPolicyV3";
|
|
4526
|
+
/**
|
|
4527
|
+
* Logical id of this artifact
|
|
4528
|
+
*/
|
|
4529
|
+
id?: id;
|
|
4530
|
+
/**
|
|
4531
|
+
* Metadata about the resource
|
|
4532
|
+
*/
|
|
4533
|
+
meta?: Meta;
|
|
4534
|
+
/**
|
|
4535
|
+
* The name of the access policy.
|
|
4536
|
+
*/
|
|
4537
|
+
name?: string;
|
|
4538
|
+
/**
|
|
4539
|
+
* The name of the access policy.
|
|
4540
|
+
*/
|
|
4541
|
+
_name?: Element;
|
|
4542
|
+
/**
|
|
4543
|
+
* Description of the access policy.
|
|
4544
|
+
*/
|
|
4545
|
+
description?: string;
|
|
4546
|
+
/**
|
|
4547
|
+
* Description of the access policy.
|
|
4548
|
+
*/
|
|
4549
|
+
_description?: Element;
|
|
4550
|
+
/**
|
|
4551
|
+
* How rule decisions are combined into one decision.
|
|
4552
|
+
*/
|
|
4553
|
+
combining: code;
|
|
4554
|
+
/**
|
|
4555
|
+
* How rule decisions are combined into one decision.
|
|
4556
|
+
*/
|
|
4557
|
+
_combining?: Element;
|
|
4558
|
+
/**
|
|
4559
|
+
* Policy information point entries referenced using %attributeId in expressions.
|
|
4560
|
+
*/
|
|
4561
|
+
attribute?: Array<AccessPolicyV3Attribute>;
|
|
4562
|
+
/**
|
|
4563
|
+
* Ordered rules that govern how the access policy is applied.
|
|
4564
|
+
*/
|
|
4565
|
+
rule?: Array<AccessPolicyV3Rule>;
|
|
4566
|
+
}
|
|
4293
4567
|
export interface ClientApplication {
|
|
4294
4568
|
resourceType: "ClientApplication";
|
|
4295
4569
|
/**
|
|
@@ -4401,6 +4675,179 @@ export interface ClientApplication {
|
|
|
4401
4675
|
*/
|
|
4402
4676
|
_policyUri?: Element;
|
|
4403
4677
|
}
|
|
4678
|
+
export interface DeidentificationPolicyRuleTarget {
|
|
4679
|
+
/**
|
|
4680
|
+
* Exact element path such as Patient.birthDate.
|
|
4681
|
+
*/
|
|
4682
|
+
path?: string;
|
|
4683
|
+
/**
|
|
4684
|
+
* Exact element path such as Patient.birthDate.
|
|
4685
|
+
*/
|
|
4686
|
+
_path?: Element;
|
|
4687
|
+
/**
|
|
4688
|
+
* A datatype or primitive; matches every element of that type anywhere.
|
|
4689
|
+
*/
|
|
4690
|
+
type?: code;
|
|
4691
|
+
/**
|
|
4692
|
+
* A datatype or primitive; matches every element of that type anywhere.
|
|
4693
|
+
*/
|
|
4694
|
+
_type?: Element;
|
|
4695
|
+
/**
|
|
4696
|
+
* Extension canonical URL; matches that extension wherever it appears.
|
|
4697
|
+
*/
|
|
4698
|
+
extension?: uri;
|
|
4699
|
+
/**
|
|
4700
|
+
* Extension canonical URL; matches that extension wherever it appears.
|
|
4701
|
+
*/
|
|
4702
|
+
_extension?: Element;
|
|
4703
|
+
}
|
|
4704
|
+
export interface DeidentificationPolicyRuleParam {
|
|
4705
|
+
/**
|
|
4706
|
+
* cryptoHash, pseudonymize: Identifier parts left unchanged.
|
|
4707
|
+
*/
|
|
4708
|
+
keep?: Array<code>;
|
|
4709
|
+
/**
|
|
4710
|
+
* cryptoHash, pseudonymize: Identifier parts left unchanged.
|
|
4711
|
+
*/
|
|
4712
|
+
_keep?: Array<Element>;
|
|
4713
|
+
/**
|
|
4714
|
+
* generalize: target precision (year, month, zip3).
|
|
4715
|
+
*/
|
|
4716
|
+
to?: code;
|
|
4717
|
+
/**
|
|
4718
|
+
* generalize: target precision (year, month, zip3).
|
|
4719
|
+
*/
|
|
4720
|
+
_to?: Element;
|
|
4721
|
+
/**
|
|
4722
|
+
* generalize: only values for ages over this are generalized.
|
|
4723
|
+
*/
|
|
4724
|
+
ageOver?: unsignedInt;
|
|
4725
|
+
/**
|
|
4726
|
+
* generalize: only values for ages over this are generalized.
|
|
4727
|
+
*/
|
|
4728
|
+
_ageOver?: Element;
|
|
4729
|
+
/**
|
|
4730
|
+
* dateShift: maximum shift in days.
|
|
4731
|
+
*/
|
|
4732
|
+
rangeDays?: positiveInt;
|
|
4733
|
+
/**
|
|
4734
|
+
* dateShift: maximum shift in days.
|
|
4735
|
+
*/
|
|
4736
|
+
_rangeDays?: Element;
|
|
4737
|
+
/**
|
|
4738
|
+
* substitute: the replacement value.
|
|
4739
|
+
*/
|
|
4740
|
+
value?: string;
|
|
4741
|
+
/**
|
|
4742
|
+
* substitute: the replacement value.
|
|
4743
|
+
*/
|
|
4744
|
+
_value?: Element;
|
|
4745
|
+
/**
|
|
4746
|
+
* perturb: maximum relative change in percent.
|
|
4747
|
+
*/
|
|
4748
|
+
percent?: decimal;
|
|
4749
|
+
/**
|
|
4750
|
+
* perturb: maximum relative change in percent.
|
|
4751
|
+
*/
|
|
4752
|
+
_percent?: Element;
|
|
4753
|
+
}
|
|
4754
|
+
export interface DeidentificationPolicyRule {
|
|
4755
|
+
/**
|
|
4756
|
+
* What the rule matches; exactly one of path, type and extension is set.
|
|
4757
|
+
*/
|
|
4758
|
+
target: DeidentificationPolicyRuleTarget;
|
|
4759
|
+
/**
|
|
4760
|
+
* The action applied to matching elements.
|
|
4761
|
+
*/
|
|
4762
|
+
action: code;
|
|
4763
|
+
/**
|
|
4764
|
+
* The action applied to matching elements.
|
|
4765
|
+
*/
|
|
4766
|
+
_action?: Element;
|
|
4767
|
+
/**
|
|
4768
|
+
* Action-specific parameters, validated per action.
|
|
4769
|
+
*/
|
|
4770
|
+
param?: DeidentificationPolicyRuleParam;
|
|
4771
|
+
}
|
|
4772
|
+
export interface DeidentificationPolicy {
|
|
4773
|
+
resourceType: "DeidentificationPolicy";
|
|
4774
|
+
/**
|
|
4775
|
+
* Logical id of this artifact
|
|
4776
|
+
*/
|
|
4777
|
+
id?: id;
|
|
4778
|
+
/**
|
|
4779
|
+
* Metadata about the resource
|
|
4780
|
+
*/
|
|
4781
|
+
meta?: Meta;
|
|
4782
|
+
/**
|
|
4783
|
+
* Canonical identity of the policy.
|
|
4784
|
+
*/
|
|
4785
|
+
url: uri;
|
|
4786
|
+
/**
|
|
4787
|
+
* Canonical identity of the policy.
|
|
4788
|
+
*/
|
|
4789
|
+
_url?: Element;
|
|
4790
|
+
/**
|
|
4791
|
+
* SemVer version; basedOn and obligations pin a version.
|
|
4792
|
+
*/
|
|
4793
|
+
version: string;
|
|
4794
|
+
/**
|
|
4795
|
+
* SemVer version; basedOn and obligations pin a version.
|
|
4796
|
+
*/
|
|
4797
|
+
_version?: Element;
|
|
4798
|
+
/**
|
|
4799
|
+
* Computer-friendly name.
|
|
4800
|
+
*/
|
|
4801
|
+
name?: string;
|
|
4802
|
+
/**
|
|
4803
|
+
* Computer-friendly name.
|
|
4804
|
+
*/
|
|
4805
|
+
_name?: Element;
|
|
4806
|
+
/**
|
|
4807
|
+
* Human-friendly name.
|
|
4808
|
+
*/
|
|
4809
|
+
title?: string;
|
|
4810
|
+
/**
|
|
4811
|
+
* Human-friendly name.
|
|
4812
|
+
*/
|
|
4813
|
+
_title?: Element;
|
|
4814
|
+
/**
|
|
4815
|
+
* What the policy is for.
|
|
4816
|
+
*/
|
|
4817
|
+
description?: markdown;
|
|
4818
|
+
/**
|
|
4819
|
+
* What the policy is for.
|
|
4820
|
+
*/
|
|
4821
|
+
_description?: Element;
|
|
4822
|
+
/**
|
|
4823
|
+
* Only an active policy resolves from an unversioned reference.
|
|
4824
|
+
*/
|
|
4825
|
+
status: code;
|
|
4826
|
+
/**
|
|
4827
|
+
* Only an active policy resolves from an unversioned reference.
|
|
4828
|
+
*/
|
|
4829
|
+
_status?: Element;
|
|
4830
|
+
/**
|
|
4831
|
+
* Parent policy; this policy's rules override the parent's by target identity.
|
|
4832
|
+
*/
|
|
4833
|
+
basedOn?: canonical;
|
|
4834
|
+
/**
|
|
4835
|
+
* Parent policy; this policy's rules override the parent's by target identity.
|
|
4836
|
+
*/
|
|
4837
|
+
_basedOn?: Element;
|
|
4838
|
+
/**
|
|
4839
|
+
* Action for any element no rule matches.
|
|
4840
|
+
*/
|
|
4841
|
+
default: code;
|
|
4842
|
+
/**
|
|
4843
|
+
* Action for any element no rule matches.
|
|
4844
|
+
*/
|
|
4845
|
+
_default?: Element;
|
|
4846
|
+
/**
|
|
4847
|
+
* Rules, sorted on save. Resolution is path > extension > type > default.
|
|
4848
|
+
*/
|
|
4849
|
+
rule?: Array<DeidentificationPolicyRule>;
|
|
4850
|
+
}
|
|
4404
4851
|
export interface HL7V2SegmentsFieldsValueValue {
|
|
4405
4852
|
/**
|
|
4406
4853
|
* Component value
|
|
@@ -45576,7 +46023,10 @@ export interface VisionPrescription {
|
|
|
45576
46023
|
export type ResourceMap = {
|
|
45577
46024
|
AccessPolicyV2Assignment: AccessPolicyV2Assignment;
|
|
45578
46025
|
AccessPolicyV2: AccessPolicyV2;
|
|
46026
|
+
AccessPolicyV3Assignment: AccessPolicyV3Assignment;
|
|
46027
|
+
AccessPolicyV3: AccessPolicyV3;
|
|
45579
46028
|
ClientApplication: ClientApplication;
|
|
46029
|
+
DeidentificationPolicy: DeidentificationPolicy;
|
|
45580
46030
|
HL7V2: HL7V2;
|
|
45581
46031
|
IdentityProvider: IdentityProvider;
|
|
45582
46032
|
Membership: Membership;
|
package/package.json
CHANGED
package/src/generated/r4/sets.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @generated by `pnpm --filter @haste-health/fhir-types run generate` - do not edit.
|
|
2
|
-
export const resourceTypes: Set<string> = new Set(["AccessPolicyV2Assignment","AccessPolicyV2","ClientApplication","HL7V2","IdentityProvider","Membership","Project","User","ViewDefinition","Resource","Account","ActivityDefinition","AdverseEvent","AllergyIntolerance","Appointment","AppointmentResponse","AuditEvent","Basic","Binary","BiologicallyDerivedProduct","BodyStructure","Bundle","CapabilityStatement","CarePlan","CareTeam","CatalogEntry","ChargeItem","ChargeItemDefinition","Claim","ClaimResponse","ClinicalImpression","CodeSystem","Communication","CommunicationRequest","CompartmentDefinition","Composition","ConceptMap","Condition","Consent","Contract","Coverage","CoverageEligibilityRequest","CoverageEligibilityResponse","DetectedIssue","Device","DeviceDefinition","DeviceMetric","DeviceRequest","DeviceUseStatement","DiagnosticReport","DocumentManifest","DocumentReference","DomainResource","EffectEvidenceSynthesis","Encounter","Endpoint","EnrollmentRequest","EnrollmentResponse","EpisodeOfCare","EventDefinition","Evidence","EvidenceVariable","ExampleScenario","ExplanationOfBenefit","FamilyMemberHistory","Flag","Goal","GraphDefinition","Group","GuidanceResponse","HealthcareService","ImagingStudy","Immunization","ImmunizationEvaluation","ImmunizationRecommendation","ImplementationGuide","InsurancePlan","Invoice","Library","Linkage","List","Location","Measure","MeasureReport","Media","Medication","MedicationAdministration","MedicationDispense","MedicationKnowledge","MedicationRequest","MedicationStatement","MedicinalProduct","MedicinalProductAuthorization","MedicinalProductContraindication","MedicinalProductIndication","MedicinalProductIngredient","MedicinalProductInteraction","MedicinalProductManufactured","MedicinalProductPackaged","MedicinalProductPharmaceutical","MedicinalProductUndesirableEffect","MessageDefinition","MessageHeader","MolecularSequence","NamingSystem","NutritionOrder","Observation","ObservationDefinition","OperationDefinition","OperationOutcome","Organization","OrganizationAffiliation","Parameters","Patient","PaymentNotice","PaymentReconciliation","Person","PlanDefinition","Practitioner","PractitionerRole","Procedure","Provenance","Questionnaire","QuestionnaireResponse","RelatedPerson","RequestGroup","ResearchDefinition","ResearchElementDefinition","ResearchStudy","ResearchSubject","RiskAssessment","RiskEvidenceSynthesis","Schedule","SearchParameter","ServiceRequest","Slot","Specimen","SpecimenDefinition","StructureDefinition","StructureMap","Subscription","Substance","SubstanceNucleicAcid","SubstancePolymer","SubstanceProtein","SubstanceReferenceInformation","SubstanceSourceMaterial","SubstanceSpecification","SupplyDelivery","SupplyRequest","Task","TerminologyCapabilities","TestReport","TestScript","ValueSet","VerificationResult","VisionPrescription"])
|
|
2
|
+
export const resourceTypes: Set<string> = new Set(["AccessPolicyV2Assignment","AccessPolicyV2","AccessPolicyV3Assignment","AccessPolicyV3","ClientApplication","DeidentificationPolicy","HL7V2","IdentityProvider","Membership","Project","User","ViewDefinition","Resource","Account","ActivityDefinition","AdverseEvent","AllergyIntolerance","Appointment","AppointmentResponse","AuditEvent","Basic","Binary","BiologicallyDerivedProduct","BodyStructure","Bundle","CapabilityStatement","CarePlan","CareTeam","CatalogEntry","ChargeItem","ChargeItemDefinition","Claim","ClaimResponse","ClinicalImpression","CodeSystem","Communication","CommunicationRequest","CompartmentDefinition","Composition","ConceptMap","Condition","Consent","Contract","Coverage","CoverageEligibilityRequest","CoverageEligibilityResponse","DetectedIssue","Device","DeviceDefinition","DeviceMetric","DeviceRequest","DeviceUseStatement","DiagnosticReport","DocumentManifest","DocumentReference","DomainResource","EffectEvidenceSynthesis","Encounter","Endpoint","EnrollmentRequest","EnrollmentResponse","EpisodeOfCare","EventDefinition","Evidence","EvidenceVariable","ExampleScenario","ExplanationOfBenefit","FamilyMemberHistory","Flag","Goal","GraphDefinition","Group","GuidanceResponse","HealthcareService","ImagingStudy","Immunization","ImmunizationEvaluation","ImmunizationRecommendation","ImplementationGuide","InsurancePlan","Invoice","Library","Linkage","List","Location","Measure","MeasureReport","Media","Medication","MedicationAdministration","MedicationDispense","MedicationKnowledge","MedicationRequest","MedicationStatement","MedicinalProduct","MedicinalProductAuthorization","MedicinalProductContraindication","MedicinalProductIndication","MedicinalProductIngredient","MedicinalProductInteraction","MedicinalProductManufactured","MedicinalProductPackaged","MedicinalProductPharmaceutical","MedicinalProductUndesirableEffect","MessageDefinition","MessageHeader","MolecularSequence","NamingSystem","NutritionOrder","Observation","ObservationDefinition","OperationDefinition","OperationOutcome","Organization","OrganizationAffiliation","Parameters","Patient","PaymentNotice","PaymentReconciliation","Person","PlanDefinition","Practitioner","PractitionerRole","Procedure","Provenance","Questionnaire","QuestionnaireResponse","RelatedPerson","RequestGroup","ResearchDefinition","ResearchElementDefinition","ResearchStudy","ResearchSubject","RiskAssessment","RiskEvidenceSynthesis","Schedule","SearchParameter","ServiceRequest","Slot","Specimen","SpecimenDefinition","StructureDefinition","StructureMap","Subscription","Substance","SubstanceNucleicAcid","SubstancePolymer","SubstanceProtein","SubstanceReferenceInformation","SubstanceSourceMaterial","SubstanceSpecification","SupplyDelivery","SupplyRequest","Task","TerminologyCapabilities","TestReport","TestScript","ValueSet","VerificationResult","VisionPrescription"])
|
|
3
3
|
|
|
4
4
|
export const complexTypes: Set<string> = new Set(["Element","BackboneElement","Address","Age","Annotation","Attachment","CodeableConcept","Coding","ContactDetail","ContactPoint","Contributor","Count","DataRequirement","Distance","Dosage","Duration","ElementDefinition","Expression","Extension","HumanName","Identifier","MarketingStatus","Meta","Money","Narrative","ParameterDefinition","Period","Population","ProdCharacteristic","ProductShelfLife","Quantity","Range","Ratio","Reference","RelatedArtifact","SampledData","Signature","SubstanceAmount","Timing","TriggerDefinition","UsageContext"])
|
|
5
5
|
|
|
@@ -4301,6 +4301,282 @@ resourceType: "AccessPolicyV2"
|
|
|
4301
4301
|
target?: Array<AccessPolicyV2Target>;
|
|
4302
4302
|
}
|
|
4303
4303
|
|
|
4304
|
+
export interface AccessPolicyV3Assignment {
|
|
4305
|
+
resourceType: "AccessPolicyV3Assignment"
|
|
4306
|
+
/**
|
|
4307
|
+
* Logical id of this artifact
|
|
4308
|
+
*/
|
|
4309
|
+
id?: id;
|
|
4310
|
+
/**
|
|
4311
|
+
* Metadata about the resource
|
|
4312
|
+
*/
|
|
4313
|
+
meta?: Meta;
|
|
4314
|
+
/**
|
|
4315
|
+
* The access policy that this assignment grants.
|
|
4316
|
+
*/
|
|
4317
|
+
accessPolicy: Reference;
|
|
4318
|
+
/**
|
|
4319
|
+
* The target reference the access policy applies to.
|
|
4320
|
+
*/
|
|
4321
|
+
link: Reference;
|
|
4322
|
+
/**
|
|
4323
|
+
* Order of evaluation under first-applicable; lower first.
|
|
4324
|
+
*/
|
|
4325
|
+
priority?: integer;
|
|
4326
|
+
/**
|
|
4327
|
+
* Order of evaluation under first-applicable; lower first.
|
|
4328
|
+
*/
|
|
4329
|
+
_priority?: Element
|
|
4330
|
+
}
|
|
4331
|
+
|
|
4332
|
+
export interface AccessPolicyV3AttributeOperation {
|
|
4333
|
+
/**
|
|
4334
|
+
* The operation type.
|
|
4335
|
+
*/
|
|
4336
|
+
type: code;
|
|
4337
|
+
/**
|
|
4338
|
+
* The operation type.
|
|
4339
|
+
*/
|
|
4340
|
+
_type?: Element
|
|
4341
|
+
/**
|
|
4342
|
+
* The resource type the operation targets.
|
|
4343
|
+
*/
|
|
4344
|
+
resourceType?: code;
|
|
4345
|
+
/**
|
|
4346
|
+
* The resource type the operation targets.
|
|
4347
|
+
*/
|
|
4348
|
+
_resourceType?: Element
|
|
4349
|
+
/**
|
|
4350
|
+
* Search string with %principal.* substitutions.
|
|
4351
|
+
*/
|
|
4352
|
+
parameters?: string;
|
|
4353
|
+
/**
|
|
4354
|
+
* Search string with %principal.* substitutions.
|
|
4355
|
+
*/
|
|
4356
|
+
_parameters?: Element
|
|
4357
|
+
}
|
|
4358
|
+
export interface AccessPolicyV3Attribute {
|
|
4359
|
+
/**
|
|
4360
|
+
* The id of the attribute referenced using %attributeId in expressions.
|
|
4361
|
+
*/
|
|
4362
|
+
attributeId: id;
|
|
4363
|
+
/**
|
|
4364
|
+
* The id of the attribute referenced using %attributeId in expressions.
|
|
4365
|
+
*/
|
|
4366
|
+
_attributeId?: Element
|
|
4367
|
+
/**
|
|
4368
|
+
* Whether the attribute is resolved once per principal or per request.
|
|
4369
|
+
*/
|
|
4370
|
+
scope: code;
|
|
4371
|
+
/**
|
|
4372
|
+
* Whether the attribute is resolved once per principal or per request.
|
|
4373
|
+
*/
|
|
4374
|
+
_scope?: Element
|
|
4375
|
+
/**
|
|
4376
|
+
* The operation to retrieve the attribute.
|
|
4377
|
+
*/
|
|
4378
|
+
operation?: AccessPolicyV3AttributeOperation;
|
|
4379
|
+
}
|
|
4380
|
+
export interface AccessPolicyV3RuleTarget {
|
|
4381
|
+
/**
|
|
4382
|
+
* Target expression.
|
|
4383
|
+
*/
|
|
4384
|
+
expression: string;
|
|
4385
|
+
/**
|
|
4386
|
+
* Target expression.
|
|
4387
|
+
*/
|
|
4388
|
+
_expression?: Element
|
|
4389
|
+
}
|
|
4390
|
+
export interface AccessPolicyV3RuleCondition {
|
|
4391
|
+
/**
|
|
4392
|
+
* Condition expression.
|
|
4393
|
+
*/
|
|
4394
|
+
expression: string;
|
|
4395
|
+
/**
|
|
4396
|
+
* Condition expression.
|
|
4397
|
+
*/
|
|
4398
|
+
_expression?: Element
|
|
4399
|
+
}
|
|
4400
|
+
export interface AccessPolicyV3RuleData {
|
|
4401
|
+
/**
|
|
4402
|
+
* The resource type constrained.
|
|
4403
|
+
*/
|
|
4404
|
+
resourceType: code;
|
|
4405
|
+
/**
|
|
4406
|
+
* The resource type constrained.
|
|
4407
|
+
*/
|
|
4408
|
+
_resourceType?: Element
|
|
4409
|
+
/**
|
|
4410
|
+
* Search string with %principal.* substitutions.
|
|
4411
|
+
*/
|
|
4412
|
+
search: string;
|
|
4413
|
+
/**
|
|
4414
|
+
* Search string with %principal.* substitutions.
|
|
4415
|
+
*/
|
|
4416
|
+
_search?: Element
|
|
4417
|
+
}
|
|
4418
|
+
export interface AccessPolicyV3RuleField {
|
|
4419
|
+
/**
|
|
4420
|
+
* The resource type the field belongs to.
|
|
4421
|
+
*/
|
|
4422
|
+
resourceType: code;
|
|
4423
|
+
/**
|
|
4424
|
+
* The resource type the field belongs to.
|
|
4425
|
+
*/
|
|
4426
|
+
_resourceType?: Element
|
|
4427
|
+
/**
|
|
4428
|
+
* Element path.
|
|
4429
|
+
*/
|
|
4430
|
+
path: string;
|
|
4431
|
+
/**
|
|
4432
|
+
* Element path.
|
|
4433
|
+
*/
|
|
4434
|
+
_path?: Element
|
|
4435
|
+
/**
|
|
4436
|
+
* How the element is handled.
|
|
4437
|
+
*/
|
|
4438
|
+
mode: code;
|
|
4439
|
+
/**
|
|
4440
|
+
* How the element is handled.
|
|
4441
|
+
*/
|
|
4442
|
+
_mode?: Element
|
|
4443
|
+
/**
|
|
4444
|
+
* Redaction applied when mode is mask.
|
|
4445
|
+
*/
|
|
4446
|
+
redaction?: code;
|
|
4447
|
+
/**
|
|
4448
|
+
* Redaction applied when mode is mask.
|
|
4449
|
+
*/
|
|
4450
|
+
_redaction?: Element
|
|
4451
|
+
}
|
|
4452
|
+
export interface AccessPolicyV3RuleObligation {
|
|
4453
|
+
/**
|
|
4454
|
+
* The obligation.
|
|
4455
|
+
*/
|
|
4456
|
+
code: code;
|
|
4457
|
+
/**
|
|
4458
|
+
* The obligation.
|
|
4459
|
+
*/
|
|
4460
|
+
_code?: Element
|
|
4461
|
+
/**
|
|
4462
|
+
* Obligation parameter, for example a rate or result limit.
|
|
4463
|
+
*/
|
|
4464
|
+
value?: string;
|
|
4465
|
+
/**
|
|
4466
|
+
* Obligation parameter, for example a rate or result limit.
|
|
4467
|
+
*/
|
|
4468
|
+
_value?: Element
|
|
4469
|
+
}
|
|
4470
|
+
export interface AccessPolicyV3Rule {
|
|
4471
|
+
/**
|
|
4472
|
+
* Rule identifier.
|
|
4473
|
+
*/
|
|
4474
|
+
name?: string;
|
|
4475
|
+
/**
|
|
4476
|
+
* Rule identifier.
|
|
4477
|
+
*/
|
|
4478
|
+
_name?: Element
|
|
4479
|
+
/**
|
|
4480
|
+
* Rule description.
|
|
4481
|
+
*/
|
|
4482
|
+
description?: string;
|
|
4483
|
+
/**
|
|
4484
|
+
* Rule description.
|
|
4485
|
+
*/
|
|
4486
|
+
_description?: Element
|
|
4487
|
+
/**
|
|
4488
|
+
* Whether the rule decides on the request or constrains the data it can reach.
|
|
4489
|
+
*/
|
|
4490
|
+
kind: code;
|
|
4491
|
+
/**
|
|
4492
|
+
* Whether the rule decides on the request or constrains the data it can reach.
|
|
4493
|
+
*/
|
|
4494
|
+
_kind?: Element
|
|
4495
|
+
/**
|
|
4496
|
+
* Whether the rule permits or denies.
|
|
4497
|
+
*/
|
|
4498
|
+
type: code;
|
|
4499
|
+
/**
|
|
4500
|
+
* Whether the rule permits or denies.
|
|
4501
|
+
*/
|
|
4502
|
+
_type?: Element
|
|
4503
|
+
/**
|
|
4504
|
+
* How nested rule decisions are combined.
|
|
4505
|
+
*/
|
|
4506
|
+
combining?: code;
|
|
4507
|
+
/**
|
|
4508
|
+
* How nested rule decisions are combined.
|
|
4509
|
+
*/
|
|
4510
|
+
_combining?: Element
|
|
4511
|
+
/**
|
|
4512
|
+
* FHIRPath over %request and %principal; false or empty makes the rule not applicable.
|
|
4513
|
+
*/
|
|
4514
|
+
target?: AccessPolicyV3RuleTarget;
|
|
4515
|
+
/**
|
|
4516
|
+
* Decision rules only: FHIRPath over any attribute including %target.
|
|
4517
|
+
*/
|
|
4518
|
+
condition?: AccessPolicyV3RuleCondition;
|
|
4519
|
+
/**
|
|
4520
|
+
* Constraint rules only: the data the rule reaches.
|
|
4521
|
+
*/
|
|
4522
|
+
data?: Array<AccessPolicyV3RuleData>;
|
|
4523
|
+
/**
|
|
4524
|
+
* Permit rules only: per resource type element handling.
|
|
4525
|
+
*/
|
|
4526
|
+
field?: Array<AccessPolicyV3RuleField>;
|
|
4527
|
+
/**
|
|
4528
|
+
* Permit rules only: obligations the caller must satisfy.
|
|
4529
|
+
*/
|
|
4530
|
+
obligation?: Array<AccessPolicyV3RuleObligation>;
|
|
4531
|
+
/**
|
|
4532
|
+
* Nested rules; the parent carries its own combining.
|
|
4533
|
+
*/
|
|
4534
|
+
rule?: Array<AccessPolicyV3Rule>;
|
|
4535
|
+
}
|
|
4536
|
+
export interface AccessPolicyV3 {
|
|
4537
|
+
resourceType: "AccessPolicyV3"
|
|
4538
|
+
/**
|
|
4539
|
+
* Logical id of this artifact
|
|
4540
|
+
*/
|
|
4541
|
+
id?: id;
|
|
4542
|
+
/**
|
|
4543
|
+
* Metadata about the resource
|
|
4544
|
+
*/
|
|
4545
|
+
meta?: Meta;
|
|
4546
|
+
/**
|
|
4547
|
+
* The name of the access policy.
|
|
4548
|
+
*/
|
|
4549
|
+
name?: string;
|
|
4550
|
+
/**
|
|
4551
|
+
* The name of the access policy.
|
|
4552
|
+
*/
|
|
4553
|
+
_name?: Element
|
|
4554
|
+
/**
|
|
4555
|
+
* Description of the access policy.
|
|
4556
|
+
*/
|
|
4557
|
+
description?: string;
|
|
4558
|
+
/**
|
|
4559
|
+
* Description of the access policy.
|
|
4560
|
+
*/
|
|
4561
|
+
_description?: Element
|
|
4562
|
+
/**
|
|
4563
|
+
* How rule decisions are combined into one decision.
|
|
4564
|
+
*/
|
|
4565
|
+
combining: code;
|
|
4566
|
+
/**
|
|
4567
|
+
* How rule decisions are combined into one decision.
|
|
4568
|
+
*/
|
|
4569
|
+
_combining?: Element
|
|
4570
|
+
/**
|
|
4571
|
+
* Policy information point entries referenced using %attributeId in expressions.
|
|
4572
|
+
*/
|
|
4573
|
+
attribute?: Array<AccessPolicyV3Attribute>;
|
|
4574
|
+
/**
|
|
4575
|
+
* Ordered rules that govern how the access policy is applied.
|
|
4576
|
+
*/
|
|
4577
|
+
rule?: Array<AccessPolicyV3Rule>;
|
|
4578
|
+
}
|
|
4579
|
+
|
|
4304
4580
|
export interface ClientApplication {
|
|
4305
4581
|
resourceType: "ClientApplication"
|
|
4306
4582
|
/**
|
|
@@ -4413,6 +4689,180 @@ resourceType: "ClientApplication"
|
|
|
4413
4689
|
_policyUri?: Element
|
|
4414
4690
|
}
|
|
4415
4691
|
|
|
4692
|
+
export interface DeidentificationPolicyRuleTarget {
|
|
4693
|
+
/**
|
|
4694
|
+
* Exact element path such as Patient.birthDate.
|
|
4695
|
+
*/
|
|
4696
|
+
path?: string;
|
|
4697
|
+
/**
|
|
4698
|
+
* Exact element path such as Patient.birthDate.
|
|
4699
|
+
*/
|
|
4700
|
+
_path?: Element
|
|
4701
|
+
/**
|
|
4702
|
+
* A datatype or primitive; matches every element of that type anywhere.
|
|
4703
|
+
*/
|
|
4704
|
+
type?: code;
|
|
4705
|
+
/**
|
|
4706
|
+
* A datatype or primitive; matches every element of that type anywhere.
|
|
4707
|
+
*/
|
|
4708
|
+
_type?: Element
|
|
4709
|
+
/**
|
|
4710
|
+
* Extension canonical URL; matches that extension wherever it appears.
|
|
4711
|
+
*/
|
|
4712
|
+
extension?: uri;
|
|
4713
|
+
/**
|
|
4714
|
+
* Extension canonical URL; matches that extension wherever it appears.
|
|
4715
|
+
*/
|
|
4716
|
+
_extension?: Element
|
|
4717
|
+
}
|
|
4718
|
+
export interface DeidentificationPolicyRuleParam {
|
|
4719
|
+
/**
|
|
4720
|
+
* cryptoHash, pseudonymize: Identifier parts left unchanged.
|
|
4721
|
+
*/
|
|
4722
|
+
keep?: Array<code>;
|
|
4723
|
+
/**
|
|
4724
|
+
* cryptoHash, pseudonymize: Identifier parts left unchanged.
|
|
4725
|
+
*/
|
|
4726
|
+
_keep?: Array<Element>
|
|
4727
|
+
/**
|
|
4728
|
+
* generalize: target precision (year, month, zip3).
|
|
4729
|
+
*/
|
|
4730
|
+
to?: code;
|
|
4731
|
+
/**
|
|
4732
|
+
* generalize: target precision (year, month, zip3).
|
|
4733
|
+
*/
|
|
4734
|
+
_to?: Element
|
|
4735
|
+
/**
|
|
4736
|
+
* generalize: only values for ages over this are generalized.
|
|
4737
|
+
*/
|
|
4738
|
+
ageOver?: unsignedInt;
|
|
4739
|
+
/**
|
|
4740
|
+
* generalize: only values for ages over this are generalized.
|
|
4741
|
+
*/
|
|
4742
|
+
_ageOver?: Element
|
|
4743
|
+
/**
|
|
4744
|
+
* dateShift: maximum shift in days.
|
|
4745
|
+
*/
|
|
4746
|
+
rangeDays?: positiveInt;
|
|
4747
|
+
/**
|
|
4748
|
+
* dateShift: maximum shift in days.
|
|
4749
|
+
*/
|
|
4750
|
+
_rangeDays?: Element
|
|
4751
|
+
/**
|
|
4752
|
+
* substitute: the replacement value.
|
|
4753
|
+
*/
|
|
4754
|
+
value?: string;
|
|
4755
|
+
/**
|
|
4756
|
+
* substitute: the replacement value.
|
|
4757
|
+
*/
|
|
4758
|
+
_value?: Element
|
|
4759
|
+
/**
|
|
4760
|
+
* perturb: maximum relative change in percent.
|
|
4761
|
+
*/
|
|
4762
|
+
percent?: decimal;
|
|
4763
|
+
/**
|
|
4764
|
+
* perturb: maximum relative change in percent.
|
|
4765
|
+
*/
|
|
4766
|
+
_percent?: Element
|
|
4767
|
+
}
|
|
4768
|
+
export interface DeidentificationPolicyRule {
|
|
4769
|
+
/**
|
|
4770
|
+
* What the rule matches; exactly one of path, type and extension is set.
|
|
4771
|
+
*/
|
|
4772
|
+
target: DeidentificationPolicyRuleTarget;
|
|
4773
|
+
/**
|
|
4774
|
+
* The action applied to matching elements.
|
|
4775
|
+
*/
|
|
4776
|
+
action: code;
|
|
4777
|
+
/**
|
|
4778
|
+
* The action applied to matching elements.
|
|
4779
|
+
*/
|
|
4780
|
+
_action?: Element
|
|
4781
|
+
/**
|
|
4782
|
+
* Action-specific parameters, validated per action.
|
|
4783
|
+
*/
|
|
4784
|
+
param?: DeidentificationPolicyRuleParam;
|
|
4785
|
+
}
|
|
4786
|
+
export interface DeidentificationPolicy {
|
|
4787
|
+
resourceType: "DeidentificationPolicy"
|
|
4788
|
+
/**
|
|
4789
|
+
* Logical id of this artifact
|
|
4790
|
+
*/
|
|
4791
|
+
id?: id;
|
|
4792
|
+
/**
|
|
4793
|
+
* Metadata about the resource
|
|
4794
|
+
*/
|
|
4795
|
+
meta?: Meta;
|
|
4796
|
+
/**
|
|
4797
|
+
* Canonical identity of the policy.
|
|
4798
|
+
*/
|
|
4799
|
+
url: uri;
|
|
4800
|
+
/**
|
|
4801
|
+
* Canonical identity of the policy.
|
|
4802
|
+
*/
|
|
4803
|
+
_url?: Element
|
|
4804
|
+
/**
|
|
4805
|
+
* SemVer version; basedOn and obligations pin a version.
|
|
4806
|
+
*/
|
|
4807
|
+
version: string;
|
|
4808
|
+
/**
|
|
4809
|
+
* SemVer version; basedOn and obligations pin a version.
|
|
4810
|
+
*/
|
|
4811
|
+
_version?: Element
|
|
4812
|
+
/**
|
|
4813
|
+
* Computer-friendly name.
|
|
4814
|
+
*/
|
|
4815
|
+
name?: string;
|
|
4816
|
+
/**
|
|
4817
|
+
* Computer-friendly name.
|
|
4818
|
+
*/
|
|
4819
|
+
_name?: Element
|
|
4820
|
+
/**
|
|
4821
|
+
* Human-friendly name.
|
|
4822
|
+
*/
|
|
4823
|
+
title?: string;
|
|
4824
|
+
/**
|
|
4825
|
+
* Human-friendly name.
|
|
4826
|
+
*/
|
|
4827
|
+
_title?: Element
|
|
4828
|
+
/**
|
|
4829
|
+
* What the policy is for.
|
|
4830
|
+
*/
|
|
4831
|
+
description?: markdown;
|
|
4832
|
+
/**
|
|
4833
|
+
* What the policy is for.
|
|
4834
|
+
*/
|
|
4835
|
+
_description?: Element
|
|
4836
|
+
/**
|
|
4837
|
+
* Only an active policy resolves from an unversioned reference.
|
|
4838
|
+
*/
|
|
4839
|
+
status: code;
|
|
4840
|
+
/**
|
|
4841
|
+
* Only an active policy resolves from an unversioned reference.
|
|
4842
|
+
*/
|
|
4843
|
+
_status?: Element
|
|
4844
|
+
/**
|
|
4845
|
+
* Parent policy; this policy's rules override the parent's by target identity.
|
|
4846
|
+
*/
|
|
4847
|
+
basedOn?: canonical;
|
|
4848
|
+
/**
|
|
4849
|
+
* Parent policy; this policy's rules override the parent's by target identity.
|
|
4850
|
+
*/
|
|
4851
|
+
_basedOn?: Element
|
|
4852
|
+
/**
|
|
4853
|
+
* Action for any element no rule matches.
|
|
4854
|
+
*/
|
|
4855
|
+
default: code;
|
|
4856
|
+
/**
|
|
4857
|
+
* Action for any element no rule matches.
|
|
4858
|
+
*/
|
|
4859
|
+
_default?: Element
|
|
4860
|
+
/**
|
|
4861
|
+
* Rules, sorted on save. Resolution is path > extension > type > default.
|
|
4862
|
+
*/
|
|
4863
|
+
rule?: Array<DeidentificationPolicyRule>;
|
|
4864
|
+
}
|
|
4865
|
+
|
|
4416
4866
|
export interface HL7V2SegmentsFieldsValueValue {
|
|
4417
4867
|
/**
|
|
4418
4868
|
* Component value
|
|
@@ -45739,7 +46189,10 @@ resourceType: "VisionPrescription"
|
|
|
45739
46189
|
export type ResourceMap = {
|
|
45740
46190
|
AccessPolicyV2Assignment: AccessPolicyV2Assignment;
|
|
45741
46191
|
AccessPolicyV2: AccessPolicyV2;
|
|
46192
|
+
AccessPolicyV3Assignment: AccessPolicyV3Assignment;
|
|
46193
|
+
AccessPolicyV3: AccessPolicyV3;
|
|
45742
46194
|
ClientApplication: ClientApplication;
|
|
46195
|
+
DeidentificationPolicy: DeidentificationPolicy;
|
|
45743
46196
|
HL7V2: HL7V2;
|
|
45744
46197
|
IdentityProvider: IdentityProvider;
|
|
45745
46198
|
Membership: Membership;
|