GraphDefinition-Genomics-Test-Result

GraphDefinition for validating/retrieving a complete Test Result. Only relevant for Structured Reporting where the DiagnosticReport references a series of result/supporting-info/recommended-action/genomic-study resources. The complete result can then be returned via a single API call e.g. to:

GET [base]/DiagnosticReport/DiagnosticReport-AnitaLamberts-Example/$graph?graph=genomics-test-result

HTML View

GraphDefinition

Table View

GraphDefinition.id[0]GraphDefinition-genomics-test-result
GraphDefinition.url[0]https://fhir.nhs.uk/GraphDefinition/genomics-test-result
GraphDefinition.version[0]0.1.0
GraphDefinition.name[0]GenomicsTestResult
GraphDefinition.status[0]draft
GraphDefinition.date[0]2024-08-09
GraphDefinition.publisher[0]NHS England
GraphDefinition.description[0]GraphDefinition for defining and retrieving the full set of resources relevant to a Genomic Test Result (based on the Genomics Reporting Genomic-Report profile)
GraphDefinition.start[0]DiagnosticReport
GraphDefinition.link[0].path[0]DiagnosticReport.extension.valueReference
GraphDefinition.link[0].sliceName[0]recommended-action
GraphDefinition.link[0].min[0]0
GraphDefinition.link[0].max[0]*
GraphDefinition.link[0].description[0]Further actions recommended by the report
GraphDefinition.link[0].target[0].type[0]Task
GraphDefinition.link[1].path[0]DiagnosticReport.extension.valueReference
GraphDefinition.link[1].sliceName[0]genomic-study
GraphDefinition.link[1].min[0]0
GraphDefinition.link[1].max[0]*
GraphDefinition.link[1].description[0]The set of analyses performed to generate/analyse the genomic data
GraphDefinition.link[1].target[0].type[0]Procedure
GraphDefinition.link[1].target[0].link[0].path[0]Procedure.extension.valueReference
GraphDefinition.link[1].target[0].link[0].sliceName[0]genomic-study-analysis
GraphDefinition.link[1].target[0].link[0].min[0]0
GraphDefinition.link[1].target[0].link[0].max[0]*
GraphDefinition.link[1].target[0].link[0].description[0]Component of genomic study
GraphDefinition.link[1].target[0].link[0].target[0].type[0]Procedure
GraphDefinition.link[2].path[0]DiagnosticReport.extension.valueReference
GraphDefinition.link[2].sliceName[0]supporting-info
GraphDefinition.link[2].min[0]0
GraphDefinition.link[2].max[0]*
GraphDefinition.link[2].description[0]Supporting Info references, used to capture clinical information and references to Genomic Data Files
GraphDefinition.link[2].target[0].type[0]DocumentReference
GraphDefinition.link[2].target[1].type[0]Resource
GraphDefinition.link[3].path[0]DiagnosticReport.basedOn
GraphDefinition.link[3].min[0]1
GraphDefinition.link[3].max[0]1
GraphDefinition.link[3].description[0]Link to request this DiagnosticReport is in fulfillment of
GraphDefinition.link[3].target[0].type[0]ServiceRequest
GraphDefinition.link[4].path[0]DiagnosticReport.subject
GraphDefinition.link[4].min[0]1
GraphDefinition.link[4].max[0]1
GraphDefinition.link[4].description[0]Link to the patient the report is concerning
GraphDefinition.link[4].target[0].type[0]Patient
GraphDefinition.link[5].path[0]DiagnosticReport.specimen
GraphDefinition.link[5].min[0]0
GraphDefinition.link[5].max[0]*
GraphDefinition.link[5].description[0]Link to the specimens used during testing to generate the report
GraphDefinition.link[5].target[0].type[0]Specimen
GraphDefinition.link[5].target[0].link[0].path[0]Specimen.subject
GraphDefinition.link[5].target[0].link[0].min[0]1
GraphDefinition.link[5].target[0].link[0].max[0]1
GraphDefinition.link[5].target[0].link[0].description[0]Link to the patient the specimen is from
GraphDefinition.link[5].target[0].link[0].target[0].type[0]Patient
GraphDefinition.link[5].target[0].link[1].path[0]Specimen.parent
GraphDefinition.link[5].target[0].link[1].min[0]0
GraphDefinition.link[5].target[0].link[1].max[0]1
GraphDefinition.link[5].target[0].link[1].description[0]Link to parent specimen resource
GraphDefinition.link[5].target[0].link[1].target[0].type[0]Specimen
GraphDefinition.link[5].target[0].link[2].path[0]Specimen.collection.collector
GraphDefinition.link[5].target[0].link[2].min[0]0
GraphDefinition.link[5].target[0].link[2].max[0]1
GraphDefinition.link[5].target[0].link[2].description[0]Link to collector of the specimen
GraphDefinition.link[5].target[0].link[2].target[0].type[0]PractitionerRole
GraphDefinition.link[5].target[0].link[3].path[0]Specimen.collection.bodySite.extension.valueReference
GraphDefinition.link[5].target[0].link[3].sliceName[0]bodySiteReference
GraphDefinition.link[5].target[0].link[3].min[0]0
GraphDefinition.link[5].target[0].link[3].max[0]1
GraphDefinition.link[5].target[0].link[3].description[0]Link to the body structure detailing the morphology and topography of the specimen
GraphDefinition.link[5].target[0].link[3].target[0].type[0]BodyStructure
GraphDefinition.link[6].path[0]DiagnosticReport.result
GraphDefinition.link[6].min[0]0
GraphDefinition.link[6].max[0]*
GraphDefinition.link[6].description[0]Links to Observations forming the results reported in the DiagnosticReport
GraphDefinition.link[6].target[0].type[0]Observation
GraphDefinition.link[6].target[0].link[0].path[0]Observation.performer
GraphDefinition.link[6].target[0].link[0].min[0]0
GraphDefinition.link[6].target[0].link[0].max[0]1
GraphDefinition.link[6].target[0].link[0].description[0]Optional link to actor who performed the observation (could be Patient, PractitionerRole or RelatedPerson)
GraphDefinition.link[6].target[0].link[0].target[0].type[0]Resource
GraphDefinition.link[6].target[0].link[1].path[0]Observation.hasMember
GraphDefinition.link[6].target[0].link[1].min[0]0
GraphDefinition.link[6].target[0].link[1].max[0]*
GraphDefinition.link[6].target[0].link[1].description[0]Optional link to observation if parent observation is a panel
GraphDefinition.link[6].target[0].link[1].target[0].type[0]Observation

