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.
- package/dist/AesManager.d.ts +1 -1
- package/dist/CryptographyService.d.ts +6 -6
- package/dist/claims/index.d.ts +24 -24
- package/dist/constants/cryptography.d.ts +1 -1
- package/dist/constants/healthcare.d.ts +3 -3
- package/dist/constants/identity-identifiers.d.ts +3 -1
- package/dist/constants/identity-identifiers.js +3 -1
- package/dist/constants/index.d.ts +40 -40
- package/dist/constants/individual-sections.d.ts +12 -12
- package/dist/constants/kyc-gender.d.ts +1 -1
- package/dist/constants/schemaorg.d.ts +1 -1
- package/dist/constants/vital-signs.d.ts +2 -2
- package/dist/convert/convert-allergy-intolerance.d.ts +1 -1
- package/dist/convert/convert-appointment-response.d.ts +1 -1
- package/dist/convert/convert-appointment.d.ts +1 -1
- package/dist/convert/convert-care-plan.d.ts +1 -1
- package/dist/convert/convert-clinical-impression.d.ts +1 -1
- package/dist/convert/convert-composition.d.ts +1 -1
- package/dist/convert/convert-condition.d.ts +1 -1
- package/dist/convert/convert-consent.d.ts +1 -1
- package/dist/convert/convert-coverage.d.ts +1 -1
- package/dist/convert/convert-device-use-statement.d.ts +1 -1
- package/dist/convert/convert-device.d.ts +1 -1
- package/dist/convert/convert-diagnostic-report.d.ts +1 -1
- package/dist/convert/convert-document-reference.d.ts +1 -1
- package/dist/convert/convert-encounter.d.ts +1 -1
- package/dist/convert/convert-flag.d.ts +1 -1
- package/dist/convert/convert-immunization.d.ts +1 -1
- package/dist/convert/convert-location.d.ts +1 -1
- package/dist/convert/convert-medication-statement.d.ts +1 -1
- package/dist/convert/convert-observation.d.ts +1 -1
- package/dist/convert/convert-organization.d.ts +1 -1
- package/dist/convert/convert-practitioner-role.d.ts +1 -1
- package/dist/convert/convert-procedure.d.ts +1 -1
- package/dist/convert/convert-related-person.d.ts +1 -1
- package/dist/convert/convert-shared.js +1 -1
- package/dist/convert/index.d.ts +25 -25
- package/dist/convert/schemaorg-to-gaia-x.d.ts +3 -3
- package/dist/examples/api-flow-examples.d.ts +8 -8
- package/dist/examples/communication-attached-bundle-session.d.ts +2 -2
- package/dist/examples/communication-bundle-document-request.d.ts +1 -1
- package/dist/examples/communication-didcomm-payload.d.ts +1 -1
- package/dist/examples/consent-access.d.ts +2 -2
- package/dist/examples/contract-examples.d.ts +9 -9
- package/dist/examples/dataspace-discovery.d.ts +1 -1
- package/dist/examples/didcomm-identity.d.ts +1 -1
- package/dist/examples/ica-verify-response.d.ts +1 -1
- package/dist/examples/index.d.ts +35 -35
- package/dist/examples/individual-controller.d.ts +1 -1
- package/dist/examples/inter-tenant-access-contract.d.ts +1 -1
- package/dist/examples/invoice.d.ts +2 -2
- package/dist/examples/ips-bundle.d.ts +2 -2
- package/dist/examples/legal-organization-verification-transaction.d.ts +1 -1
- package/dist/examples/lifecycle.d.ts +4 -4
- package/dist/examples/organization-did-binding.d.ts +1 -1
- package/dist/examples/organization-role-license.d.ts +3 -3
- package/dist/examples/related-person.d.ts +6 -6
- package/dist/examples/relationship-access.d.ts +1 -1
- package/dist/examples/shared.d.ts +4 -2
- package/dist/examples/shared.js +3 -1
- package/dist/examples/subject-identity-binding.d.ts +1 -1
- package/dist/examples/vital-signs.d.ts +2 -2
- package/dist/index.d.ts +13 -13
- package/dist/interfaces/ICryptography.d.ts +4 -4
- package/dist/interfaces/IProfileOutboxRepository.d.ts +1 -1
- package/dist/interfaces/IWallet.d.ts +2 -2
- package/dist/interfaces/IWalletQueue.d.ts +1 -1
- package/dist/interfaces/index.d.ts +8 -8
- package/dist/models/actor-session.d.ts +1 -1
- package/dist/models/bundle-editor-types.d.ts +22 -22
- package/dist/models/bundle.d.ts +1 -1
- package/dist/models/clinical-sections.d.ts +1 -1
- package/dist/models/comm.d.ts +1 -1
- package/dist/models/communication-attached-bundle-session.d.ts +2 -2
- package/dist/models/confidential-job.d.ts +3 -3
- package/dist/models/confidential-message.d.ts +3 -3
- package/dist/models/confidential-storage.d.ts +1 -1
- package/dist/models/crypto.d.ts +1 -1
- package/dist/models/dataspace-discovery-defaults.d.ts +2 -2
- package/dist/models/device-license.d.ts +1 -1
- package/dist/models/did.d.ts +5 -5
- package/dist/models/gaia-x.d.ts +2 -2
- package/dist/models/identity-bootstrap.d.ts +4 -4
- package/dist/models/index.d.ts +62 -62
- package/dist/models/indexing.d.ts +2 -2
- package/dist/models/individual-onboarding.d.ts +5 -5
- package/dist/models/interoperable-claims/allergy-intolerance-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/care-plan-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/clinical-impression-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/condition-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/coverage-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/device-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/device-use-statement-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/diagnostic-report-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/document-reference-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/encounter-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/flag-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/immunization-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/index.d.ts +27 -27
- package/dist/models/interoperable-claims/invoice-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/location-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/medication-statement-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/observation-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/organization-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/practitioner-role-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/procedure-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/related-person-claims.d.ts +1 -1
- package/dist/models/interoperable-claims.d.ts +1 -1
- package/dist/models/jsonapi.d.ts +1 -1
- package/dist/models/jwe.d.ts +1 -1
- package/dist/models/jws.d.ts +1 -1
- package/dist/models/jwt.d.ts +1 -1
- package/dist/models/oidc4ida.document.model.d.ts +2 -2
- package/dist/models/oidc4ida.electronicRecord.model.d.ts +1 -1
- package/dist/models/oidc4ida.evidence.model.d.ts +2 -2
- package/dist/models/openid-device.d.ts +1 -1
- package/dist/models/operation-outcome.d.ts +1 -1
- package/dist/models/organization-employee-lifecycle.d.ts +2 -2
- package/dist/models/organization-role-license.d.ts +1 -1
- package/dist/models/profile-manager.d.ts +1 -1
- package/dist/models/response.d.ts +1 -1
- package/dist/models/subject-identity.d.ts +1 -1
- package/dist/models/verifiable-credential.d.ts +1 -1
- package/dist/models/wallet.d.ts +1 -1
- package/dist/storage/IVaultRepository.d.ts +1 -1
- package/dist/storage/VaultMemRepository.d.ts +2 -2
- package/dist/storage/index.d.ts +3 -3
- package/dist/utils/activation-request.d.ts +2 -2
- package/dist/utils/allergy-intolerance-entry-editor.d.ts +8 -3
- package/dist/utils/allergy-intolerance-entry-editor.js +7 -4
- package/dist/utils/authority-resolution.d.ts +1 -1
- package/dist/utils/backend-message-manager-mem.d.ts +4 -4
- package/dist/utils/bundle-didcomm-payload.d.ts +1 -1
- package/dist/utils/bundle-document-builder.d.ts +1 -1
- package/dist/utils/bundle-editor-core.d.ts +5 -5
- package/dist/utils/bundle-editor-helpers.d.ts +2 -2
- package/dist/utils/bundle-editor-registry.d.ts +2 -2
- package/dist/utils/bundle-editor.d.ts +23 -23
- package/dist/utils/bundle-entry-editor.d.ts +34 -22
- package/dist/utils/bundle-entry-editor.js +57 -0
- package/dist/utils/bundle-reader.d.ts +2 -2
- package/dist/utils/bundle-reader.js +7 -1
- package/dist/utils/care-plan-entry-editor.d.ts +22 -1
- package/dist/utils/care-plan-entry-editor.js +20 -3
- package/dist/utils/clinical-impression-entry-editor.d.ts +8 -1
- package/dist/utils/clinical-impression-entry-editor.js +6 -0
- package/dist/utils/clinical-resource-converters.d.ts +49 -49
- package/dist/utils/clinical-resource-entry-editor.d.ts +2 -2
- package/dist/utils/communication-attached-bundle-session-helpers.d.ts +3 -3
- package/dist/utils/communication-attached-bundle-session.d.ts +6 -6
- package/dist/utils/communication-bundle-document-request.d.ts +3 -3
- package/dist/utils/communication-consent-access-editor.d.ts +5 -5
- package/dist/utils/communication-didcomm-payload.d.ts +1 -1
- package/dist/utils/communication-document-reference.d.ts +1 -1
- package/dist/utils/communication-editor.d.ts +6 -6
- package/dist/utils/communication-fhir-r4.d.ts +1 -1
- package/dist/utils/communication-identity.d.ts +5 -5
- package/dist/utils/communication-participant-search-test-data.d.ts +1 -1
- package/dist/utils/condition-entry-editor.d.ts +18 -1
- package/dist/utils/condition-entry-editor.js +24 -6
- package/dist/utils/confidential-storage-persistence.d.ts +1 -1
- package/dist/utils/confidential-storage-test-data.d.ts +1 -1
- package/dist/utils/connected-device-fhir-r4.d.ts +1 -1
- package/dist/utils/consent-entry-editor.d.ts +2 -2
- package/dist/utils/content.d.ts +4 -4
- package/dist/utils/coverage-entry-editor.d.ts +13 -1
- package/dist/utils/coverage-entry-editor.js +14 -6
- package/dist/utils/dataspace-discovery-defaults.d.ts +2 -2
- package/dist/utils/dataspace-discovery.d.ts +1 -1
- package/dist/utils/dataspace-protocol.d.ts +2 -2
- package/dist/utils/deterministic-jwk.d.ts +1 -1
- package/dist/utils/device-entry-editor.d.ts +7 -1
- package/dist/utils/device-entry-editor.js +7 -3
- package/dist/utils/device-use-statement-entry-editor.d.ts +6 -1
- package/dist/utils/device-use-statement-entry-editor.js +6 -3
- package/dist/utils/diagnostic-report-entry-editor.d.ts +12 -1
- package/dist/utils/diagnostic-report-entry-editor.js +15 -8
- package/dist/utils/did-resolution.d.ts +2 -2
- package/dist/utils/did-resolution.js +5 -3
- package/dist/utils/did.d.ts +5 -5
- package/dist/utils/did.js +4 -4
- package/dist/utils/didcomm-submit.d.ts +1 -1
- package/dist/utils/didcomm.d.ts +2 -2
- package/dist/utils/discovery-normalization.d.ts +1 -1
- package/dist/utils/document-reference-entry-editor.d.ts +13 -1
- package/dist/utils/document-reference-entry-editor.js +14 -6
- package/dist/utils/employee-entry-editor.d.ts +1 -1
- package/dist/utils/employee.d.ts +1 -1
- package/dist/utils/encounter-entry-editor.d.ts +18 -1
- package/dist/utils/encounter-entry-editor.js +20 -9
- package/dist/utils/fhir-search.d.ts +1 -1
- package/dist/utils/fhir-validator.d.ts +1 -1
- package/dist/utils/flag-entry-editor.d.ts +14 -3
- package/dist/utils/flag-entry-editor.js +14 -7
- package/dist/utils/gw-core-commercial-contract.d.ts +1 -1
- package/dist/utils/gw-core-path.d.ts +1 -1
- package/dist/utils/immunization-entry-editor.d.ts +45 -3
- package/dist/utils/immunization-entry-editor.js +57 -17
- package/dist/utils/index.d.ts +125 -125
- package/dist/utils/individual-bundle-vault.d.ts +4 -4
- package/dist/utils/individual-form-pdf.d.ts +1 -1
- package/dist/utils/individual-onboarding-acceptance-credential.d.ts +1 -1
- package/dist/utils/individual-onboarding-document-reference.d.ts +1 -1
- package/dist/utils/individual-onboarding-editor.d.ts +1 -1
- package/dist/utils/individual-organization-claims.d.ts +1 -1
- package/dist/utils/individual-organization-kyc.d.ts +2 -2
- package/dist/utils/inter-tenant-access-contract.d.ts +2 -2
- package/dist/utils/interoperable-resource-operation.d.ts +2 -2
- package/dist/utils/invoice-bundle.d.ts +1 -1
- package/dist/utils/jwk-thumbprint.d.ts +1 -1
- package/dist/utils/jwt-signer.d.ts +3 -3
- package/dist/utils/jwt.d.ts +1 -1
- package/dist/utils/legal-organization-onboarding-editor.d.ts +2 -2
- package/dist/utils/legal-organization-onboarding.d.ts +2 -2
- package/dist/utils/legal-organization-verification-transaction.d.ts +3 -3
- package/dist/utils/license-commercial-search.d.ts +2 -2
- package/dist/utils/license-list-search.d.ts +1 -1
- package/dist/utils/license-offer-order.d.ts +1 -1
- package/dist/utils/license.d.ts +2 -2
- package/dist/utils/lifecycle-result-reader.d.ts +1 -1
- package/dist/utils/manager-error.d.ts +1 -1
- package/dist/utils/medication-claim-helpers.d.ts +1 -1
- package/dist/utils/medication-statement-entry-editor.d.ts +30 -7
- package/dist/utils/medication-statement-entry-editor.js +28 -12
- package/dist/utils/observation-component-entry-editor.d.ts +19 -2
- package/dist/utils/observation-component-entry-editor.js +42 -15
- package/dist/utils/observation-entry-editor.d.ts +9 -1
- package/dist/utils/observation-entry-editor.js +7 -0
- package/dist/utils/organization-authorization-urn.d.ts +1 -1
- package/dist/utils/organization-did-binding.d.ts +1 -1
- package/dist/utils/organization-employee-lifecycle.d.ts +1 -1
- package/dist/utils/organization-role-license.d.ts +1 -1
- package/dist/utils/organization-test-network-credential.d.ts +1 -1
- package/dist/utils/procedure-entry-editor.d.ts +23 -5
- package/dist/utils/procedure-entry-editor.js +21 -8
- package/dist/utils/profile-manager-mem.d.ts +5 -5
- package/dist/utils/profile-outbox-memory-repository.d.ts +2 -2
- package/dist/utils/related-person-entry-editor.d.ts +7 -1
- package/dist/utils/related-person-entry-editor.js +7 -2
- package/dist/utils/smart-authorization-profile.d.ts +1 -1
- package/dist/utils/smart-scope.d.ts +2 -2
- package/dist/utils/subject-identity-binding.d.ts +2 -2
- package/dist/utils/subject-identity.d.ts +3 -3
- package/dist/utils/test-network-organization-credentials.d.ts +1 -1
- package/dist/utils/vital-sign-day-batch.d.ts +1 -1
- package/dist/utils/vital-sign-entry-editor.d.ts +8 -2
- package/dist/utils/vital-sign-entry-editor.js +10 -5
- package/dist/utils/vp-token.d.ts +1 -1
- package/dist/utils/wallet-mem.d.ts +6 -6
- package/dist/utils/wallet-memory-queue.d.ts +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CompactKycGender } from '../constants/kyc-gender';
|
|
2
|
-
import { IndividualOrganizationKycPayload } from '../models/individual-onboarding';
|
|
1
|
+
import { CompactKycGender } from '../constants/kyc-gender.js';
|
|
2
|
+
import { IndividualOrganizationKycPayload } from '../models/individual-onboarding.js';
|
|
3
3
|
/**
|
|
4
4
|
* Input used to derive canonical `org.schema` claims for the current
|
|
5
5
|
* individual-organization onboarding flow.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { InterTenantAccessContractClaims, InterTenantContractAuthorizationConsentCriteria, InterTenantAccessContractMatchCriteria, InterTenantAccessContractSummary } from '../models/inter-tenant-access-contract';
|
|
2
|
-
import type { VerifiableCredentialV2 } from '../models/verifiable-credential';
|
|
1
|
+
import type { InterTenantAccessContractClaims, InterTenantContractAuthorizationConsentCriteria, InterTenantAccessContractMatchCriteria, InterTenantAccessContractSummary } from '../models/inter-tenant-access-contract.js';
|
|
2
|
+
import type { VerifiableCredentialV2 } from '../models/verifiable-credential.js';
|
|
3
3
|
type ContractLike = Record<string, any>;
|
|
4
4
|
/**
|
|
5
5
|
* Builds the canonical FHIR Contract. Signer entries identify legally
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FhirResource } from '../convert/convert-shared';
|
|
2
|
-
import { type SearchParameterPrimitive } from './fhir-search';
|
|
1
|
+
import type { FhirResource } from '../convert/convert-shared.js';
|
|
2
|
+
import { type SearchParameterPrimitive } from './fhir-search.js';
|
|
3
3
|
export declare const InteroperableOperationMethods: Readonly<{
|
|
4
4
|
readonly Post: "POST";
|
|
5
5
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChargeItemClaims, ChargeItemClaimsContextualized, InvoiceClaims, InvoiceClaimsContextualized } from '../models/interoperable-claims/invoice-claims';
|
|
1
|
+
import { ChargeItemClaims, ChargeItemClaimsContextualized, InvoiceClaims, InvoiceClaimsContextualized } from '../models/interoperable-claims/invoice-claims.js';
|
|
2
2
|
export type InvoiceBundleDocument = Readonly<{
|
|
3
3
|
documentId: string;
|
|
4
4
|
contentType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type JoseSignatureAlgorithm } from '../constants/cryptography';
|
|
2
|
-
import type { ICryptography } from '../interfaces/ICryptography';
|
|
3
|
-
import type { PublicJwk, ClassicPublicJwk } from '../interfaces/Cryptography.types';
|
|
1
|
+
import { type JoseSignatureAlgorithm } from '../constants/cryptography.js';
|
|
2
|
+
import type { ICryptography } from '../interfaces/ICryptography.js';
|
|
3
|
+
import type { PublicJwk, ClassicPublicJwk } from '../interfaces/Cryptography.types.js';
|
|
4
4
|
export type JwtSignerMode = 'deterministic' | 'random';
|
|
5
5
|
export type JwtSignerMaterial = {
|
|
6
6
|
kind: 'classic-ec';
|
package/dist/utils/jwt.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { LegalOrganizationVerificationRouting, LegalOrganizationVerificationTransactionController, LegalOrganizationVerificationTransactionInput, LegalOrganizationVerificationTransactionOrganization, LegalOrganizationVerificationRepresentativePayload } from './legal-organization-verification-transaction';
|
|
2
|
-
import { type ValidateLegalOrganizationOnboardingClaimsOptions } from './legal-organization-onboarding';
|
|
1
|
+
import type { LegalOrganizationVerificationRouting, LegalOrganizationVerificationTransactionController, LegalOrganizationVerificationTransactionInput, LegalOrganizationVerificationTransactionOrganization, LegalOrganizationVerificationRepresentativePayload } from './legal-organization-verification-transaction.js';
|
|
2
|
+
import { type ValidateLegalOrganizationOnboardingClaimsOptions } from './legal-organization-onboarding.js';
|
|
3
3
|
export type LegalOrganizationFormTemplateFields = Readonly<{
|
|
4
4
|
legalName?: string;
|
|
5
5
|
legalIdentifierType?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ClaimsOrganizationSchemaorg } from '../constants/schemaorg';
|
|
2
|
-
import { ClaimsRecord } from '../models/resource-document';
|
|
1
|
+
import { ClaimsOrganizationSchemaorg } from '../constants/schemaorg.js';
|
|
2
|
+
import { ClaimsRecord } from '../models/resource-document.js';
|
|
3
3
|
export type LegalOrganizationOnboardingErrorCode = 'MISSING_IDENTIFIER_OR_TAX_ID' | 'EXPLICIT_ALTERNATE_NAME_NOT_ALLOWED';
|
|
4
4
|
export type LegalOrganizationOnboardingValidationError = {
|
|
5
5
|
code: LegalOrganizationOnboardingErrorCode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BundleJsonApi } from '../models/bundle';
|
|
2
|
-
import type { ClaimsRecord } from '../models/resource-document';
|
|
3
|
-
import type { VerifiableCredentialV2 } from '../models/verifiable-credential';
|
|
1
|
+
import type { BundleJsonApi } from '../models/bundle.js';
|
|
2
|
+
import type { ClaimsRecord } from '../models/resource-document.js';
|
|
3
|
+
import type { VerifiableCredentialV2 } from '../models/verifiable-credential.js';
|
|
4
4
|
/**
|
|
5
5
|
* Canonical business entry type for the first host-side onboarding step that
|
|
6
6
|
* asks GW CORE to forward a legal-organization verification request to ICA.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { LicenseClaims } from './license';
|
|
2
|
-
import { type LicenseOfferPreview, type LicenseOrderSummary } from './license-offer-order';
|
|
1
|
+
import type { LicenseClaims } from './license.js';
|
|
2
|
+
import { type LicenseOfferPreview, type LicenseOrderSummary } from './license-offer-order.js';
|
|
3
3
|
export declare const LicenseCommercialSearchEntryType: Readonly<{
|
|
4
4
|
readonly Offer: "Offer-search-request-v1.0";
|
|
5
5
|
readonly Order: "Order-search-request-v1.0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildLicenseSearchEntry, type LicenseClaims, type LicenseSearchInput, type LicenseStatus } from './license';
|
|
1
|
+
import { buildLicenseSearchEntry, type LicenseClaims, type LicenseSearchInput, type LicenseStatus } from './license.js';
|
|
2
2
|
/**
|
|
3
3
|
* High-level filter state for license list/search screens.
|
|
4
4
|
*
|
package/dist/utils/license.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DeviceAppType, DeviceUserClass } from '../constants/device';
|
|
2
|
-
import type { DeviceBinding, DeviceLicense } from '../models/device-license';
|
|
1
|
+
import { DeviceAppType, DeviceUserClass } from '../constants/device.js';
|
|
2
|
+
import type { DeviceBinding, DeviceLicense } from '../models/device-license.js';
|
|
3
3
|
/** Default simultaneous installation allowance for one professional/member seat. */
|
|
4
4
|
export declare const DEFAULT_LICENSE_DEVICE_ALLOWANCE = 2;
|
|
5
5
|
/** Resolves an explicit positive allowance or the backwards-compatible default. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BundleReaderEntrySummary, type BundleReaderResponseAnalysis } from './bundle-reader';
|
|
1
|
+
import { type BundleReaderEntrySummary, type BundleReaderResponseAnalysis } from './bundle-reader.js';
|
|
2
2
|
export type LifecycleResultEntrySummary = BundleReaderEntrySummary;
|
|
3
3
|
export type LifecycleResultAnalysis = BundleReaderResponseAnalysis;
|
|
4
4
|
/**
|
|
@@ -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 MedicationStatement resource entry.
|
|
11
11
|
*
|
|
@@ -31,10 +31,15 @@ export declare class MedicationStatementEntryEditor extends ClinicalResourceEntr
|
|
|
31
31
|
setEffective(value?: string | null): this;
|
|
32
32
|
/** Returns the effective date or period token. */
|
|
33
33
|
getEffective(): string | undefined;
|
|
34
|
-
/** Sets the
|
|
34
|
+
/** Sets the medication code from `code`, `system|code`, or separate `system, code` arguments. */
|
|
35
35
|
setCode(code?: string | null): this;
|
|
36
|
-
|
|
36
|
+
setCode(codeSystem: string, codeValue: string): this;
|
|
37
|
+
/** Returns only the medication code value. */
|
|
37
38
|
getCode(): string | undefined;
|
|
39
|
+
setCodeSystem(system?: string | null): this;
|
|
40
|
+
getCodeSystem(): string | undefined;
|
|
41
|
+
setSystemAndCode(system?: string | null, code?: string | null): this;
|
|
42
|
+
getSystemAndCode(): string | undefined;
|
|
38
43
|
/** Sets the official `medication` reference SearchParameter value for `medication.reference`. */
|
|
39
44
|
setMedication(reference?: string | null): this;
|
|
40
45
|
/** Returns the official `medication` reference SearchParameter value. */
|
|
@@ -55,10 +60,14 @@ export declare class MedicationStatementEntryEditor extends ClinicalResourceEntr
|
|
|
55
60
|
setAdherence(value?: string | null): this;
|
|
56
61
|
/** Returns the official R5 `adherence` token SearchParameter value. */
|
|
57
62
|
getAdherence(): string | undefined;
|
|
58
|
-
/** Convenience
|
|
63
|
+
/** Convenience accessor for the R5 adherence coding. */
|
|
59
64
|
setAdherenceCode(value?: string | null): this;
|
|
60
|
-
|
|
65
|
+
setAdherenceCode(codeSystem: string, codeValue: string): this;
|
|
61
66
|
getAdherenceCode(): string | undefined;
|
|
67
|
+
setAdherenceCodeSystem(system?: string | null): this;
|
|
68
|
+
getAdherenceCodeSystem(): string | undefined;
|
|
69
|
+
setAdherenceSystemAndCode(system?: string | null, code?: string | null): this;
|
|
70
|
+
getAdherenceSystemAndCode(): string | undefined;
|
|
62
71
|
/** Sets local/manual text for the R5 adherence CodeableConcept. */
|
|
63
72
|
setAdherenceCodeTextLocal(value?: string | null): this;
|
|
64
73
|
/** Returns local/manual text for the R5 adherence CodeableConcept. */
|
|
@@ -83,10 +92,24 @@ export declare class MedicationStatementEntryEditor extends ClinicalResourceEntr
|
|
|
83
92
|
setDoseQuantityValue(value?: number | null): this;
|
|
84
93
|
/** Returns the numeric dose quantity value. */
|
|
85
94
|
getDoseQuantityValue(): number | undefined;
|
|
86
|
-
/** Sets the dose quantity unit
|
|
95
|
+
/** Sets the dose quantity unit from `code`, `system|code`, or separate `system, code` arguments. */
|
|
87
96
|
setDoseQuantityUnit(value?: string | null): this;
|
|
88
|
-
|
|
97
|
+
setDoseQuantityUnit(codeSystem: string, codeValue: string): this;
|
|
98
|
+
/** Returns the compact dose quantity unit token. */
|
|
89
99
|
getDoseQuantityUnit(): string | undefined;
|
|
100
|
+
getDoseQuantityUnitCode(): string | undefined;
|
|
101
|
+
setDoseQuantityUnitCodeSystem(system?: string | null): this;
|
|
102
|
+
getDoseQuantityUnitCodeSystem(): string | undefined;
|
|
103
|
+
setDoseQuantityUnitSystemAndCode(system?: string | null, code?: string | null): this;
|
|
104
|
+
getDoseQuantityUnitSystemAndCode(): string | undefined;
|
|
105
|
+
setDosageRoute(value?: string | null): this;
|
|
106
|
+
setDosageRoute(codeSystem: string, codeValue: string): this;
|
|
107
|
+
getDosageRoute(): string | undefined;
|
|
108
|
+
getDosageRouteCode(): string | undefined;
|
|
109
|
+
setDosageRouteCodeSystem(system?: string | null): this;
|
|
110
|
+
getDosageRouteCodeSystem(): string | undefined;
|
|
111
|
+
setDosageRouteSystemAndCode(system?: string | null, code?: string | null): this;
|
|
112
|
+
getDosageRouteSystemAndCode(): string | undefined;
|
|
90
113
|
/** Sets the timing frequency for structured dosage authoring. */
|
|
91
114
|
setTimingFrequency(value?: number | null): this;
|
|
92
115
|
/** Returns the timing frequency. */
|
|
@@ -34,10 +34,13 @@ export class MedicationStatementEntryEditor extends ClinicalResourceEntryEditor
|
|
|
34
34
|
setEffective(value) { return this.setScalarClaim(MedicationStatementClaim.Effective, value); }
|
|
35
35
|
/** Returns the effective date or period token. */
|
|
36
36
|
getEffective() { return this.getScalarClaim(MedicationStatementClaim.Effective); }
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
setCode(codeOrSystem, codeValue) { return this.setCodingTokenCode(MedicationStatementClaim.Code, codeOrSystem, codeValue); }
|
|
38
|
+
/** Returns only the medication code value. */
|
|
39
|
+
getCode() { return this.getCodingTokenCode(MedicationStatementClaim.Code); }
|
|
40
|
+
setCodeSystem(system) { return this.setCodingTokenSystem(MedicationStatementClaim.Code, system); }
|
|
41
|
+
getCodeSystem() { return this.getCodingTokenSystem(MedicationStatementClaim.Code); }
|
|
42
|
+
setSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(MedicationStatementClaim.Code, system, code); }
|
|
43
|
+
getSystemAndCode() { return this.getCodingTokenSystemAndCode(MedicationStatementClaim.Code); }
|
|
41
44
|
/** Sets the official `medication` reference SearchParameter value for `medication.reference`. */
|
|
42
45
|
setMedication(reference) { return this.setScalarClaim(MedicationStatementClaim.Medication, reference); }
|
|
43
46
|
/** Returns the official `medication` reference SearchParameter value. */
|
|
@@ -61,10 +64,12 @@ export class MedicationStatementEntryEditor extends ClinicalResourceEntryEditor
|
|
|
61
64
|
setAdherence(value) { return this.setScalarClaim(MedicationStatementClaim.Adherence, value); }
|
|
62
65
|
/** Returns the official R5 `adherence` token SearchParameter value. */
|
|
63
66
|
getAdherence() { return this.getScalarClaim(MedicationStatementClaim.Adherence); }
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
setAdherenceCode(valueOrSystem, codeValue) { return this.setCodingTokenCode(MedicationStatementClaim.Adherence, valueOrSystem, codeValue); }
|
|
68
|
+
getAdherenceCode() { return this.getCodingTokenCode(MedicationStatementClaim.Adherence); }
|
|
69
|
+
setAdherenceCodeSystem(system) { return this.setCodingTokenSystem(MedicationStatementClaim.Adherence, system); }
|
|
70
|
+
getAdherenceCodeSystem() { return this.getCodingTokenSystem(MedicationStatementClaim.Adherence); }
|
|
71
|
+
setAdherenceSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(MedicationStatementClaim.Adherence, system, code); }
|
|
72
|
+
getAdherenceSystemAndCode() { return this.getCodingTokenSystemAndCode(MedicationStatementClaim.Adherence); }
|
|
68
73
|
/** Sets local/manual text for the R5 adherence CodeableConcept. */
|
|
69
74
|
setAdherenceCodeTextLocal(value) { return this.setScalarClaim(MedicationStatementClaim.AdherenceText, value); }
|
|
70
75
|
/** Returns local/manual text for the R5 adherence CodeableConcept. */
|
|
@@ -89,10 +94,21 @@ export class MedicationStatementEntryEditor extends ClinicalResourceEntryEditor
|
|
|
89
94
|
setDoseQuantityValue(value) { return this.setNumberClaim(MedicationStatementClaim.DoseQuantityValue, value); }
|
|
90
95
|
/** Returns the numeric dose quantity value. */
|
|
91
96
|
getDoseQuantityValue() { return this.getNumberClaim(MedicationStatementClaim.DoseQuantityValue); }
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
97
|
+
setDoseQuantityUnit(valueOrSystem, codeValue) { return this.setCodingTokenCode(MedicationStatementClaim.DoseQuantityUnit, valueOrSystem, codeValue); }
|
|
98
|
+
/** Returns the compact dose quantity unit token. */
|
|
99
|
+
getDoseQuantityUnit() { return this.getCodingTokenSystemAndCode(MedicationStatementClaim.DoseQuantityUnit); }
|
|
100
|
+
getDoseQuantityUnitCode() { return this.getCodingTokenCode(MedicationStatementClaim.DoseQuantityUnit); }
|
|
101
|
+
setDoseQuantityUnitCodeSystem(system) { return this.setCodingTokenSystem(MedicationStatementClaim.DoseQuantityUnit, system); }
|
|
102
|
+
getDoseQuantityUnitCodeSystem() { return this.getCodingTokenSystem(MedicationStatementClaim.DoseQuantityUnit); }
|
|
103
|
+
setDoseQuantityUnitSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(MedicationStatementClaim.DoseQuantityUnit, system, code); }
|
|
104
|
+
getDoseQuantityUnitSystemAndCode() { return this.getCodingTokenSystemAndCode(MedicationStatementClaim.DoseQuantityUnit); }
|
|
105
|
+
setDosageRoute(valueOrSystem, codeValue) { return this.setCodingTokenCode(MedicationStatementClaim.DosageRoute, valueOrSystem, codeValue); }
|
|
106
|
+
getDosageRoute() { return this.getCodingTokenSystemAndCode(MedicationStatementClaim.DosageRoute); }
|
|
107
|
+
getDosageRouteCode() { return this.getCodingTokenCode(MedicationStatementClaim.DosageRoute); }
|
|
108
|
+
setDosageRouteCodeSystem(system) { return this.setCodingTokenSystem(MedicationStatementClaim.DosageRoute, system); }
|
|
109
|
+
getDosageRouteCodeSystem() { return this.getCodingTokenSystem(MedicationStatementClaim.DosageRoute); }
|
|
110
|
+
setDosageRouteSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(MedicationStatementClaim.DosageRoute, system, code); }
|
|
111
|
+
getDosageRouteSystemAndCode() { return this.getCodingTokenSystemAndCode(MedicationStatementClaim.DosageRoute); }
|
|
96
112
|
/** Sets the timing frequency for structured dosage authoring. */
|
|
97
113
|
setTimingFrequency(value) { return this.setNumberClaim(MedicationStatementClaim.TimingFrequency, value); }
|
|
98
114
|
/** Returns the timing frequency. */
|
|
@@ -5,8 +5,8 @@
|
|
|
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 { type CodingDescriptor } from '../constants/vital-signs';
|
|
9
|
-
import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
|
|
8
|
+
import { type CodingDescriptor } from '../constants/vital-signs.js';
|
|
9
|
+
import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js';
|
|
10
10
|
/**
|
|
11
11
|
* Typed editor for one staged ObservationComponent resource entry.
|
|
12
12
|
*
|
|
@@ -15,11 +15,14 @@ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor';
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class ObservationComponentEntryEditor extends ClinicalResourceEntryEditor {
|
|
17
17
|
setCode(code: CodingDescriptor | string): this;
|
|
18
|
+
setCode(codeSystem: string, codeValue: string): this;
|
|
18
19
|
getCode(): string | undefined;
|
|
19
20
|
setCodeSystem(system: string): this;
|
|
20
21
|
getCodeSystem(): string | undefined;
|
|
21
22
|
setCodeValue(value: string): this;
|
|
22
23
|
getCodeValue(): string | undefined;
|
|
24
|
+
setSystemAndCode(system?: string | null, code?: string | null): this;
|
|
25
|
+
getSystemAndCode(): string | undefined;
|
|
23
26
|
setCodeDisplay(display: string): this;
|
|
24
27
|
getCodeDisplay(): string | undefined;
|
|
25
28
|
/**
|
|
@@ -36,6 +39,14 @@ export declare class ObservationComponentEntryEditor extends ClinicalResourceEnt
|
|
|
36
39
|
* English/international display when present.
|
|
37
40
|
*/
|
|
38
41
|
getCodeTextLocal(): string | undefined;
|
|
42
|
+
setValueConcept(value?: string | null): this;
|
|
43
|
+
setValueConcept(codeSystem: string, codeValue: string): this;
|
|
44
|
+
getValueConcept(): string | undefined;
|
|
45
|
+
getValueConceptCode(): string | undefined;
|
|
46
|
+
setValueConceptCodeSystem(system?: string | null): this;
|
|
47
|
+
getValueConceptCodeSystem(): string | undefined;
|
|
48
|
+
setValueConceptSystemAndCode(system?: string | null, code?: string | null): this;
|
|
49
|
+
getValueConceptSystemAndCode(): string | undefined;
|
|
39
50
|
/** Compatibility alias for older examples/tests. Prefer `setCodeTextLocal(...)`. */
|
|
40
51
|
setLocalText(text: string): this;
|
|
41
52
|
/** Compatibility alias for older examples/tests. Prefer `getCodeTextLocal()`. */
|
|
@@ -43,7 +54,13 @@ export declare class ObservationComponentEntryEditor extends ClinicalResourceEnt
|
|
|
43
54
|
setValueQuantityNumber(value: number): this;
|
|
44
55
|
getValueQuantityNumber(): number | undefined;
|
|
45
56
|
setValueQuantityUnit(unit: CodingDescriptor | string): this;
|
|
57
|
+
setValueQuantityUnit(codeSystem: string, codeValue: string): this;
|
|
46
58
|
getValueQuantityUnit(): string | undefined;
|
|
59
|
+
getValueQuantityUnitCode(): string | undefined;
|
|
60
|
+
setValueQuantityUnitCodeSystem(system?: string | null): this;
|
|
61
|
+
getValueQuantityUnitCodeSystem(): string | undefined;
|
|
62
|
+
setValueQuantityUnitSystemAndCode(system?: string | null, code?: string | null): this;
|
|
63
|
+
getValueQuantityUnitSystemAndCode(): string | undefined;
|
|
47
64
|
setValueString(value: string): this;
|
|
48
65
|
getValueString(): string | undefined;
|
|
49
66
|
setValueDate(value: string): this;
|
|
@@ -8,32 +8,46 @@ import { ClinicalResourceEntryEditor } from './clinical-resource-entry-editor.js
|
|
|
8
8
|
* resource at a time without exposing bundle-internal plumbing.
|
|
9
9
|
*/
|
|
10
10
|
export class ObservationComponentEntryEditor extends ClinicalResourceEntryEditor {
|
|
11
|
-
setCode(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
this.setClaim(ObservationClaim.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
11
|
+
setCode(codeOrSystem, codeValue) {
|
|
12
|
+
if (typeof codeOrSystem !== 'string') {
|
|
13
|
+
this.setCodingTokenSystemAndCode(ObservationClaim.Code, codeOrSystem.system, codeOrSystem.code);
|
|
14
|
+
this.setClaim(ObservationClaim.CodeSystem, codeOrSystem.system);
|
|
15
|
+
this.setClaim(ObservationClaim.CodeValue, codeOrSystem.code);
|
|
16
|
+
if (codeOrSystem.display)
|
|
17
|
+
this.setClaim(ObservationClaim.CodeDisplay, codeOrSystem.display);
|
|
18
|
+
return this;
|
|
20
19
|
}
|
|
20
|
+
this.setCodingTokenCode(ObservationClaim.Code, codeOrSystem, codeValue);
|
|
21
|
+
this.setClaim(ObservationClaim.CodeSystem, this.getCodingTokenSystem(ObservationClaim.Code) || '');
|
|
22
|
+
this.setClaim(ObservationClaim.CodeValue, this.getCodingTokenCode(ObservationClaim.Code) || '');
|
|
21
23
|
return this;
|
|
22
24
|
}
|
|
23
25
|
getCode() {
|
|
24
|
-
return normalizeOptionalIdentifier(this.getClaim(ObservationClaim.
|
|
26
|
+
return normalizeOptionalIdentifier(this.getClaim(ObservationClaim.CodeValue))
|
|
27
|
+
|| this.getCodingTokenCode(ObservationClaim.Code);
|
|
25
28
|
}
|
|
26
29
|
setCodeSystem(system) {
|
|
30
|
+
this.setCodingTokenSystem(ObservationClaim.Code, system);
|
|
27
31
|
return this.setClaim(ObservationClaim.CodeSystem, String(system).trim());
|
|
28
32
|
}
|
|
29
33
|
getCodeSystem() {
|
|
30
34
|
return normalizeOptionalIdentifier(this.getClaim(ObservationClaim.CodeSystem));
|
|
31
35
|
}
|
|
32
36
|
setCodeValue(value) {
|
|
37
|
+
this.setCodingTokenCode(ObservationClaim.Code, value);
|
|
33
38
|
return this.setClaim(ObservationClaim.CodeValue, String(value).trim());
|
|
34
39
|
}
|
|
35
40
|
getCodeValue() {
|
|
36
|
-
return
|
|
41
|
+
return this.getCode();
|
|
42
|
+
}
|
|
43
|
+
setSystemAndCode(system, code) {
|
|
44
|
+
this.setCodingTokenSystemAndCode(ObservationClaim.Code, system, code);
|
|
45
|
+
this.setClaim(ObservationClaim.CodeSystem, String(system || '').trim());
|
|
46
|
+
this.setClaim(ObservationClaim.CodeValue, String(code || '').trim());
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
getSystemAndCode() {
|
|
50
|
+
return this.getCodingTokenSystemAndCode(ObservationClaim.Code);
|
|
37
51
|
}
|
|
38
52
|
setCodeDisplay(display) {
|
|
39
53
|
return this.setClaim(ObservationClaim.CodeDisplay, String(display).trim());
|
|
@@ -59,6 +73,13 @@ export class ObservationComponentEntryEditor extends ClinicalResourceEntryEditor
|
|
|
59
73
|
getCodeTextLocal() {
|
|
60
74
|
return normalizeOptionalIdentifier(this.getClaim(ObservationClaim.CodeText));
|
|
61
75
|
}
|
|
76
|
+
setValueConcept(valueOrSystem, codeValue) { return this.setCodingTokenCode(ObservationClaim.ValueConcept, valueOrSystem, codeValue); }
|
|
77
|
+
getValueConcept() { return this.getCodingTokenSystemAndCode(ObservationClaim.ValueConcept); }
|
|
78
|
+
getValueConceptCode() { return this.getCodingTokenCode(ObservationClaim.ValueConcept); }
|
|
79
|
+
setValueConceptCodeSystem(system) { return this.setCodingTokenSystem(ObservationClaim.ValueConcept, system); }
|
|
80
|
+
getValueConceptCodeSystem() { return this.getCodingTokenSystem(ObservationClaim.ValueConcept); }
|
|
81
|
+
setValueConceptSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(ObservationClaim.ValueConcept, system, code); }
|
|
82
|
+
getValueConceptSystemAndCode() { return this.getCodingTokenSystemAndCode(ObservationClaim.ValueConcept); }
|
|
62
83
|
/** Compatibility alias for older examples/tests. Prefer `setCodeTextLocal(...)`. */
|
|
63
84
|
setLocalText(text) {
|
|
64
85
|
return this.setCodeTextLocal(text);
|
|
@@ -77,13 +98,19 @@ export class ObservationComponentEntryEditor extends ClinicalResourceEntryEditor
|
|
|
77
98
|
const numeric = Number(raw);
|
|
78
99
|
return Number.isFinite(numeric) ? numeric : undefined;
|
|
79
100
|
}
|
|
80
|
-
setValueQuantityUnit(
|
|
81
|
-
|
|
82
|
-
|
|
101
|
+
setValueQuantityUnit(unitOrSystem, codeValue) {
|
|
102
|
+
return typeof unitOrSystem === 'string'
|
|
103
|
+
? this.setCodingTokenCode(ObservationClaim.ValueQuantityUnit, unitOrSystem, codeValue)
|
|
104
|
+
: this.setCodingTokenSystemAndCode(ObservationClaim.ValueQuantityUnit, unitOrSystem.system, unitOrSystem.code);
|
|
83
105
|
}
|
|
84
106
|
getValueQuantityUnit() {
|
|
85
|
-
return
|
|
107
|
+
return this.getCodingTokenSystemAndCode(ObservationClaim.ValueQuantityUnit);
|
|
86
108
|
}
|
|
109
|
+
getValueQuantityUnitCode() { return this.getCodingTokenCode(ObservationClaim.ValueQuantityUnit); }
|
|
110
|
+
setValueQuantityUnitCodeSystem(system) { return this.setCodingTokenSystem(ObservationClaim.ValueQuantityUnit, system); }
|
|
111
|
+
getValueQuantityUnitCodeSystem() { return this.getCodingTokenSystem(ObservationClaim.ValueQuantityUnit); }
|
|
112
|
+
setValueQuantityUnitSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(ObservationClaim.ValueQuantityUnit, system, code); }
|
|
113
|
+
getValueQuantityUnitSystemAndCode() { return this.getCodingTokenSystemAndCode(ObservationClaim.ValueQuantityUnit); }
|
|
87
114
|
setValueString(value) {
|
|
88
115
|
return this.setClaim(ObservationClaim.ValueString, String(value).trim());
|
|
89
116
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VitalSignEntryEditor } from './vital-sign-entry-editor';
|
|
1
|
+
import { VitalSignEntryEditor } from './vital-sign-entry-editor.js';
|
|
2
2
|
/**
|
|
3
3
|
* Typed editor for one staged Observation resource entry.
|
|
4
4
|
*
|
|
@@ -6,6 +6,14 @@ import { VitalSignEntryEditor } from './vital-sign-entry-editor';
|
|
|
6
6
|
* accessors in a bundle authoring flow.
|
|
7
7
|
*/
|
|
8
8
|
export declare class ObservationEntryEditor extends VitalSignEntryEditor {
|
|
9
|
+
setMethod(value?: string | null): this;
|
|
10
|
+
setMethod(codeSystem: string, codeValue: string): this;
|
|
11
|
+
getMethod(): string | undefined;
|
|
12
|
+
getMethodCode(): string | undefined;
|
|
13
|
+
setMethodCodeSystem(system?: string | null): this;
|
|
14
|
+
getMethodCodeSystem(): string | undefined;
|
|
15
|
+
setMethodSystemAndCode(system?: string | null, code?: string | null): this;
|
|
16
|
+
getMethodSystemAndCode(): string | undefined;
|
|
9
17
|
/** Writes the based-on reference. */
|
|
10
18
|
setBasedOn(reference: string): this;
|
|
11
19
|
/** Reads the based-on reference. */
|
|
@@ -18,6 +18,13 @@ import { registerBundleEntryEditor } from './bundle-editor-registry.js';
|
|
|
18
18
|
* accessors in a bundle authoring flow.
|
|
19
19
|
*/
|
|
20
20
|
export class ObservationEntryEditor extends VitalSignEntryEditor {
|
|
21
|
+
setMethod(valueOrSystem, codeValue) { return this.setCodingTokenCode(ObservationClaim.Method, valueOrSystem, codeValue); }
|
|
22
|
+
getMethod() { return this.getCodingTokenSystemAndCode(ObservationClaim.Method); }
|
|
23
|
+
getMethodCode() { return this.getCodingTokenCode(ObservationClaim.Method); }
|
|
24
|
+
setMethodCodeSystem(system) { return this.setCodingTokenSystem(ObservationClaim.Method, system); }
|
|
25
|
+
getMethodCodeSystem() { return this.getCodingTokenSystem(ObservationClaim.Method); }
|
|
26
|
+
setMethodSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(ObservationClaim.Method, system, code); }
|
|
27
|
+
getMethodSystemAndCode() { return this.getCodingTokenSystemAndCode(ObservationClaim.Method); }
|
|
21
28
|
/** Writes the based-on reference. */
|
|
22
29
|
setBasedOn(reference) {
|
|
23
30
|
return this.setClaim(ObservationClaim.BasedOn, String(reference).trim());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BundleJsonApi } from '../models/bundle';
|
|
1
|
+
import type { BundleJsonApi } from '../models/bundle.js';
|
|
2
2
|
export declare const OrganizationDidBindingEntryTypes: Readonly<{
|
|
3
3
|
readonly Request: "Organization-did-binding-request-v1.0";
|
|
4
4
|
readonly Response: "Organization-did-binding-response-v1.0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EmployeeDeviceRevocationTarget, OrganizationEmployeeLifecycleRecord } from '../models/organization-employee-lifecycle';
|
|
1
|
+
import type { EmployeeDeviceRevocationTarget, OrganizationEmployeeLifecycleRecord } from '../models/organization-employee-lifecycle.js';
|
|
2
2
|
/** Builds the exact identity/auth revoke request body from a typed target. */
|
|
3
3
|
export declare function buildEmployeeDeviceRevocationBody(target: EmployeeDeviceRevocationTarget): Readonly<Record<string, string>>;
|
|
4
4
|
/** Reads an employee activation credential from canonical and legacy GW envelopes. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { OrganizationRoleLicense, OrganizationRoleLicenseSectorPolicy } from '../models/organization-role-license';
|
|
1
|
+
import type { OrganizationRoleLicense, OrganizationRoleLicenseSectorPolicy } from '../models/organization-role-license.js';
|
|
2
2
|
export type OrganizationRoleLicenseIdentity = Readonly<{
|
|
3
3
|
jurisdiction: string;
|
|
4
4
|
organizationOfficialId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VerifiableCredentialV2 } from '../models/verifiable-credential';
|
|
1
|
+
import type { VerifiableCredentialV2 } from '../models/verifiable-credential.js';
|
|
2
2
|
/** Canonical protected-code algorithm used by postal activation bindings. */
|
|
3
3
|
export declare const POSTAL_ACTIVATION_CODE_BINDING_ALGORITHM: "scrypt-v1";
|
|
4
4
|
/** Lifecycle for a separate postal-address verification credential. */
|
|
@@ -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 Procedure resource entry.
|
|
4
4
|
*
|
|
@@ -24,10 +24,15 @@ export declare class ProcedureEntryEditor extends ClinicalResourceEntryEditor {
|
|
|
24
24
|
setDate(date?: string | null): this;
|
|
25
25
|
/** Reads the procedure date. */
|
|
26
26
|
getDate(): string | undefined;
|
|
27
|
-
/** Writes the procedure code. */
|
|
27
|
+
/** Writes the procedure code from `code`, `system|code`, or separate `system, code` arguments. */
|
|
28
28
|
setCode(code?: string | null): this;
|
|
29
|
-
|
|
29
|
+
setCode(codeSystem: string, codeValue: string): this;
|
|
30
|
+
/** Reads only the procedure code value. */
|
|
30
31
|
getCode(): string | undefined;
|
|
32
|
+
setCodeSystem(system?: string | null): this;
|
|
33
|
+
getCodeSystem(): string | undefined;
|
|
34
|
+
setSystemAndCode(system?: string | null, code?: string | null): this;
|
|
35
|
+
getSystemAndCode(): string | undefined;
|
|
31
36
|
/** Writes the local code text. */
|
|
32
37
|
setCodeTextLocal(text?: string | null): this;
|
|
33
38
|
/** Reads the local code text. */
|
|
@@ -44,10 +49,23 @@ export declare class ProcedureEntryEditor extends ClinicalResourceEntryEditor {
|
|
|
44
49
|
setLocation(reference?: string | null): this;
|
|
45
50
|
/** Reads the location reference. */
|
|
46
51
|
getLocation(): string | undefined;
|
|
47
|
-
/** Writes the reason code. */
|
|
52
|
+
/** Writes the reason code from `code`, `system|code`, or separate `system, code` arguments. */
|
|
48
53
|
setReasonCode(code?: string | null): this;
|
|
49
|
-
|
|
54
|
+
setReasonCode(codeSystem: string, codeValue: string): this;
|
|
55
|
+
/** Reads only the reason code value. */
|
|
50
56
|
getReasonCode(): string | undefined;
|
|
57
|
+
setReasonCodeSystem(system?: string | null): this;
|
|
58
|
+
getReasonCodeSystem(): string | undefined;
|
|
59
|
+
setReasonSystemAndCode(system?: string | null, code?: string | null): this;
|
|
60
|
+
getReasonSystemAndCode(): string | undefined;
|
|
61
|
+
setBodySite(code?: string | null): this;
|
|
62
|
+
setBodySite(codeSystem: string, codeValue: string): this;
|
|
63
|
+
getBodySite(): string | undefined;
|
|
64
|
+
getBodySiteCode(): string | undefined;
|
|
65
|
+
setBodySiteCodeSystem(system?: string | null): this;
|
|
66
|
+
getBodySiteCodeSystem(): string | undefined;
|
|
67
|
+
setBodySiteSystemAndCode(system?: string | null, code?: string | null): this;
|
|
68
|
+
getBodySiteSystemAndCode(): string | undefined;
|
|
51
69
|
/** Writes the note text. */
|
|
52
70
|
setNote(note?: string | null): this;
|
|
53
71
|
/** Reads the note text. */
|
|
@@ -27,10 +27,13 @@ export class ProcedureEntryEditor extends ClinicalResourceEntryEditor {
|
|
|
27
27
|
setDate(date) { return this.setScalarClaim(ProcedureClaim.Date, date); }
|
|
28
28
|
/** Reads the procedure date. */
|
|
29
29
|
getDate() { return this.getScalarClaim(ProcedureClaim.Date); }
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
setCode(codeOrSystem, codeValue) { return this.setCodingTokenCode(ProcedureClaim.Code, codeOrSystem, codeValue); }
|
|
31
|
+
/** Reads only the procedure code value. */
|
|
32
|
+
getCode() { return this.getCodingTokenCode(ProcedureClaim.Code); }
|
|
33
|
+
setCodeSystem(system) { return this.setCodingTokenSystem(ProcedureClaim.Code, system); }
|
|
34
|
+
getCodeSystem() { return this.getCodingTokenSystem(ProcedureClaim.Code); }
|
|
35
|
+
setSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(ProcedureClaim.Code, system, code); }
|
|
36
|
+
getSystemAndCode() { return this.getCodingTokenSystemAndCode(ProcedureClaim.Code); }
|
|
34
37
|
/** Writes the local code text. */
|
|
35
38
|
setCodeTextLocal(text) { return this.setScalarClaim(ProcedureClaim.CodeText, text); }
|
|
36
39
|
/** Reads the local code text. */
|
|
@@ -47,10 +50,20 @@ export class ProcedureEntryEditor extends ClinicalResourceEntryEditor {
|
|
|
47
50
|
setLocation(reference) { return this.setScalarClaim(ProcedureClaim.Location, reference); }
|
|
48
51
|
/** Reads the location reference. */
|
|
49
52
|
getLocation() { return this.getScalarClaim(ProcedureClaim.Location); }
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
setReasonCode(codeOrSystem, codeValue) { return this.setCodingTokenCode(ProcedureClaim.ReasonCode, codeOrSystem, codeValue); }
|
|
54
|
+
/** Reads only the reason code value. */
|
|
55
|
+
getReasonCode() { return this.getCodingTokenCode(ProcedureClaim.ReasonCode); }
|
|
56
|
+
setReasonCodeSystem(system) { return this.setCodingTokenSystem(ProcedureClaim.ReasonCode, system); }
|
|
57
|
+
getReasonCodeSystem() { return this.getCodingTokenSystem(ProcedureClaim.ReasonCode); }
|
|
58
|
+
setReasonSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(ProcedureClaim.ReasonCode, system, code); }
|
|
59
|
+
getReasonSystemAndCode() { return this.getCodingTokenSystemAndCode(ProcedureClaim.ReasonCode); }
|
|
60
|
+
setBodySite(codeOrSystem, codeValue) { return this.setCodingTokenCode(ProcedureClaim.BodySite, codeOrSystem, codeValue); }
|
|
61
|
+
getBodySite() { return this.getCodingTokenSystemAndCode(ProcedureClaim.BodySite); }
|
|
62
|
+
getBodySiteCode() { return this.getCodingTokenCode(ProcedureClaim.BodySite); }
|
|
63
|
+
setBodySiteCodeSystem(system) { return this.setCodingTokenSystem(ProcedureClaim.BodySite, system); }
|
|
64
|
+
getBodySiteCodeSystem() { return this.getCodingTokenSystem(ProcedureClaim.BodySite); }
|
|
65
|
+
setBodySiteSystemAndCode(system, code) { return this.setCodingTokenSystemAndCode(ProcedureClaim.BodySite, system, code); }
|
|
66
|
+
getBodySiteSystemAndCode() { return this.getCodingTokenSystemAndCode(ProcedureClaim.BodySite); }
|
|
54
67
|
/** Writes the note text. */
|
|
55
68
|
setNote(note) { return this.setScalarClaim(ProcedureClaim.Note, note); }
|
|
56
69
|
/** Reads the note text. */
|