PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.order-catalog@1.0.0
    http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition
description: The LabServiceDefinition profile constrains the PlanDefinition resource to represent a laboratory diagnostic service for the clinicians using such services. Clinicians typically order laboratory services and use the results thereof in the course of their delivery of clinical care. \r\n\r\nA laboratory diagnostic service is a kind of clinical artifact that falls within the scope of PlanDefinition. It involves preparation of the patient, collection and delivery to the lab of biological/digital specimens , tests and panels performed on these specimens, interpretation of the results by the pathologist, and delivery of the results and diagnostic report back to the ordering clinician and possibly other recipients, including the patient. PlanDefinition conveys the general properties of the lab service. It describes the usage of the service, the contexts and situations in which this service is useful, and may also detail the goals that the laboratory service contributes to, such as screening or diagnostic of a particular pathology, monitoring of a long course treatment ... \r\n\r\n An instance of PlanDefintion, thus, represents a laboratory service. It references one or more instances of ActivityDefinition, describing the service in terms of laboratory procedures, with their input and output observations. The PlanDefinition also references the instances of SpecimenDefinition representing the kinds of specimens needed to perform the service. \r\n\r\n A service may be a panel or super-panel grouping other laboratory services that may also be ordered independently. In that case, the PlanDefinition of the encompassing service references the PlanDefinition resources representing the included services (relatedArtifact, type composed-of). \r\n\r\n Reflex tests are represented as sub-actions grouped in a logical group with behavior any, meaning that any number of members of the group may be performed. Each sub-action is associated with a trigger conveying the named event, which reflexes it. \r\n\r\nA definition of a laboratory diagnostic service conforming to this profile can be used in a laboratory compendium/catalog as well as in other contexts. \r\n\r\nA laboratory service is fulfilled through the execution of one or more laboratory procedures. The logical combinations of these procedures may be conjunctions (execute each of them) or disjunctions (execute at most one of them), or a mixture of both logical structures. The closest resource that may represent a service as a set of activities logically combined with this flexibility is PlanDefinition.\r\nPlanDefinition is therefore selected to represent a laboratory service, and the laboratory procedures needed to achieve this service are represented by instances of ActivityDefinition referenced by PlanDefinition, from logical groups defined in PlanDefinition.
package_name: hl7.fhir.uv.order-catalog
derivation: constraint
name: LabServiceDefinition
type: PlanDefinition
elements:
  description:
    index: 11
    extensions:
      OtherDescription: {url: 'http://hl7.org/fhir/StructureDefinition/translation', type: Extension, short: Translation in a specified language, index: 13}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            OtherDescription:
              match: {url: null}
              schema: {type: Extension, short: Translation in a specified language, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 13}
  useContext:
    mustSupport: true
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      - {path: value, type: type}
      - {path: value, type: value}
      min: null
      slices:
        Orderable:
          match:
            code: {code: task, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
            value:
              coding:
              - {code: LABOE, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
          schema:
            label: orderable
            short: Service is orderable
            mustSupport: true
            index: 15
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: task, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 16
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: LABOE, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
                choices: [valueCodeableConcept]
                index: 18
              valueCodeableConcept:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: LABOE, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
                choiceOf: value
                index: 19
        PathologistInitiative:
          match:
            code: {code: task, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
            value:
              coding:
              - {code: LABRREV, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
          schema:
            label: pathologist
            short: Service may be added by pathologist
            mustSupport: true
            index: 20
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: task, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 21
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: LABRREV, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
                choices: [valueCodeableConcept]
                index: 23
              valueCodeableConcept:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: LABRREV, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
                choiceOf: value
                index: 24
        OneGender:
          match:
            code: {code: gender, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
            value: null
          schema:
            short: service restricted to one gender
            mustSupport: true
            index: 25
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: gender, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 26
              value:
                choices: [valueCodeableConcept]
                index: 28
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
        StoreSpecimen:
          match:
            code: {code: task, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
            value:
              coding:
              - {code: SSTOR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
          schema:
            short: Specimens to be kept
            mustSupport: true
            index: 30
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: task, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 31
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: SSTOR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
                choices: [valueCodeableConcept]
                index: 33
              valueCodeableConcept:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: SSTOR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
                choiceOf: value
                index: 34
        AgeRange:
          match:
            code: {code: age, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
            value: null
          schema:
            short: A patient age range applicable for this service
            mustSupport: true
            index: 35
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: age, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 36
              value:
                short: patient age range applicable for this service
                choices: [valueRange]
                index: 38
              valueRange: {type: Range, short: patient age range applicable for this service, choiceOf: value, index: 39}
  type:
    short: panel | test
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/order-catalog/ValueSet/laboratory-service-type'}
    mustSupport: true
    index: 10
  topic: {short: categorization of the laboratory service, mustSupport: true, index: 41}
  title:
    extensions:
      OtherTitle: {url: 'http://hl7.org/fhir/StructureDefinition/translation', type: Extension, short: Synonym in a specified language, index: 9}
    elements:
      extension:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            OtherTitle:
              match: {url: null}
              schema: {type: Extension, short: Synonym in a specified language, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 9}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        CatalogReference:
          match: {url: null}
          schema: {type: Extension, short: Reference to a catalog exposing this service, url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/CatalogReference', index: 1}
        ServiceBillingCode:
          match: {url: null}
          schema: {type: Extension, short: A billing code associated with the service, url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ServiceBillingCode', index: 2}
        BillingSummary:
          match: {url: null}
          schema: {type: Extension, short: Textual summary of billing applied to the service, url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/BillingSummary', index: 3}
        ScheduleSummary:
          match: {url: null}
          schema: {type: Extension, short: Textual summary of the schedule of the service, url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ScheduleSummary', index: 4}
        LimitationSummary:
          match: {url: null}
          schema: {type: Extension, short: Textual summary  of limitations associated with the service, url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LimitationSummary', index: 5}
        RegulatorySummary:
          match: {url: null}
          schema: {type: Extension, short: Textual summary of regulations applicable to this service, url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/RegulatorySummary', index: 6}
        ResultInterpretationSummary:
          match: {url: null}
          schema: {type: Extension, short: markdown summary of result interpretation guidance for this service, url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ResultInterpretationSummary', index: 7}
  usage: {short: Describes the clinical usage of the laboratory diagnostic service, mustSupport: true, index: 40}
  action:
    index: 58
    extensions:
      SpecimenRequested: {url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/SpecimenRequested', type: Extension, short: Specimens required for this action, index: 60}
    elements:
      extension:
        index: 59
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            SpecimenRequested:
              match: {url: null}
              schema: {type: Extension, short: Specimens required for this action, url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/SpecimenRequested', index: 60}
      description: {short: Brief description of the laboratory service and its method, index: 61}
      priority: {index: 62}
      code:
        short: Code of the laboratory service
        mustSupport: true
        index: 63
        elements:
          coding:
            short: Code for the laboratory service
            index: 64
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                orderCodeLOINC:
                  match: {system: 'http://loinc.org'}
                  schema:
                    short: LOINC code for the laboratory service
                    mustSupport: true
                    index: 65
                    elements:
                      system:
                        label: LOINC
                        short: LOINC code system
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 66
      trigger:
        mustSupport: true
        index: 67
        slicing:
          rules: open
          description: Open slicing on trigger with a single slice defined to represent a reflex activity.
          discriminator:
          - {path: type, type: value}
          min: null
          slices:
            Reflex:
              match: {type: named-event}
              schema:
                short: Reflex laboratory procedure
                mustSupport: true
                index: 68
                elements:
                  type:
                    pattern: {type: Code, value: named-event}
                    index: 69
                  name: {index: 70}
                required: [name]
      groupingBehavior:
        pattern: {type: Code, value: logical-group}
        index: 71
      definition:
        mustSupport: true
        choices: [definitionCanonical]
        index: 73
      definitionCanonical: {type: canonical, mustSupport: true, choiceOf: definition, index: 74}
  relatedArtifact:
    mustSupport: true
    index: 42
    slicing:
      rules: open
      description: "A laboratory service definition may have related artifacts of three kinds:\r\n1- documents expected from the ordering party when ordering this laboratory service. This kind is represented by the slice InputExpected, which is the only slice defined for this element. Example: Patient consent for genetic testing.\r\n2- any kind of bibliography, justification, documentation.\r\n3- replacement of the no longer usable current service, by another one."
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        InputDocumentExpected:
          match: {type: depends-on}
          schema:
            short: Input document expected by the laboratory service
            mustSupport: true
            index: 43
            elements:
              type:
                pattern: {type: Code, value: depends-on}
                index: 44
              label: {label: Kind of document, short: Name of the kind of document expected, index: 45}
              display: {index: 46}
              document:
                short: Document model
                index: 47
                elements:
                  url: {short: url of the model of document expected, index: 48}
                  title: {short: Title of the kind or model of document, index: 49}
            required: [label, display]
        IsReplacedBy:
          match: {type: successor}
          schema:
            short: Reference to a service replacing the current non-usable one
            mustSupport: true
            index: 50
            elements:
              type:
                pattern: {type: Code, value: successor}
                index: 51
              resource: {type: canonical, index: 52}
            required: [resource]
        Includes:
          match: {type: composed-of}
          schema:
            short: Reference to a panel or test included by the current one
            mustSupport: true
            index: 53
            elements:
              type:
                pattern: {type: Code, value: composed-of}
                index: 54
              resource: {type: canonical, index: 55}
            required: [resource]
        Bibliography:
          match: {type: null}
          schema:
            short: Additional documentation, citation or justification
            mustSupport: true
            index: 56
            elements:
              type:
                short: documentation | justification | citation
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/order-catalog/ValueSet/bibliography-artifact-type'}
                index: 57
package_version: 1.0.0
extensions:
  CatalogReference: {url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/CatalogReference', type: Extension, short: Reference to a catalog exposing this service, index: 1}
  ServiceBillingCode: {url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ServiceBillingCode', type: Extension, short: A billing code associated with the service, index: 2}
  BillingSummary: {url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/BillingSummary', type: Extension, short: Textual summary of billing applied to the service, index: 3}
  ScheduleSummary: {url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ScheduleSummary', type: Extension, short: Textual summary of the schedule of the service, index: 4}
  LimitationSummary: {url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LimitationSummary', type: Extension, short: Textual summary  of limitations associated with the service, index: 5}
  RegulatorySummary: {url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/RegulatorySummary', type: Extension, short: Textual summary of regulations applicable to this service, index: 6}
  ResultInterpretationSummary: {url: 'http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ResultInterpretationSummary', type: Extension, short: markdown summary of result interpretation guidance for this service, index: 7}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition
base: http://hl7.org/fhir/StructureDefinition/PlanDefinition
version: 1.0.0
required: [action]