PackagesCanonicalsLogsProblems
    Packages
    SUPPORT.R4@3.0.0
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-insulindosing-r4
description: Finnish PHR profile for Insulin Dosing
package_name: SUPPORT.R4
derivation: constraint
name: FIPHRSDInsulinDosageR4
type: MedicationAdministration
elements:
  category: {index: 16}
  request: {index: 49}
  eventHistory: {index: 57}
  meta:
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://phr.kanta.fi/StructureDefinition/fiphr-sd-insulindosing-r4'}
        index: 0
    required: [profile]
  dosage:
    elements:
      site: {index: 54}
      route: {index: 55}
      method: {index: 56}
  instantiates: {index: 12}
  medication[x]:
    elements:
      coding:
        array: true
        min: 1
        max: 2
        index: 20
        slicing:
          rules: closed
          discriminator:
          - {path: system, type: value}
          min: 1
          max: 2
          slices:
            VNRCode:
              match: {system: 'urn:oid:1.2.246.537.6.55'}
              schema:
                short: 'Finnish PHR: VNR code of the medication'
                index: 21
                elements:
                  system:
                    short: 'Finnish PHR: VNR code system'
                    pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.55'}
                    index: 22
                  version: {index: 23}
                  code: {short: 'Finnish PHR: VNR code defined by VNR code system', index: 24}
                  display: {index: 25}
                  userSelected: {index: 26}
                required: [display, system, code]
            insulinCode:
              match: {system: 'http://phr.kanta.fi/CodeSystem/fiphr-cs-insulincode'}
              schema:
                short: 'Finnish PHR: A code indicating the type of insulin'
                index: 27
                elements:
                  system:
                    short: 'Finnish PHR: Code system for insulin codes'
                    pattern: {type: Uri, value: 'http://phr.kanta.fi/CodeSystem/fiphr-cs-insulincode'}
                    index: 28
                  version: {index: 29}
                  code: {short: 'Finnish PHR: A code of the medication', index: 30}
                  display: {index: 31}
                  userSelected: {index: 32}
                required: [display, system, code]
    required: [coding]
  reasonCode: {index: 47}
  medicationCodeableConcept:
    type: CodeableConcept
    short: 'Finnish PHR: Identifies the medication that was administered'
    choiceOf: medication
    index: 19
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, short: 'Finnish PHR: Identifies the medication that was administered', choiceOf: medication, index: 19}
  statusReason: {index: 15}
  note:
    elements:
      author:
        choices: [authorString]
        index: 52
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 52
      authorString:
        type: string
        choiceOf: author
        index: 53
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 53}
  extension:
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        creatingApplication:
          match: {url: null}
          schema: {type: Extension, url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication', index: 4}
  supportingInformation: {index: 39}
  status:
    short: To show that the administration has been completed.
    pattern: {type: Code, value: completed}
    index: 14
  language: {index: 1}
  effective:
    short: 'Finnish PHR: Time of administration'
    choices: []
    index: 41
  identifier:
    short: Business Identifier for the resource
    index: 5
    elements:
      use: {index: 6}
      type: {index: 7}
      system: {index: 8}
      value: {index: 9}
      period: {index: 10}
      assigner: {index: 11}
    required: [value, system]
  context: {index: 38}
  device: {index: 50}
  partOf: {index: 13}
  subject:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
    index: 33
    elements:
      reference: {index: 34}
      type: {index: 35}
      identifier: {index: 36}
      display: {index: 37}
    required: [reference]
  performer:
    elements:
      function: {index: 42}
      actor:
        type: Reference
        refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
        index: 43
        elements:
          reference: {index: 44}
          identifier: {index: 45}
          display: {index: 46}
        required: [reference]
  medication:
    short: 'Finnish PHR: Identifies the medication that was administered'
    choices: [medicationCodeableConcept]
    index: 18
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            short: 'Finnish PHR: Identifies the medication that was administered'
            choices: [medicationCodeableConcept]
            index: 18
  reasonReference: {index: 48}
  text: {index: 2}
package_version: 3.0.0
extensions:
  creatingApplication: {url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication', type: Extension, index: 4}
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-insulindosing-r4
base: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
version: '0.1'
required: [text, identifier, language]