pc-immunological-data-lm
type: StructureDefinition
node role: treeRoot
id:
  v: pc-immunological-data-lm
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition pc-immunological-data-lm Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> pc-immunological-data-lm 0..* Base Immunological Data logical model #xD; immunologicalDataId 1..1 string immunological_data_id #xD; visitId 1..1 string visit_id #xD; donorId 0..1 string donor_id #xD; bloodGroup 0..1 code blood_group #xD; rhFactor 0..1 code rh_factor #xD; hlaA1 0..1 string hla_a_1 #xD; hlaA2 0..1 string hla_a_2 #xD; hlaB1 0..1 string hla_b_1 #xD; hlaB2 0..1 string hla_b_2 #xD; hlaC1 0..1 string hla_c_1 #xD; hlaC2 0..1 string hla_c_2 #xD; hlaDrb11 0..1 string hla_drb1_1 #xD; hlaDrb12 0..1 string hla_drb1_2 #xD; hlaDp1 0..1 string hla_dp_1 #xD; hlaDp2 0..1 string hla_dp_2 #xD; hlaDqb11 0..1 string hla_dqb1_1 #xD; hlaDqb12 0..1 string hla_dqb1_2 #xD; postTransplantAbAntiHlaDsaClass 0..1 code post_transplant_ab_anti_hla_dsa_class #xD; preTransplantAntiHlaDsa 0..1 string pre_transplant_anti_hla_dsa #xD; mfi 0..1 code mfi #xD; banffCategory 0..1 code banff_category #xD; ihcIfC4d 0..1 boolean ihc_if_c4d #xD; ifResult 0..1 string if #xD; c4dResult 0..1 string c4d #xD; anca 0..1 boolean anca #xD; antibodyType 0..1 string antibody_type #xD; antiHlaAntibodies 0..1 boolean anti_hla_antibodies #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/pc-immunological-data-lm
  l: pc-immunological-data-lm
version:
  v: 0.1.0-ci-build
name:
  v: PcImmunologicalData
title:
  v: Immunological Data logical model
status:
  v: draft
date:
  v: 2026-06-05T19:23:32+00:00
publisher:
  v: Protect Child
contact:
  name:
    v: Protect Child
  telecom:
    system:
      v: url
    value:
      v: https://protect-child.eu/
description:
  v: Logical model for the PROTECT-CHILD immunological_data table. Covers blood group, Rh, HLA allele typing, DSA, Banff category, C4d, and ANCA.
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/pc-immunological-data-lm
  l: pc-immunological-data-lm
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: pc-immunological-data-lm
    path:
      v: pc-immunological-data-lm
    short:
      v: Immunological Data logical model
    definition:
      v: Logical model for the PROTECT-CHILD immunological_data table. Covers blood group, Rh, HLA allele typing, DSA, Banff category, C4d, and ANCA.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: pc-immunological-data-lm.immunologicalDataId
    path:
      v: pc-immunological-data-lm.immunologicalDataId
    short:
      v: immunological_data_id
    definition:
      v: Immunological data record ID.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: pc-immunological-data-lm.immunologicalDataId
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: pc-immunological-data-lm.visitId
    path:
      v: pc-immunological-data-lm.visitId
    short:
      v: visit_id
    definition:
      v: FK to visit (Mandatory).
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: pc-immunological-data-lm.visitId
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: pc-immunological-data-lm.donorId
    path:
      v: pc-immunological-data-lm.donorId
    short:
      v: donor_id
    definition:
      v: FK to donor (Optional — for donor-side typing).
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: pc-immunological-data-lm.donorId
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: pc-immunological-data-lm.bloodGroup
    path:
      v: pc-immunological-data-lm.bloodGroup
    short:
      v: blood_group
    definition:
      v: ABO blood group (A/B/AB/0).
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: pc-immunological-data-lm.bloodGroup
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
        l: code
  element:
    id:
      v: pc-immunological-data-lm.rhFactor
    path:
      v: pc-immunological-data-lm.rhFactor
    short:
      v: rh_factor
    definition:
      v: Rh factor (Positive/Negative).
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: pc-immunological-data-lm.rhFactor
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
        l: code
  element:
    id:
      v: pc-immunological-data-lm.hlaA1
    path:
      v: pc-immunological-data-lm.hlaA1

v: hla_a_1

v: HLA-A allele 1 (IMGT/HLA notation, e.g. 'A*02:01').

v: 0

v: 1

path:
  v: pc-immunological-data-lm.hlaA1
min:
  v: 0
max:
  v: 1

code:
  v: string
  l: string

id:
  v: pc-immunological-data-lm.hlaA2
path:
  v: pc-immunological-data-lm.hlaA2
short:
  v: hla_a_2
definition:
  v: HLA-A allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaA2
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaB1
path:
  v: pc-immunological-data-lm.hlaB1
