Add a syntaxic control ( Use the library to export in LDIF, maybe thi shttp://pear.php.net/manual/en/package.networking.net-ldap.ldif.php) (double double points are used only if base64, otherwise use simple double points)
Separate objects biobank - collection - contact
1) each biobank should have 1..n collections - and the appropriate data should be given on the biobank and on the collection levels; the biobanks should live in
c=fr,ou=biobanks,dc=directory,dc=bbmri-eric,dc=eu
tree and the collections should be embedded in them, giving, e.g., the following hierarchy
c=fr,ou=contacts,dc=directory,dc=bbmri-eric,dc=eu
for example:
contactID=bbmri-eric:contact:FR_BB-0033-00010,c=fr,ou=contacts,dc=directory,dc=bbmri-eric,dc=eu
and they are cross-referenced - the biobanks and collections refer to the contact by contactIDRef attribute:
e.g.,
contactIDRef: bbmri-eric:contact:FR_BB-0033-00010
the contactIDRef is accompanied by contactPriority - this allows to elevate priority of the collection contact over the biobank contact, or vice versa
A long example below
`dn: dc=directory,dc=bbmri-eric,dc=eu
objectClass: domain
objectClass: top
dc: directory
dn: ou=contacts,dc=directory,dc=bbmri-eric,dc=eu
objectClass: organizationalUnit
objectClass: top
ou: contacts
dn: ou=biobanknetworks,dc=directory,dc=bbmri-eric,dc=eu
objectClass: organizationalUnit
objectClass: top
ou: biobanknetworks
dn: ou=biobanks,dc=directory,dc=bbmri-eric,dc=eu
objectClass: top
objectClass: organizationalUnit
ou: biobanks
dn: c=fr,ou=contacts,dc=directory,dc=bbmri-eric,dc=eu
objectClass: country
objectClass: top
c: fr
dn: c=fr,ou=biobanknetworks,dc=directory,dc=bbmri-eric,dc=eu
objectClass: country
objectClass: top
c: fr
dn: c=fr,ou=biobanks,dc=directory,dc=bbmri-eric,dc=eu
objectClass: country
objectClass: top
c: fr
Some points must be fixed
c=fr,ou=biobanks,dc=directory,dc=bbmri-eric,dc=eu
tree and the collections should be embedded in them, giving, e.g., the following hierarchyto visualize it in a simple way:
2) contacts reside in their own tree:
and they are cross-referenced - the biobanks and collections refer to the contact by contactIDRef attribute: e.g.,
contactIDRef: bbmri-eric:contact:FR_BB-0033-00010
the contactIDRef is accompanied by contactPriority - this allows to elevate priority of the collection contact over the biobank contact, or vice versa
A long example below `dn: dc=directory,dc=bbmri-eric,dc=eu objectClass: domain objectClass: top dc: directory
dn: ou=contacts,dc=directory,dc=bbmri-eric,dc=eu objectClass: organizationalUnit objectClass: top ou: contacts
dn: ou=biobanknetworks,dc=directory,dc=bbmri-eric,dc=eu objectClass: organizationalUnit objectClass: top ou: biobanknetworks
dn: ou=biobanks,dc=directory,dc=bbmri-eric,dc=eu objectClass: top objectClass: organizationalUnit ou: biobanks
dn: c=fr,ou=contacts,dc=directory,dc=bbmri-eric,dc=eu objectClass: country objectClass: top c: fr
dn: c=fr,ou=biobanknetworks,dc=directory,dc=bbmri-eric,dc=eu objectClass: country objectClass: top c: fr
dn: c=fr,ou=biobanks,dc=directory,dc=bbmri-eric,dc=eu objectClass: country objectClass: top c: fr
dn: biobankID=bbmri-eric:ID:FR_MBB,c=fr,ou=biobanks,dc=directory,dc=bbmri-eri c,dc=eu biobankID: bbmri-eric:ID:FR_MBB biobankName: MyBioBank biobankJuridicalPerson: Institue XYZ biobankCountry: FR objectClass: biobank objectClass: biobankClinical biobankPartnerCharterSigned: FALSE biobankAcronym: MBB biobankURL: http://mybiobank.fr biobankDescription:: QmlvYmFuayBhdCBNTUNJIHdhcyBlc3RhYmxpc2hlZCB0byBwcmVzZXJ2Z= geoLatitude: 59.19426448 geoLongitude: 18.5890801 contactIDRef: bbmri-eric:contact:FR_MBB contactPriority: 2
dn: collectionID=bbmri-eric:ID:FR_MBB:collection:all_samples,biobankID=bbmri- eric:ID:FR_MBB,c=fr,ou=biobanks,dc=directory,dc=bbmri-eric,dc=eu objectClass: collection collectionID: bbmri-eric:ID:FR_MBB:collection:all_samples collectionName: Main collection of MBB contactIDRef: bbmri-eric:contact:FR_MBB contactPriority: 1 materialStoredDNA: TRUE materialStoredPlasma: FALSE materialStoredSerum: TRUE materialStoredUrine: FALSE materialStoredSaliva: FALSE materialStoredFaeces: FALSE materialStoredOther: FALSE materialStoredRNA: FALSE materialStoredBlood: TRUE materialStoredTissueFrozen: TRUE materialStoredTissueFFPE: TRUE materialStoredImmortalizedCellLines: FALSE materialStoredIsolatedPathogen: FALSE collectionAvailableBiologicalSamples: TRUE collectionAvailableSurveyData: FALSE collectionAvailableImagingData: FALSE collectionAvailableMedicalRecords: TRUE collectionAvailableNationalRegistries: FALSE collectionAvailableGenealogicalRecords: FALSE collectionAvailablePhysioBiochemMeasurements: TRUE collectionAvailableOther: FALSE collectionSampleAccessFee: FALSE collectionSampleAccessJointProjects: TRUE collectionSampleAccessDescription: Further access details available upon reque st. collectionDataAccessFee: FALSE collectionDataAccessJointProjects: TRUE collectionDataAccessDescription: Further access details available upon request . collectionSampleAccessURI: http://mybiobank.fr collectionDataAccessURI: http://mybiobank.fr collectionSexMale: TRUE collectionSexFemale: TRUE collectionTypeCaseControl: FALSE collectionTypeCohort: FALSE collectionTypeCrossSectional: FALSE collectionTypeLongitudinal: FALSE collectionTypeTwinStudy: FALSE collectionTypeQualityControl: FALSE collectionTypePopulationBased: FALSE collectionTypeDiseaseSpecific: FALSE collectionTypeBirthCohort: FALSE collectionTypeOther: FALSE diagnosisAvailable: urn:miriam:icd:D diagnosisAvailable: urn:miriam:icd:C collectionOrderOfMagnitude: 4
dn: contactID=bbmri-eric:contact:FR_MBB,c=fr,ou=contacts,dc=directory,dc=bbmr i-eric,dc=eu contactID: bbmri-eric:contact:FR_MBB objectClass: contactInformation contactEmail: jis@ins.fr contactCountry: FR contactFirstName: Joe contactLastName: Ist contactPhone: +647920111 contactAddress:: xub1sXTDvSBrb3BlYyA3 contactZIP: 75001 contactCity: Paris`