@dcmjs-org/dcmjs 1.0.0-beta.23 → 1.0.0-beta.24

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.
@@ -15937,11 +15937,12 @@ var constants = /*#__PURE__*/Object.freeze({
15937
15937
  });
15938
15938
 
15939
15939
  // Every entry below must be a real dictionary keyword
15940
- // (DicomMetaDictionary.nameMap): cleanTags silently skips names that do not
15940
+ // (DicomMetaDictionary.entryForName()): cleanTags silently skips names that do not
15941
15941
  // resolve, so a misspelled entry means the data it was meant to scrub is
15942
15942
  // left in place (issue #345). Retired attributes use the dictionary's
15943
15943
  // RETIRED_ keyword prefix. All 103 previously non-resolving names were
15944
15944
  // mapped to their intended keywords; none had to be removed.
15945
+ // ResponsiblePersonRole was added to match 0.53.3.
15945
15946
  var tagNamesToEmpty = [
15946
15947
  // please override these in specificReplaceDefaults to have useful values
15947
15948
  "PatientID", "PatientName",
@@ -15954,7 +15955,7 @@ var tagNamesToEmpty = [
15954
15955
  // cat 2/3: CTP: set to increment dates
15955
15956
  "InstanceCreationDate", "StudyDate", "ContentDate", "DateOfSecondaryCapture", "DateOfLastCalibration", "DateOfLastDetectorCalibration", "FrameAcquisitionDateTime", "FrameReferenceDateTime", "RETIRED_StudyVerifiedDate", "RETIRED_StudyReadDate", "RETIRED_ScheduledStudyStartDate", "RETIRED_ScheduledStudyStopDate", "RETIRED_StudyArrivalDate", "RETIRED_StudyCompletionDate", "RETIRED_ScheduledAdmissionDate", "RETIRED_ScheduledDischargeDate", "RETIRED_DischargeDate", "ScheduledProcedureStepStartDate", "ScheduledProcedureStepEndDate", "PerformedProcedureStepStartDate", "PerformedProcedureStepEndDate", "IssueDateOfImagingServiceRequest", "VerificationDateTime", "ObservationDateTime", "DateTime", "Date", "ReferencedDateTime",
15956
15957
  // cat 3/3: CTP: set to remove using @remove
15957
- "AcquisitionDate", "RETIRED_OverlayDate", "RETIRED_CurveDate", "AcquisitionDateTime", "SeriesTime", "AcquisitionTime", "RETIRED_OverlayTime", "RETIRED_CurveTime", "InstitutionName", "InstitutionAddress", "ReferringPhysicianAddress", "ReferringPhysicianTelephoneNumbers", "ReferringPhysicianIdentificationSequence", "TimezoneOffsetFromUTC", "StationName", "StudyDescription", "InstitutionalDepartmentName", "PhysiciansOfRecord", "PhysiciansOfRecordIdentificationSequence", "PerformingPhysicianName", "PerformingPhysicianIdentificationSequence", "NameOfPhysiciansReadingStudy", "PhysiciansReadingStudyIdentificationSequence", "OperatorsName", "OperatorIdentificationSequence", "AdmittingDiagnosesDescription", "AdmittingDiagnosesCodeSequence", "ReferencedStudySequence", "ReferencedPerformedProcedureStepSequence", "ReferencedPatientSequence", "ReferencedImageSequence", "DerivationDescription", "SourceImageSequence", "RETIRED_IdentifyingComments", "IssuerOfPatientID", "PatientBirthTime", "PatientInsurancePlanCodeSequence", "PatientPrimaryLanguageCodeSequence", "PatientPrimaryLanguageModifierCodeSequence", "OtherPatientIDs", "OtherPatientNames", "OtherPatientIDsSequence", "PatientBirthName", "PatientAge", "PatientSize", "PatientWeight", "PatientAddress", "RETIRED_InsurancePlanIdentification", "PatientMotherBirthName", "MilitaryRank", "BranchOfService", "MedicalRecordLocator", "MedicalAlerts", "Allergies", "CountryOfResidence", "RegionOfResidence", "PatientTelephoneNumbers", "EthnicGroup", "Occupation", "SmokingStatus", "AdditionalPatientHistory", "PregnancyStatus", "LastMenstrualDate", "PatientReligiousPreference", "PatientSexNeutered", "ResponsiblePerson", "ResponsibleOrganization", "PatientComments", "DeviceSerialNumber", "PlateID", "GeneratorID", "CassetteID", "GantryID",
15958
+ "AcquisitionDate", "RETIRED_OverlayDate", "RETIRED_CurveDate", "AcquisitionDateTime", "SeriesTime", "AcquisitionTime", "RETIRED_OverlayTime", "RETIRED_CurveTime", "InstitutionName", "InstitutionAddress", "ReferringPhysicianAddress", "ReferringPhysicianTelephoneNumbers", "ReferringPhysicianIdentificationSequence", "TimezoneOffsetFromUTC", "StationName", "StudyDescription", "InstitutionalDepartmentName", "PhysiciansOfRecord", "PhysiciansOfRecordIdentificationSequence", "PerformingPhysicianName", "PerformingPhysicianIdentificationSequence", "NameOfPhysiciansReadingStudy", "PhysiciansReadingStudyIdentificationSequence", "OperatorsName", "OperatorIdentificationSequence", "AdmittingDiagnosesDescription", "AdmittingDiagnosesCodeSequence", "ReferencedStudySequence", "ReferencedPerformedProcedureStepSequence", "ReferencedPatientSequence", "ReferencedImageSequence", "DerivationDescription", "SourceImageSequence", "RETIRED_IdentifyingComments", "IssuerOfPatientID", "PatientBirthTime", "PatientInsurancePlanCodeSequence", "PatientPrimaryLanguageCodeSequence", "PatientPrimaryLanguageModifierCodeSequence", "OtherPatientIDs", "OtherPatientNames", "OtherPatientIDsSequence", "PatientBirthName", "PatientAge", "PatientSize", "PatientWeight", "PatientAddress", "RETIRED_InsurancePlanIdentification", "PatientMotherBirthName", "MilitaryRank", "BranchOfService", "MedicalRecordLocator", "MedicalAlerts", "Allergies", "CountryOfResidence", "RegionOfResidence", "PatientTelephoneNumbers", "EthnicGroup", "Occupation", "SmokingStatus", "AdditionalPatientHistory", "PregnancyStatus", "LastMenstrualDate", "PatientReligiousPreference", "PatientSexNeutered", "ResponsiblePerson", "ResponsiblePersonRole", "ResponsibleOrganization", "PatientComments", "DeviceSerialNumber", "PlateID", "GeneratorID", "CassetteID", "GantryID",
15958
15959
  // we keep - should be SoftwareVersions anyway
15959
15960
  // "SoftwareVersion",
15960
15961
  "ProtocolName", "AcquisitionDeviceProcessingDescription", "RETIRED_AcquisitionComments", "DetectorID", "AcquisitionProtocolDescription", "ContributionDescription", "RETIRED_ModifyingDeviceID", "RETIRED_ModifyingDeviceManufacturer", "RETIRED_ModifiedImageDescription", "ImageComments", "RETIRED_ImagePresentationComments", "RETIRED_StudyIDIssuer", "RETIRED_ScheduledStudyLocation", "RETIRED_ScheduledStudyLocationAETitle", "RETIRED_ReasonForStudy", "RequestingPhysician", "RequestingService", "RequestedProcedureDescription", "RequestedContrastAgent", "RETIRED_StudyComments", "AdmissionID", "RETIRED_IssuerOfAdmissionID", "RETIRED_ScheduledPatientInstitutionResidence", "AdmittingDate", "AdmittingTime", "RETIRED_DischargeDiagnosisDescription", "SpecialNeeds", "ServiceEpisodeID", "RETIRED_IssuerOfServiceEpisodeID", "ServiceEpisodeDescription", "CurrentPatientLocation", "PatientInstitutionResidence", "PatientState", "ReferencedPatientAliasSequence", "VisitComments", "ScheduledStationAETitle", "ScheduledPerformingPhysicianName", "ScheduledProcedureStepDescription", "ScheduledStationName", "ScheduledProcedureStepLocation", "PreMedication", "PerformedStationAETitle", "PerformedStationName", "PerformedLocation", "PerformedStationNameCodeSequence", "PerformedProcedureStepID", "PerformedProcedureStepDescription", "RequestAttributesSequence", "CommentsOnThePerformedProcedureStep", "AcquisitionContextSequence", "PatientTransportArrangements", "RequestedProcedureLocation", "NamesOfIntendedRecipientsOfResults", "IntendedRecipientsOfResultsIdentificationSequence", "PersonAddress", "PersonTelephoneNumbers", "RequestedProcedureComments", "RETIRED_ReasonForTheImagingServiceRequest", "OrderEnteredBy", "OrderEntererLocation", "OrderCallbackPhoneNumber", "ImagingServiceRequestComments", "ConfidentialityConstraintOnPatientDataDescription", "ScheduledStationNameCodeSequence", "ScheduledStationGeographicLocationCodeSequence", "PerformedStationGeographicLocationCodeSequence", "ScheduledHumanPerformersSequence", "ActualHumanPerformersSequence", "HumanPerformerOrganization", "HumanPerformerName", "VerifyingOrganization", "VerifyingObserverName", "AuthorObserverSequence", "ParticipantSequence", "CustodialOrganizationSequence", "VerifyingObserverIdentificationCodeSequence", "PersonName", "ContentSequence", "OverlayData", "RETIRED_OverlayComments", "IconImageSequence", "RETIRED_TopicSubject", "RETIRED_TopicAuthor", "RETIRED_TopicKeywords", "TextString", "RETIRED_Arbitrary", "RETIRED_TextComments", "RETIRED_ResultsIDIssuer", "RETIRED_InterpretationRecorder", "RETIRED_InterpretationTranscriber", "RETIRED_InterpretationText", "RETIRED_InterpretationAuthor", "RETIRED_InterpretationApproverSequence", "RETIRED_PhysicianApprovingInterpretation", "RETIRED_InterpretationDiagnosisDescription", "RETIRED_ResultsDistributionListSequence", "RETIRED_DistributionName", "RETIRED_DistributionAddress", "RETIRED_InterpretationIDIssuer", "RETIRED_Impressions", "RETIRED_ResultsComments", "DigitalSignaturesSequence", "DataSetTrailingPadding"];
@@ -15972,7 +15973,7 @@ function cleanTags(dict) {
15972
15973
  }
15973
15974
  var tags = customTagNamesToEmpty != undefined ? customTagNamesToEmpty : tagNamesToEmpty;
15974
15975
  tags.forEach(function (tag) {
15975
- var tagInfo = core.DicomMetaDictionary.nameMap[tag];
15976
+ var tagInfo = core.DicomMetaDictionary.entryForName(tag);
15976
15977
  if (tagInfo && tagInfo.version != "PrivateTag") {
15977
15978
  var tagNumber = tagInfo.tag,
15978
15979
  tagString = core.Tag.fromPString(tagNumber).toCleanString();
@@ -16009,6 +16010,8 @@ var data = {
16009
16010
  datasetToDict: datasetToDict,
16010
16011
  datasetToBuffer: datasetToBuffer,
16011
16012
  datasetToBlob: datasetToBlob,
16013
+ dictionary: core.dictionary,
16014
+ registerTag: core.registerTag,
16012
16015
  // naturalized-dataset utilities (docs/specs/naturalized-dataset.md)
16013
16016
  setVr: core.setVr,
16014
16017
  setAttribute: core.setAttribute,
@@ -16086,4 +16089,4 @@ exports.derivations = derivations;
16086
16089
  exports.normalizers = normalizers;
16087
16090
  exports.sr = sr;
16088
16091
  exports.utilities = utilities;
16089
- //# sourceMappingURL=dcmjs.shared-Dkebpbbj.cjs.map
16092
+ //# sourceMappingURL=dcmjs.shared-C91zk0xe.cjs.map