PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu1@1.0.0
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation
description: Defines the UK Core constraints and extensions on the observation resource for the minimal set of data to query and retrieve generic observation information.
package_name: fhir.r4.ukcore.stu1
derivation: constraint
name: UKCoreObservation
type: Observation
elements:
  hasMember:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/MolecularSequence', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation']
    index: 31
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 32
  derivedFrom:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/ImagingStudy', 'http://hl7.org/fhir/StructureDefinition/Media', 'http://hl7.org/fhir/StructureDefinition/MolecularSequence', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation']
    index: 33
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 34
  encounter:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter']
    index: 15
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 16
  method: {index: 28}
  specimen:
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 29
  component:
    elements:
      code:
        elements:
          coding:
            index: 35
            slicing:
              rules: open
              discriminator:
              - {path: code, type: value}
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {code: null, system: 'http://snomed.info/sct'}
                  schema:
                    binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-ObservationType'}
                    index: 36
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 37
                      code: {index: 38}
                      display: {index: 39}
                    required: [code, display, system]
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 20
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson']
        index: 21
      authorString: {type: string, choiceOf: author, index: 22}
  code:
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-ObservationType'}
                index: 4
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 5
                  code: {index: 6}
                  display: {index: 7}
                required: [code, display, system]
            loinc:
              match: {system: 'http://loinc.org'}
              schema:
                index: 8
                elements:
                  system:
                    pattern: {type: uri, value: 'http://loinc.org'}
                    type: uri
                    index: 9
                  code: {index: 10}
                  display: {index: 11}
                required: [code, display, system]
  identifier:
    elements:
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
        index: 0
  bodySite:
    elements:
      coding:
        index: 23
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {code: null, system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite'}
                index: 24
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 25
                  code: {index: 26}
                  display: {index: 27}
                required: [code, display, system]
  focus:
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 14
  device:
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 30
  basedOn:
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 1
  partOf:
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 2
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient']
    index: 12
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 13
  performer:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson']
    index: 17
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 18
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.1.2