PackagesCanonicalsLogsProblems
    Packages
    digidot.ny@0.2.6
    http://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no
description: null
package_name: digidot.ny
derivation: constraint
name: digidot_Observation_no
type: Observation
elements:
  category:
    binding: {strength: preferred, valueSet: 'http://terminology.hl7.org/ValueSet/observation-category'}
    array: true
    index: 1
  interpretation: {array: true, index: 18}
  encounter:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no']
    index: 7
  valueQuantity: {type: Quantity, short: Resultatverdi, choiceOf: value, index: 13}
  value:
    short: Resultatverdi
    choices: [valueQuantity, valueCodeableConcept, valueString, valueInteger, valueBoolean]
    index: 12
  valueString: {type: string, short: Resultatverdi, choiceOf: value, index: 15}
  valueBoolean: {type: boolean, short: Resultatverdi, choiceOf: value, index: 17}
  note: {array: true, index: 25}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 10}
  status:
    pattern: {type: Code, value: final}
    index: 0
  effective:
    choices: [effectiveDateTime]
    index: 9
  code:
    short: Observable entity
    binding: {strength: required, valueSet: 'http://snomed.info/sct?fhir_vs=isa/363787002'}
    constraint:
      obs-sct-min1: {human: Minst én SNOMED (pre eller post) bør være til stede., severity: warning, expression: 'coding.where(system = ''http://snomed.info/sct'').exists()'}
    index: 2
    elements:
      coding:
        array: true
        min: 1
        max: 2
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: profile}
          min: 1
          max: 2
          slices:
            SCTpre:
              match: {}
              schema: {type: Coding, _required: true, index: 4}
              min: 1
              max: 1
            SCTpost:
              match: {}
              schema: {type: Coding, index: 5}
              min: 0
              max: 1
    required: [coding]
  valueCodeableConcept: {type: CodeableConcept, short: Resultatverdi, choiceOf: value, index: 14}
  bodySite:
    array: true
    index: 19
    elements:
      coding:
        array: true
        index: 20
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 0
          slices:
            sct:
              match: {system: 'http://snomed.info/sct'}
              schema:
                array: true
                index: 21
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 22
                  code: {index: 23}
                  display: {index: 24}
                required: [system, code]
  valueInteger: {type: integer, short: Resultatverdi, choiceOf: value, index: 16}
  subject:
    type: Reference
    refers: ['http://hl7.no/fhir/StructureDefinition/no-basis-Patient', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 6
  performer:
    type: Reference
    refers: ['http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner', 'http://hl7.no/fhir/StructureDefinition/no-basis-PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole']
    array: true
    index: 26
package_version: 0.2.6
class: profile
kind: resource
url: http://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.1.3
required: [status, subject, code]