gdc-common-utils-ts 2.9.13 → 2.9.15

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.
Files changed (251) hide show
  1. package/dist/AesManager.d.ts +1 -1
  2. package/dist/CryptographyService.d.ts +6 -6
  3. package/dist/claims/index.d.ts +24 -24
  4. package/dist/constants/cryptography.d.ts +1 -1
  5. package/dist/constants/healthcare.d.ts +3 -3
  6. package/dist/constants/identity-identifiers.d.ts +3 -1
  7. package/dist/constants/identity-identifiers.js +3 -1
  8. package/dist/constants/index.d.ts +40 -40
  9. package/dist/constants/individual-sections.d.ts +12 -12
  10. package/dist/constants/kyc-gender.d.ts +1 -1
  11. package/dist/constants/schemaorg.d.ts +1 -1
  12. package/dist/constants/vital-signs.d.ts +2 -2
  13. package/dist/convert/convert-allergy-intolerance.d.ts +1 -1
  14. package/dist/convert/convert-appointment-response.d.ts +1 -1
  15. package/dist/convert/convert-appointment.d.ts +1 -1
  16. package/dist/convert/convert-care-plan.d.ts +1 -1
  17. package/dist/convert/convert-clinical-impression.d.ts +1 -1
  18. package/dist/convert/convert-composition.d.ts +1 -1
  19. package/dist/convert/convert-condition.d.ts +1 -1
  20. package/dist/convert/convert-consent.d.ts +1 -1
  21. package/dist/convert/convert-coverage.d.ts +1 -1
  22. package/dist/convert/convert-device-use-statement.d.ts +1 -1
  23. package/dist/convert/convert-device.d.ts +1 -1
  24. package/dist/convert/convert-diagnostic-report.d.ts +1 -1
  25. package/dist/convert/convert-document-reference.d.ts +1 -1
  26. package/dist/convert/convert-encounter.d.ts +1 -1
  27. package/dist/convert/convert-flag.d.ts +1 -1
  28. package/dist/convert/convert-immunization.d.ts +1 -1
  29. package/dist/convert/convert-location.d.ts +1 -1
  30. package/dist/convert/convert-medication-statement.d.ts +1 -1
  31. package/dist/convert/convert-observation.d.ts +1 -1
  32. package/dist/convert/convert-organization.d.ts +1 -1
  33. package/dist/convert/convert-practitioner-role.d.ts +1 -1
  34. package/dist/convert/convert-procedure.d.ts +1 -1
  35. package/dist/convert/convert-related-person.d.ts +1 -1
  36. package/dist/convert/convert-shared.js +1 -1
  37. package/dist/convert/index.d.ts +25 -25
  38. package/dist/convert/schemaorg-to-gaia-x.d.ts +3 -3
  39. package/dist/examples/api-flow-examples.d.ts +8 -8
  40. package/dist/examples/communication-attached-bundle-session.d.ts +2 -2
  41. package/dist/examples/communication-bundle-document-request.d.ts +1 -1
  42. package/dist/examples/communication-didcomm-payload.d.ts +1 -1
  43. package/dist/examples/consent-access.d.ts +2 -2
  44. package/dist/examples/contract-examples.d.ts +9 -9
  45. package/dist/examples/dataspace-discovery.d.ts +1 -1
  46. package/dist/examples/didcomm-identity.d.ts +1 -1
  47. package/dist/examples/ica-verify-response.d.ts +1 -1
  48. package/dist/examples/index.d.ts +35 -35
  49. package/dist/examples/individual-controller.d.ts +1 -1
  50. package/dist/examples/inter-tenant-access-contract.d.ts +1 -1
  51. package/dist/examples/invoice.d.ts +2 -2
  52. package/dist/examples/ips-bundle.d.ts +2 -2
  53. package/dist/examples/legal-organization-verification-transaction.d.ts +1 -1
  54. package/dist/examples/lifecycle.d.ts +4 -4
  55. package/dist/examples/organization-did-binding.d.ts +1 -1
  56. package/dist/examples/organization-role-license.d.ts +3 -3
  57. package/dist/examples/related-person.d.ts +6 -6
  58. package/dist/examples/relationship-access.d.ts +1 -1
  59. package/dist/examples/shared.d.ts +4 -2
  60. package/dist/examples/shared.js +3 -1
  61. package/dist/examples/subject-identity-binding.d.ts +1 -1
  62. package/dist/examples/vital-signs.d.ts +2 -2
  63. package/dist/index.d.ts +13 -13
  64. package/dist/interfaces/ICryptography.d.ts +4 -4
  65. package/dist/interfaces/IProfileOutboxRepository.d.ts +1 -1
  66. package/dist/interfaces/IWallet.d.ts +2 -2
  67. package/dist/interfaces/IWalletQueue.d.ts +1 -1
  68. package/dist/interfaces/index.d.ts +8 -8
  69. package/dist/models/actor-session.d.ts +1 -1
  70. package/dist/models/bundle-editor-types.d.ts +22 -22
  71. package/dist/models/bundle.d.ts +1 -1
  72. package/dist/models/clinical-sections.d.ts +1 -1
  73. package/dist/models/comm.d.ts +1 -1
  74. package/dist/models/communication-attached-bundle-session.d.ts +2 -2
  75. package/dist/models/confidential-job.d.ts +3 -3
  76. package/dist/models/confidential-message.d.ts +3 -3
  77. package/dist/models/confidential-storage.d.ts +1 -1
  78. package/dist/models/crypto.d.ts +1 -1
  79. package/dist/models/dataspace-discovery-defaults.d.ts +2 -2
  80. package/dist/models/device-license.d.ts +1 -1
  81. package/dist/models/did.d.ts +5 -5
  82. package/dist/models/gaia-x.d.ts +2 -2
  83. package/dist/models/identity-bootstrap.d.ts +4 -4
  84. package/dist/models/index.d.ts +62 -62
  85. package/dist/models/indexing.d.ts +2 -2
  86. package/dist/models/individual-onboarding.d.ts +5 -5
  87. package/dist/models/interoperable-claims/allergy-intolerance-claims.d.ts +1 -1
  88. package/dist/models/interoperable-claims/care-plan-claims.d.ts +1 -1
  89. package/dist/models/interoperable-claims/clinical-impression-claims.d.ts +1 -1
  90. package/dist/models/interoperable-claims/condition-claims.d.ts +1 -1
  91. package/dist/models/interoperable-claims/coverage-claims.d.ts +1 -1
  92. package/dist/models/interoperable-claims/device-claims.d.ts +1 -1
  93. package/dist/models/interoperable-claims/device-use-statement-claims.d.ts +1 -1
  94. package/dist/models/interoperable-claims/diagnostic-report-claims.d.ts +1 -1
  95. package/dist/models/interoperable-claims/document-reference-claims.d.ts +1 -1
  96. package/dist/models/interoperable-claims/encounter-claims.d.ts +1 -1
  97. package/dist/models/interoperable-claims/flag-claims.d.ts +1 -1
  98. package/dist/models/interoperable-claims/immunization-claims.d.ts +1 -1
  99. package/dist/models/interoperable-claims/index.d.ts +27 -27
  100. package/dist/models/interoperable-claims/invoice-claims.d.ts +1 -1
  101. package/dist/models/interoperable-claims/location-claims.d.ts +1 -1
  102. package/dist/models/interoperable-claims/medication-statement-claims.d.ts +1 -1
  103. package/dist/models/interoperable-claims/observation-claims.d.ts +1 -1
  104. package/dist/models/interoperable-claims/organization-claims.d.ts +1 -1
  105. package/dist/models/interoperable-claims/practitioner-role-claims.d.ts +1 -1
  106. package/dist/models/interoperable-claims/procedure-claims.d.ts +1 -1
  107. package/dist/models/interoperable-claims/related-person-claims.d.ts +1 -1
  108. package/dist/models/interoperable-claims.d.ts +1 -1
  109. package/dist/models/jsonapi.d.ts +1 -1
  110. package/dist/models/jwe.d.ts +1 -1
  111. package/dist/models/jws.d.ts +1 -1
  112. package/dist/models/jwt.d.ts +1 -1
  113. package/dist/models/oidc4ida.document.model.d.ts +2 -2
  114. package/dist/models/oidc4ida.electronicRecord.model.d.ts +1 -1
  115. package/dist/models/oidc4ida.evidence.model.d.ts +2 -2
  116. package/dist/models/openid-device.d.ts +1 -1
  117. package/dist/models/operation-outcome.d.ts +1 -1
  118. package/dist/models/organization-employee-lifecycle.d.ts +2 -2
  119. package/dist/models/organization-role-license.d.ts +1 -1
  120. package/dist/models/profile-manager.d.ts +1 -1
  121. package/dist/models/response.d.ts +1 -1
  122. package/dist/models/subject-identity.d.ts +1 -1
  123. package/dist/models/verifiable-credential.d.ts +1 -1
  124. package/dist/models/wallet.d.ts +1 -1
  125. package/dist/storage/IVaultRepository.d.ts +1 -1
  126. package/dist/storage/VaultMemRepository.d.ts +2 -2
  127. package/dist/storage/index.d.ts +3 -3
  128. package/dist/utils/activation-request.d.ts +2 -2
  129. package/dist/utils/allergy-intolerance-entry-editor.d.ts +8 -3
  130. package/dist/utils/allergy-intolerance-entry-editor.js +7 -4
  131. package/dist/utils/authority-resolution.d.ts +1 -1
  132. package/dist/utils/backend-message-manager-mem.d.ts +4 -4
  133. package/dist/utils/bundle-didcomm-payload.d.ts +1 -1
  134. package/dist/utils/bundle-document-builder.d.ts +1 -1
  135. package/dist/utils/bundle-editor-core.d.ts +5 -5
  136. package/dist/utils/bundle-editor-helpers.d.ts +2 -2
  137. package/dist/utils/bundle-editor-registry.d.ts +2 -2
  138. package/dist/utils/bundle-editor.d.ts +23 -23
  139. package/dist/utils/bundle-entry-editor.d.ts +34 -22
  140. package/dist/utils/bundle-entry-editor.js +57 -0
  141. package/dist/utils/bundle-reader.d.ts +2 -2
  142. package/dist/utils/bundle-reader.js +7 -1
  143. package/dist/utils/care-plan-entry-editor.d.ts +22 -1
  144. package/dist/utils/care-plan-entry-editor.js +20 -3
  145. package/dist/utils/clinical-impression-entry-editor.d.ts +8 -1
  146. package/dist/utils/clinical-impression-entry-editor.js +6 -0
  147. package/dist/utils/clinical-resource-converters.d.ts +49 -49
  148. package/dist/utils/clinical-resource-entry-editor.d.ts +2 -2
  149. package/dist/utils/communication-attached-bundle-session-helpers.d.ts +3 -3
  150. package/dist/utils/communication-attached-bundle-session.d.ts +6 -6
  151. package/dist/utils/communication-bundle-document-request.d.ts +3 -3
  152. package/dist/utils/communication-consent-access-editor.d.ts +5 -5
  153. package/dist/utils/communication-didcomm-payload.d.ts +1 -1
  154. package/dist/utils/communication-document-reference.d.ts +1 -1
  155. package/dist/utils/communication-editor.d.ts +6 -6
  156. package/dist/utils/communication-fhir-r4.d.ts +1 -1
  157. package/dist/utils/communication-identity.d.ts +5 -5
  158. package/dist/utils/communication-participant-search-test-data.d.ts +1 -1
  159. package/dist/utils/condition-entry-editor.d.ts +18 -1
  160. package/dist/utils/condition-entry-editor.js +24 -6
  161. package/dist/utils/confidential-storage-persistence.d.ts +1 -1
  162. package/dist/utils/confidential-storage-test-data.d.ts +1 -1
  163. package/dist/utils/connected-device-fhir-r4.d.ts +1 -1
  164. package/dist/utils/consent-entry-editor.d.ts +2 -2
  165. package/dist/utils/content.d.ts +4 -4
  166. package/dist/utils/coverage-entry-editor.d.ts +13 -1
  167. package/dist/utils/coverage-entry-editor.js +14 -6
  168. package/dist/utils/dataspace-discovery-defaults.d.ts +2 -2
  169. package/dist/utils/dataspace-discovery.d.ts +1 -1
  170. package/dist/utils/dataspace-protocol.d.ts +2 -2
  171. package/dist/utils/deterministic-jwk.d.ts +1 -1
  172. package/dist/utils/device-entry-editor.d.ts +7 -1
  173. package/dist/utils/device-entry-editor.js +7 -3
  174. package/dist/utils/device-use-statement-entry-editor.d.ts +6 -1
  175. package/dist/utils/device-use-statement-entry-editor.js +6 -3
  176. package/dist/utils/diagnostic-report-entry-editor.d.ts +12 -1
  177. package/dist/utils/diagnostic-report-entry-editor.js +15 -8
  178. package/dist/utils/did-resolution.d.ts +2 -2
  179. package/dist/utils/did-resolution.js +5 -3
  180. package/dist/utils/did.d.ts +5 -5
  181. package/dist/utils/did.js +4 -4
  182. package/dist/utils/didcomm-submit.d.ts +1 -1
  183. package/dist/utils/didcomm.d.ts +2 -2
  184. package/dist/utils/discovery-normalization.d.ts +1 -1
  185. package/dist/utils/document-reference-entry-editor.d.ts +13 -1
  186. package/dist/utils/document-reference-entry-editor.js +14 -6
  187. package/dist/utils/employee-entry-editor.d.ts +1 -1
  188. package/dist/utils/employee.d.ts +1 -1
  189. package/dist/utils/encounter-entry-editor.d.ts +18 -1
  190. package/dist/utils/encounter-entry-editor.js +20 -9
  191. package/dist/utils/fhir-search.d.ts +1 -1
  192. package/dist/utils/fhir-validator.d.ts +1 -1
  193. package/dist/utils/flag-entry-editor.d.ts +14 -3
  194. package/dist/utils/flag-entry-editor.js +14 -7
  195. package/dist/utils/gw-core-commercial-contract.d.ts +1 -1
  196. package/dist/utils/gw-core-path.d.ts +1 -1
  197. package/dist/utils/immunization-entry-editor.d.ts +45 -3
  198. package/dist/utils/immunization-entry-editor.js +57 -17
  199. package/dist/utils/index.d.ts +125 -125
  200. package/dist/utils/individual-bundle-vault.d.ts +4 -4
  201. package/dist/utils/individual-form-pdf.d.ts +1 -1
  202. package/dist/utils/individual-onboarding-acceptance-credential.d.ts +1 -1
  203. package/dist/utils/individual-onboarding-document-reference.d.ts +1 -1
  204. package/dist/utils/individual-onboarding-editor.d.ts +1 -1
  205. package/dist/utils/individual-organization-claims.d.ts +1 -1
  206. package/dist/utils/individual-organization-kyc.d.ts +2 -2
  207. package/dist/utils/inter-tenant-access-contract.d.ts +2 -2
  208. package/dist/utils/interoperable-resource-operation.d.ts +2 -2
  209. package/dist/utils/invoice-bundle.d.ts +1 -1
  210. package/dist/utils/jwk-thumbprint.d.ts +1 -1
  211. package/dist/utils/jwt-signer.d.ts +3 -3
  212. package/dist/utils/jwt.d.ts +1 -1
  213. package/dist/utils/legal-organization-onboarding-editor.d.ts +2 -2
  214. package/dist/utils/legal-organization-onboarding.d.ts +2 -2
  215. package/dist/utils/legal-organization-verification-transaction.d.ts +3 -3
  216. package/dist/utils/license-commercial-search.d.ts +2 -2
  217. package/dist/utils/license-list-search.d.ts +1 -1
  218. package/dist/utils/license-offer-order.d.ts +1 -1
  219. package/dist/utils/license.d.ts +2 -2
  220. package/dist/utils/lifecycle-result-reader.d.ts +1 -1
  221. package/dist/utils/manager-error.d.ts +1 -1
  222. package/dist/utils/medication-claim-helpers.d.ts +1 -1
  223. package/dist/utils/medication-statement-entry-editor.d.ts +30 -7
  224. package/dist/utils/medication-statement-entry-editor.js +28 -12
  225. package/dist/utils/observation-component-entry-editor.d.ts +19 -2
  226. package/dist/utils/observation-component-entry-editor.js +42 -15
  227. package/dist/utils/observation-entry-editor.d.ts +9 -1
  228. package/dist/utils/observation-entry-editor.js +7 -0
  229. package/dist/utils/organization-authorization-urn.d.ts +1 -1
  230. package/dist/utils/organization-did-binding.d.ts +1 -1
  231. package/dist/utils/organization-employee-lifecycle.d.ts +1 -1
  232. package/dist/utils/organization-role-license.d.ts +1 -1
  233. package/dist/utils/organization-test-network-credential.d.ts +1 -1
  234. package/dist/utils/procedure-entry-editor.d.ts +23 -5
  235. package/dist/utils/procedure-entry-editor.js +21 -8
  236. package/dist/utils/profile-manager-mem.d.ts +5 -5
  237. package/dist/utils/profile-outbox-memory-repository.d.ts +2 -2
  238. package/dist/utils/related-person-entry-editor.d.ts +7 -1
  239. package/dist/utils/related-person-entry-editor.js +7 -2
  240. package/dist/utils/smart-authorization-profile.d.ts +1 -1
  241. package/dist/utils/smart-scope.d.ts +2 -2
  242. package/dist/utils/subject-identity-binding.d.ts +2 -2
  243. package/dist/utils/subject-identity.d.ts +3 -3
  244. package/dist/utils/test-network-organization-credentials.d.ts +1 -1
  245. package/dist/utils/vital-sign-day-batch.d.ts +1 -1
  246. package/dist/utils/vital-sign-entry-editor.d.ts +8 -2
  247. package/dist/utils/vital-sign-entry-editor.js +10 -5
  248. package/dist/utils/vp-token.d.ts +1 -1
  249. package/dist/utils/wallet-mem.d.ts +6 -6
  250. package/dist/utils/wallet-memory-queue.d.ts +3 -3
  251. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
