ndhm-hrp 2.1.38 → 2.1.41

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.
@@ -26,8 +26,9 @@ class Discovery extends header_1.default {
26
26
  this.onDiscovery = (config) => __awaiter(this, void 0, void 0, function* () {
27
27
  const headers = this.headers(config.healthId);
28
28
  const url = `${this.baseUrl}gateway/v0.5/care-contexts/on-discover`;
29
- const phrurl = "https://phrdev.ndhm.gov.in/gateway/v0.5/care-contexts/on-discover";
30
- const devurl = `https://webhook.site/2bbc9a81-e5ec-4555-bb83-c211974df004/gateway/v0.5/care-contexts/on-discover`;
29
+ // const phrurl =
30
+ // "https://phrdev.ndhm.gov.in/gateway/v0.5/care-contexts/on-discover";
31
+ // const devurl = `https://webhook.site/2bbc9a81-e5ec-4555-bb83-c211974df004/gateway/v0.5/care-contexts/on-discover`;
31
32
  const body = {
32
33
  requestId: (0, uuid_1.v4)(),
33
34
  timestamp: new Date().toISOString(),
@@ -48,24 +49,24 @@ class Discovery extends header_1.default {
48
49
  message: config.errMessage || "Error occured",
49
50
  };
50
51
  }
51
- yield new request_1.default().request({
52
- headers: headers,
53
- method: "POST",
54
- requestBody: body,
55
- url: phrurl,
56
- });
52
+ // await new Request().request({
53
+ // headers: headers,
54
+ // method: "POST",
55
+ // requestBody: body,
56
+ // url: phrurl,
57
+ // });
57
58
  yield new request_1.default().request({
58
59
  headers: headers,
59
60
  method: "POST",
60
61
  requestBody: body,
61
62
  url: url,
62
63
  });
63
- yield new request_1.default().request({
64
- headers: headers,
65
- method: "POST",
66
- requestBody: body,
67
- url: devurl,
68
- });
64
+ // await new Request().request({
65
+ // headers: headers,
66
+ // method: "POST",
67
+ // requestBody: body,
68
+ // url: devurl,
69
+ // });
69
70
  return body;
70
71
  });
71
72
  }
@@ -1 +1 @@
1
- {"version":3,"file":"discovery.js","sourceRoot":"","sources":["../../src/classes/discovery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sD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AE,MAAM,CAAC,SAAS;iBAC5B;aACF,CAAC;YACF,IAAI,MAAM,CAAC,OAAO,EAAE;gBAClB,IAAI,CAAC,KAAK,GAAG;oBACX,IAAI,EAAE,MAAM,CAAC,OAAO;oBACpB,OAAO,EAAE,MAAM,CAAC,UAAU,IAAI,eAAe;iBAC9C,CAAC;aACH;YAED,gCAAgC;YAChC,sBAAsB;YACtB,oBAAoB;YACpB,uBAAuB;YACvB,iBAAiB;YACjB,MAAM;YAEN,MAAM,IAAI,iBAAO,EAAE,CAAC,OAAO,CAAC;gBAC1B,OAAO,EAAE,OAAO;gBAChB,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;gBACjB,GAAG,EAAE,GAAG;aACT,CAAC,CAAC;YAEH,gCAAgC;YAChC,sBAAsB;YACtB,oBAAoB;YACpB,uBAAuB;YACvB,iBAAiB;YACjB,MAAM;YAEN,OAAO,IAAI,CAAC;QACd,CAAC,CAAA,CAAC;IAlEF,CAAC;CAmEF;AAtED,4BAsEC"}
@@ -29,6 +29,53 @@ export default class Link extends Header {
29
29
  };
30
30
  };
31
31
  }>;