short:
  v: hla_b_1
definition:
  v: HLA-B allele 1 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaB1
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaB2
path:
  v: pc-immunological-data-lm.hlaB2
short:
  v: hla_b_2
definition:
  v: HLA-B allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaB2
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaC1
path:
  v: pc-immunological-data-lm.hlaC1
short:
  v: hla_c_1
definition:
  v: HLA-C allele 1 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaC1
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaC2
path:
  v: pc-immunological-data-lm.hlaC2
short:
  v: hla_c_2
definition:
  v: HLA-C allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaC2
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDrb11
path:
  v: pc-immunological-data-lm.hlaDrb11
short:
  v: hla_drb1_1
definition:
  v: HLA-DRB1 allele 1 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaDrb11
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDrb12
path:
  v: pc-immunological-data-lm.hlaDrb12
short:
  v: hla_drb1_2
definition:
  v: HLA-DRB1 allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaDrb12
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDp1
path:
  v: pc-immunological-data-lm.hlaDp1
short:
  v: hla_dp_1
definition:
  v: HLA-DP allele 1 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaDp1
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDp2
path:
  v: pc-immunological-data-lm.hlaDp2
short:
  v: hla_dp_2
definition:
  v: HLA-DP allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaDp2
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDqb11
path:
  v: pc-immunological-data-lm.hlaDqb11
short:
  v: hla_dqb1_1
definition:
  v: HLA-DQB1 allele 1 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaDqb11
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDqb12
path:
  v: pc-immunological-data-lm.hlaDqb12
short:
  v: hla_dqb1_2
definition:
  v: HLA-DQB1 allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.hlaDqb12
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.postTransplantAbAntiHlaDsaClass
path:
  v: pc-immunological-data-lm.postTransplantAbAntiHlaDsaClass
short:
  v: post_transplant_ab_anti_hla_dsa_class
definition:
  v: Post-transplant DSA HLA class (I/II).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.postTransplantAbAntiHlaDsaClass
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: pc-immunological-data-lm.preTransplantAntiHlaDsa
path:
  v: pc-immunological-data-lm.preTransplantAntiHlaDsa
short:
  v: pre_transplant_anti_hla_dsa
definition:
  v: Pre-transplant anti-HLA DSA (free text).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.preTransplantAntiHlaDsa
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.mfi
path:
  v: pc-immunological-data-lm.mfi
short:
  v: mfi
definition:
  v: MFI category (WR/MR/SR).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.mfi
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: pc-immunological-data-lm.banffCategory
path:
  v: pc-immunological-data-lm.banffCategory
short:
  v: banff_category
definition:
  v: Banff rejection category (1-5).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.banffCategory
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: pc-immunological-data-lm.ihcIfC4d
path:
  v: pc-immunological-data-lm.ihcIfC4d
short:
  v: ihc_if_c4d
definition:
  v: IHC/IF C4d result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.ihcIfC4d
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: pc-immunological-data-lm.ifResult
path:
  v: pc-immunological-data-lm.ifResult
short:
  v: if
definition:
  v: IF result (free text).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.ifResult
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.c4dResult
path:
  v: pc-immunological-data-lm.c4dResult
short:
  v: c4d
definition:
  v: C4d result (free text).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.c4dResult
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.anca
path:
  v: pc-immunological-data-lm.anca
short:
  v: anca
definition:
  v: ANCA result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.anca
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: pc-immunological-data-lm.antibodyType
path:
  v: pc-immunological-data-lm.antibodyType
short:
  v: antibody_type
definition:
  v: Antibody type specification (free text).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.antibodyType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.antiHlaAntibodies
path:
  v: pc-immunological-data-lm.antiHlaAntibodies
short:
  v: anti_hla_antibodies
definition:
  v: Presence of anti-HLA antibodies (Optional).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: pc-immunological-data-lm.antiHlaAntibodies
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

element:
  id:
    v: pc-immunological-data-lm
  path:
    v: pc-immunological-data-lm
  short:
    v: Immunological Data logical model
  definition:
    v: Logical model for the PROTECT-CHILD immunological_data table. Covers blood group, Rh, HLA allele typing, DSA, Banff category, C4d, and ANCA.
element:
  id:
    v: pc-immunological-data-lm.immunologicalDataId
  path:
    v: pc-immunological-data-lm.immunologicalDataId
  short:
    v: immunological_data_id
  definition:
    v: Immunological data record ID.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.visitId
  path:
    v: pc-immunological-data-lm.visitId
  short:
    v: visit_id
  definition:
    v: FK to visit (Mandatory).
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.donorId
  path:
    v: pc-immunological-data-lm.donorId
  short:
    v: donor_id
  definition:
    v: FK to donor (Optional — for donor-side typing).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.bloodGroup
  path:
    v: pc-immunological-data-lm.bloodGroup
  short:
    v: blood_group
  definition:
    v: ABO blood group (A/B/AB/0).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
