Skip to content

Commit

Permalink
PDF2DICOM: copy studyDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
rossetantoine committed Feb 2, 2014
1 parent 90e993f commit 6a98f11
Show file tree
Hide file tree
Showing 7 changed files with 114 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>F706CD24-AD54-4A4B-B456-F72D0F5F8A06</string>
<key>IDESourceControlProjectName</key>
<string>GantryTiltCorrection</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>5B2DBC68-3155-4B51-AD86-C317FE4174B3</key>
<string>https://github.com/pixmeo/osirixplugins.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>GantryTiltCorrection/GantryTiltCorrection.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>5B2DBC68-3155-4B51-AD86-C317FE4174B3</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/pixmeo/osirixplugins.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>5B2DBC68-3155-4B51-AD86-C317FE4174B3</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>5B2DBC68-3155-4B51-AD86-C317FE4174B3</string>
<key>IDESourceControlWCCName</key>
<string>osirixplugins</string>
</dict>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>GantryTiltCorrection.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>8D5B49AC048680CD000E48DA</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>HipArthroplastyTemplating.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>8D5B49AC048680CD000E48DA</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
3 changes: 3 additions & 0 deletions PDF to DICOM/DCMPDFImportFilter.m
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ - (void)convertImageToDICOM:(NSString *)path source:(NSString *) source
if( institutionName)
[dcmObject setAttributeValues:[NSMutableArray arrayWithObject: institutionName] forName:@"InstitutionName"];

if( studyDescription)
[dcmObject setAttributeValues:[NSMutableArray arrayWithObject: studyDescription] forName:@"StudyDescription"];

if (patientSex)
[dcmObject setAttributeValues:[NSMutableArray arrayWithObject: patientSex] forName:@"PatientsSex"];
else
Expand Down
2 changes: 1 addition & 1 deletion PDF to DICOM/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.8</string>
<string>1.9</string>
<key>MenuTitles</key>
<array>
<string>PDF to DICOM</string>
Expand Down
4 changes: 3 additions & 1 deletion PDF to DICOM/PDFToDicom.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@
/* Begin PBXProject section */
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
};
buildConfigurationList = BF90E90E088F520B0078E0EC /* Build configuration list for PBXProject "PDFToDicom" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
Expand Down Expand Up @@ -279,7 +281,7 @@
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
MACOSX_DEPLOYMENT_TARGET = 10.5;
SDKROOT = macosx10.7;
SDKROOT = macosx10.8;
};
name = Development;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>PDFToDICOM.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>8D5B49AC048680CD000E48DA</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>

0 comments on commit 6a98f11

Please sign in to comment.