FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/DocMetadataFSE

Packagehl7.eu.fhir.pcsp
TypeStructureDefinition
IdDocMetadataFSE
FHIR VersionR4
Sourcehttp://hl7.eu/fhir/ig/pcsp/http://hl7.eu/fhir/ig/pcsp/0.1.0/StructureDefinition-DocMetadataFSE.html
URLhttp://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocMetadataFSE
Version0.1.0
Statusactive
Date2023-01-26T09:50:21+01:00
NameDocMetadataFSE
TitleMetadata FSE Italy
Realmeu
Authorityhl7
DescriptionMetadata FSE Italy. Maturity Level: 0
Typehttp://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocMetadataFSE
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocMetadataFSE 0..*BaseMetadata FSE Italy
... identifier 0..1Identifierdocument ID
... mimeType 0..1codeMIME type
... size 0..1unsignedIntsize
... hash 0..1base64Binaryhash
... code 0..1CodeableConceptdocument code
... classCode 0..1CodeableConceptType of document
... contentType 0..1CodeableConceptContent Type
... creationDate 0..1dateTimecreation date
... confidentiality 0..1CodeableConceptconfidentiality
... mask 0..1CodeableConceptmask (oscuramento)
... replace 0..1Identifierreplaced document
... formatCode 0..1CodeableConceptFormat of document
... repositoryId 0..1IdentifierRepository Id
... indexDate 0..1dateTimeIndex Date
... practiceSettingCode 0..1CodeableConceptPractice setting code
... patientFiscalCode 0..1IdentifierPatient Fiscal Code
... author 0..1BackboneElementAuthor
.... fiscalCode 0..1IdentifierAuthor Fiscal Code
.... orgCode 0..1CodeableConceptAuthor Organization (code)
.... role 0..1CodeableConceptAuthor Role (code)
... attesterFiscalCode 0..1IdentifierAttester Fiscal Code
... custiodian 0..1CodeableConceptCustodian

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "DocMetadataFSE",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocMetadataFSE",
  "version": "0.1.0",
  "name": "DocMetadataFSE",
  "title": "Metadata FSE Italy",
  "status": "active",
  "date": "2023-01-26T09:50:21+01:00",
  "publisher": "PanCareSurPass Project",
  "contact": [
    {
      "name": "PanCareSurPass Project",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.pancaresurpass.eu/"
        }
      ]
    },
    {
      "name": "PanCareSurPass Project",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.pancaresurpass.eu/"
        }
      ]
    }
  ],
  "description": "Metadata FSE Italy.\nMaturity Level: 0",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "150",
          "display": "Europe"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "fhir",
      "uri": "hl7.org/fhir/r4",
      "name": "DocMetadataFSE model to PCSP HL7 FHIR R4 Profiles"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocMetadataFSE",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "DocMetadataFSE",
        "path": "DocMetadataFSE",
        "short": "Metadata FSE Italy",
        "definition": "Metadata FSE Italy.\nMaturity Level: 0",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "fhir",
            "map": "MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp')"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.identifier",
        "path": "DocMetadataFSE.identifier",
        "short": "document ID",
        "definition": "Id documento (dovrebbe essere sull'oid root di regione Liguria) oid root + extension che comincia per nostro standard con le ultime tre cifre del codice azienda (940 per Gaslini) pi� punto pi� id univoco all'interno dell'azienda)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "�DocumentReference.masterIdentifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.mimeType",
        "path": "DocMetadataFSE.mimeType",
        "short": "MIME type",
        "definition": "Tipo mime del documento",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.mimeType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.contentType"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.size",
        "path": "DocMetadataFSE.size",
        "short": "size",
        "definition": "Size del documento",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.size",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "unsignedInt"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.size"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.hash",
        "path": "DocMetadataFSE.hash",
        "short": "hash",
        "definition": "Hash del documento",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.hash",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.hash"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.code",
        "path": "DocMetadataFSE.code",
        "short": "document code",
        "definition": "Codice loinc del documento (parliamone)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.type"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.classCode",
        "path": "DocMetadataFSE.classCode",
        "short": "Type of document",
        "definition": "Tipo documento (REF)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.classCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.category"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.contentType",
        "path": "DocMetadataFSE.contentType",
        "short": "Content Type",
        "definition": "Content type code (da decidere se consulto o dimissione)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.contentType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.category (TBC)"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.creationDate",
        "path": "DocMetadataFSE.creationDate",
        "short": "creation date",
        "definition": "Data creazione del documento",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.creationDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.creation"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.confidentiality",
        "path": "DocMetadataFSE.confidentiality",
        "short": "confidentiality",
        "definition": "Confidentiality (propendo per V, sarebbe un default))",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.confidentiality",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.securityLabel"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.mask",
        "path": "DocMetadataFSE.mask",
        "short": "mask (oscuramento)",
        "definition": "Oscuramento (propendo per l'invio come oscurato, sarebbe un default)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.mask",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.securityLabel"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.replace",
        "path": "DocMetadataFSE.replace",
        "short": "replaced document",
        "definition": "Eventuale documento sostituito (oid + extension)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.replace",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.relatesTo.where(code = 'replaces').target"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.formatCode",
        "path": "DocMetadataFSE.formatCode",
        "short": "Format of document",
        "definition": "Formato documento (PDF)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.formatCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.format"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.repositoryId",
        "path": "DocMetadataFSE.repositoryId",
        "short": "Repository Id",
        "definition": "Id repository (Gaslini ne ha uno)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.repositoryId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.url"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.indexDate",
        "path": "DocMetadataFSE.indexDate",
        "short": "Index Date",
        "definition": "Data indicizzazione (la aggiunge chi indicizza)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.indexDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.date (TBC)"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.practiceSettingCode",
        "path": "DocMetadataFSE.practiceSettingCode",
        "short": "Practice setting code",
        "definition": "Practice setting code (da stabilire con Gaslini)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.practiceSettingCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.context.practiceSetting"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.patientFiscalCode",
        "path": "DocMetadataFSE.patientFiscalCode",
        "short": "Patient Fiscal Code",
        "definition": "Codice fiscale paziente soggetto del documento",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.patientFiscalCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.subject.resolve().ofType(Patient).identifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author",
        "path": "DocMetadataFSE.author",
        "short": "Author",
        "definition": "Author",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.author",
          "min": 0,
          "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"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author.id",
        "path": "DocMetadataFSE.author.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": "DocMetadataFSE.author.extension",
        "path": "DocMetadataFSE.author.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"
          },
          {
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author.modifierExtension",
        "path": "DocMetadataFSE.author.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"
          },
          {
            "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"
          }
        ],
        "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": "DocMetadataFSE.author.fiscalCode",
        "path": "DocMetadataFSE.author.fiscalCode",
        "short": "Author Fiscal Code",
        "definition": "Codice fiscale autore del documento",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.author.fiscalCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author.resolve().ofType(PractitionerRole).organization.resolve().identifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author.orgCode",
        "path": "DocMetadataFSE.author.orgCode",
        "short": "Author Organization (code)",
        "definition": "Struttura dell'autore (codifica come sopra)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.author.orgCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author.resolve().ofType(PractitionerRole).practitioner.resolve().ofType(Practitioner).identifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author.role",
        "path": "DocMetadataFSE.author.role",
        "short": "Author Role (code)",
        "definition": "Ruolo autore (codifica come sopra)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.author.role",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author.resolve().ofType(PractitionerRole).organization.resolve().code"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.attesterFiscalCode",
        "path": "DocMetadataFSE.attesterFiscalCode",
        "short": "Attester Fiscal Code",
        "definition": "Firmatario del documento (codice fiscale)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.attesterFiscalCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author.resolve().ofType(Practitioner).identifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.custiodian",
        "path": "DocMetadataFSE.custiodian",
        "short": "Custodian",
        "definition": "Codice azienda custode del documento (070940)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DocMetadataFSE.custiodian",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.custodian.resolve().identifier"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "DocMetadataFSE",
        "path": "DocMetadataFSE",
        "short": "Metadata FSE Italy",
        "definition": "Metadata FSE Italy.\nMaturity Level: 0",
        "mapping": [
          {
            "identity": "fhir",
            "map": "MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp')"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.identifier",
        "path": "DocMetadataFSE.identifier",
        "short": "document ID",
        "definition": "Id documento (dovrebbe essere sull'oid root di regione Liguria) oid root + extension che comincia per nostro standard con le ultime tre cifre del codice azienda (940 per Gaslini) pi� punto pi� id univoco all'interno dell'azienda)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "�DocumentReference.masterIdentifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.mimeType",
        "path": "DocMetadataFSE.mimeType",
        "short": "MIME type",
        "definition": "Tipo mime del documento",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.contentType"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.size",
        "path": "DocMetadataFSE.size",
        "short": "size",
        "definition": "Size del documento",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "unsignedInt"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.size"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.hash",
        "path": "DocMetadataFSE.hash",
        "short": "hash",
        "definition": "Hash del documento",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "base64Binary"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.hash"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.code",
        "path": "DocMetadataFSE.code",
        "short": "document code",
        "definition": "Codice loinc del documento (parliamone)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.type"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.classCode",
        "path": "DocMetadataFSE.classCode",
        "short": "Type of document",
        "definition": "Tipo documento (REF)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.category"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.contentType",
        "path": "DocMetadataFSE.contentType",
        "short": "Content Type",
        "definition": "Content type code (da decidere se consulto o dimissione)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.category (TBC)"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.creationDate",
        "path": "DocMetadataFSE.creationDate",
        "short": "creation date",
        "definition": "Data creazione del documento",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.creation"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.confidentiality",
        "path": "DocMetadataFSE.confidentiality",
        "short": "confidentiality",
        "definition": "Confidentiality (propendo per V, sarebbe un default))",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.securityLabel"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.mask",
        "path": "DocMetadataFSE.mask",
        "short": "mask (oscuramento)",
        "definition": "Oscuramento (propendo per l'invio come oscurato, sarebbe un default)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.securityLabel"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.replace",
        "path": "DocMetadataFSE.replace",
        "short": "replaced document",
        "definition": "Eventuale documento sostituito (oid + extension)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.relatesTo.where(code = 'replaces').target"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.formatCode",
        "path": "DocMetadataFSE.formatCode",
        "short": "Format of document",
        "definition": "Formato documento (PDF)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.format"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.repositoryId",
        "path": "DocMetadataFSE.repositoryId",
        "short": "Repository Id",
        "definition": "Id repository (Gaslini ne ha uno)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.content.attachment.url"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.indexDate",
        "path": "DocMetadataFSE.indexDate",
        "short": "Index Date",
        "definition": "Data indicizzazione (la aggiunge chi indicizza)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.date (TBC)"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.practiceSettingCode",
        "path": "DocMetadataFSE.practiceSettingCode",
        "short": "Practice setting code",
        "definition": "Practice setting code (da stabilire con Gaslini)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.context.practiceSetting"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.patientFiscalCode",
        "path": "DocMetadataFSE.patientFiscalCode",
        "short": "Patient Fiscal Code",
        "definition": "Codice fiscale paziente soggetto del documento",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.subject.resolve().ofType(Patient).identifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author",
        "path": "DocMetadataFSE.author",
        "short": "Author",
        "definition": "Author",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author.fiscalCode",
        "path": "DocMetadataFSE.author.fiscalCode",
        "short": "Author Fiscal Code",
        "definition": "Codice fiscale autore del documento",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author.resolve().ofType(PractitionerRole).organization.resolve().identifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author.orgCode",
        "path": "DocMetadataFSE.author.orgCode",
        "short": "Author Organization (code)",
        "definition": "Struttura dell'autore (codifica come sopra)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author.resolve().ofType(PractitionerRole).practitioner.resolve().ofType(Practitioner).identifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.author.role",
        "path": "DocMetadataFSE.author.role",
        "short": "Author Role (code)",
        "definition": "Ruolo autore (codifica come sopra)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author.resolve().ofType(PractitionerRole).organization.resolve().code"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.attesterFiscalCode",
        "path": "DocMetadataFSE.attesterFiscalCode",
        "short": "Attester Fiscal Code",
        "definition": "Firmatario del documento (codice fiscale)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.author.resolve().ofType(Practitioner).identifier"
          }
        ]
      },
      {
        "id": "DocMetadataFSE.custiodian",
        "path": "DocMetadataFSE.custiodian",
        "short": "Custodian",
        "definition": "Codice azienda custode del documento (070940)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "DocumentReference.custodian.resolve().identifier"
          }
        ]
      }
    ]
  }
}