{
  "resourceType": "StructureDefinition",
  "id": "DocumentManifest",
  "text": {
    "status": "additional",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\tStructureDefinition for DocumentManifest as represented in the Provide and Query interactions in the \n    IHE IT Infrastructure Technical Framework Supplement <a href=\"http://wiki.ihe.net/index.php/Mobile_access_to_Health_Documents_(MHD)\">Mobile access to Health Documents (MHD) Rev. 2.3</a>.\n\tThe IHE MHD Profile text is Normative, this conformance resource is Informative.</div>"
  },
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/DocumentManifest",
  "name": "DocumentManifest",
  "title": "IHE MHD compliant Profile on DocumentManifest (SubmissionSet)",
  "status": "active",
  "experimental": false,
  "date": "2019-07-18",
  "publisher": "Dedalus",
  "description": "Profile on DocumentManifest based derived from IHE IT Infrastructure Technical Framework Supplement - Mobile access to Health Documents (MHD) Rev. 2.3.  See http://wiki.ihe.net/index.php/Mobile_access_to_Health_Documents_(MHD)  The IHE MHD Profile text is Normative, this conformance resource is Informative.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "DocumentManifest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentManifest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DocumentManifest.meta",
        "path": "DocumentManifest.meta",
        "type": [
          {
            "code": "Meta",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Meta-ForCommonConformance"
          }
        ]
      },
      {
        "id": "DocumentManifest.meta.tag",
        "path": "DocumentManifest.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "DocumentManifest.text",
        "path": "DocumentManifest.text",
        "mapping": [
          {
            "identity": "XDS",
            "map": "SubmissionSet.comment"
          }
        ]
      },
      {
        "id": "DocumentManifest.masterIdentifier",
        "path": "DocumentManifest.masterIdentifier",
        "min": 1
      },
      {
        "id": "DocumentManifest.identifier",
        "path": "DocumentManifest.identifier",
        "min": 1
      },
      {
        "id": "DocumentManifest.status",
        "path": "DocumentManifest.status",
        "comment": "approved -> status=current"
      },
      {
        "id": "DocumentManifest.type",
        "path": "DocumentManifest.type",
        "min": 1
      },
      {
        "id": "DocumentManifest.subject",
        "path": "DocumentManifest.subject",
        "comment": "Not a contained resource. URL Points to an existing Patient resource representing Affinity Domain Patient",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "DocumentManifest.created",
        "path": "DocumentManifest.created",
        "min": 1
      },
      {
        "id": "DocumentManifest.author",
        "path": "DocumentManifest.author",
        "comment": "Contained resource of type Practitioner or Organization with:\r\n* authorInstitution: Organization\r\nFor Practionioner, also with:\r\n* authorPerson: Practitioner.identifier and Practitioner.name\r\n* authorRole:—Not supported in STU3\r\n* authorSpecialty: Practitioner.qualification\r\n* authorTelecommunication: Practitioner.telecom",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DocumentManifest.source",
        "path": "DocumentManifest.source",
        "min": 1
      },
      {
        "id": "DocumentManifest.content.p[x]:pReference",
        "path": "DocumentManifest.content.pReference",
        "sliceName": "pReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/DocumentReference"
          }
        ]
      },
      {
        "id": "DocumentManifest.related",
        "path": "DocumentManifest.related",
        "comment": "These HL7 FHIR STU3 elements are not used in XDS, therefore would not be present. Document Consumers should be robust to these elements holding values.",
        "max": "1"
      }
    ]
  }
}