PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-DetectedIssue
description: Resource to communicate warnings and other issues that has been handeled and communicated within PLL.
package_name: sfm.030521
derivation: constraint
name: SfmDetectedIssue
type: DetectedIssue
elements:
  patient: {index: 3}
  evidence:
    mustSupport: true
    index: 9
    elements:
      code:
        binding: {strength: extensible, valueSet: 'http://ehelse.no/fhir/CodeSystem/sfm-type-of-warning-code'}
        index: 10
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-type-of-warning-code'}
                index: 11
      detail:
        elements:
          reference: {short: Referance to registered drug reaction, index: 12}
          identifier: {short: Identifies interaction that is evidence, index: 13}
  mitigation:
    mustSupport: true
    index: 16
    elements:
      action:
        mustSupport: true
        index: 17
        elements:
          coding:
            index: 18
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-warning-cancelation-code'}
                index: 19
      date: {mustSupport: true, index: 20}
      author:
        type: Reference
        mustSupport: true
        refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-PractitionerRole']
        index: 21
    required: [author]
  author: {mustSupport: true, index: 7}
  identifiedDateTime: {type: dateTime, mustSupport: true, choiceOf: identified, index: 6}
  reference: {index: 15}
  status: {mustSupport: true, index: 0}
  severity: {index: 2}
  code: {index: 1}
  identified:
    mustSupport: true
    choices: [identifiedDateTime]
    index: 5
  implicated:
    type: Reference
    mustSupport: true
    refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-MedicationStatement']
    index: 8
  detail: {index: 14}
package_version: 1.0.1
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/sfm-DetectedIssue
base: http://hl7.org/fhir/StructureDefinition/DetectedIssue
version: '1.0'
required: [implicated]