-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab32df1
commit 050d815
Showing
1,145 changed files
with
30,172 additions
and
3,135 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,4 @@ node_modules | |
/index.js | ||
/api | ||
/core | ||
/errors | ||
/serialization | ||
/errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Metriport from "../../.."; | ||
|
||
/** | ||
* Access Policy for user or user group that defines how entities can or cannot access resources. | ||
*/ | ||
export interface AccessPolicy { | ||
resourceType: "AccessPolicy"; | ||
/** The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. */ | ||
id?: Metriport.fhir.Id; | ||
/** The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource. */ | ||
meta?: Metriport.fhir.Meta; | ||
/** A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. */ | ||
implicitRules?: Metriport.fhir.Uri; | ||
/** The base language in which the resource is written. */ | ||
language?: Metriport.fhir.Code; | ||
/** A name associated with the AccessPolicy. */ | ||
name?: string; | ||
/** Optional compartment for newly created resources. If this field is set, any resources created by a user with this access policy will automatically be included in the specified compartment. */ | ||
compartment?: Metriport.fhir.Reference; | ||
/** Access details for a resource type. */ | ||
resource?: Metriport.fhir.AccessPolicyResource[]; | ||
/** Use IP Access Rules to allowlist, block, and challenge traffic based on the visitor IP address. */ | ||
ipAccessRule?: Metriport.fhir.AccessPolicyIpAccessRule[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Metriport from "../../.."; | ||
|
||
/** | ||
* Use IP Access Rules to allowlist, block, and challenge traffic based on the visitor IP address. | ||
*/ | ||
export interface AccessPolicyIpAccessRule { | ||
/** Friendly name that will make it easy for you to identify the IP Access Rule in the future. */ | ||
name?: string; | ||
/** An IP Access rule will apply a certain action to incoming traffic based on the visitor IP address or IP range. */ | ||
value: string; | ||
/** Access rule can perform one of the following actions: "allow" | "block". */ | ||
action: Metriport.fhir.AccessPolicyIpAccessRuleAction; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/api/resources/fhir/types/AccessPolicyIpAccessRuleAction.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
/** | ||
* Access rule can perform one of the following actions: "allow" | "block". | ||
*/ | ||
export type AccessPolicyIpAccessRuleAction = "allow" | "block"; | ||
|
||
export const AccessPolicyIpAccessRuleAction = { | ||
Allow: "allow", | ||
Block: "block", | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Metriport from "../../.."; | ||
|
||
/** | ||
* Access details for a resource type. | ||
*/ | ||
export interface AccessPolicyResource { | ||
/** DEPRECATED Optional compartment restriction for the resource type. */ | ||
compartment?: Metriport.fhir.Reference; | ||
/** The rules that the server should use to determine which resources to allow. */ | ||
criteria?: string; | ||
/** Optional flag to indicate that the resource type is read-only. */ | ||
readonly?: boolean; | ||
/** Optional list of hidden fields. Hidden fields are not readable or writeable. */ | ||
hiddenFields?: string[]; | ||
/** Optional list of read-only fields. Read-only fields are readable but not writeable. */ | ||
readonlyFields?: string[]; | ||
/** Invariants that must be satisfied for the resource to be written. Can include %before and %after placeholders to refer to the resource before and after the updates are applied. */ | ||
writeConstraint?: Metriport.fhir.Expression[]; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/api/resources/fhir/types/AccessPolicyResourceWriteCriteria.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
/** | ||
* Invariants that must be satisfied for the resource to be written. | ||
*/ | ||
export interface AccessPolicyResourceWriteCriteria { | ||
/** Invariant to check against the state of the resource before modification. */ | ||
pre?: string; | ||
/** Invariant to check against the state of the resource with modifications tentatively applied. */ | ||
post?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Metriport from "../../.."; | ||
|
||
/** | ||
* A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centers, etc. | ||
*/ | ||
export interface Account extends Metriport.fhir.BaseResource { | ||
resourceType: "Account"; | ||
/** Unique identifier used to reference the account. Might or might not be intended for human use (e.g. credit card number). */ | ||
identifier?: Metriport.fhir.Identifier[]; | ||
/** Indicates whether the account is presently used/usable or not. */ | ||
status?: Metriport.fhir.AccountStatus; | ||
/** Categorizes the account for reporting and searching purposes. */ | ||
type?: Metriport.fhir.CodeableConcept; | ||
/** Name used for the account when displaying it to humans in reports, etc. */ | ||
name?: string; | ||
/** Identifies the entity which incurs the expenses. While the immediate recipients of services or goods might be entities related to the subject, the expenses were ultimately incurred by the subject of the Account. */ | ||
subject?: Metriport.fhir.Reference[]; | ||
/** The date range of services associated with this account. */ | ||
servicePeriod?: Metriport.fhir.Period; | ||
/** The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account. */ | ||
coverage?: Metriport.fhir.AccountCoverage[]; | ||
/** Indicates the service area, hospital, department, etc. with responsibility for managing the Account. */ | ||
owner?: Metriport.fhir.Reference; | ||
/** Provides additional information about what the account tracks and how it is used. */ | ||
description?: string; | ||
/** The parties responsible for balancing the account if other payment options fall short. */ | ||
guarantor?: Metriport.fhir.AccountGuarantor[]; | ||
/** Reference to a parent Account. */ | ||
partOf?: Metriport.fhir.Reference; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Metriport from "../../.."; | ||
|
||
/** | ||
* A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centers, etc. | ||
*/ | ||
export interface AccountCoverage { | ||
/** Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. */ | ||
id?: string; | ||
/** May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. */ | ||
extension?: Metriport.fhir.Extension[]; | ||
/** May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). */ | ||
modifierExtension?: Metriport.fhir.Extension[]; | ||
/** The party(s) that contribute to payment (or part of) of the charges applied to this account (including self-pay). A coverage may only be responsible for specific types of charges, and the sequence of the coverages in the account could be important when processing billing. */ | ||
coverage: Metriport.fhir.Reference; | ||
/** The priority of the coverage in the context of this account. */ | ||
priority?: Metriport.fhir.PositiveInt; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Metriport from "../../.."; | ||
|
||
/** | ||
* A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centers, etc. | ||
*/ | ||
export interface AccountGuarantor { | ||
/** Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. */ | ||
id?: string; | ||
/** May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. */ | ||
extension?: Metriport.fhir.Extension[]; | ||
/** May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). */ | ||
modifierExtension?: Metriport.fhir.Extension[]; | ||
/** The entity who is responsible. */ | ||
party: Metriport.fhir.Reference; | ||
/** A guarantor may be placed on credit hold or otherwise have their role temporarily suspended. */ | ||
onHold?: boolean; | ||
/** The timeframe during which the guarantor accepts responsibility for the account. */ | ||
period?: Metriport.fhir.Period; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
/** | ||
* Indicates whether the account is presently used/usable or not. | ||
*/ | ||
export type AccountStatus = "active" | "inactive" | "entered-in-error" | "on-hold" | "unknown"; | ||
|
||
export const AccountStatus = { | ||
Active: "active", | ||
Inactive: "inactive", | ||
EnteredInError: "entered-in-error", | ||
OnHold: "on-hold", | ||
Unknown: "unknown", | ||
} as const; |
Oops, something went wrong.