element:
  id:
    v: pc-immunological-data-lm.rhFactor
  path:
    v: pc-immunological-data-lm.rhFactor
  short:
    v: rh_factor
  definition:
    v: Rh factor (Positive/Negative).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
element:
  id:
    v: pc-immunological-data-lm.hlaA1
  path:
    v: pc-immunological-data-lm.hlaA1
  short:
    v: hla_a_1
  definition:
    v: HLA-A allele 1 (IMGT/HLA notation, e.g. 'A*02:01').
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.hlaA2
  path:
    v: pc-immunological-data-lm.hlaA2
  short:
    v: hla_a_2
  definition:
    v: HLA-A allele 2 (IMGT/HLA notation).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.hlaB1
  path:
    v: pc-immunological-data-lm.hlaB1
  short:
    v: hla_b_1
  definition:
    v: HLA-B allele 1 (IMGT/HLA notation).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.hlaB2
  path:
    v: pc-immunological-data-lm.hlaB2
  short:
    v: hla_b_2
  definition:
    v: HLA-B allele 2 (IMGT/HLA notation).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.hlaC1
  path:
    v: pc-immunological-data-lm.hlaC1
  short:
    v: hla_c_1
  definition:
    v: HLA-C allele 1 (IMGT/HLA notation).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.hlaC2
  path:
    v: pc-immunological-data-lm.hlaC2
  short:
    v: hla_c_2
  definition:
    v: HLA-C allele 2 (IMGT/HLA notation).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: pc-immunological-data-lm.hlaDrb11
  path:
    v: pc-immunological-data-lm.hlaDrb11

v: hla_drb1_1

v: HLA-DRB1 allele 1 (IMGT/HLA notation).

v: 0

v: 1

code:
  v: string
  l: string

id:
  v: pc-immunological-data-lm.hlaDrb12
path:
  v: pc-immunological-data-lm.hlaDrb12
short:
  v: hla_drb1_2
definition:
  v: HLA-DRB1 allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDp1
path:
  v: pc-immunological-data-lm.hlaDp1
short:
  v: hla_dp_1
definition:
  v: HLA-DP allele 1 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDp2
path:
  v: pc-immunological-data-lm.hlaDp2
short:
  v: hla_dp_2
definition:
  v: HLA-DP allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDqb11
path:
  v: pc-immunological-data-lm.hlaDqb11
short:
  v: hla_dqb1_1
definition:
  v: HLA-DQB1 allele 1 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.hlaDqb12
path:
  v: pc-immunological-data-lm.hlaDqb12
short:
  v: hla_dqb1_2
definition:
  v: HLA-DQB1 allele 2 (IMGT/HLA notation).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.postTransplantAbAntiHlaDsaClass
path:
  v: pc-immunological-data-lm.postTransplantAbAntiHlaDsaClass
short:
  v: post_transplant_ab_anti_hla_dsa_class
definition:
  v: Post-transplant DSA HLA class (I/II).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: pc-immunological-data-lm.preTransplantAntiHlaDsa
path:
  v: pc-immunological-data-lm.preTransplantAntiHlaDsa
short:
  v: pre_transplant_anti_hla_dsa
definition:
  v: Pre-transplant anti-HLA DSA (free text).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.mfi
path:
  v: pc-immunological-data-lm.mfi
short:
  v: mfi
definition:
  v: MFI category (WR/MR/SR).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: pc-immunological-data-lm.banffCategory
path:
  v: pc-immunological-data-lm.banffCategory
short:
  v: banff_category
definition:
  v: Banff rejection category (1-5).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: pc-immunological-data-lm.ihcIfC4d
path:
  v: pc-immunological-data-lm.ihcIfC4d
short:
  v: ihc_if_c4d
definition:
  v: IHC/IF C4d result.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: pc-immunological-data-lm.ifResult
path:
  v: pc-immunological-data-lm.ifResult
short:
  v: if
definition:
  v: IF result (free text).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.c4dResult
path:
  v: pc-immunological-data-lm.c4dResult
short:
  v: c4d
definition:
  v: C4d result (free text).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.anca
path:
  v: pc-immunological-data-lm.anca
short:
  v: anca
definition:
  v: ANCA result.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: pc-immunological-data-lm.antibodyType
path:
  v: pc-immunological-data-lm.antibodyType
short:
  v: antibody_type
definition:
  v: Antibody type specification (free text).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: pc-immunological-data-lm.antiHlaAntibodies
path:
  v: pc-immunological-data-lm.antiHlaAntibodies
short:
  v: anti_hla_antibodies
definition:
  v: Presence of anti-HLA antibodies (Optional).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean