FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: Questionnaire/GenomicTestOrder

Packagenw-gmsa.github.io
TypeQuestionnaire
IdGenomicTestOrder
FHIR VersionR4
Sourcehttps://nw-gmsa.github.io/LTW/https://build.fhir.org/ig/nw-gmsa/LTW/Questionnaire-GenomicTestOrder.html
URLhttps://nw-gmsa.github.io/LTW/Questionnaire/GenomicTestOrder
Version0.0.1
Statusdraft
Date2025-04-28T04:51:38+00:00
Realmuk

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: Questionnaire GenomicTestOrder

Structure
LinkIDTextCardinalityTypeDescription & Constraintsdoco
.. Questionnairehttps://nw-gmsa.github.io/LTW/Questionnaire/GenomicTestOrder#0.0.1
... PatientPatient0..1groupDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.subject
.... LN/45394-4Patient surname1..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.name.family
.... LN/45392-8Patient first name1..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.name.given
.... LN/21112-8Date of birth1..1dateDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.birthDate
.... LN/81954-0Date of death0..1dateDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.deceasedDateTime
.... LN/56799-0Address0..1groupDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.address
..... HL7/PID-11-1Address Line0..*stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.address.line
..... HL7/PID-11-3City0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.address.city
..... HL7/PID-11-Postcode0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.address.postalCode
.... LN/46098-0Sex registered at birth0..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.gender
Value Set: AdministrativeGender
.... LN/32624-9Ethnic Category0..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.extension:ethnicCategory
Value Set: Ethnicity
.... LN/89061-6NHS Number0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.identifier:nhsNumber
.... LN/76435-7Hospital Number1..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.identifier:MedicalRecordNumber
.... LN/56797-4Account Number0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.encounter.identifier.value
..... LN/56797-4-designNotePV1-19 (also known as stay number)0..1display
.... pedigreeNumberG Number (Pedigree Number)0..1string
.... ageAtCollectionAge at collection0..1decimal
.... locationLocation0..1string
.... HL7/PD1-3GP Surgery (ODS Code)0..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.generalPractitioner
.... SNM/842009Patient is from consanguineous union?0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueCodeableConcept
Options: 3 options
.... SNM/77386006Does this test relate to an ongoing pregnancy?0..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueCodeableConcept
Options: 3 options
..... pregnantnull0..1groupEnable When: SNM/77386006 =
...... SNM/370386005Does this test relate to a pregnancy with > 1 fetus?0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueCodeableConcept
Options: 3 options
...... SNM/161714006Patient expected delivery date0..1dateDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueDateTime
...... SNM/598151000005105Patient gestation0..1quantityDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueQuantity
... HL7/ORC-12Healthcare Professional0..1groupDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.requester
.... LN/18705-4Referring Clinician Name1..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.practitioner.display
.... LN/18707-0Referring Clinician Current Speciality1..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.specialty.coding.code
Value Set: UK Core Practice Setting Code
.... LN/46608-6Referring Clinician Professional Identifier1..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.practitioner.identifier.value
.... LN/89058-2Email0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.telecom.value
.... LN/81230-5Phone0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.telecom.value
.... HL7/ORC-21Referring Organisation ODS Code0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.organization.identifier.value
... HL7/OBR/ORCTest Request0..1groupDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest
.... HL7/OBR-2/ORC-2Test request ID/Order ID0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.identifier:placerOrderNumber
.... LN/82768-3Priority0..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.priority
Value Set: Request Priority
.... NOS/230056Test Category0..1choiceOptions: 3 options
.... HL7/OBR-4-rciCITT Code (Rare and inherited diseases)1..1choiceEnable When: NOS/230056 =
.... HL7/OBR-4-rTest Code (Rare and inherited diseases)1..*choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.code
Enable When: NOS/230056 =
Value Set: Genomic Rare and Inherited Disease Test Directory
.... HL7/OBR-4-cciCI Code (Cancer)1..1choiceEnable When: NOS/230056 =
.... HL7/OBR-4-cTest Code (Cancer)1..*choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.code
Enable When: NOS/230056 =
Value Set: Genomic Cancer Test Directory
... ConsentConsent0..1group
.... LN/19826-7Has consent has been obtained for tests (Y/N)0..1choiceDefinition: Observation.valueCodeableConcept
Options: 2 options
.... consent-2Has consent has been obtained for DNA storage (Y/N)0..1choiceDefinition: Observation.valueCodeableConcept
Options: 2 options
.... consent-3ROD attached or to follow0..1choiceOptions: 3 options
... PatientClinicalInformationPatient Clinical Information0..1group
.... HL7/DG1Specific disease suspected/reason for testing0..*choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.reasonCode
Value Set: UK Core Condition Code
.... HL7/NTERelevant clinical information and family history0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.note
... HL7/SPMSpecimen/Biopsy0..1groupDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen
.... LN/80398-1Specimen ID Number0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.identifier.value
..... LN/80398-1-designNoteORM v2.4 - OBX-3 = LOINC 80398-1 and OBX-2 = CE. OML v2.5.1 SPM-20..1display
.... LN/80398-1-ODSPathology Laboratory Hospital/Trust ID0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.identifier.assigner.identifier.value
.... LN/33882-2Specimen Collection Date0..1dateTimeDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.collection.collectedDateTime
..... LN/33882-2-designNoteORM v2.4 - OBX-3 = LOINC 33882-2 and OBX-2 = TS . OML v2.5.1 SPM-170..1display
.... LN/66746-9Specimen Type0..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.type.coding.code
Value Set: Specimen Type
..... LN/66746-9-designNoteORM v2.4 - OBX-3 = LOINC 66746-9 and OBX-2 = CE. OML v2.5.1 SPM-40..1display
.... NOS/102313High Infection Risk?0..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueCoding
Options: 2 options
.... NOS/230002Tissue source/organ of origin0..1choiceDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.collection.bodySite
.... NOS/230004Specimen Volume/number of slides or scrolls0..1stringDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.collection.quantity
.... NOS/auditAudit (Tracking0..1groupDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.collection
..... NOS/xxxx1Date and time sample received in lab0..1dateDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.receivedTime
..... NOS/xxxx2Date and time sample sent0..1date
..... NOS/xxxx3Transport used0..1string
..... NOS/xxxx4Tracking number0..1string
..... NOS/xxxx5Sample sent to0..1string
..... NOS/xxxx6Name of person who sent sample0..1string
... rarediseaseRare and Inherited Disease0..1groupEnable When: NOS/230056 =
... cancerCancer0..1groupEnable When: NOS/230056 =
.... UnknownResultsPanelUnknown Results Panel0..1group
..... SNM/250537006Neoplastic Cell Content Level0..1quantityDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueQuantity
..... NOS/230031Neoplastic Cell Content Level %0..1quantityDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueQuantity
..... SNM/252416005Macrodissection Requirements0..1string
..... NOS/230033Blast Cell Count0..1quantityDefinition: https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueQuantity

doco Documentation for this format

Options Sets

Answer options for SNM/842009

  • http://loinc.org#LA33-6 ("Yes")
  • http://loinc.org#LA32-8 ("No")
  • http://loinc.org#LA4489-6 ("Unknown")

Answer options for SNM/77386006

  • http://loinc.org#LA33-6 ("Yes")
  • http://loinc.org#LA32-8 ("No")
  • http://loinc.org#LA4489-6 ("Unknown")

Answer options for SNM/370386005

  • http://loinc.org#LA33-6 ("Yes")
  • http://loinc.org#LA32-8 ("No")
  • http://loinc.org#LA4489-6 ("Unknown")

Answer options for NOS/230056

  • null#rare ("Rare and inherited diseases")
  • http://snomed.info/sct#1186936003 ("Storage of specimen (procedure)")
  • null#cancer ("Cancer")

Answer options for LN/19826-7

  • http://loinc.org#LA33-6 ("Yes")
  • http://loinc.org#LA32-8 ("No")

Answer options for consent-2

  • http://loinc.org#LA33-6 ("Yes")
  • http://loinc.org#LA32-8 ("No")

Answer options for consent-3

  • http://loinc.org#LA33-6 ("Yes")
  • http://loinc.org#LA32-8 ("No")
  • http://loinc.org#LA4489-6 ("Unknown")

Answer options for NOS/102313

  • http://loinc.org#LA33-6 ("Yes")
  • http://loinc.org#LA32-8 ("No")

Source

{
  "resourceType": "Questionnaire",
  "id": "GenomicTestOrder",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://nw-gmsa.github.io/LTW/Questionnaire/GenomicTestOrder",
  "version": "0.0.1",
  "status": "draft",
  "date": "2025-04-28T04:51:38+00:00",
  "publisher": "NHS North West GMSA",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nw-gmsa.nhs.uk/contact-us"
        }
      ]
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "GB",
          "display": "United Kingdom of Great Britain and Northern Ireland"
        }
      ]
    }
  ],
  "item": [
    {
      "linkId": "Patient",
      "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.subject",
      "text": "Patient",
      "type": "group",
      "item": [
        {
          "linkId": "LN/45394-4",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.name.family",
          "text": "Patient surname",
          "type": "string",
          "required": true
        },
        {
          "linkId": "LN/45392-8",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.name.given",
          "text": "Patient first name",
          "type": "string",
          "required": true
        },
        {
          "linkId": "LN/21112-8",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.birthDate",
          "text": "Date of birth",
          "type": "date",
          "required": true
        },
        {
          "linkId": "LN/81954-0",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.deceasedDateTime",
          "text": "Date of death",
          "type": "date",
          "required": false
        },
        {
          "linkId": "LN/56799-0",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.address",
          "text": "Address",
          "type": "group",
          "item": [
            {
              "linkId": "HL7/PID-11-1",
              "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.address.line",
              "text": "Address Line",
              "type": "string",
              "repeats": true
            },
            {
              "linkId": "HL7/PID-11-3",
              "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.address.city",
              "text": "City",
              "type": "string"
            },
            {
              "linkId": "HL7/PID-11-",
              "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.address.postalCode",
              "text": "Postcode",
              "type": "string"
            }
          ]
        },
        {
          "linkId": "LN/46098-0",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.gender",
          "text": "Sex registered at birth",
          "type": "choice",
          "answerValueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
        },
        {
          "linkId": "LN/32624-9",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.extension:ethnicCategory",
          "text": "Ethnic Category",
          "type": "choice",
          "answerValueSet": "https://nw-gmsa.github.io/LTW//ValueSet/ethnicity"
        },
        {
          "linkId": "LN/89061-6",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.identifier:nhsNumber",
          "text": "NHS Number",
          "type": "string"
        },
        {
          "linkId": "LN/76435-7",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.identifier:MedicalRecordNumber",
          "text": "Hospital Number",
          "type": "string",
          "required": true
        },
        {
          "linkId": "LN/56797-4",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.encounter.identifier.value",
          "text": "Account Number",
          "type": "string",
          "required": false,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help"
                      }
                    ]
                  }
                }
              ],
              "linkId": "LN/56797-4-designNote",
              "text": "PV1-19 (also known as stay number)",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "pedigreeNumber",
          "text": "G Number (Pedigree Number)",
          "type": "string"
        },
        {
          "linkId": "ageAtCollection",
          "text": "Age at collection",
          "type": "decimal"
        },
        {
          "linkId": "location",
          "text": "Location",
          "type": "string"
        },
        {
          "linkId": "HL7/PD1-3",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Patient#Patient.generalPractitioner",
          "text": "GP Surgery (ODS Code)",
          "type": "choice"
        },
        {
          "linkId": "SNM/842009",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueCodeableConcept",
          "code": [
            {
              "system": "http://snomed.info/sct",
              "code": "842009",
              "display": "Consanguinity"
            }
          ],
          "text": "Patient is from consanguineous union?",
          "type": "string",
          "answerOption": [
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA33-6",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA32-8",
                "display": "No"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA4489-6",
                "display": "Unknown"
              }
            }
          ]
        },
        {
          "linkId": "SNM/77386006",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueCodeableConcept",
          "code": [
            {
              "system": "http://snomed.info/sct",
              "code": "77386006",
              "display": "Pregnancy"
            }
          ],
          "text": "Does this test relate to an ongoing pregnancy?",
          "type": "choice",
          "answerOption": [
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA33-6",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA32-8",
                "display": "No"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA4489-6",
                "display": "Unknown"
              }
            }
          ],
          "item": [
            {
              "linkId": "pregnant",
              "type": "group",
              "enableWhen": [
                {
                  "question": "SNM/77386006",
                  "operator": "=",
                  "answerCoding": {
                    "code": "LA33-6"
                  }
                }
              ],
              "item": [
                {
                  "linkId": "SNM/370386005",
                  "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueCodeableConcept",
                  "code": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "370386005",
                      "display": "Ultrasound scan - multiple fetus"
                    }
                  ],
                  "text": "Does this test relate to a pregnancy with > 1 fetus?",
                  "type": "string",
                  "answerOption": [
                    {
                      "valueCoding": {
                        "system": "http://loinc.org",
                        "code": "LA33-6",
                        "display": "Yes"
                      }
                    },
                    {
                      "valueCoding": {
                        "system": "http://loinc.org",
                        "code": "LA32-8",
                        "display": "No"
                      }
                    },
                    {
                      "valueCoding": {
                        "system": "http://loinc.org",
                        "code": "LA4489-6",
                        "display": "Unknown"
                      }
                    }
                  ]
                },
                {
                  "linkId": "SNM/161714006",
                  "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueDateTime",
                  "code": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "161714006",
                      "display": "Estimated date of delivery"
                    }
                  ],
                  "text": "Patient expected delivery date",
                  "type": "date"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption",
                      "valueCoding": {
                        "system": "http://unitsofmeasure.org",
                        "code": "wk",
                        "display": "Wk"
                      }
                    }
                  ],
                  "linkId": "SNM/598151000005105",
                  "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueQuantity",
                  "code": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "598151000005105",
                      "display": "Gestational age"
                    }
                  ],
                  "text": "Patient gestation",
                  "type": "quantity"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "linkId": "HL7/ORC-12",
      "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.requester",
      "text": "Healthcare Professional",
      "type": "group",
      "item": [
        {
          "linkId": "LN/18705-4",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.practitioner.display",
          "code": [
            {
              "system": "http://loinc.org",
              "code": "18705-4"
            },
            {
              "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
              "code": "114867",
              "display": "NAME OF SUPERVISING CLINICIAN (CLC)"
            }
          ],
          "text": "Referring Clinician Name",
          "type": "string",
          "required": true
        },
        {
          "linkId": "LN/18707-0",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.specialty.coding.code",
          "text": "Referring Clinician Current Speciality",
          "type": "choice",
          "required": true,
          "answerValueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-PracticeSettingCode"
        },
        {
          "linkId": "LN/46608-6",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.practitioner.identifier.value",
          "text": "Referring Clinician Professional Identifier",
          "type": "string",
          "required": true
        },
        {
          "linkId": "LN/89058-2",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.telecom.value",
          "code": [
            {
              "system": "http://loinc.org",
              "code": "89058-2",
              "display": "Contact email address"
            },
            {
              "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
              "code": "230027",
              "display": "EMAIL ADDRESSES"
            }
          ],
          "text": "Email",
          "type": "string"
        },
        {
          "linkId": "LN/81230-5",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.telecom.value",
          "text": "Phone",
          "type": "string"
        },
        {
          "linkId": "HL7/ORC-21",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/PractitionerRole#PractitionerRole.organization.identifier.value",
          "text": "Referring Organisation ODS Code",
          "type": "string"
        }
      ]
    },
    {
      "linkId": "HL7/OBR/ORC",
      "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest",
      "text": "Test Request",
      "type": "group",
      "item": [
        {
          "linkId": "HL7/OBR-2/ORC-2",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.identifier:placerOrderNumber",
          "text": "Test request ID/Order ID",
          "type": "string",
          "required": false
        },
        {
          "linkId": "LN/82768-3",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.priority",
          "text": "Priority",
          "type": "choice",
          "required": false,
          "answerValueSet": "https://nw-gmsa.github.io/LTW//ValueSet/RequestPriority"
        },
        {
          "linkId": "NOS/230056",
          "code": [
            {
              "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
              "code": "230056",
              "display": "What Type of Referral Do You Require?"
            }
          ],
          "text": "Test Category",
          "type": "choice",
          "answerOption": [
            {
              "valueCoding": {
                "code": "rare",
                "display": "Rare and inherited diseases"
              }
            },
            {
              "valueCoding": {
                "system": "http://snomed.info/sct",
                "code": "1186936003",
                "display": "Storage of specimen (procedure)"
              }
            },
            {
              "valueCoding": {
                "code": "cancer",
                "display": "Cancer"
              }
            }
          ]
        },
        {
          "linkId": "HL7/OBR-4-rci",
          "text": "CITT Code (Rare and inherited diseases)",
          "type": "choice",
          "enableWhen": [
            {
              "question": "NOS/230056",
              "operator": "=",
              "answerCoding": {
                "code": "rare"
              }
            }
          ],
          "required": true,
          "repeats": false
        },
        {
          "linkId": "HL7/OBR-4-r",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.code",
          "text": "Test Code (Rare and inherited diseases)",
          "type": "choice",
          "enableWhen": [
            {
              "question": "NOS/230056",
              "operator": "=",
              "answerCoding": {
                "code": "rare"
              }
            }
          ],
          "required": true,
          "repeats": true,
          "answerValueSet": "https://nw-gmsa.github.io/LTW//ValueSet/GenomicRareAndInheritedDisease"
        },
        {
          "linkId": "HL7/OBR-4-cci",
          "text": "CI Code (Cancer)",
          "type": "choice",
          "enableWhen": [
            {
              "question": "NOS/230056",
              "operator": "=",
              "answerCoding": {
                "code": "cancer"
              }
            }
          ],
          "required": true,
          "repeats": false
        },
        {
          "linkId": "HL7/OBR-4-c",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.code",
          "text": "Test Code (Cancer)",
          "type": "choice",
          "enableWhen": [
            {
              "question": "NOS/230056",
              "operator": "=",
              "answerCoding": {
                "code": "cancer"
              }
            }
          ],
          "required": true,
          "repeats": true,
          "answerValueSet": "https://nw-gmsa.github.io/LTW//ValueSet/GenomicCancer"
        }
      ]
    },
    {
      "linkId": "Consent",
      "text": "Consent",
      "type": "group",
      "item": [
        {
          "linkId": "LN/19826-7",
          "definition": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.valueCodeableConcept",
          "text": "Has consent has been obtained for tests (Y/N)",
          "type": "choice",
          "answerOption": [
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA33-6",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA32-8",
                "display": "No"
              }
            }
          ]
        },
        {
          "linkId": "consent-2",
          "definition": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.valueCodeableConcept",
          "text": "Has consent has been obtained for DNA storage (Y/N)",
          "type": "choice",
          "answerOption": [
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA33-6",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA32-8",
                "display": "No"
              }
            }
          ]
        },
        {
          "linkId": "consent-3",
          "text": "ROD attached or to follow",
          "type": "choice",
          "answerOption": [
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA33-6",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA32-8",
                "display": "No"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA4489-6",
                "display": "Unknown"
              }
            }
          ]
        }
      ]
    },
    {
      "linkId": "PatientClinicalInformation",
      "text": "Patient Clinical Information",
      "type": "group",
      "item": [
        {
          "linkId": "HL7/DG1",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.reasonCode",
          "text": "Specific disease suspected/reason for testing",
          "type": "choice",
          "repeats": true,
          "answerValueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-ConditionCode"
        },
        {
          "linkId": "HL7/NTE",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/ServiceRequest#ServiceRequest.note",
          "text": "Relevant clinical information and family history",
          "type": "string"
        }
      ]
    },
    {
      "linkId": "HL7/SPM",
      "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen",
      "text": "Specimen/Biopsy",
      "type": "group",
      "item": [
        {
          "linkId": "LN/80398-1",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.identifier.value",
          "code": [
            {
              "system": "http://loinc.org",
              "code": "80398-1",
              "display": "Unique identifier for Current sample"
            },
            {
              "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
              "code": "230021",
              "display": "SAMPLE IDENTIFIER(S)"
            }
          ],
          "text": "Specimen ID Number",
          "type": "string",
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help"
                      }
                    ]
                  }
                }
              ],
              "linkId": "LN/80398-1-designNote",
              "text": "ORM v2.4 - OBX-3 = LOINC 80398-1 and OBX-2 = CE. OML v2.5.1 SPM-2",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "LN/80398-1-ODS",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.identifier.assigner.identifier.value",
          "text": "Pathology Laboratory Hospital/Trust ID",
          "type": "string"
        },
        {
          "linkId": "LN/33882-2",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.collection.collectedDateTime",
          "code": [
            {
              "system": "http://loinc.org",
              "code": "33882-2",
              "display": "Collection date of Specimen"
            },
            {
              "system": "http://snomed.info/sct",
              "code": "1208523001",
              "display": "Specimen collection by healthcare professional (finding)"
            },
            {
              "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
              "code": "230028",
              "display": "DATE OF SPECIMEN COLLECTION"
            }
          ],
          "text": "Specimen Collection Date",
          "type": "dateTime",
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help"
                      }
                    ]
                  }
                }
              ],
              "linkId": "LN/33882-2-designNote",
              "text": "ORM v2.4 - OBX-3 = LOINC 33882-2 and OBX-2 = TS .\nOML v2.5.1 SPM-17",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "LN/66746-9",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.type.coding.code",
          "code": [
            {
              "system": "http://loinc.org",
              "code": "66746-9",
              "display": "Specimen Type"
            },
            {
              "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
              "code": "230001",
              "display": "SPECIMEN TYPE"
            }
          ],
          "text": "Specimen Type",
          "type": "choice",
          "answerValueSet": "https://nw-gmsa.github.io/LTW//ValueSet/specimen-type",
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help"
                      }
                    ]
                  }
                }
              ],
              "linkId": "LN/66746-9-designNote",
              "text": "ORM v2.4 - OBX-3 = LOINC 66746-9 and OBX-2 = CE.\nOML v2.5.1 SPM-4",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "NOS/102313",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueCoding",
          "code": [
            {
              "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
              "code": "102313",
              "display": "GENETICS HIGH INFECTION RISK"
            }
          ],
          "text": "High Infection Risk?",
          "type": "choice",
          "required": false,
          "repeats": false,
          "answerOption": [
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA33-6",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "system": "http://loinc.org",
                "code": "LA32-8",
                "display": "No"
              }
            }
          ]
        },
        {
          "linkId": "NOS/230002",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.collection.bodySite",
          "text": "Tissue source/organ of origin",
          "type": "choice"
        },
        {
          "linkId": "NOS/230004",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.collection.quantity",
          "text": "Specimen Volume/number of slides or scrolls",
          "type": "string"
        },
        {
          "linkId": "NOS/audit",
          "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.collection",
          "text": "Audit (Tracking",
          "type": "group",
          "item": [
            {
              "linkId": "NOS/xxxx1",
              "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Specimen#Specimen.receivedTime",
              "text": "Date and time sample received in lab",
              "type": "date"
            },
            {
              "linkId": "NOS/xxxx2",
              "text": "Date and time sample sent",
              "type": "date"
            },
            {
              "linkId": "NOS/xxxx3",
              "text": "Transport used",
              "type": "string"
            },
            {
              "linkId": "NOS/xxxx4",
              "text": "Tracking number",
              "type": "string"
            },
            {
              "linkId": "NOS/xxxx5",
              "text": "Sample sent to",
              "type": "string"
            },
            {
              "linkId": "NOS/xxxx6",
              "text": "Name of person who sent sample",
              "type": "string"
            }
          ]
        }
      ]
    },
    {
      "linkId": "raredisease",
      "text": "Rare and Inherited Disease",
      "type": "group",
      "enableWhen": [
        {
          "question": "NOS/230056",
          "operator": "=",
          "answerCoding": {
            "code": "rare"
          }
        }
      ]
    },
    {
      "linkId": "cancer",
      "text": "Cancer",
      "type": "group",
      "enableWhen": [
        {
          "question": "NOS/230056",
          "operator": "=",
          "answerCoding": {
            "code": "cancer"
          }
        }
      ],
      "item": [
        {
          "linkId": "UnknownResultsPanel",
          "text": "Unknown Results Panel",
          "type": "group",
          "item": [
            {
              "linkId": "SNM/250537006",
              "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueQuantity",
              "code": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "250537006",
                  "display": "Histopathology finding (finding)"
                },
                {
                  "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
                  "code": "230030",
                  "display": "NEOPLASTIC CELL CONTENT LEVEL"
                }
              ],
              "text": "Neoplastic Cell Content Level",
              "type": "quantity"
            },
            {
              "linkId": "NOS/230031",
              "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueQuantity",
              "code": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "250537006",
                  "display": "Histopathology finding (finding)"
                },
                {
                  "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
                  "code": "230031",
                  "display": "NEOPLASTIC CELL CONTENT LEVEL EXACT"
                }
              ],
              "text": "Neoplastic Cell Content Level %",
              "type": "quantity"
            },
            {
              "linkId": "SNM/252416005",
              "code": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "252416005",
                  "display": "Histopathology test (procedure)"
                },
                {
                  "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
                  "code": "230032",
                  "display": "MACRODISSECTION REQUIREMENTS"
                }
              ],
              "text": "Macrodissection Requirements",
              "type": "string"
            },
            {
              "linkId": "NOS/230033",
              "definition": "https://nw-gmsa.github.io/LTW/StructureDefinition/Observation#Observation.valueQuantity",
              "code": [
                {
                  "system": "https://fhir.nw-gmsa.nhs.uk/CodeSystem/NotOtherwiseSpecified",
                  "code": "230033",
                  "display": "BLAST CELL COUNT"
                }
              ],
              "text": "Blast Cell Count",
              "type": "quantity"
            }
          ]
        }
      ]
    }
  ]
}