Skip to content

Commit

Permalink
Added Instituational Department Name as Return Key.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelonken committed Jan 5, 2023
1 parent 25fa157 commit e7e78ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dcmwlm/docs/wlmscpfs.man
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ As return keys the following attributes are currently supported by \b wlmscpfs:
(0008,0050) AccessionNumber
(0008,0080) InstitutionName
(0008,0081) InstitutionAddress
(0008,1040)​ Institutional Department Name
(0008,0090) ReferringPhysicianName
(0008,1080) AdmittingDiagnosesDescription
(0008,1110) ReferencedStudySequence
Expand Down
4 changes: 3 additions & 1 deletion dcmwlm/libsrc/wlds.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
*
* Copyright (C) 1996-2019, OFFIS e.V.
* Copyright (C) 1996-2022, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
Expand Down Expand Up @@ -1076,6 +1076,7 @@ OFBool WlmDataSource::IsSupportedReturnKeyAttribute( DcmElement *element, DcmSeq
// DCM_AdditionalPatientHistory (0010,21b0) LT O 3 (from the Patient Medical Module)
// DCM_LastMenstrualDate (0010,21d0) DA O 3 (from the Patient Medical Module)
// DCM_InstitutionAddress (0008,0081) ST O 3 (from the Visit Identification Module)
// DCM_InstitutionalDepartmentName (0008,1040) LO O 3 (from the Visit Identification Module)
// DCM_OtherPatientNames (0010,1001) PN O 3 (from the Patient Identification Module)
// DCM_PatientAddress (0010,1040) LO O 3 (from the Patient Demographic Module)
// DCM_MilitaryRank (0010,1080) LO O 3 (from the Patient Demographic Module)
Expand Down Expand Up @@ -1199,6 +1200,7 @@ OFBool WlmDataSource::IsSupportedReturnKeyAttribute( DcmElement *element, DcmSeq
elementKey == DCM_AdditionalPatientHistory ||
elementKey == DCM_LastMenstrualDate ||
elementKey == DCM_InstitutionAddress ||
elementKey == DCM_InstitutionalDepartmentName ||
elementKey == DCM_OtherPatientNames ||
elementKey == DCM_PatientAddress ||
elementKey == DCM_MilitaryRank ||
Expand Down

0 comments on commit e7e78ae

Please sign in to comment.