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

FHIR IG Statistics: CapabilityStatement/CapabilityStatement-Genomics-application

Packageuk.nhsengland.genomics.r4
Resource TypeCapabilityStatement
IdCapabilityStatement-Genomics-application
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=uk.nhsengland.genomics.r4@0.4.4&canonical=https://fhir.nhs.uk/CapabilityStatement/genomics-application
URLhttps://fhir.nhs.uk/CapabilityStatement/genomics-application
Version0.2.0
Statusdraft
Date2024-08-09T00:00:00+00:00
NameCapabilityStatementGenomicsApplication
DescriptionSample server capability for the Genomic Medicine Service
Kindinstance

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
UKCore-PatientUK Core Patient

Narrative

No narrative content found in resource


Source

{
  "resourceType": "CapabilityStatement",
  "id": "CapabilityStatement-Genomics-application",
  "url": "https://fhir.nhs.uk/CapabilityStatement/genomics-application",
  "version": "0.2.0",
  "name": "CapabilityStatementGenomicsApplication",
  "status": "draft",
  "date": "2024-08-09T00:00:00+00:00",
  "publisher": "NHS England",
  "description": "Sample server capability for the Genomic Medicine Service",
  "kind": "instance",
  "implementation": {
    "description": "Exemplar CapabilityStatement for the GMS central broker implementation"
  },
  "fhirVersion": "4.0.1",
  "format": [
    "application/fhir+json"
  ],
  "implementationGuide": [
    "https://simplifier.net/guide/fhir-genomics-implementation-guide",
    "https://simplifier.net/guide/nhsdigital"
  ],
  "rest": [
    {
      "mode": "server",
      "documentation": "RESTful endpoints supported by the Genomic Medicine Service",
      "security": {
        "service": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/restful-security-service",
                "code": "OAuth",
                "display": "OAuth2 Token"
              }
            ]
          }
        ]
      },
      "resource": [
        {
          "type": "AuditEvent",
          "profile": "http://hl7.org/fhir/StructureDefinition/AuditEvent",
          "documentation": "For searching recorded AuditEvents",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "action",
              "type": "token"
            },
            {
              "name": "agent",
              "type": "reference"
            },
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "entity",
              "type": "reference"
            },
            {
              "name": "outcome",
              "type": "token"
            },
            {
              "name": "patient",
              "type": "reference"
            }
          ]
        },
        {
          "type": "Bundle",
          "profile": "http://hl7.org/fhir/StructureDefinition/Bundle",
          "documentation": "For posting FHIR transaction bundles (http://hl7.org/fhir/R4B/http.html#transaction) to the server.",
          "interaction": [
            {
              "code": "create",
              "documentation": "Bundle containing ServiceRequest and all supporting resources (Patient, PractitionerRole, Specimen, etc.)"
            }
          ],
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ]
        },
        {
          "type": "CodeSystem",
          "profile": "http://hl7.org/fhir/StructureDefinition/CodeSystem",
          "documentation": "For searching supported CodeSystems",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "context",
              "type": "token"
            },
            {
              "name": "description",
              "type": "string"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "system",
              "type": "uri"
            },
            {
              "name": "title",
              "type": "string"
            }
          ]
        },
        {
          "type": "GraphDefinition",
          "profile": "http://hl7.org/fhir/StructureDefinition/GraphDefinition",
          "documentation": "For searching supported GraphDefinitions",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "start",
              "type": "token"
            }
          ]
        },
        {
          "type": "ConceptMap",
          "profile": "http://hl7.org/fhir/StructureDefinition/ConceptMap",
          "documentation": "For searching provided ConceptMaps",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "context",
              "type": "token"
            },
            {
              "name": "description",
              "type": "string"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "source-system",
              "type": "uri"
            },
            {
              "name": "target-system",
              "type": "uri"
            },
            {
              "name": "title",
              "type": "string"
            }
          ]
        },
        {
          "type": "HealthcareService",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-HealthcareService",
          "documentation": "Endpoints for interacting with HealthcareService resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "coverage-area",
              "type": "reference"
            },
            {
              "name": "endpoint",
              "type": "reference"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "location",
              "type": "reference"
            },
            {
              "name": "organization",
              "type": "reference"
            },
            {
              "name": "service-category",
              "type": "token"
            },
            {
              "name": "service-type",
              "type": "token"
            },
            {
              "name": "specialty",
              "type": "token"
            }
          ]
        },
        {
          "type": "MessageDefinition",
          "profile": "http://hl7.org/fhir/StructureDefinition/MessageDefinition",
          "documentation": "For searching supported MessageDefinitions",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "description",
              "type": "string"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "focus",
              "type": "token"
            },
            {
              "name": "title",
              "type": "string"
            }
          ]
        },
        {
          "type": "NamingSystem",
          "profile": "http://hl7.org/fhir/StructureDefinition/NamingSystem",
          "documentation": "For searching supported NamingSystems",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "context",
              "type": "token"
            },
            {
              "name": "description",
              "type": "string"
            },
            {
              "name": "name",
              "type": "string"
            }
          ]
        },
        {
          "type": "Parameters",
          "profile": "http://hl7.org/fhir/StructureDefinition/Parameters"
        },
        {
          "type": "StructureMap",
          "profile": "http://hl7.org/fhir/StructureDefinition/StructureMap",
          "documentation": "For searching provided StructureMaps",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "context",
              "type": "token"
            },
            {
              "name": "description",
              "type": "string"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            }
          ]
        },
        {
          "type": "ValueSet",
          "profile": "http://hl7.org/fhir/StructureDefinition/ValueSet",
          "documentation": "For searching supported CodeSystems",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "context",
              "type": "token"
            },
            {
              "name": "description",
              "type": "string"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "title",
              "type": "string"
            }
          ]
        },
        {
          "type": "MessageHeader",
          "profile": "http://hl7.org/fhir/StructureDefinition/MessageHeader",
          "documentation": "Endpoints for interacting with MessageHeader resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "no-version",
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "destination",
              "type": "string"
            },
            {
              "name": "destination-uri",
              "type": "uri"
            },
            {
              "name": "focus",
              "type": "reference"
            },
            {
              "name": "sender",
              "type": "reference"
            },
            {
              "name": "source",
              "type": "string"
            },
            {
              "name": "source-uri",
              "type": "uri"
            }
          ]
        },
        {
          "type": "Subscription",
          "profile": "http://hl7.org/fhir/StructureDefinition/Subscription",
          "documentation": "Endpoints for interacting with Subscription resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "searchParam": [
            {
              "name": "contact",
              "type": "token"
            },
            {
              "name": "criteria",
              "type": "string"
            },
            {
              "name": "status",
              "type": "token"
            },
            {
              "name": "type",
              "type": "token"
            },
            {
              "name": "url",
              "type": "uri"
            }
          ]
        },
        {
          "type": "CapabilityStatement",
          "profile": "http://hl7.org/fhir/StructureDefinition/CapabilityStatement",
          "documentation": "For searching provided CapabilityStatements",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "description",
              "type": "string"
            },
            {
              "name": "format",
              "type": "token"
            },
            {
              "name": "mode",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "resource",
              "type": "token"
            },
            {
              "name": "resource-profile",
              "type": "reference"
            },
            {
              "name": "title",
              "type": "string"
            }
          ]
        },
        {
          "type": "Task",
          "profile": "http://hl7.org/fhir/StructureDefinition/Task",
          "documentation": "Endpoints for interacting with Task resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update",
              "documentation": "Allow an organisation to claim or update a task. If pro-active notification is implemented GEL, GLH and LGL would also need to implement this endpoint to receive updates to their tasks, including cancellation/retraction of requests."
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create",
              "documentation": "New tasks are created as the test request is submitted. Connected systems passing on the request may need to create a new task and may need to store new associated resources, in which case a Transaction Bundle should be used. In the IG, it is proposed that POST Task can be used to notify a service of a task, but this assumes that any referenced resources exist, which would need to be retrieved individually. If pro-active notification of Tasks is required the GLH, GEL and LGL should implement the FHIR transaction interaction, but this is out of scope for the Alpha."
            },
            {
              "code": "search-type",
              "documentation": "Allows an organisation to search for tasks. Allows an organisation to find out the current state of the tasks associated with a service request. All search parameters listed should be supported. For polling, a consumer might want to be able to search for all tasks assigned to them, or by other attributes."
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "based-on",
              "type": "reference"
            },
            {
              "name": "business-status",
              "type": "token"
            },
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "focus",
              "type": "reference"
            },
            {
              "name": "modified",
              "type": "date"
            },
            {
              "name": "owner",
              "type": "reference"
            },
            {
              "name": "subject",
              "type": "reference"
            },
            {
              "name": "performer",
              "type": "token"
            },
            {
              "name": "period",
              "type": "date"
            },
            {
              "name": "priority",
              "type": "token"
            },
            {
              "name": "requester",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            }
          ]
        },
        {
          "type": "ServiceRequest",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest",
          "documentation": "Endpoints for interacting with ServiceRequest resources.",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update",
              "documentation": "Used to update the ServiceRequest resource, e.g. for adding a specimen reference or updating the status to completed."
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type",
              "documentation": "EHR may poll for updates to ServiceRequest or a user might be looking for historical test requests and DiagnosticReports, which would require them to be searchable. For organisations in the chain fulfilling the service request they might want to query service requests for information."
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "authored",
              "type": "date"
            },
            {
              "name": "based-on",
              "type": "reference"
            },
            {
              "name": "category",
              "type": "token"
            },
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "intent",
              "type": "token"
            },
            {
              "name": "subject",
              "type": "reference"
            },
            {
              "name": "performer",
              "type": "reference"
            },
            {
              "name": "performer-type",
              "type": "token"
            },
            {
              "name": "priority",
              "type": "token"
            },
            {
              "name": "replaces",
              "type": "reference"
            },
            {
              "name": "requester",
              "type": "reference"
            },
            {
              "name": "specimen",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            },
            {
              "name": "supporting-info",
              "type": "reference"
            }
          ]
        },
        {
          "type": "PractitionerRole",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole",
          "documentation": "Endpoints for interacting with PractitionerRole resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "endpoint",
              "type": "reference"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "organization",
              "type": "reference"
            },
            {
              "name": "practitioner",
              "type": "reference"
            },
            {
              "name": "specialty",
              "type": "token"
            },
            {
              "name": "telecom",
              "type": "token"
            }
          ]
        },
        {
          "type": "Practitioner",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
          "documentation": "Endpoints for interacting with Practitioner resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "identifier",
              "type": "token"
            }
          ]
        },
        {
          "type": "Organization",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
          "documentation": "Endpoints for interacting with PractitionerRole resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "address",
              "type": "string"
            },
            {
              "name": "endpoint",
              "type": "reference"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "partof",
              "type": "reference"
            },
            {
              "name": "type",
              "type": "token"
            }
          ]
        },
        {
          "type": "DiagnosticReport",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport",
          "documentation": "Endpoints for interacting with DiagnosticReport resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update",
              "documentation": "Allows a DiagnosticReport to be updated. Could also be used to notify requesters that a DiagnosticReport has been updated, if proactive notification is implemented."
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create",
              "documentation": "Allows a DiagnosticReport to be created on the service. Triggers notification to the requester that a DiagnosticReport is available."
            },
            {
              "code": "search-type",
              "documentation": "Not required for alpha build, but could be used to retrieve historical diagnostic reports."
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "based-on",
              "type": "reference"
            },
            {
              "name": "category",
              "type": "token"
            },
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "conclusion",
              "type": "token"
            },
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "issued",
              "type": "date"
            },
            {
              "name": "subject",
              "type": "reference"
            },
            {
              "name": "performer",
              "type": "reference"
            },
            {
              "name": "result",
              "type": "reference"
            },
            {
              "name": "results-interpreter",
              "type": "reference"
            },
            {
              "name": "specimen",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            }
          ]
        },
        {
          "type": "FamilyMemberHistory",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-FamilyMemberHistory",
          "documentation": "Endpoints for interacting with FamilyMemberHistory resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "relationship",
              "type": "token"
            },
            {
              "name": "sex",
              "type": "token"
            },
            {
              "name": "status",
              "type": "token"
            }
          ]
        },
        {
          "type": "Observation",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation",
          "documentation": "Endpoints for interacting with Observation resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "based-on",
              "type": "reference"
            },
            {
              "name": "category",
              "type": "token"
            },
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "component-code",
              "type": "token"
            },
            {
              "name": "data-absent-reason",
              "type": "token"
            },
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "focus",
              "type": "reference"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "subject",
              "type": "reference"
            },
            {
              "name": "performer",
              "type": "reference"
            },
            {
              "name": "specimen",
              "type": "reference"
            },
            {
              "name": "value-string",
              "type": "string"
            },
            {
              "name": "status",
              "type": "token"
            }
          ]
        },
        {
          "type": "Patient",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
          "documentation": "Endpoints for interacting with Patient resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "address",
              "type": "string"
            },
            {
              "name": "birthdate",
              "type": "date"
            },
            {
              "name": "death-date",
              "type": "token"
            },
            {
              "name": "gender",
              "type": "token"
            },
            {
              "name": "general-practitioner",
              "type": "reference"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "link",
              "type": "reference"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "organization",
              "type": "reference"
            },
            {
              "name": "telecom",
              "type": "token"
            }
          ]
        },
        {
          "type": "Consent",
          "profile": "http://hl7.org/fhir/StructureDefinition/Consent",
          "documentation": "Endpoints for interacting with Consent resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "action",
              "type": "token"
            },
            {
              "name": "actor",
              "type": "reference"
            },
            {
              "name": "category",
              "type": "token"
            },
            {
              "name": "consentor",
              "type": "reference"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "organization",
              "type": "reference"
            },
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "period",
              "type": "date"
            }
          ]
        },
        {
          "type": "Condition",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition",
          "documentation": "Endpoints for interacting with Condition resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "asserter",
              "type": "reference"
            },
            {
              "name": "category",
              "type": "token"
            },
            {
              "name": "clinical-status",
              "type": "token"
            },
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "onset-info",
              "type": "string"
            },
            {
              "name": "subject",
              "type": "reference"
            },
            {
              "name": "recorded-date",
              "type": "date"
            },
            {
              "name": "severity",
              "type": "token"
            },
            {
              "name": "stage",
              "type": "token"
            },
            {
              "name": "verification-status",
              "type": "token"
            }
          ]
        },
        {
          "type": "ResearchSubject",
          "profile": "http://hl7.org/fhir/StructureDefinition/ResearchSubject"
        },
        {
          "type": "RelatedPerson",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
          "documentation": "Endpoints for interacting with RelatedPerson resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "relationship",
              "type": "token"
            }
          ]
        },
        {
          "type": "Specimen",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen",
          "documentation": "Endpoints for interacting with Specimen resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update",
              "documentation": "To enable updates to specimens"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create",
              "documentation": "To allow a user to add a Specimen, which should also be added to the relevant ServiceRequest/Task through a PUT"
            },
            {
              "code": "search-type",
              "documentation": "To enable a user to retrieve specimens, enables specimen tracking"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "accession",
              "type": "token"
            },
            {
              "name": "bodysite",
              "type": "token"
            },
            {
              "name": "collected",
              "type": "date"
            },
            {
              "name": "collector",
              "type": "reference"
            },
            {
              "name": "container-id",
              "type": "token"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "parent",
              "type": "reference"
            },
            {
              "name": "subject",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            },
            {
              "name": "type",
              "type": "token"
            },
            {
              "name": "request",
              "type": "reference"
            }
          ]
        },
        {
          "type": "Questionnaire",
          "profile": "http://hl7.org/fhir/StructureDefinition/Questionnaire",
          "documentation": "For searching supported Questionnaires",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "description",
              "type": "string"
            },
            {
              "name": "effective",
              "type": "date"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "status",
              "type": "token"
            },
            {
              "name": "title",
              "type": "string"
            },
            {
              "name": "version",
              "type": "token"
            }
          ]
        },
        {
          "type": "QuestionnaireResponse",
          "profile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
          "documentation": "Endpoints for interacting with QuestionnaireResponse resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "author",
              "type": "reference"
            },
            {
              "name": "authored",
              "type": "date"
            },
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "subject",
              "type": "reference"
            },
            {
              "name": "questionnaire",
              "type": "reference"
            },
            {
              "name": "source",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            }
          ]
        },
        {
          "type": "OperationDefinition",
          "profile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition"
        },
        {
          "type": "OperationOutcome",
          "profile": "http://hl7.org/fhir/StructureDefinition/OperationOutcome",
          "documentation": "For searching historical OperationOutcomes",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ]
        },
        {
          "type": "BodyStructure",
          "profile": "http://hl7.org/fhir/StructureDefinition/BodyStructure",
          "documentation": "Endpoints for interacting with BodyStructure resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "identifier",
              "type": "token"
            },
            {
              "name": "location",
              "type": "token"
            },
            {
              "name": "morphology",
              "type": "token"
            },
            {
              "name": "patient",
              "type": "reference"
            }
          ]
        },
        {
          "type": "Provenance",
          "profile": "http://hl7.org/fhir/StructureDefinition/Provenance",
          "documentation": "For searching stored Provenance resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "agent",
              "type": "reference"
            },
            {
              "name": "entity",
              "type": "reference"
            },
            {
              "name": "target",
              "type": "reference"
            },
            {
              "name": "recorded",
              "type": "date"
            }
          ]
        },
        {
          "type": "DocumentReference",
          "profile": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
          "documentation": "Endpoints for interacting with DocumentReference resources",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread"
            },
            {
              "code": "update"
            },
            {
              "code": "patch"
            },
            {
              "code": "delete"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "versioning": "versioned",
          "readHistory": true,
          "conditionalCreate": true,
          "referencePolicy": [
            "resolves"
          ],
          "searchParam": [
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "subject",
              "type": "reference"
            }
          ]
        },
        {
          "type": "Composition",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition",
          "documentation": "For validation of Composition resources and allowing searches via chaining from the Bundle endpoint",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "type",
              "type": "token"
            },
            {
              "name": "subject",
              "type": "reference"
            },
            {
              "name": "entry",
              "type": "reference"
            },
            {
              "name": "date",
              "type": "date"
            }
          ]
        }
      ]
    }
  ],
  "messaging": [
    {
      "endpoint": [
        {
          "protocol": {
            "system": "http://terminology.hl7.org/CodeSystem/message-transport",
            "code": "http",
            "display": "HTTP"
          },
          "address": "https://[baseUrl]/$process-message"
        }
      ],
      "documentation": "Endpoint which accepts test order and result message bundles. The server saves the whole message as well as splitting the message into its individual resources for ease of updating through RESTful interactions",
      "supportedMessage": [
        {
          "mode": "receiver",
          "definition": "https://fhir.nhs.uk/MessageDefinition/genomic-test-request"
        },
        {
          "mode": "receiver",
          "definition": "https://fhir.nhs.uk/MessageDefinition/genomic-test-response"
        }
      ]
    }
  ]
}