PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@3.5.0
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest
description: null
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-servicerequest
type: ServiceRequest
elements:
  instantiatesCanonical: {type: canonical, index: 10}
  relevantHistory:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
    index: 25
  note:
    elements:
      author:
        choices: [authorString]
        index: 23
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 23
              min: 0
              max: 1
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
        index: 21
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                type: Reference
                choiceOf: author
                refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
                index: 21
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 24
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 24}
              min: 0
              max: 1
  extension:
    array: true
    min: 3
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 3
      slices:
        reuseCriteria:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria', index: 5}
          min: 0
          max: 1
        referenceRange:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange', index: 2}
          min: 0
        episodeOfCare:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', index: 1}
          min: 1
          max: 1
        statusSchedule:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule', index: 8}
          min: 0
        sharingApprovalPolicy:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingApprovalPolicy', index: 4}
          min: 0
          max: 1
        sharingPolicy:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy', index: 3}
          min: 1
          max: 1
        triggerEnablementCode:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-trigger-enablement-code', index: 6}
          min: 0
          max: 1
        includeAsExtra:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-include-as-extra', index: 9}
          min: 1
          max: 1
        statusHistory:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory', index: 7}
          min: 0
  code:
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/activitydefinition-code'}
    index: 13
  replaces: {index: 12}
  basedOn: {index: 11}
  subject:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient']
    index: 14
  performer:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson', 'http://hl7.org/fhir/StructureDefinition/HealthcareService']
    index: 15
  reasonReference:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
    index: 16
package_version: 3.5.0
extensions:
  reuseCriteria: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria', min: 0, max: 1, type: Extension, index: 5}
  referenceRange: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange', min: 0, type: Extension, index: 2}
  episodeOfCare: {url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', min: 1, max: 1, type: Extension, index: 1}
  statusSchedule: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule', min: 0, type: Extension, index: 8}
  sharingApprovalPolicy: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingApprovalPolicy', min: 0, max: 1, type: Extension, index: 4}
  sharingPolicy: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy', min: 1, max: 1, type: Extension, index: 3}
  triggerEnablementCode: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-trigger-enablement-code', min: 0, max: 1, type: Extension, index: 6}
  includeAsExtra: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-include-as-extra', min: 1, max: 1, type: Extension, index: 9}
  statusHistory: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory', min: 0, type: Extension, index: 7}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 3.5.0
required: [instantiatesCanonical]