Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/CDS-Hooks/cdsServiceAcceptedSuggestionJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

export interface CdsServiceAcceptedSuggestionJson {
id: string;
}
28 changes: 28 additions & 0 deletions src/CDS-Hooks/cdsServiceFeedbackJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CdsServiceAcceptedSuggestionJson } from './cdsServiceAcceptedSuggestionJson';
import { CdsServiceOverrideReasonJson } from './cdsServiceOverrideReasonJson';

export interface CdsServiceFeedbackJson {
card: string;
outcome: CdsServiceFeedbackJson.OutcomeEnum;
acceptedSuggestions?: Array<CdsServiceAcceptedSuggestionJson>;
overrideReason?: CdsServiceOverrideReasonJson;
outcomeTimestamp: string;
}
export namespace CdsServiceFeedbackJson {
export type OutcomeEnum = 'accepted' | 'overridden';
export const OutcomeEnum = {
Accepted: 'accepted' as OutcomeEnum,
Overridden: 'overridden' as OutcomeEnum
};
}
20 changes: 20 additions & 0 deletions src/CDS-Hooks/cdsServiceJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

export interface CdsServiceJson {
extension: any;
hook: string;
title?: string;
description: string;
id: string;
prefetch?: { [key: string]: string; };
}
17 changes: 17 additions & 0 deletions src/CDS-Hooks/cdsServiceOverrideReasonJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CdsServiceResponseCodingJson } from './cdsServiceResponseCodingJson';

export interface CdsServiceOverrideReasonJson {
reason?: CdsServiceResponseCodingJson;
userComment?: string;
}
20 changes: 20 additions & 0 deletions src/CDS-Hooks/cdsServiceRequestAuthorizationJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

export interface CdsServiceRequestAuthorizationJson {
extension: any;
accessToken: string;
tokenType: string;
expiresIn: number;
scope: string;
subject: string;
}
15 changes: 15 additions & 0 deletions src/CDS-Hooks/cdsServiceRequestContextJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

export interface CdsServiceRequestContextJson {
extension: any;
}
24 changes: 24 additions & 0 deletions src/CDS-Hooks/cdsServiceRequestJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CdsServiceRequestAuthorizationJson } from './cdsServiceRequestAuthorizationJson';
import { CdsServiceRequestContextJson } from './cdsServiceRequestContextJson';
import { IBaseResource } from './iBaseResource';

export interface CdsServiceRequestJson {
extension: any;
hook: string;
hookInstance: string;
fhirServer?: string;
fhirAuthorization?: CdsServiceRequestAuthorizationJson;
context: CdsServiceRequestContextJson;
prefetch?: { [key: string]: IBaseResource; };
}
36 changes: 36 additions & 0 deletions src/CDS-Hooks/cdsServiceResponseCardJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CdsServiceResponseCardSourceJson } from './cdsServiceResponseCardSourceJson';
import { CdsServiceResponseCodingJson } from './cdsServiceResponseCodingJson';
import { CdsServiceResponseLinkJson } from './cdsServiceResponseLinkJson';
import { CdsServiceResponseSuggestionJson } from './cdsServiceResponseSuggestionJson';

export interface CdsServiceResponseCardJson {
extension: any;
uuid?: string;
summary: string;
detail?: string;
indicator: CdsServiceResponseCardJson.IndicatorEnum;
source: CdsServiceResponseCardSourceJson;
suggestions?: Array<CdsServiceResponseSuggestionJson>;
selectionBehavior?: string;
overrideReasons?: Array<CdsServiceResponseCodingJson>;
links?: Array<CdsServiceResponseLinkJson>;
}
export namespace CdsServiceResponseCardJson {
export type IndicatorEnum = 'info' | 'warning' | 'critical';
export const IndicatorEnum = {
Info: 'info' as IndicatorEnum,
Warning: 'warning' as IndicatorEnum,
Critical: 'critical' as IndicatorEnum
};
}
19 changes: 19 additions & 0 deletions src/CDS-Hooks/cdsServiceResponseCardSourceJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CdsServiceResponseCodingJson } from './cdsServiceResponseCodingJson';

export interface CdsServiceResponseCardSourceJson {
label: string;
url?: string;
icon?: string;
topic?: CdsServiceResponseCodingJson;
}
17 changes: 17 additions & 0 deletions src/CDS-Hooks/cdsServiceResponseCodingJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

export interface CdsServiceResponseCodingJson {
code: string;
system?: string;
display?: string;
}
18 changes: 18 additions & 0 deletions src/CDS-Hooks/cdsServiceResponseJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CdsServiceResponseCardJson } from './cdsServiceResponseCardJson';
import { CdsServiceResponseSystemActionJson } from './cdsServiceResponseSystemActionJson';

export interface CdsServiceResponseJson {
cards: Array<CdsServiceResponseCardJson>;
systemActions?: Array<CdsServiceResponseSystemActionJson>;
}
18 changes: 18 additions & 0 deletions src/CDS-Hooks/cdsServiceResponseLinkJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

export interface CdsServiceResponseLinkJson {
label: string;
url: string;
type: string;
appContext?: string;
}
19 changes: 19 additions & 0 deletions src/CDS-Hooks/cdsServiceResponseSuggestionActionJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { IBaseResource } from './iBaseResource';

export interface CdsServiceResponseSuggestionActionJson {
extension: any;
type: string;
description?: string;
resource?: IBaseResource;
}
19 changes: 19 additions & 0 deletions src/CDS-Hooks/cdsServiceResponseSuggestionJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CdsServiceResponseSuggestionActionJson } from './cdsServiceResponseSuggestionActionJson';

export interface CdsServiceResponseSuggestionJson {
label: string;
uuid?: string;
isRecommended?: boolean;
actions?: Array<CdsServiceResponseSuggestionActionJson>;
}
19 changes: 19 additions & 0 deletions src/CDS-Hooks/cdsServiceResponseSystemActionJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { IBaseResource } from './iBaseResource';

export interface CdsServiceResponseSystemActionJson {
extension: any;
type: string;
description: string;
resource?: IBaseResource;
}
16 changes: 16 additions & 0 deletions src/CDS-Hooks/cdsServicesJson.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CdsServiceJson } from './cdsServiceJson';

export interface CdsServicesJson {
services?: Array<CdsServiceJson>;
}
22 changes: 22 additions & 0 deletions src/CDS-Hooks/iBaseCoding.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* CDS Hooks
* The following is auto generated class definition.
*
* OpenAPI spec version: 3.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

export interface IBaseCoding {
version?: string;
userSelected?: boolean;
system?: string;
display?: string;
code?: string;
empty?: boolean;
formatCommentsPre?: Array<string>;
formatCommentsPost?: Array<string>;
}
Loading