FHIR © HL7.org  |  FHIRsmith 0.18.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageans.fr.pdlgc
Resource TypeStructureDefinition
IdStructureDefinition-pdlgcManifest.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/ansforge/interop-ig-portabilite/StructureDefinition-pdlgcManifest.html
URLhttps://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest
Version0.1.0-ballot
Statusdraft
Date2026-10-20T16:30:51+00:00
NamePDLGCManifest
TitlePDLGC Manifest
Realmfr
DescriptionLe 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
Typehttps://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest
Kindlogical

Resources that use this resource

StructureDefinition
ans.fr.pdlgc#currentpdlgcArchivePortabilitePDLGC Archive Portabilite

Resources that this resource uses

StructureDefinition
ans.fr.pdlgc#currentpdlgcAuthorPDLGC Author
ans.fr.pdlgc#currentxdmPatientIdXDM PatientId
ValueSet
ans.fr.pdlgc#currentvs-pdlgc-archive-typePDLGC Type d'archive
ans.fr.pdlgc#currentvs-pdlgc-export-statusPDLGC Statut de l'export
ans.fr.pdlgc#currentvs-pdlgc-export-typePDLGC Type d'Export

Narrative

Note: links and images are rebased to the (stated) source


French


Narratif généré : DéfinitionStructure pdlgcManifest

NomDrapeauxCard.TypeDescription et contraintesdoco
pdlgcManifest 0..*Base(4.0.1)PDLGC Manifest
pdlgcManifest.exportId 1..1IdentifierIdentifiant unique affecté à l'archive de portabilité
pdlgcManifest.exportType 1..1codeType de l'export : UNITAIRE|CIBLE|MASSIF
Binding: VS_PDLGC_ExportType (0.1.0-ballot) (required)
pdlgcManifest.exportStartTime 0..1dateTimeDate de début de la période couverte par l'export dans le cas d'un export ciblé
pdlgcManifest.exportEndTime 0..1dateTimeDate de fin de la période couverte par l'export dans le cas d'un export ciblé
pdlgcManifest.exportStatus 1..1codeCOMPLETE|PARTIAL|SAMPLE
Binding: VS_PDLGC_ExportStatus (0.1.0-ballot) (required)
pdlgcManifest.comments 0..1stringcommentaire associé à l'export
pdlgcManifest.author 1..1pdlgcAuthorLogiciel responsable de la production et de l'export de l'archive de portabiltié
pdlgcManifest.statistics 1..1BackboneElementStatistiques globales de l'archive
pdlgcManifest.statistics.patientArchiveCount 1..1positiveIntNombre d'archives patients transportées
pdlgcManifest.statistics.transverseArchiveCount 1..1positiveIntNombre d'archives transverse trasnportées
pdlgcManifest.archives 1..*BackboneElementinformations relatives aux archives patients et transverses contenues dans l'archive de portabilité
Nom d'élément XML: Archives
pdlgcManifest.archives.archive C1..*BackboneElementinformations relatives à une archive Patient ou Transverse
Nom d'élément XML: Archive
pdlgcManifest.archives.archive.archiveid 1..1Identifieridentifiant du répertoire ('PATnnnnn' ou 'TRANSV')
pdlgcManifest.archives.archive.type 1..1codePATIENT | TRANSVERSE
Binding: VS_PDLGC_ArchiveType (0.1.0-ballot) (required)
pdlgcManifest.archives.archive.patientId 0..1xdmPatientIdIdentifiant du Patient s'il s'agit d'une archive XDM Patient
pdlgcManifest.archives.archive.size 1..1integerTaille de l'archive zip
pdlgcManifest.archives.archive.hash 1..1stringHash SHA-256 de l'archive concernée

doco Documentation pour ce format

English


Generated Narrative: StructureDefinition pdlgcManifest

