PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.1.3
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Observation-1
description: The Observation resource is used for tracking the current and historical observations that have been made for a patient.
package_name: gpc.stu3.fhir-assets
derivation: constraint
name: CareConnect-GPC-Observation-1
type: Observation
elements:
  category:
    elements:
      coding:
        index: 9
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 10
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 12}
                elements:
                  extension:
                    index: 11
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 12}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 13
                  version: {index: 14}
                  code: {index: 15}
                  display: {index: 16}
                required: [display, system, code]
  referenceRange: {mustSupport: true, index: 67}
  meta:
    elements:
      profile: {index: 0}
    required: [profile]
  interpretation: {mustSupport: true, index: 45}
  method:
    mustSupport: true
    index: 56
    elements:
      coding:
        index: 57
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 58
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 60}
                elements:
                  extension:
                    index: 59
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 60}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 61
                  version: {index: 62}
                  code: {index: 63}
                  display: {index: 64}
                required: [display, system, code]
  valueTime: {type: time, mustSupport: true, choiceOf: value, index: 41}
  specimen:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Specimen-1']
    index: 65
  valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 33}
  value:
    mustSupport: true
    choices: [valueQuantity, valueCodeableConcept, valueString, valueBoolean, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, valuePeriod]
    index: 32
  valueString: {type: string, mustSupport: true, choiceOf: value, index: 35}
  valueRatio: {type: Ratio, mustSupport: true, choiceOf: value, index: 38}
  valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 36}
  valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 42}
  related:
    mustSupport: true
    index: 68
    elements:
      type: {mustSupport: true, index: 69}
      target:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', 'http://hl7.org/fhir/StructureDefinition/Sequence', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Observation-1']
        index: 70
  component:
    mustSupport: true
    index: 71
    elements:
      valueTime: {type: time, choiceOf: value, index: 89}
      valueQuantity: {type: Quantity, choiceOf: value, index: 82}
      value:
        choices: [valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, valuePeriod]
        index: 81
      valueString: {type: string, choiceOf: value, index: 84}
      valueRatio: {type: Ratio, choiceOf: value, index: 86}
      valueDateTime: {type: dateTime, choiceOf: value, index: 90}
      valueSampledData: {type: SampledData, choiceOf: value, index: 87}
      code:
        elements:
          coding:
            index: 72
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 73
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 75}
                    elements:
                      extension:
                        index: 74
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 75}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 76
                      version: {index: 77}
                      code: {index: 78}
                      display: {index: 79}
                    required: [display, system, code]
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 83}
      valuePeriod: {type: Period, choiceOf: value, index: 91}
      valueRange: {type: Range, choiceOf: value, index: 85}
      valueAttachment: {type: Attachment, choiceOf: value, index: 88}
      dataAbsentReason: {mustSupport: true, index: 92}
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        reason:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: h, index: 2}
  valueSampledData: {type: SampledData, mustSupport: true, choiceOf: value, index: 39}
  status: {index: 8}
  effective:
    mustSupport: true
    choices: []
    index: 28
  comment: {mustSupport: true, index: 46}
  code:
    elements:
      coding:
        index: 17
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 18
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 20}
                elements:
                  extension:
                    index: 19
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 20}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 21
                  version: {index: 22}
                  code: {index: 23}
                  display: {index: 24}
                required: [display, system, code]
  identifier:
    index: 3
    elements:
      system: {index: 4}
      value: {index: 5}
      assigner:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1']
        index: 6
    required: [value, system]
  valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 34}
  bodySite:
    mustSupport: true
    index: 47
    elements:
      coding:
        index: 48
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 49
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 51}
                elements:
                  extension:
                    index: 50
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 51}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 52
                  version: {index: 53}
                  code: {index: 54}
                  display: {index: 55}
                required: [display, system, code]
  context:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Encounter-1']
    index: 26
  issued: {mustSupport: true, index: 29}
  valuePeriod: {type: Period, mustSupport: true, choiceOf: value, index: 43}
  device:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/DeviceMetric', 'https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Device-1']
    index: 66
  basedOn:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation', 'http://hl7.org/fhir/StructureDefinition/NutritionOrder', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-CarePlan-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-ProcedureRequest-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-ReferralRequest-1']
    index: 7
  valueRange: {type: Range, mustSupport: true, choiceOf: value, index: 37}
  valueAttachment: {type: Attachment, mustSupport: true, choiceOf: value, index: 40}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1']
    index: 25
  performer:
    type: Reference
    mustSupport: true
    refers: ['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: 30
  dataAbsentReason: {mustSupport: true, index: 44}
package_version: 1.1.3
extensions:
  reason: {url: h, type: Extension, mustSupport: true, index: 2}
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Observation-1
base: http://hl7.org/fhir/StructureDefinition/Observation
version: '1.7'
required: [issued, identifier, subject]