FHIR Release 3 (STU) 5 Ballot

This page is part of the FHIR Specification (v3.0.2: STU (v5.0.0-ballot: R5 Ballot - see ballot notes 3). ). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Sequence-example-fda-comparisons.ttl
Clinical Genomics FHIR Infrastructure icon Work Group Maturity Level : N/A 2   Trial Use Ballot Status : Informative Security Category : Business Compartments : Not linked to any defined compartments

Detailed Descriptions for the elements in the Subscription resource.

Subscription
Element Id Subscription
Definition

Raw Turtle , JSON-LD The subscription resource describes a particular client's request to be notified about a SubscriptionTopic.

Short Display Notification about a SubscriptionTopic
Cardinality 0..*
Type DomainResource
Alternate Names WebHook; Hook; Routing Rule
Summary false
Subscription.identifier
Element Id Subscription.identifier
Definition

A formal identifier that is used to identify this code system when it is represented in other formats, or referenced in a specification, model, design or an instance.

Short Display Additional identifiers (business identifier)
Note This is a business identifier, not a resource identifier (see discussion )
Cardinality 0..*
Type Identifier
Summary true
Subscription.name
Element Id Subscription.name
Definition

Sequence example A natural language name identifying the subscription.

Short Display Human readable name for vcf comparison on precisionFDA this subscription
Cardinality 0..1
Type string
Summary true
Subscription.status
Element Id Subscription.status
Definition

The status of the subscription, which marks the server state for managing the subscription.