XML View

<GraphDefinition xmlns="http://hl7.org/fhir">
<id value="GraphDefinition-genomics-test-result" />
<url value="https://fhir.nhs.uk/GraphDefinition/genomics-test-result" />
<version value="0.1.0" />
<name value="GenomicsTestResult" />
<status value="draft" />
<date value="2024-08-09" />
<publisher value="NHS England" />
<description value="GraphDefinition for defining and retrieving the full set of resources relevant to a Genomic Test Result (based on the Genomics Reporting Genomic-Report profile)" />
<start value="DiagnosticReport" />
<path value="DiagnosticReport.extension.valueReference" />
<sliceName value="recommended-action" />
<min value="0" />
<max value="*" />
<description value="Further actions recommended by the report" />
<type value="Task" />
</target>
</link>
<path value="DiagnosticReport.extension.valueReference" />
<sliceName value="genomic-study" />
<min value="0" />
<max value="*" />
<description value="The set of analyses performed to generate/analyse the genomic data" />
<type value="Procedure" />
<path value="Procedure.extension.valueReference" />
<sliceName value="genomic-study-analysis" />
<min value="0" />
<max value="*" />
<description value="Component of genomic study" />
<type value="Procedure" />
</target>
</link>
</target>
</link>
<path value="DiagnosticReport.extension.valueReference" />
<sliceName value="supporting-info" />
<min value="0" />
<max value="*" />
<description value="Supporting Info references, used to capture clinical information and references to Genomic Data Files" />
<type value="DocumentReference" />
</target>
<type value="Resource" />
</target>
</link>
<path value="DiagnosticReport.basedOn" />
<min value="1" />
<max value="1" />
<description value="Link to request this DiagnosticReport is in fulfillment of" />
<type value="ServiceRequest" />
</target>
</link>
<path value="DiagnosticReport.subject" />
<min value="1" />
<max value="1" />
<description value="Link to the patient the report is concerning" />
<type value="Patient" />
</target>
</link>
<path value="DiagnosticReport.specimen" />
<min value="0" />
<max value="*" />
<description value="Link to the specimens used during testing to generate the report" />
<type value="Specimen" />
<path value="Specimen.subject" />
<min value="1" />
<max value="1" />
<description value="Link to the patient the specimen is from" />
<type value="Patient" />
</target>
</link>
<path value="Specimen.parent" />
<min value="0" />
<max value="1" />
<description value="Link to parent specimen resource" />
<type value="Specimen" />
</target>
</link>
<path value="Specimen.collection.collector" />
<min value="0" />
<max value="1" />
<description value="Link to collector of the specimen" />
<type value="PractitionerRole" />
</target>
</link>
<path value="Specimen.collection.bodySite.extension.valueReference" />
<sliceName value="bodySiteReference" />
<min value="0" />
<max value="1" />
<description value="Link to the body structure detailing the morphology and topography of the specimen" />
<type value="BodyStructure" />
</target>
</link>
</target>
</link>
<path value="DiagnosticReport.result" />
<min value="0" />
<max value="*" />
<description value="Links to Observations forming the results reported in the DiagnosticReport" />
<type value="Observation" />
<path value="Observation.performer" />
<min value="0" />
<max value="1" />
<description value="Optional link to actor who performed the observation (could be Patient, PractitionerRole or RelatedPerson)" />
<type value="Resource" />
</target>
</link>
<path value="Observation.hasMember" />
<min value="0" />
<max value="*" />
<description value="Optional link to observation if parent observation is a panel" />
<type value="Observation" />
</target>
</link>
</target>
</link>
</GraphDefinition>

