{
  "resourceType": "StructureDefinition",
  "id": "onco-relevant-data",
  "meta": {
    "versionId": "324",
    "lastUpdated": "2023-11-28T14:27:50.83+00:00"
  },
  "url": "http://fhir.cezih.hr/specifikacije/StructureDefinition/onco-relevant-data",
  "version": "0.1",
  "name": "OncoRelevantData",
  "title": "Struktura dokumenta Onkološki relevantni podaci",
  "status": "active",
  "description": "Dokument sadrži onkološki relevantne podatke.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Composition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Composition",
        "path": "Composition",
        "constraint": [
          {
            "key": "ORD-1",
            "severity": "error",
            "human": "Ako su specificirani podatci o pušenju broj godina pušenja mora biti manji od starosti pacijenta",
            "expression": "iif(Composition.section.where(code.coding.code='2').entry.resolve().component.where(code.coding.code='88029-4').exists(), Composition.section.where(code.coding.code='2').entry.resolve().component.where(code.coding.code='88029-4').value <= ((today().toString().substring(0,4)).toInteger())-((Composition.subject.resolve().birthDate.substring(0,4)).toInteger()), true)"
          },
          {
            "key": "ORD-2",
            "severity": "error",
            "human": "Datum dijagnoze primarnog sijela mora biti jednak ili veći od datuma rođenja.",
            "expression": "Composition.subject.resolve().birthDate <= Composition.section.where(code.coding.code='1').entry.resolve().recordedDate"
          },
          {
            "key": "ORD-3",
            "severity": "error",
            "human": "Ako postoji TNM,  datum određivanja TNM-a mora biti jednak ili veći od datuma rođenja.",
            "expression": "iif(Composition.section.where(code.coding.code='5').exists(), Composition.subject.resolve().birthDate <= Composition.section.where(code.coding.code='5').entry.resolve().effectiveDateTime.aggregate(iif($total.empty(), $this, iif($this < $total, $this, $total))), true)"
          },
          {
            "key": "ORD-4",
            "severity": "error",
            "human": "Ako postoji TNM, datum određivanja TNM-a mora biti jednak ili veći od datuma dijagnoze primarnog sijela.",
            "expression": "iif(Composition.section.where(code.coding.code='5').exists(), Composition.section.where(code.coding.code='1').entry.resolve().recordedDate <= Composition.section.where(code.coding.code='5').entry.resolve().effectiveDateTime.aggregate(iif($total.empty(), $this, iif($this < $total, $this, $total))), true)"
          },
          {
            "key": "ORD-5",
            "severity": "error",
            "human": "Ako postoji metastatska dijagnoza, datum prve dijagnoze metastaza mora biti jednak ili veći od Datuma primarne dijagnoze.",
            "expression": "iif(Composition.section.where(code.coding.code='6').exists(), Composition.section.where(code.coding.code='1').entry.resolve().recordedDate <= Composition.section.where(code.coding.code='6').entry.resolve().ofType(Observation).valueDateTime, true)"
          },
          {
            "key": "ORD-6",
            "severity": "error",
            "human": "Ako postoji procjena odgovora na terapiju datum procjene odgovora na terapiju mora biti jednak ili veći od postavljanja primarne dijagnoze tumora.",
            "expression": "iif(Composition.section.where(code.coding.code='7').exists(), Composition.section.where(code.coding.code='1').entry.resolve().recordedDate <= Composition.section.where(code.coding.code='7').entry.resolve().effectiveDateTime, true)"
          },
          {
            "key": "ORD-7",
            "severity": "error",
            "human": "Mora biti poslan datum rođenja pacijenta",
            "expression": "Composition.subject.resolve().birthDate.exists()"
          },
          {
            "key": "ORD-8",
            "severity": "error",
            "human": "Mora biti poslan spol pacijenta",
            "expression": "Composition.subject.resolve().gender.exists()"
          },
          {
            "key": "ORD-9",
            "severity": "error",
            "human": "Materijal za analizu mora odgovarati obavljenoj pretrazi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Specimen).where(type.coding.code='2').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Specimen).type.coding.code='2').entry.resolve().ofType(Procedure).code.coding.code.subsetOf('1'|'2'|'3'|'4'|'5'|'8'|'9'|'10'|'11'|'12'|'13'|'14'|'15'|'17'|'18'), true)"
          },
          {
            "key": "ORD-10",
            "severity": "error",
            "human": "Materijal za analizu mora odgovarati obavljenoj pretrazi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Specimen).where(type.coding.code='3').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Specimen).type.coding.code='3').entry.resolve().ofType(Procedure).code.coding.code.subsetOf('1'|'3'|'4'|'5'|'9'|'10'|'11'|'12'|'13'|'15'|'17'|'18'), true)"
          },
          {
            "key": "ORD-11",
            "severity": "error",
            "human": "Materijal za analizu mora odgovarati obavljenoj pretrazi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Specimen).where(type.coding.code='4').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Specimen).type.coding.code='4').entry.resolve().ofType(Procedure).code.coding.code.subsetOf('1'|'3'|'5'|'9'|'10'|'13'|'14'|'17'|'18'), true)"
          },
          {
            "key": "ORD-12",
            "severity": "error",
            "human": "Materijal za analizu mora odgovarati obavljenoj pretrazi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Specimen).where(type.coding.code='5').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Specimen).type.coding.code='5').entry.resolve().ofType(Procedure).code.coding.code.subsetOf('6'|'7'|'16'), true)"
          },
          {
            "key": "ORD-13",
            "severity": "error",
            "human": "Metoda uzorkovanja mora odgovarati obavljenoj pretrazi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Specimen).where(collection.method.coding.code='1').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Specimen).collection.method.coding.code='1').entry.resolve().ofType(Procedure).code.coding.code.subsetOf('1'|'2'|'3'|'4'|'5'|'6'|'7'|'9'|'10'|'11'|'12'|'15'|'16'|'17'), true)"
          },
          {
            "key": "ORD-14",
            "severity": "error",
            "human": "Metoda uzorkovanja mora odgovarati obavljenoj pretrazi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Specimen).where(collection.method.coding.code='3').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Specimen).collection.method.coding.code='3').entry.resolve().ofType(Procedure).code.coding.code.subsetOf('1'|'3'|'5'|'9'|'10'|'13'|'14'|'17'|'18'), true)"
          },
          {
            "key": "ORD-15",
            "severity": "error",
            "human": "Metoda uzorkovanja mora odgovarati obavljenoj pretrazi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Specimen).where(collection.method.coding.code='6').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Specimen).collection.method.coding.code='6').entry.resolve().ofType(Procedure).code.coding.code.subsetOf('1'|'3'|'4'|'5'|'9'|'10'|'11'|'12'|'13'|'15'|'17'|'18'), true)"
          },
          {
            "key": "ORD-16",
            "severity": "error",
            "human": "Vrijednost pretrage mora odgovarati obavljenoj pretrazi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='1').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='1').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('9'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='2').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='2').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('9'), true) and  iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='3').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='3').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('9'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='4').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='4').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('5'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='5').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='5').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('5'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='6').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='6').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('5'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='7').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='7').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('5'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='18').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='18').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('5'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='8').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='8').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('1'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='9').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='9').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('1'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='10').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='10').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('1'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='11').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='11').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('1'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='12').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='12').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('11'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='13').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='13').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('11'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='14').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='14').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('11'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='15').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='15').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('11'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='16').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='16').entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('3'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='17').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='17')).entry.resolve().ofType(Procedure).code.coding.code.distinct().subsetOf('1'|'3'|'5'|'9'), true)"
          },
          {
            "key": "ORD-17",
            "severity": "error",
            "human": "Vrijednost pretrage mora odgovarati rezultatu pretrage.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='1').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='1')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='2').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='2')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='3').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='3')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='4').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='4')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='5').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='5')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='6').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='6')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='7').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='7')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true)and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='8').exists(),Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='8')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('14'|'15'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='9').exists(),Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='9')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('14'|'15'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='10').exists(),Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='10')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('14'|'15'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='11').exists(),Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='11')).entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('14'|'15'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='12').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='12').entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('35'|'36'|'37'|'38'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='13').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='13').entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('35'|'36'|'37'|'39'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='14').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='14').entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('35'|'36'|'37'|'40'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='15').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='15').entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('35'|'36'|'37'|'41'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='16').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='16').entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='17').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='17').entry.resolve().ofType(Procedure).outcome.coding.code.distinct.subsetOf('14'|'15'|'18'), true) and iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).where(valueCodeableConcept.coding.code='18').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueCodeableConcept.coding.code='18').entry.resolve().ofType(Procedure).outcome.coding.code.distinct().subsetOf('18'), true)"
          },
          {
            "key": "ORD-18",
            "severity": "error",
            "human": "Nije dopušteno koristiti količinu kao rezultat pretrage za odabranu pretragu.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Observation).valueQuantity.exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Observation).valueQuantity.exists()).entry.resolve().ofType(Procedure).code.coding.code.subsetOf('2'|'6'|'8'|'14'|'16'), true)"
          },
          {
            "key": "ORD-19",
            "severity": "error",
            "human": "Materijal za analizu ne odgovara metodi.",
            "expression": "iif(Composition.section.where(code.coding.code='8').entry.resolve().ofType(Procedure).where(extension.valueCodeableConcept.coding.code='7').exists(), Composition.section.where(code.coding.code='8' and entry.resolve().ofType(Procedure).where(extension.valueCodeableConcept.coding.code='7')).entry.resolve().ofType(Specimen).type.coding.code.supersetOf('4').not(), true)"
          }
        ]
      },
      {
        "id": "Composition.type",
        "path": "Composition.type",
        "short": "Definira tip kliničkog dokumenta - Onkološki relevantni podaci",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-type",
              "code": "001",
              "display": "Onkološki relevantni podaci"
            }
          ]
        }
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "short": "Referenca na zapis pacijenta",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-pacijent"
            ]
          }
        ],
        "constraint": [
          {
            "key": "pat-1",
            "severity": "error",
            "human": "Podatci o pacijentu moraju sadržavati spol pacijenta",
            "expression": "$this.resolve().gender.exists()"
          },
          {
            "key": "pat-2",
            "severity": "error",
            "human": "Podatci o pacijentu moraju sadržavati datum rođenja pacijenta",
            "expression": "$this.resolve().birthDate.exists()"
          }
        ]
      },
      {
        "id": "Composition.encounter",
        "path": "Composition.encounter",
        "short": "Referenca na zapis posjete u kojoj je kreiran dokument",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-document-encounter-base"
            ]
          }
        ]
      },
      {
        "id": "Composition.date",
        "path": "Composition.date",
        "short": "Datum unosa podatka"
      },
      {
        "id": "Composition.author",
        "path": "Composition.author",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "rules": "closed"
        },
        "min": 2,
        "max": "2"
      },
      {
        "id": "Composition.author:djelatnik",
        "path": "Composition.author",
        "sliceName": "djelatnik",
        "short": "Zdravstveni djelatnika",
        "definition": "Referenca na zapis zdravstvenog djelatnika pošiljatelja podataka.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner"
            ]
          }
        ]
      },
      {
        "id": "Composition.author:organizacija",
        "path": "Composition.author",
        "sliceName": "organizacija",
        "short": "Zdravstvena organizacija",
        "definition": "Referenca na zapis zdravstvene organizacije pošiljatelja podataka.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-organizacija"
            ]
          }
        ]
      },
      {
        "id": "Composition.relatesTo",
        "path": "Composition.relatesTo",
        "short": "ID dokumenta koji prati podatke",
        "definition": "ID dokumenta koji prati podatke (nalaz ili otpusno pismo koje se za tu posjetu šalje uz račun). Šalje se iz BIS-a, kao jedan od podataka. Sam dokument koji identificira nije nužno poslati, ovaj ID će služiti za pronalaženje dokumenta ako se pokaže potreba za time"
      },
      {
        "id": "Composition.relatesTo.code",
        "path": "Composition.relatesTo.code",
        "fixedCode": "appends"
      },
      {
        "id": "Composition.relatesTo.target[x]",
        "path": "Composition.relatesTo.target[x]",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Composition.relatesTo.target[x].system",
        "path": "Composition.relatesTo.target[x].system",
        "min": 1,
        "fixedUri": "http://fhir.cezih.hr/specifikacije/identifikatori/identifikator-nalaza"
      },
      {
        "id": "Composition.relatesTo.target[x].value",
        "path": "Composition.relatesTo.target[x].value",
        "min": 1,
        "mustSupport": false
      },
      {
        "id": "Composition.section",
        "path": "Composition.section",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "closed"
        },
        "min": 3
      },
      {
        "id": "Composition.section:Slucaj",
        "path": "Composition.section",
        "sliceName": "Slucaj",
        "short": "SET 3: podaci dijagnoze primarnog sijela",
        "definition": "Slučaj sadrži informacije o dijagnozi primarnog sijela.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:Slucaj.title",
        "path": "Composition.section.title",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:Slucaj.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "1",
              "display": "Slučaj"
            }
          ]
        }
      },
      {
        "id": "Composition.section:Slucaj.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/slucaj"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:Pusenje",
        "path": "Composition.section",
        "sliceName": "Pusenje",
        "short": "SET 2: podaci o pušenju",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Composition.section:Pusenje.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:Pusenje.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "2",
              "display": "Pušenje"
            }
          ]
        }
      },
      {
        "id": "Composition.section:Pusenje.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/smoking"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:AdministriraniLijekovi",
        "path": "Composition.section",
        "sliceName": "AdministriraniLijekovi",
        "short": "SET 9: podaci o administriranom lijeku",
        "max": "1"
      },
      {
        "id": "Composition.section:AdministriraniLijekovi.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:AdministriraniLijekovi.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "9",
              "display": "Podaci o administriranim lijekovima"
            }
          ]
        }
      },
      {
        "id": "Composition.section:AdministriraniLijekovi.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/administered-medication"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:podaciOPacijentu",
        "path": "Composition.section",
        "sliceName": "podaciOPacijentu",
        "short": "Podaci o pacijentu (visina, težina, menopauzalni status).",
        "max": "1"
      },
      {
        "id": "Composition.section:podaciOPacijentu.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:podaciOPacijentu.code",
        "path": "Composition.section.code",
        "min": 1,
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "11",
              "display": "Podaci o pacijentu"
            }
          ]
        }
      },
      {
        "id": "Composition.section:podaciOPacijentu.entry",
        "path": "Composition.section.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resolve().code"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "Composition.section:podaciOPacijentu.entry:tezina",
        "path": "Composition.section.entry",
        "sliceName": "tezina",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/tezina"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:podaciOPacijentu.entry:visina",
        "path": "Composition.section.entry",
        "sliceName": "visina",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/visina"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:podaciOPacijentu.entry:menopauzalniStatus",
        "path": "Composition.section.entry",
        "sliceName": "menopauzalniStatus",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/menopause-status"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:podaciOTumoru",
        "path": "Composition.section",
        "sliceName": "podaciOTumoru",
        "short": "SET 4: podaci o tumoru",
        "max": "1"
      },
      {
        "id": "Composition.section:podaciOTumoru.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:podaciOTumoru.code",
        "path": "Composition.section.code",
        "min": 1,
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "4",
              "display": "Podaci o tumoru"
            }
          ]
        }
      },
      {
        "id": "Composition.section:podaciOTumoru.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/tumor-data"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:TNMKlasifikacija",
        "path": "Composition.section",
        "sliceName": "TNMKlasifikacija",
        "short": "SET 5: podaci o TNM-u",
        "max": "1"
      },
      {
        "id": "Composition.section:TNMKlasifikacija.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:TNMKlasifikacija.code",
        "path": "Composition.section.code",
        "min": 1,
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "5",
              "display": "Podaci o TNM-u"
            }
          ]
        }
      },
      {
        "id": "Composition.section:TNMKlasifikacija.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/tnm"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:metastaze",
        "path": "Composition.section",
        "sliceName": "metastaze",
        "short": "SET 6: podaci o metastazama",
        "max": "1"
      },
      {
        "id": "Composition.section:metastaze.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:metastaze.code",
        "path": "Composition.section.code",
        "min": 1,
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "6",
              "display": "Podaci o metastazama"
            }
          ]
        }
      },
      {
        "id": "Composition.section:metastaze.entry",
        "path": "Composition.section.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "ordered": false,
          "rules": "closed"
        },
        "min": 2
      },
      {
        "id": "Composition.section:metastaze.entry:datumPrveDijagnoze",
        "path": "Composition.section.entry",
        "sliceName": "datumPrveDijagnoze",
        "short": "Datum prve dijagnoze metastaza",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/datum"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:metastaze.entry:dijagnoza",
        "path": "Composition.section.entry",
        "sliceName": "dijagnoza",
        "short": "Dijagnoza metastatskog sijela raka",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/metastatska-dijagnoza"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:odgovorNaTerapiju",
        "path": "Composition.section",
        "sliceName": "odgovorNaTerapiju",
        "short": "SET 7: podaci o odgovoru na terapiju",
        "max": "1"
      },
      {
        "id": "Composition.section:odgovorNaTerapiju.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:odgovorNaTerapiju.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "7",
              "display": "Podaci o odgovoru na terapiju"
            }
          ]
        }
      },
      {
        "id": "Composition.section:odgovorNaTerapiju.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/odgovor-na-terapiju"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:glavnaDijagnoza",
        "path": "Composition.section",
        "sliceName": "glavnaDijagnoza",
        "short": "Glavna dijagnoza posjete",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:glavnaDijagnoza.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:glavnaDijagnoza.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "3",
              "display": "Glavna dijagnoza posjete"
            }
          ]
        }
      },
      {
        "id": "Composition.section:glavnaDijagnoza.entry",
        "path": "Composition.section.entry",
        "short": "Glavna dijagnoza posjete",
        "definition": "Glavna/ Primarna dijagnoza posjete zabilježena na nalazu/ otpusnom pismu koje se šalje u CEZIH. ",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/primarna-dijagnoza"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti",
        "path": "Composition.section",
        "sliceName": "ostaliPodaciOBolesti",
        "max": "1"
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "10",
              "display": "Ostali podaci o bolesti"
            }
          ]
        }
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.entry",
        "path": "Composition.section.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resolve().code"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.entry:tipRaka",
        "path": "Composition.section.entry",
        "sliceName": "tipRaka",
        "short": "Tip raka",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/tip-raka"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.entry:klinickiStadijBolesti",
        "path": "Composition.section.entry",
        "sliceName": "klinickiStadijBolesti",
        "short": "Stadij bolesti (klinički)",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/stadij-bolesti-klinicki"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.entry:patoloskiStadijBolesti",
        "path": "Composition.section.entry",
        "sliceName": "patoloskiStadijBolesti",
        "short": "Stadij bolesti (patološki)",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/stadij-bolesti-patoloski"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.entry:ECOG",
        "path": "Composition.section.entry",
        "sliceName": "ECOG",
        "short": "ECOG",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/ecog"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.entry:zavrsenaLinijaLijecenja",
        "path": "Composition.section.entry",
        "sliceName": "zavrsenaLinijaLijecenja",
        "short": "Završena linija liječenja",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/zavrsena-linija-lijecenja"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:ostaliPodaciOBolesti.entry:narudzbaNaSGP",
        "path": "Composition.section.entry",
        "sliceName": "narudzbaNaSGP",
        "short": "Narudžba na  SGP",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/narudzbaNaSGP"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:pretraga",
        "path": "Composition.section",
        "sliceName": "pretraga",
        "short": "SET 8: podaci o pojedinoj pretrazi"
      },
      {
        "id": "Composition.section:pretraga.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:pretraga.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "8",
              "display": "Podaci o pretrazi"
            }
          ]
        }
      },
      {
        "id": "Composition.section:pretraga.entry",
        "path": "Composition.section.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "ordered": false,
          "rules": "closed"
        },
        "min": 2
      },
      {
        "id": "Composition.section:pretraga.entry:pretraga",
        "path": "Composition.section.entry",
        "sliceName": "pretraga",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/onko-pretraga"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:pretraga.entry:uzorak",
        "path": "Composition.section.entry",
        "sliceName": "uzorak",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/uzorak"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:pretraga.entry:vrijednost",
        "path": "Composition.section.entry",
        "sliceName": "vrijednost",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/vrijednost-pretrage"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:djelatnost",
        "path": "Composition.section",
        "sliceName": "djelatnost",
        "short": "Djelatnost pošiljatelja podataka",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:djelatnost.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:djelatnost.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "12",
              "display": "Djelatnost"
            }
          ]
        }
      },
      {
        "id": "Composition.section:djelatnost.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/djelatnost"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:KlasifikacijaSkala",
        "path": "Composition.section",
        "sliceName": "KlasifikacijaSkala",
        "short": "SET A: Klasifikacija/skala",
        "max": "1"
      },
      {
        "id": "Composition.section:KlasifikacijaSkala.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:KlasifikacijaSkala.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "20",
              "display": "Klasifikacija/skala"
            }
          ]
        }
      },
      {
        "id": "Composition.section:KlasifikacijaSkala.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/klasifikacija-skala"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:TrenutnaOnkoterapija",
        "path": "Composition.section",
        "sliceName": "TrenutnaOnkoterapija",
        "short": "SET B1: Onkoterapija (trenutna)",
        "max": "1"
      },
      {
        "id": "Composition.section:TrenutnaOnkoterapija.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:TrenutnaOnkoterapija.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "21",
              "display": "Trenutna onkoterapija"
            }
          ]
        }
      },
      {
        "id": "Composition.section:TrenutnaOnkoterapija.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/trenutna-onkoterapija"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:OnkoterapijaAnamnesticka",
        "path": "Composition.section",
        "sliceName": "OnkoterapijaAnamnesticka",
        "short": "SET B2: Onkoterapija (anamnestička)",
        "max": "1"
      },
      {
        "id": "Composition.section:OnkoterapijaAnamnesticka.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:OnkoterapijaAnamnesticka.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "22",
              "display": "Onkoterapija (anamnestički)"
            }
          ]
        }
      },
      {
        "id": "Composition.section:OnkoterapijaAnamnesticka.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/onkoterapija-anamnesticki"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:TumorskoOpterecenje",
        "path": "Composition.section",
        "sliceName": "TumorskoOpterecenje",
        "short": "SET C: Tumorsko opterečenje",
        "max": "1"
      },
      {
        "id": "Composition.section:TumorskoOpterecenje.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:TumorskoOpterecenje.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "23",
              "display": "Tumorsko opterečenje"
            }
          ]
        }
      },
      {
        "id": "Composition.section:TumorskoOpterecenje.entry",
        "path": "Composition.section.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resolve().code"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "Composition.section:TumorskoOpterecenje.entry:BrojMetastaza",
        "path": "Composition.section.entry",
        "sliceName": "BrojMetastaza",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/tumorsko-opterecenje-broj-metastaza"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:TumorskoOpterecenje.entry:OpisMetastaze",
        "path": "Composition.section.entry",
        "sliceName": "OpisMetastaze",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/tumorsko-opterecenje"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:OligometastatskaBolest",
        "path": "Composition.section",
        "sliceName": "OligometastatskaBolest",
        "short": "SET D: Oligometastatska bolest",
        "max": "1"
      },
      {
        "id": "Composition.section:OligometastatskaBolest.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:OligometastatskaBolest.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "24",
              "display": "Oligometastatska bolest"
            }
          ]
        }
      },
      {
        "id": "Composition.section:OligometastatskaBolest.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/oligometastatska-bolest"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:TrenutnaRadioterapija",
        "path": "Composition.section",
        "sliceName": "TrenutnaRadioterapija",
        "short": "SET E1: Radioterapija (trenutno)",
        "max": "1"
      },
      {
        "id": "Composition.section:TrenutnaRadioterapija.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:TrenutnaRadioterapija.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "26",
              "display": "Trenutna radioterapija"
            }
          ]
        }
      },
      {
        "id": "Composition.section:TrenutnaRadioterapija.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/trenutna-radioterapija"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:RadioterapijaAnamnesticki",
        "path": "Composition.section",
        "sliceName": "RadioterapijaAnamnesticki",
        "short": "SET E2: Radioterapija (anamnestički)",
        "max": "1"
      },
      {
        "id": "Composition.section:RadioterapijaAnamnesticki.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:RadioterapijaAnamnesticki.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "27",
              "display": "Radioterapija (anamnestički)"
            }
          ]
        }
      },
      {
        "id": "Composition.section:RadioterapijaAnamnesticki.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/radioterapija-anamnesticki"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:OperativniZahvati",
        "path": "Composition.section",
        "sliceName": "OperativniZahvati",
        "short": "SET F: Operativni zahvati",
        "max": "1"
      },
      {
        "id": "Composition.section:OperativniZahvati.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:OperativniZahvati.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "28",
              "display": "Operativni zahvati"
            }
          ]
        }
      },
      {
        "id": "Composition.section:OperativniZahvati.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/operation-zahvat"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:RizikBolesti",
        "path": "Composition.section",
        "sliceName": "RizikBolesti",
        "short": "SET G: Rizik bolesti"
      },
      {
        "id": "Composition.section:RizikBolesti.title",
        "path": "Composition.section.title",
        "min": 1
      },
      {
        "id": "Composition.section:RizikBolesti.code",
        "path": "Composition.section.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
              "code": "29",
              "display": "Rizik bolesti"
            }
          ]
        }
      },
      {
        "id": "Composition.section:RizikBolesti.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/rizik-bolesti"
            ]
          }
        ]
      }
    ]
  }
}