PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.pcare@0.1.0-dft-preballot
    http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition
description: The structure and clinical attestation of a patient-focused clinical document. Patient-summary requirements are defined separately in the P-Care Patient Summary Composition profile.
package_name: ca.infoway.io.pcare
derivation: constraint
name: PCareComposition
type: Composition
elements:
  category:
    index: 14
    elements:
      coding:
        index: 15
        elements:
          system: {index: 16}
          code: {index: 17}
          display:
            index: 18
            extensions:
              translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation|5.3.0', min: 0, type: Extension, index: 20}
            elements:
              extension:
                index: 19
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    translation:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/translation|5.3.0', index: 20}
                      min: 0
        required: [display, code]
      text: {index: 21}
  date: {index: 26}
  encounter:
    index: 24
    elements:
      reference: {index: 25}
    required: [reference]
  section:
    short: Sections composing the clinical document
    index: 43
    elements:
      id: {index: 44}
      code:
        index: 45
        elements:
          coding:
            index: 46
            elements:
              system: {index: 47}
              code: {index: 48}
              display:
                index: 49
                extensions:
                  translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation|5.3.0', min: 0, type: Extension, index: 51}
                elements:
                  extension:
                    index: 50
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        translation:
                          match: {url: null}
                          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/translation|5.3.0', index: 51}
                          min: 0
            required: [display, system, code]
          text: {index: 52}
        required: [coding]
      text: {index: 53}
      entry:
        index: 54
        elements:
          reference: {index: 55}
        required: [reference]
    required: [id]
  attester:
    elements:
      party:
        type: Reference
        refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner-role', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        index: 30
  type:
    index: 6
    elements:
      coding:
        index: 7
        elements:
          system: {index: 8}
          code: {index: 9}
          display:
            index: 10
            extensions:
              translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation|5.3.0', min: 0, type: Extension, index: 12}
            elements:
              extension:
                index: 11
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    translation:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/translation|5.3.0', index: 12}
                      min: 0
        required: [display, code]
      text: {index: 13}
  title: {index: 29}
  author:
    type: Reference
    short: Who and/or what authored the clinical document
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner-role', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 27
    elements:
      reference: {index: 28}
    required: [reference]
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        Recipients:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-document-recipient', index: 1}
          min: 0
  event:
    index: 37
    elements:
      period:
        index: 38
        elements:
          start: {index: 39}
          end: {index: 40}
        required: [start]
      detail:
        short: Resources describing the clinical event
        index: 41
        elements:
          reference: {index: 42}
        required: [reference]
    required: [period]
  custodian:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization']
    index: 31
    elements:
      reference: {index: 32}
    required: [reference]
  status: {index: 5}
  identifier:
    index: 2
    elements:
      system: {index: 3}
      value: {index: 4}
    required: [value, system]
  relatesTo:
    index: 33
    elements:
      code: {index: 34}
      target:
        choices: []
        index: 36
  subject:
    type: Reference
    short: Patient who is the subject of the clinical document
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient']
    index: 22
    elements:
      reference: {index: 23}
    required: [reference]
package_version: 0.1.0-dft-preballot
extensions:
  Recipients: {url: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-document-recipient', min: 0, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 0.1.0
required: [section, identifier, subject, custodian]