{
  "resourceType": "StructureDefinition",
  "id": "gp-DiagnosticResult",
  "url": "http://nictiz.nl/fhir/StructureDefinition/gp-DiagnosticResult",
  "version": "2.0.3",
  "name": "gp DiagnosticResult",
  "title": "gp-DiagnosticResult",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A laboratory result as defined in the Dutch GP association NHG in the GP-EHR reference model (Dutch: HIS referentiemodel) based on observations of type D in NHG Table 45 Diagnostische bepalingen. A diagnostic test is an objectifiable diagnostic procedure. The result is the outcome of the procedure. Tests include vital signs like blood pressure, weight and lab results like ferro in blood.",
  "copyright": "CC0",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/zib-GeneralMeasurement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.extension",
        "path": "Observation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.extension:nl-core-episodeofcare",
        "path": "Observation.extension",
        "sliceName": "nl-core-episodeofcare",
        "definition": "It is recommended to use the nl-core-episodeofcare extension to reference nl-core-episodeofcare (EpisodeOfCare) instances rather than the `context` element, as this approach will be enforced in FHIR R4.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/extension-context-nl-core-episodeofcare"
          }
        ]
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.code.coding:NHGTable45",
        "path": "Observation.code.coding",
        "sliceName": "NHGTable45",
        "definition": "A reference to a code defined by a terminology system. The effective system is the NHG Tabel 45 Diagnostische bepalingen",
        "max": "1"
      },
      {
        "id": "Observation.code.coding:NHGTable45.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "https://referentiemodel.nhg.org/tabellen/nhg-tabel-45-diagnostische-bepalingen"
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "comment": "It is recommended to use the nl-core-episodeofcare extension to reference nl-core-episodeofcare (EpisodeOfCare) instances rather than the `context` element, as this approach will be enforced in FHIR R4."
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "definition": "The result of the measurement. Depending on the type of measurement, the result will consist of a value with a unit or a coded value (ordinal or nominal) or of a textual result. Coded results based on NHG Table 45 SHALL have system uri 'https://referentiemodel.nhg.org/tabellen/nhg-tabel-45-diagnostische-bepalingen#resultaten' and use the numeric code, not the mnemonic code, from the code system."
      }
    ]
  }
}