PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh@ereferral-econsult-0.11.0-alpha1.0.7
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-DocumentReference
description: A DocumentReference resource is used to index a document, clinical note, and other binary objects to make them available to a healthcare system. A document is some sequence of bytes that is identifiable, establishes its own context (e.g., what subject, author, etc. can be displayed to the user), and has defined update management. The DocumentReference resource can be used with any document format that has a recognized mime type and that conforms to this definition
package_name: ca.on.oh
derivation: constraint
name: EReferralDocumentReference
type: DocumentReference
elements:
  date: {mustSupport: true, index: 14}
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  docStatus:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/composition-status'}
    index: 6
  content:
    mustSupport: true
    index: 17
    elements:
      attachment:
        mustSupport: true
        index: 18
        elements:
          contentType: {mustSupport: true, index: 19}
          language: {mustSupport: true, index: 20}
          data: {mustSupport: true, index: 21}
          url: {mustSupport: true, index: 22}
          size: {mustSupport: true, index: 23}
          hash: {mustSupport: true, index: 24}
          title: {mustSupport: true, index: 25}
        required: [title]
  type:
    mustSupport: true
    index: 7
    elements:
      coding:
        mustSupport: true
        index: 8
        elements:
          system:
            pattern: {type: Uri, value: 'https://loinc.org/'}
            mustSupport: true
            index: 9
          code:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/doc-typecodes'}
            mustSupport: true
            index: 10
          display: {mustSupport: true, index: 11}
  author:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Practitioner']
    index: 15
    elements:
      reference: {mustSupport: true, index: 16}
    required: [reference]
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/document-reference-status'}
    pattern: {type: Code, value: current}
    mustSupport: true
    index: 5
  identifier:
    mustSupport: true
    index: 2
    elements:
      system: {mustSupport: true, index: 3}
      value: {mustSupport: true, index: 4}
  context:
    mustSupport: true
    index: 26
    elements:
      related:
        type: Reference
        mustSupport: true
        refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest']
        index: 27
        elements:
          reference: {mustSupport: true, index: 28}
        required: [reference]
    required: [related]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Patient']
    index: 12
    elements:
      reference: {mustSupport: true, index: 13}
    required: [reference]
package_version: ereferral-econsult-0.11.0-alpha1.0.7
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-DocumentReference
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: 1.0.0
required: [meta]