NameFlagsCard.TypeDescription & Constraintsdoco
pdlgcManifest 0..*Base(4.0.1)PDLGC Manifest
pdlgcManifest.exportId 1..1IdentifierIdentifiant unique affecté à l'archive de portabilité
pdlgcManifest.exportType 1..1codeType de l'export : UNITAIRE|CIBLE|MASSIF
Binding: VS_PDLGC_ExportType (0.1.0-ballot) (required)
pdlgcManifest.exportStartTime 0..1dateTimeDate de début de la période couverte par l'export dans le cas d'un export ciblé
pdlgcManifest.exportEndTime 0..1dateTimeDate de fin de la période couverte par l'export dans le cas d'un export ciblé
pdlgcManifest.exportStatus 1..1codeCOMPLETE|PARTIAL|SAMPLE
Binding: VS_PDLGC_ExportStatus (0.1.0-ballot) (required)
pdlgcManifest.comments 0..1stringcommentaire associé à l'export
pdlgcManifest.author 1..1pdlgcAuthorLogiciel responsable de la production et de l'export de l'archive de portabiltié
pdlgcManifest.statistics 1..1BackboneElementStatistiques globales de l'archive
pdlgcManifest.statistics.patientArchiveCount 1..1positiveIntNombre d'archives patients transportées
pdlgcManifest.statistics.transverseArchiveCount 1..1positiveIntNombre d'archives transverse trasnportées
pdlgcManifest.archives 1..*BackboneElementinformations relatives aux archives patients et transverses contenues dans l'archive de portabilité
XML Element Name: Archives
pdlgcManifest.archives.archive C1..*BackboneElementinformations relatives à une archive Patient ou Transverse
XML Element Name: Archive
pdlgcManifest.archives.archive.archiveid 1..1Identifieridentifiant du répertoire ('PATnnnnn' ou 'TRANSV')
pdlgcManifest.archives.archive.type 1..1codePATIENT | TRANSVERSE
Binding: VS_PDLGC_ArchiveType (0.1.0-ballot) (required)
pdlgcManifest.archives.archive.patientId 0..1xdmPatientIdIdentifiant du Patient s'il s'agit d'une archive XDM Patient
pdlgcManifest.archives.archive.size 1..1integerTaille de l'archive zip
pdlgcManifest.archives.archive.hash 1..1stringHash SHA-256 de l'archive concernée

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "pdlgcManifest",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest",
  "version": "0.1.0-ballot",
  "name": "PDLGCManifest",
  "title": "PDLGC Manifest",
  "status": "draft",
  "date": "2026-10-20T16:30:51+00:00",
  "publisher": "Agence du Numérique en Santé (ANS) - 2-10 Rue d'Oradour-sur-Glane, 75015 Paris",
  "contact": [
    {
      "name": "Agence du Numérique en Santé (ANS) - 2-10 Rue d'Oradour-sur-Glane, 75015 Paris",
      "telecom": [
        {
          "system": "url",
          "value": "https://esante.gouv.fr"
        }
      ]
    }
  ],
  "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",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "FR",
          "display": "France (la)"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base|4.0.1",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "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",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "pdlgcManifest.exportId",
        "path": "pdlgcManifest.exportId",
        "short": "Identifiant unique affecté à l'archive de portabilité",
        "definition": "Identifiant unique affecté à l'archive de portabilité",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.exportId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "pdlgcManifest.exportType",
        "path": "pdlgcManifest.exportType",
        "short": "Type de l'export : UNITAIRE|CIBLE|MASSIF",
        "definition": "Type de l'export : UNITAIRE|CIBLE|MASSIF",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.exportType",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-export-type|0.1.0-ballot"
        }
      },
      {
        "id": "pdlgcManifest.exportStartTime",
        "path": "pdlgcManifest.exportStartTime",
        "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é",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.exportStartTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "pdlgcManifest.exportEndTime",
        "path": "pdlgcManifest.exportEndTime",
        "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é",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.exportEndTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "pdlgcManifest.exportStatus",
        "path": "pdlgcManifest.exportStatus",
        "short": "COMPLETE|PARTIAL|SAMPLE",
        "definition": "COMPLETE|PARTIAL|SAMPLE",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.exportStatus",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-export-status|0.1.0-ballot"
        }
      },
      {
        "id": "pdlgcManifest.comments",
        "path": "pdlgcManifest.comments",
        "short": "commentaire associé à l'export",
        "definition": "commentaire associé à l'export",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.comments",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pdlgcManifest.author",
        "path": "pdlgcManifest.author",
        "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é",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.author",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcAuthor"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics",
        "path": "pdlgcManifest.statistics",
        "short": "Statistiques globales de l'archive",
        "definition": "Statistiques globales de l'archive",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.statistics",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics.id",
        "path": "pdlgcManifest.statistics.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics.extension",
        "path": "pdlgcManifest.statistics.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "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.",
        "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics.modifierExtension",
        "path": "pdlgcManifest.statistics.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "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).",
        "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.",
        "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).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics.patientArchiveCount",
        "path": "pdlgcManifest.statistics.patientArchiveCount",
        "short": "Nombre d'archives patients transportées",
        "definition": "Nombre d'archives patients transportées",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.statistics.patientArchiveCount",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "positiveInt"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics.transverseArchiveCount",
        "path": "pdlgcManifest.statistics.transverseArchiveCount",
        "short": "Nombre d'archives transverse trasnportées",
        "definition": "Nombre d'archives transverse trasnportées",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.statistics.transverseArchiveCount",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "positiveInt"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "Archives"
          }
        ],
        "path": "pdlgcManifest.archives",
        "short": "informations relatives aux archives patients et transverses contenues dans l'archive de portabilité",
        "definition": "informations relatives aux archives patients et transverses contenues dans l'archive de portabilité",
        "min": 1,
        "max": "*",
        "base": {
          "path": "pdlgcManifest.archives",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.id",
        "path": "pdlgcManifest.archives.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.extension",
        "path": "pdlgcManifest.archives.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "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.",
        "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.modifierExtension",
        "path": "pdlgcManifest.archives.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "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).",
        "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.",
        "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).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "Archive"
          }
        ],
        "path": "pdlgcManifest.archives.archive",
        "short": "informations relatives à une archive Patient ou Transverse",
        "definition": "informations relatives à une archive Patient ou Transverse",
        "min": 1,
        "max": "*",
        "base": {
          "path": "pdlgcManifest.archives.archive",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ArchiveType-invariant",
            "severity": "error",
            "human": "Le patientId est obligatoire si et seulement si l'archive est de type PATIENT (absent pour une archive TRANSVERSE)",
            "expression": "(type = 'PATIENT') = patientId.exists()",
            "source": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest|0.1.0-ballot"
          },
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.id",
        "path": "pdlgcManifest.archives.archive.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.extension",
        "path": "pdlgcManifest.archives.archive.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "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.",
        "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.modifierExtension",
        "path": "pdlgcManifest.archives.archive.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "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).",
        "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.",
        "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).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.archiveid",
        "path": "pdlgcManifest.archives.archive.archiveid",
        "short": "identifiant du répertoire ('PATnnnnn' ou 'TRANSV')",
        "definition": "identifiant du répertoire ('PATnnnnn' ou 'TRANSV')",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.archives.archive.archiveid",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.type",
        "path": "pdlgcManifest.archives.archive.type",
        "short": "PATIENT | TRANSVERSE",
        "definition": "PATIENT | TRANSVERSE",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.archives.archive.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-archive-type|0.1.0-ballot"
        }
      },
      {
        "id": "pdlgcManifest.archives.archive.patientId",
        "path": "pdlgcManifest.archives.archive.patientId",
        "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",
        "min": 0,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.archives.archive.patientId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/xdmPatientId"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.size",
        "path": "pdlgcManifest.archives.archive.size",
        "short": "Taille de l'archive zip",
        "definition": "Taille de l'archive zip",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.archives.archive.size",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.hash",
        "path": "pdlgcManifest.archives.archive.hash",
        "short": "Hash SHA-256 de l'archive concernée",
        "definition": "Hash SHA-256 de l'archive concernée",
        "min": 1,
        "max": "1",
        "base": {
          "path": "pdlgcManifest.archives.archive.hash",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "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",
        "path": "pdlgcManifest.exportId",
        "short": "Identifiant unique affecté à l'archive de portabilité",
        "definition": "Identifiant unique affecté à l'archive de portabilité",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "pdlgcManifest.exportType",
        "path": "pdlgcManifest.exportType",
        "short": "Type de l'export : UNITAIRE|CIBLE|MASSIF",
        "definition": "Type de l'export : UNITAIRE|CIBLE|MASSIF",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-export-type|0.1.0-ballot"
        }
      },
      {
        "id": "pdlgcManifest.exportStartTime",
        "path": "pdlgcManifest.exportStartTime",
        "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é",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "pdlgcManifest.exportEndTime",
        "path": "pdlgcManifest.exportEndTime",
        "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é",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "pdlgcManifest.exportStatus",
        "path": "pdlgcManifest.exportStatus",
        "short": "COMPLETE|PARTIAL|SAMPLE",
        "definition": "COMPLETE|PARTIAL|SAMPLE",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-export-status|0.1.0-ballot"
        }
      },
      {
        "id": "pdlgcManifest.comments",
        "path": "pdlgcManifest.comments",
        "short": "commentaire associé à l'export",
        "definition": "commentaire associé à l'export",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "pdlgcManifest.author",
        "path": "pdlgcManifest.author",
        "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é",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcAuthor"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics",
        "path": "pdlgcManifest.statistics",
        "short": "Statistiques globales de l'archive",
        "definition": "Statistiques globales de l'archive",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics.patientArchiveCount",
        "path": "pdlgcManifest.statistics.patientArchiveCount",
        "short": "Nombre d'archives patients transportées",
        "definition": "Nombre d'archives patients transportées",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "positiveInt"
          }
        ]
      },
      {
        "id": "pdlgcManifest.statistics.transverseArchiveCount",
        "path": "pdlgcManifest.statistics.transverseArchiveCount",
        "short": "Nombre d'archives transverse trasnportées",
        "definition": "Nombre d'archives transverse trasnportées",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "positiveInt"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "Archives"
          }
        ],
        "path": "pdlgcManifest.archives",
        "short": "informations relatives aux archives patients et transverses contenues dans l'archive de portabilité",
        "definition": "informations relatives aux archives patients et transverses contenues dans l'archive de portabilité",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "Archive"
          }
        ],
        "path": "pdlgcManifest.archives.archive",
        "short": "informations relatives à une archive Patient ou Transverse",
        "definition": "informations relatives à une archive Patient ou Transverse",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ArchiveType-invariant",
            "severity": "error",
            "human": "Le patientId est obligatoire si et seulement si l'archive est de type PATIENT (absent pour une archive TRANSVERSE)",
            "expression": "(type = 'PATIENT') = patientId.exists()",
            "source": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/pdlgcManifest|0.1.0-ballot"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.archiveid",
        "path": "pdlgcManifest.archives.archive.archiveid",
        "short": "identifiant du répertoire ('PATnnnnn' ou 'TRANSV')",
        "definition": "identifiant du répertoire ('PATnnnnn' ou 'TRANSV')",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.type",
        "path": "pdlgcManifest.archives.archive.type",
        "short": "PATIENT | TRANSVERSE",
        "definition": "PATIENT | TRANSVERSE",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://interop.esante.gouv.fr/ig/pdlgc/ValueSet/vs-pdlgc-archive-type|0.1.0-ballot"
        }
      },
      {
        "id": "pdlgcManifest.archives.archive.patientId",
        "path": "pdlgcManifest.archives.archive.patientId",
        "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",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://interop.esante.gouv.fr/ig/pdlgc/StructureDefinition/xdmPatientId"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.size",
        "path": "pdlgcManifest.archives.archive.size",
        "short": "Taille de l'archive zip",
        "definition": "Taille de l'archive zip",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "pdlgcManifest.archives.archive.hash",
        "path": "pdlgcManifest.archives.archive.hash",
        "short": "Hash SHA-256 de l'archive concernée",
        "definition": "Hash SHA-256 de l'archive concernée",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}