JSON View

{
"resourceType": "GraphDefinition",
"id": "GraphDefinition-genomics-test-result",
"url": "https://fhir.nhs.uk/GraphDefinition/genomics-test-result",
"name": "GenomicsTestResult",
"version": "0.1.0",
"status": "draft",
"date": "2024-08-09",
"publisher": "NHS England",
"description": "GraphDefinition for defining and retrieving the full set of resources relevant to a Genomic Test Result (based on the Genomics Reporting Genomic-Report profile)",
"start": "DiagnosticReport",
"link": [
{
"path": "DiagnosticReport.extension.valueReference",
"sliceName": "recommended-action",
"description": "Further actions recommended by the report",
"min": 0,
"max": "*",
"target": [
{
"type": "Task"
}
]
},
{
"path": "DiagnosticReport.extension.valueReference",
"sliceName": "genomic-study",
"description": "The set of analyses performed to generate/analyse the genomic data",
"min": 0,
"max": "*",
"target": [
{
"type": "Procedure",
"link": [
{
"path": "Procedure.extension.valueReference",
"sliceName": "genomic-study-analysis",
"description": "Component of genomic study",
"min": 0,
"max": "*",
"target": [
{
"type": "Procedure"
}
]
}
]
}
]
},
{
"path": "DiagnosticReport.extension.valueReference",
"sliceName": "supporting-info",
"description": "Supporting Info references, used to capture clinical information and references to Genomic Data Files",
"min": 0,
"max": "*",
"target": [
{
"type": "DocumentReference"
},
{
"type": "Resource"
}
]
},
{
"path": "DiagnosticReport.basedOn",
"description": "Link to request this DiagnosticReport is in fulfillment of",
"min": 1,
"max": "1",
"target": [
{
"type": "ServiceRequest"
}
]
},
{
"path": "DiagnosticReport.subject",
"description": "Link to the patient the report is concerning",
"min": 1,
"max": "1",
"target": [
{
"type": "Patient"
}
]
},
{
"path": "DiagnosticReport.specimen",
"description": "Link to the specimens used during testing to generate the report",
"min": 0,
"max": "*",
"target": [
{
"type": "Specimen",
"link": [
{
"path": "Specimen.subject",
"description": "Link to the patient the specimen is from",
"min": 1,
"max": "1",
"target": [
{
"type": "Patient"
}
]
},
{
"path": "Specimen.parent",
"description": "Link to parent specimen resource",
"min": 0,
"max": "1",
"target": [
{
"type": "Specimen"
}
]
},
{
"path": "Specimen.collection.collector",
"description": "Link to collector of the specimen",
"min": 0,
"max": "1",
"target": [
{
"type": "PractitionerRole"
}
]
},
{
"path": "Specimen.collection.bodySite.extension.valueReference",
"sliceName": "bodySiteReference",
"description": "Link to the body structure detailing the morphology and topography of the specimen",
"min": 0,
"max": "1",
"target": [
{
"type": "BodyStructure"
}
]
}
]
}
]
},
{
"path": "DiagnosticReport.result",
"description": "Links to Observations forming the results reported in the DiagnosticReport",
"min": 0,
"max": "*",
"target": [
{
"type": "Observation",
"link": [
{
"path": "Observation.performer",
"description": "Optional link to actor who performed the observation (could be Patient, PractitionerRole or RelatedPerson)",
"min": 0,
"max": "1",
"target": [
{
"type": "Resource"
}
]
},
{
"path": "Observation.hasMember",
"description": "Optional link to observation if parent observation is a panel",
"min": 0,
"max": "*",
"target": [
{
"type": "Observation"
}
]
}
]
}
]
}
]
}