1
+ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js';
2
2
  /**
3
3
  * Typed editor for one staged Condition resource entry.
4
4
  *
@@ -12,7 +12,12 @@ export declare class ConditionEntryEditor extends ClinicalResourceEntryEditor {
12
12
  setSubject(subject?: string | null): this;
13
13
  getSubject(): string | undefined;
14
14
  setCode(code?: string | null): this;
15
+ setCode(codeSystem: string, codeValue: string): this;
15
16
  getCode(): string | undefined;
17
+ setCodeSystem(system?: string | null): this;
18
+ getCodeSystem(): string | undefined;
19
+ setSystemAndCode(system?: string | null, code?: string | null): this;
20
+ getSystemAndCode(): string | undefined;
16
21
  /** Writes the local-language condition name projected to FHIR `code.text`. */
17
22
  setCodeTextLocal(text?: string | null): this;
18
23
  /** Reads the local-language condition name. */
@@ -26,9 +31,21 @@ export declare class ConditionEntryEditor extends ClinicalResourceEntryEditor {
26
31
  setVerificationStatus(status?: string | null): this;
27
32
  getVerificationStatus(): string | undefined;
28
33
  setCategory(category?: string | null): this;
34
+ setCategory(codeSystem: string, codeValue: string): this;
29
35
  getCategory(): string | undefined;
36
+ getCategoryCode(): string | undefined;
37
+ setCategoryCodeSystem(system?: string | null): this;
38
+ getCategoryCodeSystem(): string | undefined;
39
+ setCategorySystemAndCode(system?: string | null, code?: string | null): this;
40
+ getCategorySystemAndCode(): string | undefined;
30
41
  setSeverity(severity?: string | null): this;
42
+ setSeverity(codeSystem: string, codeValue: string): this;
31
43
  getSeverity(): string | undefined;
44
+ getSeverityCode(): string | undefined;
45
+ setSeverityCodeSystem(system?: string | null): this;
46
+ getSeverityCodeSystem(): string | undefined;
47
+ setSeveritySystemAndCode(system?: string | null, code?: string | null): this;
48
+ getSeveritySystemAndCode(): string | undefined;
32
49
  setOnsetDateTime(value?: string | null): this;
33
50
  getOnsetDateTime(): string | undefined;
34
51
  setRecorder(reference?: string | null): this;
@@ -14,8 +14,16 @@ export class ConditionEntryEditor extends ClinicalResourceEntryEditor {
14
14
  ensureIdentifier() { return this.ensureIdentifierValue(ConditionClaim.Identifier); }
15
15
  setSubject(subject) { return this.setSubjectClaims(ConditionClaim.Subject, ConditionClaim.Subject, subject); }
16
16
  getSubject() { return this.getSubjectClaims(ConditionClaim.Subject, ConditionClaim.Subject); }
17
- setCode(code) { return this.setScalarClaim(ConditionClaim.Code, code); }
18
- getCode() { return this.getScalarClaim(ConditionClaim.Code); }
17
+ setCode(codeOrSystem, codeValue) {
18
+ return this.setCodingTokenCode(ConditionClaim.Code, codeOrSystem, codeValue);
19
+ }
20
+ getCode() { return this.getCodingTokenCode(ConditionClaim.Code); }
21
+ setCodeSystem(system) { return this.setCodingTokenSystem(ConditionClaim.Code, system); }
22
+ getCodeSystem() { return this.getCodingTokenSystem(ConditionClaim.Code); }
23
+ setSystemAndCode(system, code) {
24
+ return this.setCodingTokenSystemAndCode(ConditionClaim.Code, system, code);
25
+ }
26
+ getSystemAndCode() { return this.getCodingTokenSystemAndCode(ConditionClaim.Code); }
19
27
  /** Writes the local-language condition name projected to FHIR `code.text`. */
20
28
  setCodeTextLocal(text) { return this.setScalarClaim(ConditionClaim.CodeText, text); }
21
29
  /** Reads the local-language condition name. */
@@ -28,10 +36,20 @@ export class ConditionEntryEditor extends ClinicalResourceEntryEditor {
28
36
  getClinicalStatus() { return this.getScalarClaim(ConditionClaim.ClinicalStatus); }
29
37
  setVerificationStatus(status) { return this.setScalarClaim(ConditionClaim.VerificationStatus, status); }
30
38
  getVerificationStatus() { return this.getScalarClaim(ConditionClaim.VerificationStatus); }
31
- setCategory(category) { return this.setScalarClaim(ConditionClaim.Category, category); }
32
- getCategory() { return this.getScalarClaim(ConditionClaim.Category); }
33
- setSeverity(severity) { return this.setScalarClaim(ConditionClaim.Severity, severity); }
34
- getSeverity() { return this.getScalarClaim(ConditionClaim.Severity); }
39
+ setCategory(categoryOrSystem, codeValue) { return this.setCodingTokenCode(ConditionClaim.Category, categoryOrSystem, codeValue); }
40
+ getCategory() { return this.getCodingTokenSystemAndCode(ConditionClaim.Category); }
41
+ getCategoryCode() { return this.getCodingTokenCode(ConditionClaim.Category); }
42
+ setCategoryCodeSystem(system) { return this.setCodingTokenSystem(ConditionClaim.Category, system); }
43
+ getCategoryCodeSystem() { return this.getCodingTokenSystem(ConditionClaim.Category); }
44
+ setCategorySystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(ConditionClaim.Category, system, code); }
45
+ getCategorySystemAndCode() { return this.getCodingTokenSystemAndCode(ConditionClaim.Category); }
46
+ setSeverity(severityOrSystem, codeValue) { return this.setCodingTokenCode(ConditionClaim.Severity, severityOrSystem, codeValue); }
47
+ getSeverity() { return this.getCodingTokenSystemAndCode(ConditionClaim.Severity); }
48
+ getSeverityCode() { return this.getCodingTokenCode(ConditionClaim.Severity); }
49
+ setSeverityCodeSystem(system) { return this.setCodingTokenSystem(ConditionClaim.Severity, system); }
50
+ getSeverityCodeSystem() { return this.getCodingTokenSystem(ConditionClaim.Severity); }
51
+ setSeveritySystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(ConditionClaim.Severity, system, code); }
52
+ getSeveritySystemAndCode() { return this.getCodingTokenSystemAndCode(ConditionClaim.Severity); }
35
53
  setOnsetDateTime(value) { return this.setScalarClaim(ConditionClaim.OnsetDateTime, value); }
36
54
  getOnsetDateTime() { return this.getScalarClaim(ConditionClaim.OnsetDateTime); }
37
55
  setRecorder(reference) { return this.setScalarClaim(ConditionClaim.Recorder, reference); }
@@ -1,4 +1,4 @@
1
- import type { ConfidentialBlobInfo, ConfidentialStorageDoc } from '../models/confidential-storage';
1
+ import type { ConfidentialBlobInfo, ConfidentialStorageDoc } from '../models/confidential-storage.js';
2
2
  /**
3
3
  * Blob-store writer contract kept provider-neutral on purpose.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { ConfidentialBlobInfo, ConfidentialStorageDoc } from '../models/confidential-storage';
1
+ import type { ConfidentialBlobInfo, ConfidentialStorageDoc } from '../models/confidential-storage.js';
2
2
  /**
3
3
  * Builds a stable example JWE payload for tests that only need shape fidelity.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { FhirResource } from '../convert/convert-shared';
1
+ import type { FhirResource } from '../convert/convert-shared.js';
2
2
  export declare const FHIR_R4_PATIENT_ANIMAL_EXTENSION_URL = "http://hl7.org/fhir/StructureDefinition/patient-animal";
3
3
  export type ConnectedDeviceSubjectKind = 'animal' | 'person';
4
4
  export type ConnectedDeviceFhirR4Bundle = Readonly<{
@@ -3,8 +3,8 @@
3
3
  * - Read `ARCHITECTURE.md` and `CONTRIBUTING.md` before changing this module.
4
4
  * - This file owns only the typed editor for one staged Consent entry.
5
5
  */
6
- import { type ConsentDecision, type ConsentStatus } from '../models/consent-rule';
7
- import { BundleEntryEditor } from './bundle-entry-editor';
6
+ import { type ConsentDecision, type ConsentStatus } from '../models/consent-rule.js';
7
+ import { BundleEntryEditor } from './bundle-entry-editor.js';
8
8
  /**
9
9
  * Typed editor for one Consent permission staged inside a Bundle.
10
10
  *
@@ -1,7 +1,7 @@
1
- import * as baseConvert from './base-convert';
2
- import * as objectConvert from './object-convert';
3
- import * as stringConvert from './string-convert';
4
- import * as stringUtils from './string-utils';
1
+ import * as baseConvert from './base-convert.js';
2
+ import * as objectConvert from './object-convert.js';
3
+ import * as stringConvert from './string-convert.js';
4
+ import * as stringUtils from './string-utils.js';
5
5
  /**
6
6
  * A unified facade class for all data conversion and utility functions.
7
7
  * This class encapsulates functionality from the various utility modules
@@ -1,4 +1,4 @@
1
- import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
1
+ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js';
2
2
  /**
3
3
  * Typed editor for one staged Coverage resource entry.
4
4
  *
@@ -18,8 +18,14 @@ export declare class CoverageEntryEditor extends ClinicalResourceEntryEditor {
18
18
  getStatus(): string | undefined;
19
19
  /** Writes the coverage type. */
20
20
  setType(value?: string | null): this;
21
+ setType(codeSystem: string, codeValue: string): this;
21
22
  /** Reads the coverage type. */
22
23
  getType(): string | undefined;
24
+ getTypeCode(): string | undefined;
25
+ setTypeCodeSystem(system?: string | null): this;
26
+ getTypeCodeSystem(): string | undefined;
27
+ setTypeSystemAndCode(system?: string | null, code?: string | null): this;
28
+ getTypeSystemAndCode(): string | undefined;
23
29
  /** Writes the policy-holder reference. */
24
30
  setPolicyHolder(value?: string | null): this;
25
31
  /** Reads the policy-holder reference. */
@@ -34,8 +40,14 @@ export declare class CoverageEntryEditor extends ClinicalResourceEntryEditor {
34
40
  getBeneficiary(): string | undefined;
35
41
  /** Writes the subscriber relationship. */
36
42
  setRelationship(value?: string | null): this;
43
+ setRelationship(codeSystem: string, codeValue: string): this;
37
44
  /** Reads the subscriber relationship. */
38
45
  getRelationship(): string | undefined;
46
+ getRelationshipCode(): string | undefined;
47
+ setRelationshipCodeSystem(system?: string | null): this;
48
+ getRelationshipCodeSystem(): string | undefined;
49
+ setRelationshipSystemAndCode(system?: string | null, code?: string | null): this;
50
+ getRelationshipSystemAndCode(): string | undefined;
39
51
  /** Writes the coverage period start. */
40
52
  setPeriodStart(value?: string | null): this;
41
53
  /** Reads the coverage period start. */
@@ -19,10 +19,14 @@ export class CoverageEntryEditor extends ClinicalResourceEntryEditor {
19
19
  setStatus(value) { return this.setScalarClaim(CoverageClaim.Status, value); }
20
20
  /** Reads the coverage status. */
21
21
  getStatus() { return this.getScalarClaim(CoverageClaim.Status); }
22
- /** Writes the coverage type. */
23
- setType(value) { return this.setScalarClaim(CoverageClaim.Type, value); }
22
+ setType(valueOrSystem, codeValue) { return this.setCodingTokenCode(CoverageClaim.Type, valueOrSystem, codeValue); }
24
23
  /** Reads the coverage type. */
25
- getType() { return this.getScalarClaim(CoverageClaim.Type); }
24
+ getType() { return this.getCodingTokenSystemAndCode(CoverageClaim.Type); }
25
+ getTypeCode() { return this.getCodingTokenCode(CoverageClaim.Type); }
26
+ setTypeCodeSystem(system) { return this.setCodingTokenSystem(CoverageClaim.Type, system); }
27
+ getTypeCodeSystem() { return this.getCodingTokenSystem(CoverageClaim.Type); }
28
+ setTypeSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(CoverageClaim.Type, system, code); }
29
+ getTypeSystemAndCode() { return this.getCodingTokenSystemAndCode(CoverageClaim.Type); }
26
30
  /** Writes the policy-holder reference. */
27
31
  setPolicyHolder(value) { return this.setScalarClaim(CoverageClaim.PolicyHolder, value); }
28
32
  /** Reads the policy-holder reference. */
@@ -35,10 +39,14 @@ export class CoverageEntryEditor extends ClinicalResourceEntryEditor {
35
39
  setBeneficiary(value) { return this.setScalarClaim(CoverageClaim.Beneficiary, value); }
36
40
  /** Reads the beneficiary reference. */
37
41
  getBeneficiary() { return this.getScalarClaim(CoverageClaim.Beneficiary); }
38
- /** Writes the subscriber relationship. */
39
- setRelationship(value) { return this.setScalarClaim(CoverageClaim.Relationship, value); }
42
+ setRelationship(valueOrSystem, codeValue) { return this.setCodingTokenCode(CoverageClaim.Relationship, valueOrSystem, codeValue); }
40
43
  /** Reads the subscriber relationship. */
41
- getRelationship() { return this.getScalarClaim(CoverageClaim.Relationship); }
44
+ getRelationship() { return this.getCodingTokenSystemAndCode(CoverageClaim.Relationship); }
45
+ getRelationshipCode() { return this.getCodingTokenCode(CoverageClaim.Relationship); }
46
+ setRelationshipCodeSystem(system) { return this.setCodingTokenSystem(CoverageClaim.Relationship, system); }
47
+ getRelationshipCodeSystem() { return this.getCodingTokenSystem(CoverageClaim.Relationship); }
48
+ setRelationshipSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(CoverageClaim.Relationship, system, code); }
49
+ getRelationshipSystemAndCode() { return this.getCodingTokenSystemAndCode(CoverageClaim.Relationship); }
42
50
  /** Writes the coverage period start. */
43
51
  setPeriodStart(value) { return this.setScalarClaim(CoverageClaim.PeriodStart, value); }
44
52
  /** Reads the coverage period start. */
@@ -1,5 +1,5 @@
1
- import type { DataspaceDiscoveryBootstrapInput, DataspaceDiscoveryBootstrapPlan, DataspaceDiscoveryDefaultHostingFilter, DataspaceDiscoveryDefaultIcaFilter, DataspaceDiscoveryDefaultsRegistrySeed, DefaultHostingOperatorRegistration, DefaultIcaRegistration } from '../models/dataspace-discovery-defaults';
2
- import type { PublishedProviderCatalogRecord } from '../models/dataspace-discovery';
1
+ import type { DataspaceDiscoveryBootstrapInput, DataspaceDiscoveryBootstrapPlan, DataspaceDiscoveryDefaultHostingFilter, DataspaceDiscoveryDefaultIcaFilter, DataspaceDiscoveryDefaultsRegistrySeed, DefaultHostingOperatorRegistration, DefaultIcaRegistration } from '../models/dataspace-discovery-defaults.js';
2
+ import type { PublishedProviderCatalogRecord } from '../models/dataspace-discovery.js';
3
3
  export type BuildDefaultIcaRegistrationFromAuthorityInput = Readonly<{
4
4
  authority: string;
5
5
  jurisdiction: string;
@@ -1,4 +1,4 @@
1
- import { type DataspaceDiscoveryFilter, type DataspaceServiceSemanticRecord, type HostingOperatorSemanticRecord, type HostingOperatorDiscoveryCatalog, type PublishedProviderCatalogRecord, type TenantServiceSemanticRecord } from '../models/dataspace-discovery';
1
+ import { type DataspaceDiscoveryFilter, type DataspaceServiceSemanticRecord, type HostingOperatorSemanticRecord, type HostingOperatorDiscoveryCatalog, type PublishedProviderCatalogRecord, type TenantServiceSemanticRecord } from '../models/dataspace-discovery.js';
2
2
  export type DiscoveryCatalogFetchResponse = Readonly<{
3
3
  ok: boolean;
4
4
  status: number;
@@ -1,5 +1,5 @@
1
- import { type DataspaceProtocolVersionValue } from '../constants/dataspace-protocol';
2
- import type { DspaceProtocolVersionEntry, DspaceVersionMetadata } from '../models/dataspace-protocol';
1
+ import { type DataspaceProtocolVersionValue } from '../constants/dataspace-protocol.js';
2
+ import type { DspaceProtocolVersionEntry, DspaceVersionMetadata } from '../models/dataspace-protocol.js';
3
3
  /**
4
4
  * Route context used to build tenant-scoped or host-scoped GW CORE DSP paths.
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { ClassicPublicJwk } from '../interfaces/Cryptography.types';
1
+ import type { ClassicPublicJwk } from '../interfaces/Cryptography.types.js';
2
2
  /**
3
3
  * Legacy JOSE signature algorithms still commonly used by BFF, controller, and
4
4
  * test fixtures before a runtime switches to post-quantum signers.
@@ -1,4 +1,4 @@
1
- import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
1
+ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js';
2
2
  /**
3
3
  * Typed editor for one staged Device resource entry.
4
4
  *
@@ -22,8 +22,14 @@ export declare class DeviceEntryEditor extends ClinicalResourceEntryEditor {
22
22
  getStatus(): string | undefined;
23
23
  /** Writes the device type. */
24
24
  setType(value?: string | null): this;
25
+ setType(codeSystem: string, codeValue: string): this;
25
26
  /** Reads the device type. */
26
27
  getType(): string | undefined;
28
+ getTypeCode(): string | undefined;
29
+ setTypeCodeSystem(system?: string | null): this;
30
+ getTypeCodeSystem(): string | undefined;
31
+ setTypeSystemAndCode(system?: string | null, code?: string | null): this;
32
+ getTypeSystemAndCode(): string | undefined;
27
33
  /** Writes the manufacturer reference. */
28
34
  setManufacturer(value?: string | null): this;
29
35
  /** Reads the manufacturer reference. */
@@ -23,10 +23,14 @@ export class DeviceEntryEditor extends ClinicalResourceEntryEditor {
23
23
  setStatus(value) { return this.setScalarClaim(DeviceClaim.Status, value); }
24
24
  /** Reads the device status. */
25
25
  getStatus() { return this.getScalarClaim(DeviceClaim.Status); }
26
- /** Writes the device type. */
27
- setType(value) { return this.setScalarClaim(DeviceClaim.Type, value); }
26
+ setType(valueOrSystem, codeValue) { return this.setCodingTokenCode(DeviceClaim.Type, valueOrSystem, codeValue); }
28
27
  /** Reads the device type. */
29
- getType() { return this.getScalarClaim(DeviceClaim.Type); }
28
+ getType() { return this.getCodingTokenSystemAndCode(DeviceClaim.Type); }
29
+ getTypeCode() { return this.getCodingTokenCode(DeviceClaim.Type); }
30
+ setTypeCodeSystem(system) { return this.setCodingTokenSystem(DeviceClaim.Type, system); }
31
+ getTypeCodeSystem() { return this.getCodingTokenSystem(DeviceClaim.Type); }
32
+ setTypeSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(DeviceClaim.Type, system, code); }
33
+ getTypeSystemAndCode() { return this.getCodingTokenSystemAndCode(DeviceClaim.Type); }
30
34
  /** Writes the manufacturer reference. */
31
35
  setManufacturer(value) { return this.setScalarClaim(DeviceClaim.Manufacturer, value); }
32
36
  /** Reads the manufacturer reference. */
@@ -1,4 +1,4 @@
1
- import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
1
+ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js';
2
2
  /**
3
3
  * Typed editor for one staged DeviceUseStatement resource entry.
4
4
  *
@@ -34,8 +34,13 @@ export declare class DeviceUseStatementEntryEditor extends ClinicalResourceEntry
34
34
  getTimingDateTime(): string | undefined;
35
35
  /** Writes the reason code. */
36
36
  setReasonCode(value?: string | null): this;
37
+ setReasonCode(codeSystem: string, codeValue: string): this;
37
38
  /** Reads the reason code. */
38
39
  getReasonCode(): string | undefined;
40
+ setReasonCodeSystem(system?: string | null): this;
41
+ getReasonCodeSystem(): string | undefined;
42
+ setReasonSystemAndCode(system?: string | null, code?: string | null): this;
43
+ getReasonSystemAndCode(): string | undefined;
39
44
  /** Writes the source reference. */
40
45
  setSource(value?: string | null): this;
41
46
  /** Reads the source reference. */
@@ -35,10 +35,13 @@ export class DeviceUseStatementEntryEditor extends ClinicalResourceEntryEditor {
35
35
  setTimingDateTime(value) { return this.setScalarClaim(DeviceUseStatementClaim.TimingDateTime, value); }
36
36
  /** Reads the timing date/time. */
37
37
  getTimingDateTime() { return this.getScalarClaim(DeviceUseStatementClaim.TimingDateTime); }
38
- /** Writes the reason code. */
39
- setReasonCode(value) { return this.setScalarClaim(DeviceUseStatementClaim.ReasonCode, value); }
38
+ setReasonCode(valueOrSystem, codeValue) { return this.setCodingTokenCode(DeviceUseStatementClaim.ReasonCode, valueOrSystem, codeValue); }
40
39
  /** Reads the reason code. */
41
- getReasonCode() { return this.getScalarClaim(DeviceUseStatementClaim.ReasonCode); }
40
+ getReasonCode() { return this.getCodingTokenCode(DeviceUseStatementClaim.ReasonCode); }
41
+ setReasonCodeSystem(system) { return this.setCodingTokenSystem(DeviceUseStatementClaim.ReasonCode, system); }
42
+ getReasonCodeSystem() { return this.getCodingTokenSystem(DeviceUseStatementClaim.ReasonCode); }
43
+ setReasonSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(DeviceUseStatementClaim.ReasonCode, system, code); }
44
+ getReasonSystemAndCode() { return this.getCodingTokenSystemAndCode(DeviceUseStatementClaim.ReasonCode); }
42
45
  /** Writes the source reference. */
43
46
  setSource(value) { return this.setScalarClaim(DeviceUseStatementClaim.Source, value); }
44
47
  /** Reads the source reference. */
@@ -5,7 +5,7 @@
5
5
  * - Keep this file focused on one typed editor surface.
6
6
  * - Move shared helpers to reusable helper/base modules instead of duplicating logic here.
7
7
  */
8
- import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
8
+ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js';
9
9
  /**
10
10
  * Typed editor for one staged DiagnosticReport resource entry.
11
11
  *
@@ -33,12 +33,23 @@ export declare class DiagnosticReportEntryEditor extends ClinicalResourceEntryEd
33
33
  getDate(): string | undefined;
34
34
  /** Sets the report category. */
35
35
  setCategory(category?: string | null): this;
36
+ setCategory(codeSystem: string, codeValue: string): this;
36
37
  /** Returns the report category. */
37
38
  getCategory(): string | undefined;
39
+ getCategoryCode(): string | undefined;
40
+ setCategoryCodeSystem(system?: string | null): this;
41
+ getCategoryCodeSystem(): string | undefined;
42
+ setCategorySystemAndCode(system?: string | null, code?: string | null): this;
43
+ getCategorySystemAndCode(): string | undefined;
38
44
  /** Sets the main report code. */
39
45
  setCode(code?: string | null): this;
46
+ setCode(codeSystem: string, codeValue: string): this;
40
47
  /** Returns the main report code. */
41
48
  getCode(): string | undefined;
49
+ setCodeSystem(system?: string | null): this;
50
+ getCodeSystem(): string | undefined;
51
+ setSystemAndCode(system?: string | null, code?: string | null): this;
52
+ getSystemAndCode(): string | undefined;
42
53
  /** Sets the local-language report name projected to FHIR `code.text`. */
43
54
  setCodeTextLocal(text?: string | null): this;
44
55
  /** Returns the local-language report name. */
@@ -52,22 +52,29 @@ export class DiagnosticReportEntryEditor extends ClinicalResourceEntryEditor {
52
52
  getDate() {
53
53
  return this.getScalarClaim(DiagnosticReportClaim.Date);
54
54
  }
55
- /** Sets the report category. */
56
- setCategory(category) {
57
- return this.setScalarClaim(DiagnosticReportClaim.Category, category);
55
+ setCategory(categoryOrSystem, codeValue) {
56
+ return this.setCodingTokenCode(DiagnosticReportClaim.Category, categoryOrSystem, codeValue);
58
57
  }
59
58
  /** Returns the report category. */
60
59
  getCategory() {
61
- return this.getScalarClaim(DiagnosticReportClaim.Category);
60
+ return this.getCodingTokenSystemAndCode(DiagnosticReportClaim.Category);
62
61
  }
63
- /** Sets the main report code. */
64
- setCode(code) {
65
- return this.setScalarClaim(DiagnosticReportClaim.Code, code);
62
+ getCategoryCode() { return this.getCodingTokenCode(DiagnosticReportClaim.Category); }
63
+ setCategoryCodeSystem(system) { return this.setCodingTokenSystem(DiagnosticReportClaim.Category, system); }
64
+ getCategoryCodeSystem() { return this.getCodingTokenSystem(DiagnosticReportClaim.Category); }
65
+ setCategorySystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(DiagnosticReportClaim.Category, system, code); }
66
+ getCategorySystemAndCode() { return this.getCodingTokenSystemAndCode(DiagnosticReportClaim.Category); }
67
+ setCode(codeOrSystem, codeValue) {
68
+ return this.setCodingTokenCode(DiagnosticReportClaim.Code, codeOrSystem, codeValue);
66
69
  }
67
70
  /** Returns the main report code. */
68
71
  getCode() {
69
- return this.getScalarClaim(DiagnosticReportClaim.Code);
72
+ return this.getCodingTokenCode(DiagnosticReportClaim.Code);
70
73
  }
74
+ setCodeSystem(system) { return this.setCodingTokenSystem(DiagnosticReportClaim.Code, system); }
75
+ getCodeSystem() { return this.getCodingTokenSystem(DiagnosticReportClaim.Code); }
76
+ setSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(DiagnosticReportClaim.Code, system, code); }
77
+ getSystemAndCode() { return this.getCodingTokenSystemAndCode(DiagnosticReportClaim.Code); }
71
78
  /** Sets the local-language report name projected to FHIR `code.text`. */
72
79
  setCodeTextLocal(text) {
73
80
  return this.setScalarClaim(DiagnosticReportClaim.CodeText, text);
@@ -1,5 +1,5 @@
1
- import type { ActorKind } from '../models/actor-session';
2
- import { DidDocument, DidResolutionResult, ResolvedServiceEndpoint } from '../models/did';
1
+ import type { ActorKind } from '../models/actor-session.js';
2
+ import { DidDocument, DidResolutionResult, ResolvedServiceEndpoint } from '../models/did.js';
3
3
  /**
4
4
  * Service selection criteria used when resolving operational endpoints from a DID Document.
5
5
  */
@@ -121,7 +121,7 @@ export function getSmartTokenEndpoint(didDocument) {
121
121
  * uses the current data-space member suffix conventions.
122
122
  */
123
123
  export function getOrganizationDidFromIndividualDid(did) {
124
- const markers = [':individual:multibase:', ':employee:', ':member:'];
124
+ const markers = [':individual:', ':employee:', ':member:'];
125
125
  for (const marker of markers) {
126
126
  const index = did.indexOf(marker);
127
127
  if (index > -1) {
@@ -151,8 +151,10 @@ export function getActorKindFromDid(did) {
151
151
  ? ActorKinds.OrganizationController
152
152
  : ActorKinds.Professional;
153
153
  }
154
- if (normalized.includes(':individual:multibase:') || normalized.includes(':member:role:')) {
155
- return normalized.includes(':member:role:oneself') || normalized.includes('controller')
154
+ if (normalized.includes(':individual:')) {
155
+ return normalized.includes(':member:role:oneself')
156
+ || normalized.endsWith(':resprsn')
157
+ || normalized.includes('controller')
156
158
  ? ActorKinds.IndividualController
157
159
  : ActorKinds.IndividualMember;
158
160
  }
@@ -1,5 +1,5 @@
1
- import { ServiceEndpointSelector } from "../models/did";
2
- import { type SecureIdTypeIndividual } from '../constants/identity-identifiers';
1
+ import { ServiceEndpointSelector } from "../models/did.js";
2
+ import { type SecureIdTypeIndividual } from '../constants/identity-identifiers.js';
3
3
  /**
4
4
  * Canonical DID path markers for hosted/provider individual identities.
5
5
  *
@@ -204,11 +204,11 @@ export declare function buildProfessionalDidWeb(input: {
204
204
  * or an external provider-sector DID root.
205
205
  *
206
206
  * Canonical hosted form:
207
- * `did:web:<provider-path>:individual:<secureIdTypeIndividual>:<secureIdValueIndividual>`
207
+ * `did:web:<provider-path>:individual:multibase:<secureIdValueIndividual>`
208
208
  *
209
209
  * Important semantics:
210
- * - the type remains an explicit upper-case path token such as `UUID`, `DL`,
211
- * `PPN`, `EMAIL`, or `PHONE`;
210
+ * - the private identifier type is an input-normalization concern and is never
211
+ * serialized in the public DID;
212
212
  * - the value is always the one-way SHA3-384 multihash built by
213
213
  * `buildSecureIdValueIndividual`, never the private identifier in plain text;
214
214
  * - role is not part of the individual DID.
package/dist/utils/did.js CHANGED
@@ -395,11 +395,11 @@ export function buildProfessionalDidWeb(input) {
395
395
  * or an external provider-sector DID root.
396
396
  *
397
397
  * Canonical hosted form:
398
- * `did:web:<provider-path>:individual:<secureIdTypeIndividual>:<secureIdValueIndividual>`
398
+ * `did:web:<provider-path>:individual:multibase:<secureIdValueIndividual>`
399
399
  *
400
400
  * Important semantics:
401
- * - the type remains an explicit upper-case path token such as `UUID`, `DL`,
402
- * `PPN`, `EMAIL`, or `PHONE`;
401
+ * - the private identifier type is an input-normalization concern and is never
402
+ * serialized in the public DID;
403
403
  * - the value is always the one-way SHA3-384 multihash built by
404
404
  * `buildSecureIdValueIndividual`, never the private identifier in plain text;
405
405
  * - role is not part of the individual DID.
@@ -424,7 +424,7 @@ export function buildIndividualDidWeb(input) {
424
424
  return [
425
425
  providerDidWeb,
426
426
  IndividualDidMarkers.Individual,
427
- secureIdTypeIndividual,
427
+ IndividualDidMarkers.Multibase,
428
428
  secureIdValueIndividual,
429
429
  ].join(':');
430
430
  }
@@ -1,4 +1,4 @@
1
- import { CommunicationMode, type DidcommSubmitKind } from './didcomm-submit-policy';
1
+ import { CommunicationMode, type DidcommSubmitKind } from './didcomm-submit-policy.js';
2
2
  export declare const DIDCOMM_PLAINTEXT_JSON_MEDIA_TYPE: "application/didcomm-plain+json";
3
3
  export declare const DIDCOMM_ENCRYPTED_JSON_MEDIA_TYPE: "application/didcomm-encrypted+json";
4
4
  export declare const DIDCOMM_DEFAULT_ACCEPT_HEADER: "application/json, application/didcomm-plain+json, */*";
@@ -1,5 +1,5 @@
1
- import { DidCommPayload, DidCommAttachment } from '../models/comm';
2
- export { DidCommAttachment } from '../models/comm';
1
+ import { DidCommPayload, DidCommAttachment } from '../models/comm.js';
2
+ export { DidCommAttachment } from '../models/comm.js';
3
3
  /**
4
4
  * Creates a DIDComm message instance.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { DidResolutionResult } from '../models/did';
1
+ import { DidResolutionResult } from '../models/did.js';
2
2
  /**
3
3
  * Canonical runtime-neutral discovery result used by SDK and GW code after
4
4
  * normalizing metadata from ICA, node operators, or provider catalogs.
@@ -5,7 +5,7 @@
5
5
  * - Keep this file focused on one typed editor surface.
6
6
  * - Move shared helpers to reusable helper/base modules instead of duplicating logic here.
7
7
  */
8
- import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
8
+ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js';
9
9
  /**
10
10
  * Typed editor for one staged DocumentReference resource entry.
11
11
  *
@@ -25,12 +25,24 @@ export declare class DocumentReferenceEntryEditor extends ClinicalResourceEntryE
25
25
  getSubject(): string | undefined;
26
26
  /** Sets the coded document type. */
27
27
  setType(value?: string | null): this;
28
+ setType(codeSystem: string, codeValue: string): this;
28
29
  /** Returns the coded document type. */
29
30
  getType(): string | undefined;
31
+ getTypeCode(): string | undefined;
32
+ setTypeCodeSystem(system?: string | null): this;
33
+ getTypeCodeSystem(): string | undefined;
34
+ setTypeSystemAndCode(system?: string | null, code?: string | null): this;
35
+ getTypeSystemAndCode(): string | undefined;
30
36
  /** Sets the document category. */
31
37
  setCategory(value?: string | null): this;
38
+ setCategory(codeSystem: string, codeValue: string): this;
32
39
  /** Returns the document category. */
33
40
  getCategory(): string | undefined;
41
+ getCategoryCode(): string | undefined;
42
+ setCategoryCodeSystem(system?: string | null): this;
43
+ getCategoryCodeSystem(): string | undefined;
44
+ setCategorySystemAndCode(system?: string | null, code?: string | null): this;
45
+ getCategorySystemAndCode(): string | undefined;
34
46
  /** Sets the MIME type of the attached payload, such as PDF or image content. */
35
47
  setContentType(value?: string | null): this;
36
48
  /** Returns the MIME type of the attached payload. */
@@ -26,14 +26,22 @@ export class DocumentReferenceEntryEditor extends ClinicalResourceEntryEditor {
26
26
  setSubject(subject) { return this.setScalarClaim(DocumentReferenceClaim.Subject, subject); }
27
27
  /** Returns the subject reference for the attached document. */
28
28
  getSubject() { return this.getScalarClaim(DocumentReferenceClaim.Subject); }
29
- /** Sets the coded document type. */
30
- setType(value) { return this.setScalarClaim(DocumentReferenceClaim.Type, value); }
29
+ setType(valueOrSystem, codeValue) { return this.setCodingTokenCode(DocumentReferenceClaim.Type, valueOrSystem, codeValue); }
31
30
  /** Returns the coded document type. */
32
- getType() { return this.getScalarClaim(DocumentReferenceClaim.Type); }
33
- /** Sets the document category. */
34
- setCategory(value) { return this.setScalarClaim(DocumentReferenceClaim.Category, value); }
31
+ getType() { return this.getCodingTokenSystemAndCode(DocumentReferenceClaim.Type); }
32
+ getTypeCode() { return this.getCodingTokenCode(DocumentReferenceClaim.Type); }
33
+ setTypeCodeSystem(system) { return this.setCodingTokenSystem(DocumentReferenceClaim.Type, system); }
34
+ getTypeCodeSystem() { return this.getCodingTokenSystem(DocumentReferenceClaim.Type); }
35
+ setTypeSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(DocumentReferenceClaim.Type, system, code); }
36
+ getTypeSystemAndCode() { return this.getCodingTokenSystemAndCode(DocumentReferenceClaim.Type); }
37
+ setCategory(valueOrSystem, codeValue) { return this.setCodingTokenCode(DocumentReferenceClaim.Category, valueOrSystem, codeValue); }
35
38
  /** Returns the document category. */
36
- getCategory() { return this.getScalarClaim(DocumentReferenceClaim.Category); }
39
+ getCategory() { return this.getCodingTokenSystemAndCode(DocumentReferenceClaim.Category); }
40
+ getCategoryCode() { return this.getCodingTokenCode(DocumentReferenceClaim.Category); }
41
+ setCategoryCodeSystem(system) { return this.setCodingTokenSystem(DocumentReferenceClaim.Category, system); }
42
+ getCategoryCodeSystem() { return this.getCodingTokenSystem(DocumentReferenceClaim.Category); }
43
+ setCategorySystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(DocumentReferenceClaim.Category, system, code); }
44
+ getCategorySystemAndCode() { return this.getCodingTokenSystemAndCode(DocumentReferenceClaim.Category); }
37
45
  /** Sets the MIME type of the attached payload, such as PDF or image content. */
38
46
  setContentType(value) { return this.setScalarClaim(DocumentReferenceClaim.ContentType, value); }
39
47
  /** Returns the MIME type of the attached payload. */
@@ -1,4 +1,4 @@
1
- import { BundleEntryEditor } from './bundle-entry-editor';
1
+ import { BundleEntryEditor } from './bundle-entry-editor.js';
2
2
  /**
3
3
  * Typed editor for one staged Employee resource entry.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { SearchParameterPrimitive, SearchRequestEncoding } from './fhir-search';
1
+ import { SearchParameterPrimitive, SearchRequestEncoding } from './fhir-search.js';
2
2
  export type EmployeeClaims = Record<string, unknown>;
3
3
  export type EmployeeSearchValue = SearchParameterPrimitive;
4
4
  export type EmployeeDraftInput = Readonly<{
@@ -1,4 +1,4 @@
1
- import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
1
+ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js';
2
2
  /**
3
3
  * Typed editor for one staged Encounter resource entry.
4
4
  *
@@ -22,12 +22,24 @@ export declare class EncounterEntryEditor extends ClinicalResourceEntryEditor {
22
22
  getStatus(): string | undefined;
23
23
  /** Writes the encounter class. */
24
24
  setClass(value?: string | null): this;
25
+ setClass(codeSystem: string, codeValue: string): this;
25
26
  /** Reads the encounter class. */
26
27
  getClass(): string | undefined;
28
+ getClassCode(): string | undefined;
29
+ setClassCodeSystem(system?: string | null): this;
30
+ getClassCodeSystem(): string | undefined;
31
+ setClassSystemAndCode(system?: string | null, code?: string | null): this;
32
+ getClassSystemAndCode(): string | undefined;
27
33
  /** Writes the encounter type. */
28
34
  setType(value?: string | null): this;
35
+ setType(codeSystem: string, codeValue: string): this;
29
36
  /** Reads the encounter type. */
30
37
  getType(): string | undefined;
38
+ getTypeCode(): string | undefined;
39
+ setTypeCodeSystem(system?: string | null): this;
40
+ getTypeCodeSystem(): string | undefined;
41
+ setTypeSystemAndCode(system?: string | null, code?: string | null): this;
42
+ getTypeSystemAndCode(): string | undefined;
31
43
  /** Writes the participant list. */
32
44
  setParticipantList(values: readonly string[]): this;
33
45
  /** Reads the participant list. */
@@ -46,6 +58,11 @@ export declare class EncounterEntryEditor extends ClinicalResourceEntryEditor {
46
58
  getPeriodEnd(): string | undefined;
47
59
  /** Writes the reason code. */
48
60
  setReasonCode(value?: string | null): this;
61
+ setReasonCode(codeSystem: string, codeValue: string): this;
49
62
  /** Reads the reason code. */
50
63
  getReasonCode(): string | undefined;
64
+ setReasonCodeSystem(system?: string | null): this;
65
+ getReasonCodeSystem(): string | undefined;
66
+ setReasonSystemAndCode(system?: string | null, code?: string | null): this;
67
+ getReasonSystemAndCode(): string | undefined;
51
68
  }