PackagesCanonicalsLogsProblems
    Packages
    bd.fhir.core@0.5.0
    https://fhir.dghs.gov.bd/core/StructureDefinition/bd-lab-panel-observation
description: Profile for laboratory panel (order-level) Observations in Bangladesh.\nRepresents an ordered laboratory test panel (e.g. CBC, LFT, RFT) as the\nparent Observation in a hasMember hierarchy.\n\nUsage:\n  - Observation.code is the panel/order code (from BD LOINC Lab Panels ValueSet)\n  - Observation.hasMember references individual result Observations\n    (bd-lab-result-observation) for each component\n  - Observation.value[x] is prohibited — panels do not carry a direct result value\n  - Observation.category is fixed to 'laboratory'\n\nFHIR hasMember pattern:\n  DiagnosticReport.result --> bd-lab-panel-observation\n                                  └── hasMember --> bd-lab-result-observation (x N)
package_name: bd.fhir.core
derivation: constraint
name: BDLabPanelObservationProfile
type: Observation
elements:
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
    index: 2
  hasMember:
    type: Reference
    refers: ['https://fhir.dghs.gov.bd/core/StructureDefinition/bd-lab-result-observation']
    index: 18
  derivedFrom: {index: 19}
  specimen: {index: 17}
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 15
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 15}
          max: 0
  value:
    choices: []
    index: 12
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 14
          max: 0
  note: {mustSupport: true, index: 16}
  effectiveDateTime:
    type: dateTime
    choiceOf: effective
    index: 10
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, index: 10}
          min: 0
          max: 1
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/observation-status'}
    index: 1
  effective:
    choices: [effectiveDateTime]
    index: 9
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            choices: [effectiveDateTime]
            index: 9
          min: 0
          max: 1
  code:
    binding: {strength: extensible, valueSet: 'https://fhir.dghs.gov.bd/core/ValueSet/bd-loinc-lab-panels-valueset'}
    constraint:
      bd-loinc-code: {human: 'The code SHALL include at least one coding from LOINC (http://loinc.org).', source: 'https://fhir.dghs.gov.bd/core/StructureDefinition/bd-lab-panel-observation', severity: error, expression: 'coding.where(system = ''http://loinc.org'').exists()'}
    index: 3
  identifier: {index: 0}
  effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 7}
package_version: 0.5.0
class: profile
kind: resource
url: https://fhir.dghs.gov.bd/core/StructureDefinition/bd-lab-panel-observation
base: https://fhir.dghs.gov.bd/core/StructureDefinition/bd-observation
version: 0.5.0
required: [effectiveDateTime, effectivePeriod, hasMember, identifier, effective]