@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir/Sequence/fda-vcf-comparison> a fhir:Sequence; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "fda-vcf-comparison"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: fda-vcf-comparison</p><p><b>coordinateSystem</b>: 1</p><p><b>patient</b>: <a>Patient/example</a></p><h3>ReferenceSeqs</h3><table><tr><td>-</td><td><b>ReferenceSeqId</b></td><td><b>Strand</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>NC_000001.11 <span>(Details : {http://www.ncbi.nlm.nih.gov/nuccore code 'NC_000001.11' = 'NC_000001.11)</span></td><td>1</td><td>10453</td><td>101770080</td></tr></table><h3>Variants</h3><table><tr><td>-</td><td><b>Start</b></td><td><b>End</b></td><td><b>ObservedAllele</b></td><td><b>ReferenceAllele</b></td></tr><tr><td>*</td><td>13116</td><td>13117</td><td>T</td><td>G</td></tr></table><h3>Qualities</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>StandardSequence</b></td><td><b>Start</b></td><td><b>End</b></td><td><b>Score</b></td><td><b>Method</b></td><td><b>TruthTP</b></td><td><b>TruthFN</b></td><td><b>QueryFP</b></td><td><b>GtFP</b></td><td><b>Precision</b></td><td><b>FScore</b></td></tr><tr><td>*</td><td>unknown</td><td>file-BkZxBZ00bpJVk2q6x43b1YBx <span>(Details : {https://precision.fda.gov/files/ code 'file-BkZxBZ00bpJVk2q6x43b1YBx' = 'file-BkZxBZ00bpJVk2q6x43b1YBx)</span></td><td>10453</td><td>101770080</td><td>5.000</td><td>VCF Comparison <span>(Details : {https://precision.fda.gov/apps/ code 'app-BqB9XZ8006ZZ2g5KzGXP3fpq' = 'app-BqB9XZ8006ZZ2g5KzGXP3fpq)</span></td><td>129481</td><td>3168</td><td>1507</td><td>2186</td><td>0.9885</td><td>0.9823</td></tr></table><h3>Repositories</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Url</b></td><td><b>Name</b></td></tr><tr><td>*</td><td>login</td><td><a>https://precision.fda.gov/comparisons/1850</a></td><td>FDA</td></tr></table></div>" ]; fhir:Sequence.coordinateSystem [ fhir:value "1"^^xsd:integer]; fhir:Sequence.patient [ fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:Sequence.referenceSeq [ fhir:Sequence.referenceSeq.referenceSeqId [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://www.ncbi.nlm.nih.gov/nuccore" ]; fhir:Coding.code [ fhir:value "NC_000001.11" ] ] ]; fhir:Sequence.referenceSeq.strand [ fhir:value "1"^^xsd:integer ]; fhir:Sequence.referenceSeq.windowStart [ fhir:value "10453"^^xsd:integer ]; fhir:Sequence.referenceSeq.windowEnd [ fhir:value "101770080"^^xsd:integer ] ]; fhir:Sequence.variant [ fhir:index 0; fhir:Sequence.variant.start [ fhir:value "13116"^^xsd:integer ]; fhir:Sequence.variant.end [ fhir:value "13117"^^xsd:integer ]; fhir:Sequence.variant.observedAllele [ fhir:value "T" ]; fhir:Sequence.variant.referenceAllele [ fhir:value "G" ] ]; fhir:Sequence.quality [ fhir:index 0; fhir:Sequence.quality.type [ fhir:value "unknown" ]; fhir:Sequence.quality.standardSequence [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "https://precision.fda.gov/files/" ]; fhir:Coding.code [ fhir:value "file-BkZxBZ00bpJVk2q6x43b1YBx" ] ] ]; fhir:Sequence.quality.start [ fhir:value "10453"^^xsd:integer ]; fhir:Sequence.quality.end [ fhir:value "101770080"^^xsd:integer ]; fhir:Sequence.quality.score [ fhir:Quantity.value [ fhir:value "5.000"^^xsd:decimal ] ]; fhir:Sequence.quality.method [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "https://precision.fda.gov/apps/" ]; fhir:Coding.code [ fhir:value "app-BqB9XZ8006ZZ2g5KzGXP3fpq" ] ]; fhir:CodeableConcept.text [ fhir:value "VCF Comparison" ] ]; fhir:Sequence.quality.truthTP [ fhir:value "129481"^^xsd:decimal ]; fhir:Sequence.quality.truthFN [ fhir:value "3168"^^xsd:decimal ]; fhir:Sequence.quality.queryFP [ fhir:value "1507"^^xsd:decimal ]; fhir:Sequence.quality.gtFP [ fhir:value "2186"^^xsd:decimal ]; fhir:Sequence.quality.precision [ fhir:value "0.9885"^^xsd:decimal ]; fhir:Sequence.quality.fScore [ fhir:value "0.9823"^^xsd:decimal ] ]; fhir:Sequence.repository [ fhir:index 0; fhir:Sequence.repository.type [ fhir:value "login" ]; fhir:Sequence.repository.url [ fhir:value "https://precision.fda.gov/comparisons/1850" ]; fhir:Sequence.repository.name [ fhir:value "FDA" ] ] . <http://hl7.org/fhir/Patient/example> a fhir:Patient . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Sequence/fda-vcf-comparison.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://hl7.org/fhir/STU3/Sequence/fda-vcf-comparison.ttl> . # -------------------------------------------------------------------------------------
Short Display requested | active | error | off | entered-in-error
Cardinality 1..1
Terminology Binding Subscription Status ( Required )
Type code
Is Modifier true (Reason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid)
Summary true
Comments

Usage note: every effort has been made A client can only submit subscription resources in the requested or off state. Only the server can move a subscription from requested to ensure active, and then to error. Either the server or the client can turn a subscription off.

This element is labeled as a modifier because the status contains codes that mark the examples are correct and useful, resource as not currently valid.

Subscription.topic
Element Id Subscription.topic
Definition

The reference to the subscription topic to be notified about.

Short Display Reference to the subscription topic being subscribed to
Cardinality 1..1
Type canonical ( SubscriptionTopic )
Summary true
Subscription.contact
Element Id Subscription.contact
Definition

Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.

Short Display Contact details for source (e.g. troubleshooting)
Cardinality 0..*
Type ContactPoint
Summary true
Subscription.end
Element Id Subscription.end
Definition

The time for the server to turn the subscription off.

Short Display When to automatically delete the subscription
Cardinality 0..1
Type instant
Summary true
Comments

The server is permitted to deviate from this time but they should observe it.

Subscription.managingEntity
Element Id Subscription.managingEntity
Definition

Entity with authorization to make subsequent revisions to the Subscription and also determines what data the subscription is authorized to disclose.

Short Display Entity responsible for Subscription changes
Cardinality 0..1
Type Reference ( CareTeam | HealthcareService | Organization | RelatedPerson | Patient | Practitioner | PractitionerRole )
Summary true
Subscription.reason
Element Id Subscription.reason
Definition

A description of why this subscription is defined.

Short Display Description of why this subscription was created
Cardinality 0..1
Type string
Summary true
Subscription.filterBy
Element Id Subscription.filterBy
Definition

The filter properties to be applied to narrow the subscription topic stream. When multiple filters are not applied, evaluates to true if all the conditions are met; otherwise it returns false. (i.e., logical AND).

Short Display Criteria for narrowing the subscription topic stream
Cardinality 0..*
Summary true
Subscription.filterBy.resourceType
Element Id Subscription.filterBy.resourceType
Definition

If the element is a normative reference to another resource, this element contains "Reference", and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient).

Short Display Allowed Data type or Resource (reference to definition) for this Subscription
Cardinality 0..1
Terminology Binding All FHIR Types ( Extensible )
Type uri
Summary true
Subscription.filterBy.filterParameter
Element Id Subscription.filterBy.filterParameter
Definition

The filter as defined in the SubscriptionTopic.canfilterBy.filterParameter element.

Short Display Filter label defined in SubscriptionTopic
Cardinality 1..1
Type string
Summary true
Subscription.filterBy.modifier
Element Id Subscription.filterBy.modifier
Definition

Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic.

Short Display = | eq | ne | gt | lt | ge | le | sa | eb | ap | above | below | in | not-in | of-type
Cardinality 0..1
Terminology Binding Subscription Search Modifier ( Required )
Type code
Summary true
Comments

If filterDefinition refers to a SearchParameter, then the modifiers indicated must be allowed by the SearchParameter.

Subscription.filterBy.value
Element Id Subscription.filterBy.value
Definition

The literal value or resource path as is legal in search - for example, "Patient/123" or "le1950".

Short Display Literal value or resource path
Cardinality 1..1
Type string
Summary true
Subscription.channelType
Element Id Subscription.channelType
Definition

The type of channel to send notifications on.

Short Display Channel type for notifications
Cardinality 1..1
Terminology Binding Subscription Channel Type ( Extensible )
Type Coding
Summary true
Subscription.endpoint
Element Id Subscription.endpoint
Definition

The url that describes the actual end-point to send messages to.

Short Display Where the channel points to
Cardinality 0..1
Type url
Summary true
Comments

For rest-hook the end-point must be an http: or https: URL; for websocket ws: or wss:; for email, a mailto: url; and for message the endpoint can be in any form of url the server understands (usually, http/s: or mllp:). The URI is allowed to be relative; in which case, it is relative to the server end-point (since there may be more than one, clients should avoid using relative URIs).

Subscription.header
Element Id Subscription.header
Definition

Additional headers / information to send as part of the specification. notification.

Short Display Usage depends on the channel type
Cardinality 0..*
Type string
Summary true
Comments

Exactly what these mean depend on the channel type. They can convey additional information to the recipient and/or meet security requirements; for example, support of multiple headers in the outgoing notifications for rest-hook type subscriptions.

Subscription.heartbeatPeriod
Element Id Subscription.heartbeatPeriod
Definition

If present, a 'hearbeat" notification (keepalive) is sent via this channel with an the interval period equal to this elements integer value in seconds. If not present, a heartbeat notification is not sent.

Short Display Interval in seconds to send 'heartbeat' notification
Cardinality 0..1
Type unsignedInt
Summary true
Subscription.timeout
Element Id Subscription.timeout
Definition

If present, the maximum amount of time a server will allow before failing a notification attempt.

Short Display Timeout in seconds to attempt notification delivery
Cardinality 0..1
Type unsignedInt
Summary true
Subscription.contentType
Element Id Subscription.contentType
Definition

The mime type to send the payload in - either application/fhir+xml, or application/fhir+json. The MIME types "text/plain" and "text/html" may also be used for Email subscriptions.

Short Display MIME type to send, or omit for no payload
Cardinality 0..1
Terminology Binding MimeType ( Required )
Type code
Summary true
Subscription.content
Element Id Subscription.content
Definition

How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content.

Short Display empty | id-only | full-resource
Cardinality 0..1
Terminology Binding SubscriptionPayloadContent ( Required )
Type code
Summary true
Comments

Sending the payload has obvious security implications. The server is responsible for ensuring that the content is appropriately secured.

Subscription.maxCount
Element Id Subscription.maxCount
Definition

If present, the maximum number of triggering resources that will be included in a notification bundle (e.g., a server will not include more than this number of trigger resources in a single notification). Note that this is not a strict limit on the number of entries in a bundle, as dependent resources can be included.

Short Display Maximum number of triggering resources included in notification bundles
Cardinality 0..1
Type positiveInt
Summary true