{
"description": "GraphDefinition for defining and retrieving the full set of resources relevant to a Genomic Test Order",
"_filename": "GraphDefinition-Genomics-Test-Order.json",
"package_name": "uk.nhsengland.genomics.r4",
"date": "2024-08-09",
"publisher": "NHS England",
"name": "GenomicsTestOrder",
"start": "ServiceRequest",
"type": null,
"experimental": null,
"resourceType": "GraphDefinition",
"title": null,
"package_version": "0.4.3",
"status": "draft",
"link": [ {
"max": "*",
"min": 0,
"path": "ServiceRequest.extension.valueReference",
"target": [ {
"type": "PractitionerRole"
} ],
"sliceName": "additionalContact",
"description": "Link to additional contacts for request"
}, {
"max": "1",
"min": 0,
"path": "ServiceRequest.basedOn",
"target": [ {
"type": "ServiceRequest"
} ],
"description": "Link to parent request (it is expected that a separate call to the $graph=genomics-test-order would be required to retrieve resources referenced from the ServiceRequest"
}, {
"max": "1",
"min": 1,
"path": "ServiceRequest.subject",
"target": [ {
"type": "Patient"
} ],
"description": "Link to patient the request is for"
}, {
"max": "1",
"min": 1,
"path": "ServiceRequest.requester",
"target": [ {
"type": "PractitionerRole"
} ],
"description": "Link to the requester of the genomic test order"
}, {
"max": "1",
"min": 0,
"path": "ServiceRequest.reasonReference",
"target": [ {
"type": "Condition"
} ],
"description": "Optional link to the primary condition constituting the reason for testing"
}, {
"max": "*",
"min": 0,
"path": "ServiceRequest.supportingInfo",
"target": [ {
"link": [ {
"max": "1",
"min": 1,
"target": [ {
"type": "Patient",
"params": "link={ref}"
} ],
"description": "Patient linked to this RelatedPerson"
} ],
"type": "RelatedPerson"
}, {
"link": [ {
"max": "1",
"min": 0,
"path": "Observation.extension.valueReference",
"target": [ {
"type": "BodyStructure"
} ],
"description": "Optional link to body structure related to the observation"
}, {
"max": "1",
"min": 0,
"path": "Observation.focus",
"target": [ {
"type": "Specimen"
} ],
"description": "Optional link to specimen the observation is about, if relevant"
}, {
"max": "1",
"min": 0,
"path": "Observation.performer",
"target": [ {
"type": "Resource"
} ],
"description": "Optional link to actor who performed the observation (could be Patient, PractitionerRole or RelatedPerson)"
}, {
"max": "*",
"min": 0,
"path": "Observation.hasMember",
"target": [ {
"type": "Observation"
} ],
"description": "Optional link to observation if parent observation is a panel"
} ],
"type": "Observation"
}, {
"link": [ {
"max": "1",
"min": 0,
"path": "Condition.recorder",
"target": [ {
"type": "Resource"
} ],
"description": "Optional link to actor which recorded condition (could be Patient, PreactitionerRole or RelatedPerson)"
}, {
"max": "1",
"min": 0,
"path": "Condition.asserter",
"target": [ {
"type": "Resource"
} ],
"description": "Optional link to actor which asserted condition (could be Patient, PreactitionerRole or RelatedPerson)"
} ],
"type": "Condition"
}, {
"type": "Procedure"
}, {
"link": [ {
"max": "*",
"min": 0,
"path": "FamilyMemberHistory.extension.valueReference",
"target": [ {
"type": "Observation"
} ],
"sliceName": "family-member-history-genetics-observation",
"description": "Optional link to observations related to a FamilyMemberHistory"
}, {
"max": "*",
"min": 0,
"path": "FamilyMemberHistory.extension.valueReference",
"target": [ {
"type": "Patient"
} ],
"sliceName": "familymemberhistory-patient-record",
"description": "Optional link to Patient resources for related family members"
} ],
"type": "FamilyMemberHistory"
}, {
"type": "DocumentReference"
}, {
"type": "DiagnosticReport"
}, {
"link": [ {
"max": "1",
"min": 0,
"path": "Consent.sourceReference",
"target": [ {
"link": [ {
"max": "1",
"min": 1,
"path": "QuestionnaireResponse.author",
"target": [ {
"type": "PractitionerRole"
} ],
"description": "Author of the RoD, most likely a PractitionerRole resource (if a reference)"
}, {
"max": "1",
"min": 1,
"path": "QuestionnaireResponse.source",
"target": [ {
"type": "Resource"
} ],
"description": "Source of the RoD (could be Patient, PractitionerRole or RelatedPerson)"
} ],
"type": "QuestionnaireResponse"
}, {
"type": "DocumentReference"
} ],
"description": "Optional link to structured QuestionnaireResponse or DocumentReference for RoD/consent forms"
}, {
"max": "1",
"min": 1,
"path": "Consent.patient",
"target": [ {
"type": "Patient"
} ],
"description": "Link to Patient resource (relevant for instances where the consent does not apply to the proband)"
} ],
"type": "Consent"
} ],
"description": "Link to additional clinical information to support processing/interpretation of the request"
}, {
"max": "*",
"min": 0,
"path": "ServiceRequest.specimen",
"target": [ {
"link": [ {
"max": "1",
"min": 1,
"path": "Specimen.subject",
"target": [ {
"type": "Patient"
} ],
"description": "Link to the patient the specimen is from"
}, {
"max": "1",
"min": 0,
"path": "Specimen.parent",
"target": [ {
"type": "Specimen"
} ],
"description": "Link to parent specimen resource"
}, {
"max": "1",
"min": 0,
"path": "Specimen.collection.collector",
"target": [ {
"type": "PractitionerRole"
} ],
"description": "Link to collector of the specimen"
}, {
"max": "1",
"min": 0,
"path": "Specimen.collection.bodySite.extension.valueReference",
"target": [ {
"type": "BodyStructure"
} ],
"sliceName": "bodySiteReference",
"description": "Link to the body structure detailing the morphology and topography of the specimen"
} ],
"type": "Specimen"
} ],
"description": "Optional link to specimen where this has already been collected/ordered prior to request submission"
}, {
"max": "*",
"min": 0,
"target": [ {
"link": [ {
"max": "1",
"min": 1,
"path": "Specimen.subject",
"target": [ {
"type": "Patient"
} ],
"description": "Link to the patient the specimen is from"
}, {
"max": "1",
"min": 0,
"path": "Specimen.parent",
"target": [ {
"type": "Specimen"
} ],
"description": "Link to parent specimen resource"
}, {
"max": "1",
"min": 0,
"path": "Specimen.collection.collector",
"target": [ {
"type": "PractitionerRole"
} ],
"description": "Link to collector of the specimen"
}, {
"max": "1",
"min": 0,
"path": "Specimen.collection.bodySite.extension.valueReference",
"target": [ {
"type": "BodyStructure"
} ],
"sliceName": "bodySiteReference",
"description": "Link to the body structure detailing the morphology and topography of the specimen"
} ],
"type": "Specimen",
"params": "request={ref}"
} ],
"description": "Specimen resources referencing this ServiceRequest"
} ],
"id": "49b0556c-6f8e-41ef-a148-015c05256632",
"kind": null,
"url": "https://fhir.nhs.uk/GraphDefinition/genomics-test-order",
"version": "0.2.0"
}