@metriport/commonwell-cert-runner 1.4.1-alpha.1 → 1.4.1

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/payloads.d.ts CHANGED
@@ -74,21 +74,21 @@ export declare const makePatient: ({ facilityId, details, }?: {
74
74
  assigner?: string;
75
75
  }[];
76
76
  name?: {
77
- use?: string;
78
77
  text?: string;
79
- family?: string[];
80
- given?: string[];
81
- prefix?: string;
82
- suffix?: string;
78
+ use?: string;
83
79
  period?: {
84
80
  start?: string;
85
81
  end?: string;
86
82
  };
83
+ family?: string[];
84
+ given?: string[];
85
+ prefix?: string;
86
+ suffix?: string;
87
87
  }[];
88
88
  telecom?: {
89
- use?: string;
90
- system?: string;
91
89
  value?: string;
90
+ system?: string;
91
+ use?: string;
92
92
  period?: {
93
93
  start?: string;
94
94
  end?: string;
@@ -96,21 +96,21 @@ export declare const makePatient: ({ facilityId, details, }?: {
96
96
  }[];
97
97
  gender?: {
98
98
  code?: string;
99
- display?: string;
100
99
  system?: string;
100
+ display?: string;
101
101
  };
102
102
  birthDate?: string;
103
103
  address?: {
104
104
  use?: string;
105
+ period?: {
106
+ start?: string;
107
+ end?: string;
108
+ };
105
109
  line?: string[];
106
110
  city?: string;
107
111
  state?: string;
108
112
  zip?: string;
109
113
  country?: string;
110
- period?: {
111
- start?: string;
112
- end?: string;
113
- };
114
114
  }[];
115
115
  picture?: any;
116
116
  };
@@ -138,21 +138,21 @@ export declare const makeMergePatient: ({ facilityId }?: {
138
138
  assigner?: string;
139
139
  }[];
140
140
  name?: {
141
- use?: string;
142
141
  text?: string;
143
- family?: string[];
144
- given?: string[];
145
- prefix?: string;
146
- suffix?: string;
142
+ use?: string;
147
143
  period?: {
148
144
  start?: string;
149
145
  end?: string;
150
146
  };
147
+ family?: string[];
148
+ given?: string[];
149
+ prefix?: string;
150
+ suffix?: string;
151
151
  }[];
152
152
  telecom?: {
153
- use?: string;
154
- system?: string;
155
153
  value?: string;
154
+ system?: string;
155
+ use?: string;
156
156
  period?: {
157
157
  start?: string;
158
158
  end?: string;
@@ -160,21 +160,21 @@ export declare const makeMergePatient: ({ facilityId }?: {
160
160
  }[];
161
161
  gender?: {
162
162
  code?: string;
163
- display?: string;
164
163
  system?: string;
164
+ display?: string;
165
165
  };
166
166
  birthDate?: string;
167
167
  address?: {
168
168
  use?: string;
169
+ period?: {
170
+ start?: string;
171
+ end?: string;
172
+ };
169
173
  line?: string[];
170
174
  city?: string;
171
175
  state?: string;
172
176
  zip?: string;
173
177
  country?: string;
174
- period?: {
175
- start?: string;
176
- end?: string;
177
- };
178
178
  }[];
179
179
  picture?: any;
180
180
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/commonwell-cert-runner",
3
- "version": "1.4.1-alpha.1",
3
+ "version": "1.4.1",
4
4
  "description": "Tool to run through Edge System CommonWell certification test cases - by Metriport Inc.",
5
5
  "author": "Metriport Inc. <contact@metriport.com>",
6
6
  "homepage": "https://metriport.com/",
@@ -46,12 +46,12 @@
46
46
  "typescript": "^4.9.4"
47
47
  },
48
48
  "dependencies": {
49
- "@metriport/commonwell-sdk": "^3.1.1-alpha.1",
49
+ "@metriport/commonwell-sdk": "^3.1.1",
50
50
  "commander": "^9.5.0",
51
51
  "dotenv": "^16.0.3",
52
52
  "lodash": "^4.17.21",
53
53
  "nanoid": "^3.3.4",
54
54
  "unique-names-generator": "^4.7.1"
55
55
  },
56
- "gitHead": "185483e2219f4e1940a45249e2ffa9a96d6bc71d"
56
+ "gitHead": "188fc2ede1c97b400989a1615ba0a1412bbef356"
57
57
  }
package/lib/tst.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
package/lib/tst.js DELETED
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const params = '_include=DocumentReference:patient&_include=DocumentReference:subject&_include=DocumentReference:authenticator&_include=DocumentReference:author&_include=DocumentReference:custodian&_include=DocumentReference:encounter&patient.identifier=urn:oid:2.16.840.1.113883.3.9621.5.616464|2.745884&status=current';
4
- const one = params.replace(/patient\.identifier/i, "patient");
5
- console.log(`one: ${one}`);
6
- const two = one.replace(/urn\:oid\:.+\|(2\.\d+)/g, '$1');
7
- console.log(`two: ${two}`);
8
- //# sourceMappingURL=tst.js.map
package/lib/tst.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"tst.js","sourceRoot":"","sources":["../src/tst.ts"],"names":[],"mappings":";;AA8BA,MAAM,MAAM,GAAG,iTAAiT,CAAC;AAEjU,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;AAC9D,OAAO,CAAC,GAAG,CAAC,QAAQ,GAAG,EAAE,CAAC,CAAA;AAC1B,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,yBAAyB,EAAE,IAAI,CAAC,CAAC;AACzD,OAAO,CAAC,GAAG,CAAC,QAAQ,GAAG,EAAE,CAAC,CAAA"}