PackagesCanonicalsLogsProblems
    Packages
    ans.fr.pdlgc@0.1.0-ballot
    https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest
{
  "description": "Le fichier MANIFEST.XML porte les métadonnées globales de l'export (nombre de dossiers patients, volumétrie, éléments d'intégrité), distinctes des métadonnées XDM portées par chaque `METADATA.XML` patient",
  "_filename": "StructureDefinition-pdlgcManifest.json",
  "package_name": "ans.fr.pdlgc",
  "date": "2026-10-20T16:43:22+00:00",
  "derivation": "specialization",
  "publisher": "Agence du Numérique en Santé (ANS) - 2-10 Rue d'Oradour-sur-Glane, 75015 Paris",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "FR",
      "system": "urn:iso:std:iso:3166",
      "display": "France (la)"
    } ]
  } ],
  "name": "PDLGCManifest",
  "abstract": false,
  "type": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "PDLGC Manifest",
  "package_version": "0.1.0-ballot",
  "snapshot": {
    "element": [ {
      "id": "pdlgcManifest",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      },
      "path": "pdlgcManifest",
      "short": "PDLGC Manifest",
      "definition": "Le fichier MANIFEST.XML porte les métadonnées globales de l'export (nombre de dossiers patients, volumétrie, éléments d'intégrité), distinctes des métadonnées XDM portées par chaque `METADATA.XML` patient",
      "isModifier": false
    }, {
      "id": "pdlgcManifest.exportId",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.exportId"
      },
      "path": "pdlgcManifest.exportId",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Identifiant unique affecté à l'archive de portabilité",
      "definition": "Identifiant unique affecté à l'archive de portabilité"
    }, {
      "path": "pdlgcManifest.exportType",
      "min": 1,
      "definition": "Type de l'export : UNITAIRE|CIBLE|MASSIF",
      "short": "Type de l'export : UNITAIRE|CIBLE|MASSIF",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-export-type|0.1.0-ballot"
      },
      "max": "1",
      "id": "pdlgcManifest.exportType",
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.exportType"
      }
    }, {
      "id": "pdlgcManifest.exportStartTime",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "pdlgcManifest.exportStartTime"
      },
      "path": "pdlgcManifest.exportStartTime",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date de début de la période couverte par l'export dans le cas d'un export ciblé",
      "definition": "Date de début de la période couverte par l'export dans le cas d'un export ciblé"
    }, {
      "id": "pdlgcManifest.exportEndTime",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "pdlgcManifest.exportEndTime"
      },
      "path": "pdlgcManifest.exportEndTime",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date de fin de la période couverte par l'export dans le cas d'un export ciblé",
      "definition": "Date de fin de la période couverte par l'export dans le cas d'un export ciblé"
    }, {
      "path": "pdlgcManifest.exportStatus",
      "min": 1,
      "definition": "COMPLETE|PARTIAL|SAMPLE",
      "short": "COMPLETE|PARTIAL|SAMPLE",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-export-status|0.1.0-ballot"
      },
      "max": "1",
      "id": "pdlgcManifest.exportStatus",
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.exportStatus"
      }
    }, {
      "id": "pdlgcManifest.comments",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "pdlgcManifest.comments"
      },
      "path": "pdlgcManifest.comments",
      "type": [ {
        "code": "string"
      } ],
      "short": "commentaire associé à l'export",
      "definition": "commentaire associé à l'export"
    }, {
      "id": "pdlgcManifest.author",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.author"
      },
      "path": "pdlgcManifest.author",
      "type": [ {
        "code": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcAuthor"
      } ],
      "short": "Logiciel responsable de la production et de l'export de l'archive de portabiltié",
      "definition": "Logiciel responsable de la production et de l'export de l'archive de portabiltié"
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "pdlgcManifest.statistics",
      "min": 1,
      "definition": "Statistiques globales de l'archive",
      "short": "Statistiques globales de l'archive",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "pdlgcManifest.statistics",
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.statistics"
      }
    }, {
      "path": "pdlgcManifest.statistics.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "pdlgcManifest.statistics.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "pdlgcManifest.statistics.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "pdlgcManifest.statistics.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "pdlgcManifest.statistics.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "pdlgcManifest.statistics.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "id": "pdlgcManifest.statistics.patientArchiveCount",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.statistics.patientArchiveCount"
      },
      "path": "pdlgcManifest.statistics.patientArchiveCount",
      "type": [ {
        "code": "positiveInt"
      } ],
      "short": "Nombre d'archives patients transportées",
      "definition": "Nombre d'archives patients transportées"
    }, {
      "id": "pdlgcManifest.statistics.transverseArchiveCount",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.statistics.transverseArchiveCount"
      },
      "path": "pdlgcManifest.statistics.transverseArchiveCount",
      "type": [ {
        "code": "positiveInt"
      } ],
      "short": "Nombre d'archives transverse trasnportées",
      "definition": "Nombre d'archives transverse trasnportées"
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "pdlgcManifest.archives",
      "min": 1,
      "definition": "informations relatives aux archives patients et transverses contenues dans l'archive de portabilité",
      "short": "informations relatives aux archives patients et transverses contenues dans l'archive de portabilité",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
        "valueString": "Archives"
      } ],
      "max": "*",
      "id": "pdlgcManifest.archives",
      "base": {
        "max": "*",
        "min": 1,
        "path": "pdlgcManifest.archives"
      }
    }, {
      "path": "pdlgcManifest.archives.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "pdlgcManifest.archives.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "pdlgcManifest.archives.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "pdlgcManifest.archives.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "pdlgcManifest.archives.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "pdlgcManifest.archives.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ArchiveType-invariant",
        "human": "Le patientId est obligatoire si et seulement si l'archive est de type PATIENT (absent pour une archive TRANSVERSE)",
        "source": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest|0.1.0-ballot",
        "severity": "error",
        "expression": "(type = 'PATIENT') = patientId.exists()"
      }, {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "pdlgcManifest.archives.archive",
      "min": 1,
      "definition": "informations relatives à une archive Patient ou Transverse",
      "short": "informations relatives à une archive Patient ou Transverse",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
        "valueString": "Archive"
      } ],
      "max": "*",
      "id": "pdlgcManifest.archives.archive",
      "base": {
        "max": "*",
        "min": 1,
        "path": "pdlgcManifest.archives.archive"
      }
    }, {
      "path": "pdlgcManifest.archives.archive.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "pdlgcManifest.archives.archive.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "pdlgcManifest.archives.archive.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "pdlgcManifest.archives.archive.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "pdlgcManifest.archives.archive.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "pdlgcManifest.archives.archive.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "id": "pdlgcManifest.archives.archive.archiveid",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.archives.archive.archiveid"
      },
      "path": "pdlgcManifest.archives.archive.archiveid",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "identifiant du répertoire ('PATnnnnn' ou 'TRANSV')",
      "definition": "identifiant du répertoire ('PATnnnnn' ou 'TRANSV')"
    }, {
      "path": "pdlgcManifest.archives.archive.type",
      "min": 1,
      "definition": "PATIENT | TRANSVERSE",
      "short": "PATIENT | TRANSVERSE",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-archive-type|0.1.0-ballot"
      },
      "max": "1",
      "id": "pdlgcManifest.archives.archive.type",
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.archives.archive.type"
      }
    }, {
      "id": "pdlgcManifest.archives.archive.patientId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "pdlgcManifest.archives.archive.patientId"
      },
      "path": "pdlgcManifest.archives.archive.patientId",
      "type": [ {
        "code": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/xdmPatientId"
      } ],
      "short": "Identifiant du Patient s'il s'agit d'une archive XDM Patient",
      "definition": "Identifiant du Patient s'il s'agit d'une archive XDM Patient"
    }, {
      "id": "pdlgcManifest.archives.archive.size",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.archives.archive.size"
      },
      "path": "pdlgcManifest.archives.archive.size",
      "type": [ {
        "code": "integer"
      } ],
      "short": "Taille de l'archive zip",
      "definition": "Taille de l'archive zip"
    }, {
      "id": "pdlgcManifest.archives.archive.hash",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "pdlgcManifest.archives.archive.hash"
      },
      "path": "pdlgcManifest.archives.archive.hash",
      "type": [ {
        "code": "string"
      } ],
      "short": "Hash SHA-256 de l'archive concernée",
      "definition": "Hash SHA-256 de l'archive concernée"
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "4.0.1"
    } ]
  },
  "status": "draft",
  "id": "3c558af1-9f2a-4f1e-8b5a-02084c593225",
  "kind": "logical",
  "url": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest",
  "version": "0.1.0-ballot",
  "differential": {
    "element": [ {
      "id": "pdlgcManifest",
      "path": "pdlgcManifest",
      "short": "PDLGC Manifest",
      "definition": "Le fichier MANIFEST.XML porte les métadonnées globales de l'export (nombre de dossiers patients, volumétrie, éléments d'intégrité), distinctes des métadonnées XDM portées par chaque `METADATA.XML` patient"
    }, {
      "id": "pdlgcManifest.exportId",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.exportId",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Identifiant unique affecté à l'archive de portabilité",
      "definition": "Identifiant unique affecté à l'archive de portabilité"
    }, {
      "id": "pdlgcManifest.exportType",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.exportType",
      "type": [ {
        "code": "code"
      } ],
      "short": "Type de l'export : UNITAIRE|CIBLE|MASSIF",
      "binding": {
        "strength": "required",
        "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-export-type|0.1.0-ballot"
      },
      "definition": "Type de l'export : UNITAIRE|CIBLE|MASSIF"
    }, {
      "id": "pdlgcManifest.exportStartTime",
      "max": "1",
      "min": 0,
      "path": "pdlgcManifest.exportStartTime",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date de début de la période couverte par l'export dans le cas d'un export ciblé",
      "definition": "Date de début de la période couverte par l'export dans le cas d'un export ciblé"
    }, {
      "id": "pdlgcManifest.exportEndTime",
      "max": "1",
      "min": 0,
      "path": "pdlgcManifest.exportEndTime",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date de fin de la période couverte par l'export dans le cas d'un export ciblé",
      "definition": "Date de fin de la période couverte par l'export dans le cas d'un export ciblé"
    }, {
      "id": "pdlgcManifest.exportStatus",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.exportStatus",
      "type": [ {
        "code": "code"
      } ],
      "short": "COMPLETE|PARTIAL|SAMPLE",
      "binding": {
        "strength": "required",
        "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-export-status|0.1.0-ballot"
      },
      "definition": "COMPLETE|PARTIAL|SAMPLE"
    }, {
      "id": "pdlgcManifest.comments",
      "max": "1",
      "min": 0,
      "path": "pdlgcManifest.comments",
      "type": [ {
        "code": "string"
      } ],
      "short": "commentaire associé à l'export",
      "definition": "commentaire associé à l'export"
    }, {
      "id": "pdlgcManifest.author",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.author",
      "type": [ {
        "code": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcAuthor"
      } ],
      "short": "Logiciel responsable de la production et de l'export de l'archive de portabiltié",
      "definition": "Logiciel responsable de la production et de l'export de l'archive de portabiltié"
    }, {
      "id": "pdlgcManifest.statistics",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.statistics",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Statistiques globales de l'archive",
      "definition": "Statistiques globales de l'archive"
    }, {
      "id": "pdlgcManifest.statistics.patientArchiveCount",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.statistics.patientArchiveCount",
      "type": [ {
        "code": "positiveInt"
      } ],
      "short": "Nombre d'archives patients transportées",
      "definition": "Nombre d'archives patients transportées"
    }, {
      "id": "pdlgcManifest.statistics.transverseArchiveCount",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.statistics.transverseArchiveCount",
      "type": [ {
        "code": "positiveInt"
      } ],
      "short": "Nombre d'archives transverse trasnportées",
      "definition": "Nombre d'archives transverse trasnportées"
    }, {
      "id": "pdlgcManifest.archives",
      "max": "*",
      "min": 1,
      "path": "pdlgcManifest.archives",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "informations relatives aux archives patients et transverses contenues dans l'archive de portabilité",
      "extension": [ {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
        "valueString": "Archives"
      } ],
      "definition": "informations relatives aux archives patients et transverses contenues dans l'archive de portabilité"
    }, {
      "constraint": [ {
        "key": "ArchiveType-invariant",
        "human": "Le patientId est obligatoire si et seulement si l'archive est de type PATIENT (absent pour une archive TRANSVERSE)",
        "source": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest|0.1.0-ballot",
        "severity": "error",
        "expression": "(type = 'PATIENT') = patientId.exists()"
      } ],
      "path": "pdlgcManifest.archives.archive",
      "min": 1,
      "definition": "informations relatives à une archive Patient ou Transverse",
      "short": "informations relatives à une archive Patient ou Transverse",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
        "valueString": "Archive"
      } ],
      "max": "*",
      "id": "pdlgcManifest.archives.archive"
    }, {
      "id": "pdlgcManifest.archives.archive.archiveid",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.archives.archive.archiveid",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "identifiant du répertoire ('PATnnnnn' ou 'TRANSV')",
      "definition": "identifiant du répertoire ('PATnnnnn' ou 'TRANSV')"
    }, {
      "id": "pdlgcManifest.archives.archive.type",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.archives.archive.type",
      "type": [ {
        "code": "code"
      } ],
      "short": "PATIENT | TRANSVERSE",
      "binding": {
        "strength": "required",
        "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-archive-type|0.1.0-ballot"
      },
      "definition": "PATIENT | TRANSVERSE"
    }, {
      "id": "pdlgcManifest.archives.archive.patientId",
      "max": "1",
      "min": 0,
      "path": "pdlgcManifest.archives.archive.patientId",
      "type": [ {
        "code": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/xdmPatientId"
      } ],
      "short": "Identifiant du Patient s'il s'agit d'une archive XDM Patient",
      "definition": "Identifiant du Patient s'il s'agit d'une archive XDM Patient"
    }, {
      "id": "pdlgcManifest.archives.archive.size",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.archives.archive.size",
      "type": [ {
        "code": "integer"
      } ],
      "short": "Taille de l'archive zip",
      "definition": "Taille de l'archive zip"
    }, {
      "id": "pdlgcManifest.archives.archive.hash",
      "max": "1",
      "min": 1,
      "path": "pdlgcManifest.archives.archive.hash",
      "type": [ {
        "code": "string"
      } ],
      "short": "Hash SHA-256 de l'archive concernée",
      "definition": "Hash SHA-256 de l'archive concernée"
    } ]
  },
  "contact": [ {
    "name": "Agence du Numérique en Santé (ANS) - 2-10 Rue d'Oradour-sur-Glane, 75015 Paris",
    "telecom": [ {
      "value": "https://esante.gouv.fr",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base|4.0.1"
}