32
+ /**
33
+ * Result of patient care-context link request from HIP end. This happens in context of previous discovery of patient found at HIP end, therefore the link requests ought to be in reference to the patient reference and care-context references previously returned by the HIP. The correlation of discovery and link request is maintained through the transactionId. HIP should have
34
+ * @param config
35
+ *
36
+ * Validated transactionId in the request to check whether there was a discovery done previously, and the link request corresponds to returned patient care care context references
37
+ Before returning the response, HIP should have sent an authentication request to the patient(eg: OTP verification)
38
+ HIP should communicate the mode of authentication of a successful request
39
+ HIP subsequently should expect the token passed via /link/confirm against the link.referenceNumber passed in this call
40
+ The error section in the body, represents the potential errors that may have occurred. Possible reasons:
41
+
42
+ Patient reference number is invalid
43
+ Care context reference numbers are invalid
44
+ */
45
+ onInit: (config: {
46
+ healthId: string;
47
+ transactionId: string;
48
+ referenceNumber: string;
49
+ communicationHint: string;
50
+ communicationExpiry?: string;
51
+ requestId: string;
52
+ error?: {
53
+ code: number;
54
+ message: string;
55
+ };
56
+ }) => Promise<any>;
57
+ /***
58
+ * Returns a list of linked care contexts with patient reference number.
59
+ Validated and linked account reference number
60
+ Validated that the token sent from Consent Manager is same as the one generated by HIP
61
+ Verified that same Consent Manager which made the link request is sending the token
62
+ Results of unmasked linked care contexts with patient reference number
63
+ */
64
+ onConfirm: (config: {
65
+ healthId: string;
66
+ careContextAccessToken: string;
67
+ requestId: string;
68
+ patientReferenceNumber: string;
69
+ patinetDisplay: string;
70
+ careContexts: {
71
+ "referenceNumber": string;
72
+ "display": string;
73
+ }[];
74
+ error?: {
75
+ code: number;
76
+ message: string;
77
+ };
78
+ }) => Promise<any>;
32
79
  /**
33
80
  *This API is called by HIP only when there is new health data is added/created for a patient and under a care context that is already linked with patient's Health Account. HIP can send following things in this API to notify the Consent Manager about the new health data added:
34
81
  * @param config
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/classes/link.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,aAAK,QAAQ,GACT,gBAAgB,GAChB,kBAAkB,GAClB,cAAc,GACd,oBAAoB,GACpB,kBAAkB,GAClB,sBAAsB,GACtB,gBAAgB,CAAC;AAErB,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM;gBAC1B,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM;IAIlD;;;;OAIG;IACH,UAAU,WAAkB;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,sBAAsB,EAAE,MAAM,CAAC;QAC/B,SAAS,EAAE,MAAM,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC;QACtB,kBAAkB,EAAE,MAAM,CAAC;KAC5B;;;;;;;;;;;;;;OA6BC;IACF;;;;;;;;OAQG;IAEH,MAAM,WAAkB;QACtB,QAAQ,EAAE,MAAM,CAAC;QACjB,gBAAgB,EAAE,GAAG,CAA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AClB,sBAAsB,EAAE,MAAM,CAAC;QAC/B,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,EAAE;YACZ,iBAAiB,EAAE,MAAM,CAAC;YAC1B,SAAS,EAAE,MAAM,CAAA;SAClB,EAAE,CAAC;QACJ,KAAK,CAAC,EAAE;YACN,IAAI,EAAE,MAAM,CAAC;YACb,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC;KAEH,kBA+BA;IAED;;;;;;;;OAQG;IAEH,MAAM,WAAkB;QACtB,QAAQ,EAAE,MAAM,CAAC;QACjB,gBAAgB,EAAE,GAAG,CAAC;QACtB,oBAAoB,EAAE,GAAG,CAAC;QAC1B,OAAO,EAAE,QAAQ,EAAE,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf;;;;;;;;;;;;;;;;;OA8BC;CACH"}
@@ -51,6 +51,84 @@ class Link extends header_1.default {
51
51
  });
52
52
  return body;
53
53
  });
54
+ /**
55
+ * Result of patient care-context link request from HIP end. This happens in context of previous discovery of patient found at HIP end, therefore the link requests ought to be in reference to the patient reference and care-context references previously returned by the HIP. The correlation of discovery and link request is maintained through the transactionId. HIP should have
56
+ * @param config
57
+ *
58
+ * Validated transactionId in the request to check whether there was a discovery done previously, and the link request corresponds to returned patient care care context references
59
+ Before returning the response, HIP should have sent an authentication request to the patient(eg: OTP verification)
60
+ HIP should communicate the mode of authentication of a successful request
61
+ HIP subsequently should expect the token passed via /link/confirm against the link.referenceNumber passed in this call
62
+ The error section in the body, represents the potential errors that may have occurred. Possible reasons:
63
+
64
+ Patient reference number is invalid
65
+ Care context reference numbers are invalid
66
+ */
67
+ this.onInit = (config) => __awaiter(this, void 0, void 0, function* () {
68
+ const headers = this.headers(config.healthId);
69
+ const url = `${this.baseUrl}gateway/v0.5/links/link/on-init`;
70
+ const body = {
71
+ requestId: (0, uuid_1.v4)(),
72
+ timestamp: new Date().toISOString(),
73
+ transactionId: config.transactionId,
74
+ link: {
75
+ referenceNumber: config.referenceNumber,
76
+ authenticationType: "DIRECT",
77
+ meta: {
78
+ communicationMedium: "MOBILE",
79
+ communicationHint: config.communicationHint,
80
+ communicationExpiry: config.communicationExpiry ||
81
+ new Date(new Date().getTime() + 10 * 60000).toISOString(),
82
+ },
83
+ },
84
+ resp: {
85
+ requestId: config.requestId,
86
+ },
87
+ };
88
+ if (config.error) {
89
+ body.error = config.error;
90
+ }
91
+ yield new request_1.default().request({
92
+ headers: headers,
93
+ method: "POST",
94
+ requestBody: body,
95
+ url: url,
96
+ });
97
+ return body;
98
+ });
99
+ /***
100
+ * Returns a list of linked care contexts with patient reference number.
101
+ Validated and linked account reference number
102
+ Validated that the token sent from Consent Manager is same as the one generated by HIP
103
+ Verified that same Consent Manager which made the link request is sending the token
104
+ Results of unmasked linked care contexts with patient reference number
105
+ */
106
+ this.onConfirm = (config) => __awaiter(this, void 0, void 0, function* () {
107
+ const headers = this.headers(config.healthId);
108
+ const url = `${this.baseUrl}gateway/v0.5/links/link/add-contexts`;
109
+ const body = {
110
+ requestId: (0, uuid_1.v4)(),
111
+ timestamp: new Date().toISOString(),
112
+ "patient": {
113
+ "referenceNumber": config.patientReferenceNumber,
114
+ "display": config.patinetDisplay,
115
+ "careContexts": config.careContexts
116
+ },
117
+ "resp": {
118
+ "requestId": config.requestId
119
+ }
120
+ };
121
+ if (config.error) {
122
+ body.error = config.error;
123
+ }
124
+ yield new request_1.default().request({
125
+ headers: headers,
126
+ method: "POST",
127
+ requestBody: body,
128
+ url: url,
129
+ });
130
+ return body;
131
+ });
54
132
  /**
55
133
  *This API is called by HIP only when there is new health data is added/created for a patient and under a care context that is already linked with patient's Health Account. HIP can send following things in this API to notify the Consent Manager about the new health data added:
56
134
  * @param config
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/classes/link.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+BAAoC;AACpC,wDAAgC;AAChC,sDAA8B;AAW9B,MAAqB,IA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AAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC9C,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,mCAAmC,CAAC;YAC/D,MAAM,IAAI,GAAG;gBACX,SAAS,EAAE,IAAA,SAAM,GAAE;gBACnB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;gBACnC,YAAY,EAAE;oBACZ,OAAO,EAAE;wBACP,EAAE,EAAE,MAAM,CAAC,QAAQ;qBACpB;oBACD,WAAW,EAAE;wBACX,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;wBACzC,oBAAoB,EAAE,MAAM,CAAC,oBAAoB;qBAClD;oBACD,OAAO,EAAE,MAAM,CAAC,OAAO;oBACvB,IAAI,EAAE,MAAM,CAAC,IAAI;oBACjB,GAAG,EAAE;wBACH,EAAE,EAAE,MAAM,CAAC,KAAK;qBACjB;iBACF;aACF,CAAC;YAEF,MAAM,IAAI,iBAAO,EAAE,CAAC,OAAO,CAAC;gBAC1B,OAAO,EAAE,OAAO;gBAChB,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;gBACjB,GAAG,EAAE,GAAG;aACT,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;QACd,CAAC,CAAA,CAAC;IAlNF,CAAC;CAmNF;AAtND,uBAsNC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ndhm-hrp",
3
- "version": "2.1.38",
3
+ "version": "2.1.41",
4
4
  "description": "This is ndhm-hpr",
5
5
  "main": "lib/index.js",
6
6
  "directories": {
@@ -37,4 +37,4 @@
37
37
  "files": [
38
38
  "lib/**/*"
39
39
  ]
40
- }
40
+ }