PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@1.1.1
    http://nictiz.nl/fhir/StructureDefinition/images-Media
{
  "description": "Profile on Media to support the MedMij Images use case where a patient/PHR sends a image to a healtcare provider/XIS.\\r\\n\\r\\nA number of elements are made mandatory to accomodate succesfull entries in a XDS network. Mappings to the IHE MHD profile on DocumentReference and XDS DocumentEntry are provided to assists in this.",
  "_filename": "images-Media.json",
  "package_name": "nictiz.fhir.nl.stu3.zib2017",
  "date": null,
  "derivation": "constraint",
  "publisher": "Nictiz",
  "fhirVersion": "3.0.1",
  "name": "images-Media",
  "mapping": [ {
    "uri": "https://simplifier.net/search?canonical=http://ihe.net/fhir/structuredefinition/ihe.mhd.provide.comprehensive.documentreference",
    "name": "IHE MHD DocumentReference (XDS-on-FHIR)",
    "comment": "Profile for IHE MHD DocumentReference a.k.a. XDS-on-FHIR",
    "identity": "ihe-mhd-documentreference-xds-on-fhir"
  }, {
    "uri": "https://wiki.ihe.net/index.php/Cross-Enterprise_Document_Sharing",
    "name": "XDS metadata equivalent",
    "identity": "xds"
  } ],
  "abstract": false,
  "copyright": "CC0",
  "type": "Media",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Images Media",
  "package_version": "1.1.1",
  "status": "draft",
  "id": "da36aa55-2363-474e-9e67-148a35aba932",
  "kind": "resource",
  "url": "http://nictiz.nl/fhir/StructureDefinition/images-Media",
  "version": "0.2.0",
  "differential": {
    "element": [ {
      "id": "Media",
      "path": "Media",
      "mapping": [ {
        "map": "DocumentReference",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      } ]
    }, {
      "id": "Media.meta.security",
      "path": "Media.meta.security",
      "mapping": [ {
        "map": "DocumentReference.securityLabel",
        "comment": "If no value is present 'normal' as default",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.confidentialityCode",
        "comment": "If no value is present 'normal' as default",
        "identity": "xds"
      } ]
    }, {
      "id": "Media.identifier",
      "min": 1,
      "path": "Media.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Media.identifier:masterIdentifier",
      "max": "1",
      "min": 1,
      "path": "Media.identifier",
      "short": "Master Version Specific Identifier",
      "mapping": [ {
        "map": "DocumentReference.masterIdentifier",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.uniqueId",
        "identity": "xds"
      } ],
      "sliceName": "masterIdentifier",
      "definition": "Image identifier as assigned by the source of the image / Media. This identifier is specific to this version of the image. This unique identifier may be used elsewhere to identify this version of the image."
    }, {
      "id": "Media.identifier:masterIdentifier.system",
      "min": 1,
      "path": "Media.identifier.system"
    }, {
      "id": "Media.identifier:masterIdentifier.value",
      "min": 1,
      "path": "Media.identifier.value"
    }, {
      "id": "Media.basedOn",
      "path": "Media.basedOn",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-ProcedureRequest"
      } ]
    }, {
      "id": "Media.type",
      "path": "Media.type",
      "comment": "The value 'photo' shall be used in the MedMij images use case. This is value is mapped to XDS DocumentEntry.type with a fixed LOINC code: 72170-4 Photographic image Unspecified body region Document.",
      "mapping": [ {
        "map": "DocumentReference.type",
        "comment": "Fixed LOINC code: 72170-4 Photographic image",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.type",
        "comment": "Fixed LOINC code: 72170-4 Photographic image",
        "identity": "xds"
      } ],
      "fixedCode": "photo"
    }, {
      "id": "Media.subject",
      "min": 1,
      "path": "Media.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
      } ],
      "short": "Who this Media is a record of",
      "comment": "Within the MedMij image use case and IHE MHD this sould be a reference to the Patient resource who is the subject of the Media resource. Not a contained resource. URL Points to an existing Patient Resource representing the XDS Affinity Domain Patient.",
      "mapping": [ {
        "map": "DocumentReference.subject",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.patientId",
        "identity": "xds"
      } ],
      "definition": "Who this Media is a record of."
    }, {
      "id": "Media.occurrence[x]:occurrenceDateTime",
      "path": "Media.occurrenceDateTime",
      "type": [ {
        "code": "dateTime"
      } ],
      "comment": "No occurencePeriod because for a XDS entry this is mapped to DocumentReference.indexed / DocumentEntry.submissionTime.",
      "mapping": [ {
        "map": "DocumentReference.indexed",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.submissionTime",
        "identity": "xds"
      } ],
      "sliceName": "occurrenceDateTime",
      "definition": "The date and time at which the media was collected."
    }, {
      "id": "Media.operator",
      "path": "Media.operator",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
      } ],
      "mapping": [ {
        "map": "DocumentReference.author",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.author",
        "identity": "xds"
      } ]
    }, {
      "id": "Media.operator.extension",
      "path": "Media.operator.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Media.operator.extension:practitionerRole",
      "max": "1",
      "path": "Media.operator.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference"
      } ],
      "sliceName": "practitionerRole"
    }, {
      "id": "Media.operator.extension:patient",
      "max": "1",
      "path": "Media.operator.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://nictiz.nl/fhir/StructureDefinition/media-operator-patient-reference"
      } ],
      "sliceName": "patient"
    }, {
      "id": "Media.reasonCode",
      "path": "Media.reasonCode",
      "comment": "For XDS entry if no reasonCode value is present the default code for DocumentReference and a XDS DocumentEntry shall be a fixed LOINC code 72170-4 Photographic image. If mutiple reasonCodes are provided use the the first one.",
      "mapping": [ {
        "map": "DocumentReference.class",
        "comment": "If no reasonCode is present fixed LOINC code 72170-4 Photographic image",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.class",
        "comment": "If no reasonCode is present fixed LOINC code 72170-4 Photographic image",
        "identity": "xds"
      } ]
    }, {
      "id": "Media.device",
      "path": "Media.device",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
      } ]
    }, {
      "id": "Media.content.contentType",
      "min": 1,
      "path": "Media.content.contentType",
      "short": "Mime type of the image",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MimeType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "MediaContentTypeCodelijst based on Dicom's Web Services rendered Media Types for single frame images.",
        "valueSetReference": {
          "reference": "http://nictiz.nl/fhir/ValueSet/images-MediaContentTypeCodelijst"
        }
      },
      "mapping": [ {
        "map": "DocumentReference.content.attachment.contentType",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.mimeType",
        "identity": "xds"
      } ],
      "definition": "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. \r\nShall be one of the following: jpeg, gif, png, jp2."
    }, {
      "id": "Media.content.url",
      "min": 1,
      "path": "Media.content.url",
      "comment": "The Media.content.url points at the image content, which shall be in the Bundle as a Binary resource.  \r\n\r\nIf both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.",
      "example": [ {
        "label": "Reference to Binary",
        "valueUri": "Binary/eczeem-detail-acuut"
      } ],
      "mapping": [ {
        "map": "DocumentReference.content.attachment.url",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.URI",
        "identity": "xds"
      } ]
    }, {
      "id": "Media.content.size",
      "min": 1,
      "path": "Media.content.size",
      "comment": "The size is calculated on the data prior to base64 encoding, if the data is base64 encoded.",
      "mapping": [ {
        "map": "DocumentReference.content.attachment.size",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.size",
        "identity": "xds"
      } ]
    }, {
      "id": "Media.content.hash",
      "min": 1,
      "path": "Media.content.hash",
      "comment": "The IHE Document Sharing metadata element hash holds the SHA1 hash of the document. The hash is encoded in FHIR in base64Binary, whereas in XDS hexbinary is used. The hash is calculated on the data prior to base64 encoding, if the data is base64 encoded.",
      "mapping": [ {
        "map": "DocumentReference.content.attachment.hash",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.hash",
        "identity": "xds"
      } ]
    }, {
      "id": "Media.content.title",
      "path": "Media.content.title",
      "mapping": [ {
        "map": "DocumentEntry.title",
        "identity": "xds"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ]
    }, {
      "id": "Media.content.creation",
      "path": "Media.content.creation",
      "comment": "This HL7 FHIR STU3 element is not used in IHE MHD XDS, therefore would not be present."
    }, {
      "id": "Media.note",
      "path": "Media.note",
      "mapping": [ {
        "map": "DocumentReference.description",
        "identity": "ihe-mhd-documentreference-xds-on-fhir"
      }, {
        "map": "DocumentEntry.description",
        "identity": "xds"
      } ]
    }, {
      "id": "Media.note.author[x]",
      "path": "Media.note.author[x]",
      "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://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
      }, {
        "code": "string"
      } ]
    }, {
      "id": "Media.note.author[x].extension",
      "path": "Media.note.author[x].extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Media.note.author[x].extension:practitionerRole",
      "max": "1",
      "path": "Media.note.author[x].extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference"
      } ],
      "sliceName": "practitionerRole"
    } ]
  },
  "contact": [ {
    "name": "Nictiz",
    "telecom": [ {
      "use": "work",
      "value": "info@nictiz.nl",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Media"
}