PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.mhd@5.0.0-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:
  practiceSetting: {mustSupport: true, index: 13}
  category: {mustSupport: true, index: 9}
  date: {mustSupport: true, index: 15}
  docStatus: {index: 7}
  content:
    index: 21
    elements:
      attachment:
        elements:
          contentType: {index: 22}
          language: {mustSupport: true, index: 23}
          data: {short: 'The document is contained in the .data element, base64 encoded', index: 24}
          url: {index: 25}
          creation: {mustSupport: true, index: 26}
        required: [contentType, data]
      profile:
        mustSupport: true
        index: 27
        elements:
          value:
            choices: []
            index: 29
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCoding:
                  match: {}
                  schema:
                    choices: [valueCoding]
                    _required: true
                    index: 31
                  min: 1
                  max: 1
          valueCoding:
            type: Coding
            choiceOf: value
            index: 32
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema: {type: Coding, choiceOf: value, _required: true, index: 32}
                  min: 1
                  max: 1
        required: [valueCoding]
  attester:
    index: 17
    elements:
      party: {index: 18}
    required: [party]
  type: {mustSupport: true, index: 8}
  facilityType: {mustSupport: true, index: 12}
  author: {mustSupport: true, index: 16}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        sourcePatientInfo:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient', index: 1}
          min: 0
          max: 1
  event:
    elements:
      concept: {index: 11}
    required: [concept]
  status:
    pattern: {type: Code, value: current}
    index: 6
  identifier:
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      max: 1
      slices:
        uniqueId:
          match: {use: usual}
          schema:
            type: Identifier
            mustSupport: true
            _required: true
            index: 4
            elements:
              use:
                pattern: {type: Code, value: usual}
                index: 5
            required: [use]
  relatesTo: {mustSupport: true, index: 19}
  period: {mustSupport: true, index: 14}
  securityLabel: {mustSupport: true, index: 20}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 10
  modifierExtension: {index: 2}
package_version: 5.0.0-comment
extensions:
  sourcePatientInfo: {url: 'http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.SimplifiedPublish.DocumentReference
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: 5.0.0-comment
required: [identifier, subject]