I_InsurClmDiagnosis

DDL: I_INSURCLMDIAGNOSIS SQL: IICLDIAGNOSIS Type: view BASIC Package: ICL_VDM_COMMON

Grundsicht für ICLDIAGNOSIS

I_InsurClmDiagnosis is a Basic CDS View that provides data about "Grundsicht für ICLDIAGNOSIS" in SAP S/4HANA. It reads from 1 data source (icldiagnosis) and exposes 10 fields with key fields InsuranceClaim, InsurClmDmgdSubObject, InsurClmSubobjectCategory, InsurClmInjuredPersonNumber, InsurClmDiagnosisNmbr. It has 2 associations to related views. Part of development package ICL_VDM_COMMON.

Data Sources (1)

SourceAliasJoin Type
icldiagnosis icldiagnosis from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_InsurClmDiagnCtlgCode _InsurClmDiagnCtlgCode $projection.InsurClmCatalogCode = _InsurClmDiagnCtlgCode.InsurClmCatalogCode
[0..1] I_InsurClmDiagnosisCatalog _InsurClmDiagnCatalog $projection.InsurClmCatalogCode = _InsurClmDiagnCatalog.InsurClmCatalogCode and $projection.InsurClmDiagnosisCode = _InsurClmDiagnCatalog.InsurClmDiagnosisCode

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IICLDIAGNOSIS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
EndUserText.label Grundsicht für ICLDIAGNOSIS view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY InsuranceClaim claim Policy Snapshot
KEY InsurClmDmgdSubObject subobject Triggering obj.
KEY InsurClmSubobjectCategory subobjcat Subobject Cat.
KEY InsurClmInjuredPersonNumber patient Person Treated
KEY InsurClmDiagnosisNmbr diagno Diagnosis No.
InsurClmCatalogCode cataid1 Catalog
InsurClmDiagnosisCode Primary Diagn.
InsurClmDiagnosisGroupCode _InsurClmDiagnCatalog InsurClmDiagnosisGroupCode
_InsurClmDiagnCatalog _InsurClmDiagnCatalog
_InsurClmDiagnCtlgCode _InsurClmDiagnCtlgCode

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_InsurClmDiagnosis.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IICLDIAGNOSIS

CREATE VIEW I_InsurClmDiagnosis AS
SELECT
  claim AS InsuranceClaim,
  subobject AS InsurClmDmgdSubObject,
  subobjcat AS InsurClmSubobjectCategory,
  patient AS InsurClmInjuredPersonNumber,
  diagno AS InsurClmDiagnosisNmbr,
  cataid1 AS InsurClmCatalogCode,
  cast( diagid1 as icl_diagid_api preserving type ) AS InsurClmDiagnosisCode,
  _InsurClmDiagnCatalog.InsurClmDiagnosisGroupCode AS InsurClmDiagnosisGroupCode
FROM icldiagnosis
LEFT OUTER JOIN I_InsurClmDiagnCtlgCode AS _InsurClmDiagnCtlgCode ON InsurClmCatalogCode = _InsurClmDiagnCtlgCode.InsurClmCatalogCode  -- association [0..1]
LEFT OUTER JOIN I_InsurClmDiagnosisCatalog AS _InsurClmDiagnCatalog ON InsurClmCatalogCode = _InsurClmDiagnCatalog.InsurClmCatalogCode AND InsurClmDiagnosisCode = _InsurClmDiagnCatalog.InsurClmDiagnosisCode  -- association [0..1]
;