{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/MyList",
  "name": "MyList",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List.identifier",
        "path": "List.identifier",
        "short": "Identificativo del List",
        "definition": "Identificativo del List",
        "mapping": [
          {
            "identity": "xds",
            "map": "uniqueId"
          }
        ]
      },
      {
        "id": "List.code",
        "path": "List.code",
        "short": "Scopo di questa risorsa",
        "definition": "Scopo di questa risorsa",
        "comment": "Scopo di questa risorsa. CodingScheme=\"Medas contentTypeCodes v1",
        "min": 1,
        "mapping": [
          {
            "identity": "xds",
            "map": "ContentTypeCode"
          }
        ]
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "short": "Riferimento al paziente in oggetto nel documento",
        "definition": "Riferimento al paziente in oggetto nel documento",
        "comment": "Riferimento al paziente in oggetto nel documento",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.it/fhir/StructureDefinition/Patient-it-base"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "xds",
            "map": "patientId"
          }
        ]
      },
      {
        "id": "List.subject.identifier",
        "path": "List.subject.identifier",
        "mapping": [
          {
            "identity": "XDS",
            "map": "patientId"
          }
        ]
      },
      {
        "id": "List.date",
        "path": "List.date",
        "short": "Quando è stato creato questo List",
        "definition": "Data creazione del  List",
        "comment": "Data creazione del  List",
        "min": 1,
        "mapping": [
          {
            "identity": "xds",
            "map": "submissionTime"
          }
        ]
      },
      {
        "id": "List.source",
        "path": "List.source",
        "short": "Reference al practiotionerole/organization",
        "definition": "Reference al practiotionerole/organization",
        "comment": "Reference al practiotionerole/organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.it/fhir/StructureDefinition/Practitioner-it-base",
              "http://hl7.it/fhir/StructureDefinition/Organization-it-base"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "xds",
            "map": "authorPerson/sourceId"
          }
        ]
      },
      {
        "id": "List.entry.item",
        "path": "List.entry.item",
        "short": "Item di questa lista,reference al DocumentReference",
        "definition": "Item di questa lista,reference al DocumentReference",
        "comment": "Item di questa lista,reference al DocumentReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://example.org/fhir/StructureDefinition/MyDocumentReference"
            ]
          }
        ]
      }
    ]
  }
}