Release 4

Operation-capabilitystatement-subset.ttl

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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:Resource.id [ fhir:value "CapabilityStatement-subset"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "5" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ];
  fhir:OperationDefinition.url [ fhir:value "http://hl7.org/fhir/OperationDefinition/CapabilityStatement-subset"];
  fhir:OperationDefinition.version [ fhir:value "4.0.1"];
  fhir:OperationDefinition.name [ fhir:value "Fetch a subset of the CapabilityStatement resource"];
  fhir:OperationDefinition.status [ fhir:value "draft"];
  fhir:OperationDefinition.kind [ fhir:value "operation"];
  fhir:OperationDefinition.date [ fhir:value "2021-01-21T15:34:20+00:00"];
  fhir:OperationDefinition.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:OperationDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:OperationDefinition.description [ fhir:value "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:OperationDefinition.code [ fhir:value "subset"];
  fhir:OperationDefinition.resource [
     fhir:value "CapabilityStatement";
     fhir:index 0
  ];
  fhir:OperationDefinition.system [ fhir:value "false"];
  fhir:OperationDefinition.type [ fhir:value "true"];
  fhir:OperationDefinition.instance [ fhir:value "true"];
  fhir:OperationDefinition.parameter [
     fhir:index 0;
     fhir:OperationDefinition.name [ fhir:value "server" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The canonical URL - use this if the subset is not invoked on an instance (or on the /metadata end-point)" ];
     fhir:OperationDefinition.type [ fhir:value "uri" ]
  ], [
     fhir:index 1;
     fhir:OperationDefinition.name [ fhir:value "resource" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "1" ];
     fhir:OperationDefinition.max [ fhir:value "*" ];
     fhir:OperationDefinition.documentation [ fhir:value "A resource that the client would like to include in the return" ];
     fhir:OperationDefinition.type [ fhir:value "code" ]
  ], [
     fhir:index 2;
     fhir:OperationDefinition.name [ fhir:value "return" ];
     fhir:OperationDefinition.use [ fhir:value "out" ];
     fhir:OperationDefinition.min [ fhir:value "1" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The subsetted CapabilityStatement resource that is returned. This should be tagged with the SUBSETTED code" ];
     fhir:OperationDefinition.type [ fhir:value "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.