PackagesCanonicalsLogsProblems
    Packages
    rs/nhsdigital.fhir.stu3@1.3.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-DocumentReference-1
description: The DocumentReference resource is used to describe a document that is made available to a healthcare system.
package_name: rs/nhsdigital.fhir.stu3
derivation: constraint
name: CareConnect-GPC-DocumentReference-1
type: DocumentReference
elements:
  description: {short: Document description or title, index: 21}
  meta:
    elements:
      profile: {index: 0}
    required: [profile]
  content:
    elements:
      attachment:
        elements:
          contentType: {index: 22}
          size: {short: Size of the file, index: 23}
        required: [contentType, size]
  type:
    short: Type of document
    index: 8
    elements:
      coding:
        extensions:
          snomedCTDescriptionID: {url: h, type: Extension, index: 10}
        elements:
          extension:
            index: 9
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                snomedCTDescriptionID:
                  match: {url: null}
                  schema: {type: Extension, url: h, index: 10}
          system: {index: 11}
          version: {index: 12}
          code: {index: 13}
          display: {index: 14}
        required: [code, display, system]
  created: {index: 16}
  author:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-RelatedPerson-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1']
    index: 17
  masterIdentifier:
    short: Version Number of the document
    index: 1
    elements:
      system: {index: 2}
      value: {index: 3}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 4
    required: [system, value]
  custodian:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1']
    index: 19
  identifier:
    short: The identifier of the document.
    index: 5
    elements:
      system: {index: 6}
      value: {index: 7}
    required: [system, value]
  relatesTo:
    elements:
      target:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-DocumentReference-1']
        index: 20
  context:
    elements:
      encounter:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Encounter-1']
        index: 24
      practiceSetting: {index: 25}
      sourcePatientInfo:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1']
        index: 26
      related:
        elements:
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1']
                index: 27
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1']
    index: 15
  authenticator:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1']
    index: 18
package_version: 1.3.0
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-DocumentReference-1
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: '1.3'
required: [identifier, subject]