PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@4.0.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: 13}
  relevantHistory:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
    index: 28
  note:
    elements:
      author:
        choices: [authorString]
        index: 26
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 26
              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: 24
        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: 24
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 27
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 27}
              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: 8}
          min: 0
          max: 1
        referenceRange:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange', index: 5}
          min: 0
        episodeOfCare:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
            index: 1
            elements:
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                index: 4
        statusSchedule:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule', index: 11}
          min: 0
        sharingApprovalPolicy:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingApprovalPolicy', index: 7}
          min: 0
          max: 1
        sharingPolicy:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy', index: 6}
          min: 1
          max: 1
        triggerEnablementCode:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-trigger-enablement-code', index: 9}
          min: 0
          max: 1
        includeAsExtra:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-include-as-extra', index: 12}
          min: 1
          max: 1
        statusHistory:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory', index: 10}
          min: 0
  code:
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/activitydefinition-code'}
    index: 16
  replaces: {index: 15}
  basedOn: {index: 14}
  subject:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient']
    index: 17
  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: 18
  reasonReference:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
    index: 19
package_version: 4.0.0
extensions:
  reuseCriteria: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria', min: 0, max: 1, type: Extension, index: 8}
  referenceRange: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange', min: 0, type: Extension, index: 5}
  episodeOfCare:
    url: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        index: 4
  statusSchedule: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusSchedule', min: 0, type: Extension, index: 11}
  sharingApprovalPolicy: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingApprovalPolicy', min: 0, max: 1, type: Extension, index: 7}
  sharingPolicy: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy', min: 1, max: 1, type: Extension, index: 6}
  triggerEnablementCode: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-trigger-enablement-code', min: 0, max: 1, type: Extension, index: 9}
  includeAsExtra: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-include-as-extra', min: 1, max: 1, type: Extension, index: 12}
  statusHistory: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory', min: 0, type: Extension, index: 10}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 4.0.0
required: [instantiatesCanonical]