This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Example OperationDefinition/CapabilityStatement-subset (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Operation Definition
@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
# - resource -------------------------------------------------------------------
[] a fhir:OperationDefinition ;
fhir:id [ fhir:v "CapabilityStatement-subset"] ;
fhir:text [
fhir:status [ fhir:v "extensions" ]
] ;
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
fhir:value [ fhir:v "5" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
fhir:value [ fhir:v "trial-use" ]
] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/OperationDefinition/CapabilityStatement-subset"], [ fhir:v "http://hl7.org/fhir/OperationDefinition/CapabilityStatement-subset"] ;
fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ;
fhir:name [ fhir:v "Subset"], [ fhir:v "Subset"] ;
fhir:title [ fhir:v "Fetch a subset of the CapabilityStatement resource"], [ fhir:v "Fetch a subset of the CapabilityStatement resource"] ;
fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
fhir:date [ fhir:v "2023-03-26T15:21:02+11:00"], [ fhir:v "2023-03-26T15:21:02+11:00"] ;
fhir:publisher [ fhir:v "HL7 (FHIR Project)"], [ fhir:v "HL7 (FHIR Project)"] ;
fhir:contact ( [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/fhir" ]
] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "fhir@lists.hl7.org" ]
] )
] [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/fhir" ]
] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "fhir@lists.hl7.org" ]
] )
] ) ;
fhir:description [ fhir:v "This operation asks the server to return a subset of the CapabilityStatement resource - just the REST parts that relate to a set of nominated resources - the resources that the client is interested in"], [ fhir:v "This operation asks the server to return a subset of the CapabilityStatement resource - just the REST parts that relate to a set of nominated resources - the resources that the client is interested in"] ;
fhir:jurisdiction ( [
fhir:coding ( [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]
] )
] ) ;
fhir:kind [ fhir:v "operation"] ;
fhir:affectsState [ fhir:v "false"] ;
fhir:code [ fhir:v "subset"] ;
fhir:resource ( [ fhir:v "CapabilityStatement"] ) ;
fhir:system [ fhir:v "false"] ;
fhir:type [ fhir:v "true"] ;
fhir:instance [ fhir:v "true"] ;
fhir:parameter ( [
fhir:name [ fhir:v "server" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:scope ( [ fhir:v "type" ] [ fhir:v "system" ] ) ;
fhir:min [ fhir:v "0" ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The canonical URL - use this if the subset is not invoked on an instance (or on the /metadata end-point)" ] ;
fhir:type [ fhir:v "uri" ]
] [
fhir:name [ fhir:v "resource" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1" ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "A resource that the client would like to include in the return" ] ;
fhir:type [ fhir:v "code" ]
] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "1" ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The subsetted CapabilityStatement resource that is returned. This should be tagged with the SUBSETTED code" ] ;
fhir:type [ fhir:v "CapabilityStatement" ]
] ) .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.