{
  "resourceType": "StructureDefinition",
  "id": "DiagnosticReport",
  "url": "http://mrdm.nl/profiles/fhir/r4/palga/StructureDefinition/diagnostic-report",
  "name": "PalgaDiagnosticReport",
  "status": "draft",
  "date": "2023-11-28T08:53:54.0362159+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "zib-textresult-v4.4-2020EN",
      "uri": "https://zibs.nl/wiki/TextResult-v4.4(2020EN)",
      "name": "zib TextResult-v4.4(2020EN)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport",
        "path": "DiagnosticReport",
        "short": "Report of Palga protocol data"
      },
      {
        "id": "DiagnosticReport.id",
        "path": "DiagnosticReport.id",
        "short": "Unique ID",
        "definition": "combination of name clinical registry, labid and report number",
        "min": 1
      },
      {
        "id": "DiagnosticReport.extension",
        "path": "DiagnosticReport.extension",
        "max": "1"
      },
      {
        "id": "DiagnosticReport.extension:palgaProtocolVersion",
        "path": "DiagnosticReport.extension",
        "sliceName": "palgaProtocolVersion",
        "short": "Protocol version",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://logex.com/profiles/fhir/r4/palga/StructureDefinition/extension-protocol-version"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "DiagnosticReport.status",
        "path": "DiagnosticReport.status",
        "definition": "The status has been set as a fixed value, final.",
        "fixedCode": "final"
      },
      {
        "id": "DiagnosticReport.code.text",
        "path": "DiagnosticReport.code.text",
        "short": "Name of the study",
        "min": 1
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://logex.com/profiles/fhir/r4/palga/StructureDefinition/patient"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.performer",
        "path": "DiagnosticReport.performer",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://logex.com/profiles/fhir/r4/palga/StructureDefinition/organization"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.specimen",
        "path": "DiagnosticReport.specimen",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://logex.com/profiles/fhir/r4/palga/StructureDefinition/specimen"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://logex.com/profiles/fhir/r4/palga/StructureDefinition/sample"
            ]
          }
        ]
      }
    ]
  }
}