{
  "resourceType": "StructureDefinition",
  "id": "images-List",
  "url": "http://nictiz.nl/fhir/StructureDefinition/images-List",
  "version": "0.1.0",
  "name": "images-List",
  "title": "Images List",
  "status": "draft",
  "date": "2019-02-01",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "info@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Profile on List to support the MedMij Images use case where a patient/PHR sends a collection of images to a healtcare provider/XIS.\n\nA number of elements are made mandatory to accomodate succesfull entries in a XDS network.  This profile provides a mapping of the metadata attributes associated with a Document Sharing Folder object. The full Folder metadata attribute definition is in IHE ITI TF-3 Section 4.2.3.4.",
  "copyright": "CC0",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "ihe-xds-folder-metadata-attributes",
      "uri": "http://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_MHD.pdf",
      "name": "Folder Metadata Attributes",
      "comment": "Table 4.2.3.4-1: Folder Metadata Attribute Definitions"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List",
        "path": "List",
        "mapping": [
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "Folder"
          }
        ]
      },
      {
        "id": "List.identifier",
        "path": "List.identifier",
        "min": 1,
        "mapping": [
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "uniqueId"
          },
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "entryUUID"
          }
        ]
      },
      {
        "id": "List.status",
        "path": "List.status",
        "mapping": [
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "availabilityStatus"
          }
        ]
      },
      {
        "id": "List.title",
        "path": "List.title",
        "mapping": [
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "title"
          }
        ]
      },
      {
        "id": "List.code",
        "path": "List.code",
        "mapping": [
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "codeList"
          }
        ]
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          }
        ],
        "mapping": [
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "patientId"
          }
        ]
      },
      {
        "id": "List.date",
        "path": "List.date",
        "mapping": [
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "lastUpdateTime"
          }
        ]
      },
      {
        "id": "List.source",
        "path": "List.source",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct"
          }
        ]
      },
      {
        "id": "List.note",
        "path": "List.note",
        "mapping": [
          {
            "identity": "ihe-xds-folder-metadata-attributes",
            "map": "comments"
          }
        ]
      }
    ]
  }
}