PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.mhd@4.2.5-comment
    https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.SimplifiedPublish.DocumentReference
description: A profile on the DocumentReference resource for MHD Simplified Publish constraints. \n- MHD is based on the [IHE Document Sharing](https://profiles.ihe.net/ITI/HIE-Whitepaper/index.html) model, \n- the [3:4.1 Abstract Metadata Model](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.1.html#4.1), and \n- the use defined here is FHIR DocumentReference implementation of the \n- ebRIM implementation at [3:4.2.3.2 Document Entry](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.2.html#4.2.3.2).\n- with use-cases and constraints found in [3:4.3 Additional Document Sharing Requirements](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.3.html#4.3)\n\nSimplified Publish\n- Similar to Minimal Metadata constraints\n  - must be status current\n  - must have a patient indicated\n- uses attachment.data to carry the document, rather than attachment.url\n  - so that the Simplified Publish is a simple POST of the DocumentReference\n  - Document Recipient is expected to extract the .data, use .url
package_name: ihe.iti.mhd
derivation: constraint
name: SimplifiedPublishDocumentReference
type: DocumentReference
elements:
  category: {mustSupport: true, index: 8}
  date: {mustSupport: true, index: 10}
  docStatus: {index: 6}
  content:
    index: 14
    elements:
      attachment:
        elements:
          contentType: {index: 15}
          language: {mustSupport: true, index: 16}
          data: {short: 'The document is contained in the .data element, base64 encoded', index: 17}
          url: {index: 18}
          creation: {mustSupport: true, index: 19}
        required: [contentType, data]
      format: {mustSupport: true, index: 20}
  type: {mustSupport: true, index: 7}
  author: {mustSupport: true, index: 11}
  masterIdentifier: {index: 1}
  status:
    pattern: {type: Code, value: current}
    index: 5
  identifier:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        entryUUID:
          match: {type: null}
          schema: {type: Identifier, short: Business identifier for the DocumentReference, index: 3}
          min: 0
          max: 0
        uniqueId:
          match: {type: null}
          schema: {short: Unique identifier for the referenced Document, type: Identifier, mustSupport: true, index: 4}
          min: 0
          max: 1
  relatesTo: {mustSupport: true, index: 12}
  context:
    elements:
      period: {mustSupport: true, index: 21}
      facilityType: {mustSupport: true, index: 22}
      practiceSetting: {mustSupport: true, index: 23}
      sourcePatientInfo: {mustSupport: true, index: 24}
  securityLabel: {mustSupport: true, index: 13}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 9
  modifierExtension: {index: 0}
package_version: 4.2.5-comment
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.SimplifiedPublish.DocumentReference
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: 4.2.5-comment
required: [masterIdentifier, subject]