PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.fr.analyse-pharma@0.1.0-ballot
    https://hl7.fr/ig/fhir/analyse-pharma/StructureDefinition/fr-inpatient-pharmaceutical-analysis-result
description: French Pharmaceutical Analysis Result profile
package_name: hl7.fhir.fr.analyse-pharma
derivation: constraint
name: FRInpatientPharmaceuticalAnalysisResultProfile
type: Task
elements:
  groupIdentifier: {short: Identifiant de la prescription contenant la ligne de prescription analysée, index: 0}
  businessStatus:
    binding: {strength: extensible, valueSet: 'https://hl7.fr/ig/fhir/analyse-pharma/ValueSet/fr-pharmaceutical-intervention-devenir-code-value-set'}
    index: 1
  intent:
    pattern: {type: Code, value: proposal}
    index: 2
  authoredOn: {index: 3}
  performerType:
    binding: {strength: extensible, valueSet: 'https://hl7.fr/ig/fhir/analyse-pharma/ValueSet/fr-pharmaceutical-analysis-perfomer-type-value-set'}
    index: 4
  owner: {index: 5}
  input:
    elements:
      type:
        elements:
          text:
            pattern: {type: String, value: ligne de prescription analysée}
            index: 6
      value:
        choices: [valueReference]
        index: 8
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-inpatient-medicationrequest']
        index: 9
  output:
    index: 10
    slicing:
      rules: open
      description: résultat de l'analyse et, le cas échéant, commentaire, type d'intervention pharmaceutique et/ou lien vers suggestion
      discriminator:
      - {path: type.text, type: value}
      min: 1
      slices:
        result:
          match:
            type: {text: résultat de l'analyse}
          schema:
            mustSupport: true
            _required: true
            index: 11
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: résultat de l'analyse}
                    index: 12
                required: [text]
              value:
                choices: [valueCode]
                index: 14
              valueCode: {type: code, choiceOf: value, index: 15}
        comment:
          match:
            type: {text: commentaire}
          schema:
            index: 16
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: commentaire}
                    index: 17
                required: [text]
              value:
                choices: [valueString]
                index: 19
              valueString: {type: string, choiceOf: value, index: 20}
        type:
          match:
            type: {text: type d'intervention}
          schema:
            index: 21
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: type d'intervention}
                    index: 22
                required: [text]
              value:
                choices: [valueCodeableConcept]
                index: 24
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 25}
        problem:
          match:
            type: {text: type de problème}
          schema:
            index: 26
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: type de problème}
                    index: 27
                required: [text]
              value:
                choices: [valueCodeableConcept]
                index: 29
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 30}
        suggestion:
          match:
            type: {text: proposition}
          schema:
            array: true
            index: 31
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: proposition}
                    index: 32
                required: [text]
              value:
                choices: [valueReference]
                index: 34
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['https://hl7.fr/ig/fhir/analyse-pharma/StructureDefinition/fr-inpatient-pharmaceutical-intervention-suggestion']
                index: 35
        intervention:
          match:
            type: {text: intervention pharmaceutique liée}
          schema:
            array: true
            index: 36
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: intervention pharmaceutique liée}
                    index: 37
                required: [text]
              value:
                choices: [valueReference]
                index: 39
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['https://hl7.fr/ig/fhir/analyse-pharma/StructureDefinition/fr-inpatient-pharmaceutical-analysis-result']
                index: 40
package_version: 0.1.0-ballot
class: profile
kind: resource
url: https://hl7.fr/ig/fhir/analyse-pharma/StructureDefinition/fr-inpatient-pharmaceutical-analysis-result
base: http://hl7.org/fhir/StructureDefinition/Task
version: 0.1.0-ballot
required: [owner, authoredOn, output, groupIdentifier]