Care Connect API
4.0.0 - CI Build

Care Connect API - Local Development build (v4.0.0). See the Directory of published versions

: Medication API - TTL Representation

Raw ttl | Download

@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 -------------------------------------------------------------------

 a fhir:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "medication"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Care Connect Medication Capability Statement</h2><div><p>Minimal conformance requirements for a Medication API. This would typically be found on Prescribing and Dispensing systems</p>\n</div><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td/></tr><tr><td>Transaction</td><td></td></tr><tr><td>System History</td><td></td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title=\"GET a resource (read interaction)\">Read</b></th><th><b title=\"GET all set of resources of the type (search interaction)\">Search</b></th><th><b title=\"PUT a new resource version (update interaction)\">Update</b></th><th><b title=\"POST a new resource (create interaction)\">Create</b></th></tr><tr><td>Immunization</td><td><a href=\"https://fhir.hl7.org.uk/StructureDefinition/UKCore-Immunization\">https://fhir.hl7.org.uk/StructureDefinition/UKCore-Immunization</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>Medication</td><td><a href=\"https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication\">https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>MedicationAdministration</td><td><a href=\"https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration\">https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>MedicationDispense</td><td><a href=\"https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense\">https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>MedicationRequest</td><td><a href=\"https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest\">https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>MedicationStatement</td><td><a href=\"https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement\">https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement</a></td><td>y</td><td>y</td><td></td><td></td></tr></table></div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "https://project-wildfyre.github.io/careconnect-api-r4/CapabilityStatement/medication"];
  fhir:CapabilityStatement.version [ fhir:value "4.0.0"];
  fhir:CapabilityStatement.name [ fhir:value "Care Connect Medication Capability Statement"];
  fhir:CapabilityStatement.status [ fhir:value "active"];
  fhir:CapabilityStatement.date [ fhir:value "2021-04-02T09:18:26+01:00"^^xsd:dateTime];
  fhir:CapabilityStatement.publisher [ fhir:value "mayfield-is.co.uk"];
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "kevin.mayfield@mayfield-is.co.uk" ]     ]
  ];
  fhir:CapabilityStatement.description [ fhir:value "Minimal conformance requirements for a Medication API. This would typically be found on Prescribing and Dispensing systems"];
  fhir:CapabilityStatement.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
       fhir:Coding.code [ fhir:value "826" ]     ]
  ];
  fhir:CapabilityStatement.kind [ fhir:value "requirements"];
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"];
  fhir:CapabilityStatement.format [
     fhir:value "application/fhir+json";
     fhir:index 0
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
     fhir:CapabilityStatement.rest.resource [
       fhir:index 0;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Immunization" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Immunization";
         fhir:link <https://fhir.hl7.org.uk/StructureDefinition/UKCore-Immunization>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Vaccination  (non)-Administration Date" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Business identifier" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "notgiven" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Administrations which were not given" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The patient for the vaccination record" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Immunization event status" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "vaccination-procedure" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       fhir:index 1;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Medication" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication";
         fhir:link <https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Codes that identify this medication" ]       ]     ], [
       fhir:index 2;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationAdministration" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration";
         fhir:link <https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return administrations of this medication code" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return administrations with this external identifier" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "medication" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return administrations of this medication resource" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The identity of a patient to list administrations  for" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationAdministration event status (for example one of active/paused/completed/nullified)" ]       ]     ], [
       fhir:index 3;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationDispense" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense";
         fhir:link <https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return dispenses of this medicine code" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return dispenses with this external identifier" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "medication" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return dispenses of this medicine resource" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The identity of a patient to list dispenses  for" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return dispenses with a specified dispense status" ]       ]     ], [
       fhir:index 4;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationRequest" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest";
         fhir:link <https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "authoredon" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return prescriptions written on this date" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return prescriptions of this medication code" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return prescriptions with this external identifier" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "medication" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return prescriptions of this medication reference" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Returns prescriptions for a specific patient" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Status of the prescription" ]       ]     ], [
       fhir:index 5;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationStatement" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement";
         fhir:link <https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "effective" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Date when patient was taking (or not taking) the medication" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return statements with this external identifier" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Returns statements for a specific patient." ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return statements that match the given status" ]       ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.