@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/SearchParameter/vn-sp-device-group> a fhir:SearchParameter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "vn-sp-device-group"] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SearchParameter vn-sp-device-group</b></p><a name=\"vn-sp-device-group\"> </a><a name=\"hcvn-sp-device-group\"> </a><h2>VNSPDeviceGroup</h2><p>Parameter <code>vn-device-group</code>:<code>token</code></p><div><p>SearchParameter cho phép tìm kiếm Device theo nhóm TBYT BHYT (N01-N09).\nCăn cứ: TT 04/2017/TT-BYT Phụ lục 01, TT 24/2025/TT-BYT, VBHN 14/VBHN-BYT.\nVí dụ:</p>\n<ul>\n<li>GET [base]/Device?vn-device-group=N06.00.000 — tìm thiết bị cấy ghép</li>\n<li>GET [base]/Device?vn-device-group=N03.00.000 — tìm vật tư chăm sóc</li>\n</ul>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"http://hl7.org/fhir/R4/device.html\">Device</a></td></tr><tr><td>Expression</td><td><code>Device.extension.where(url='http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-device-group').value.ofType(CodeableConcept).coding.code</code></td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: It's up to the server whether the parameter may repeat in order to specify multiple values that must all be true</li><li>multipleOr: It's up to the server whether the parameter can have multiple values (separated by comma) where at least one must be true</li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "http://fhir.hl7.org.vn/core/SearchParameter/vn-sp-device-group"^^xsd:anyURI ;
     fhir:l <http://fhir.hl7.org.vn/core/SearchParameter/vn-sp-device-group>
  ] ; # 
  fhir:version [ fhir:v "0.5.0"] ; # 
  fhir:name [ fhir:v "VNSPDeviceGroup"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2026-04-26"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Omi HealthTech / VN Core FHIR Community Initiative"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Omi HealthTech / VN Core FHIR Community Initiative" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://hl7.org.vn" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "info@hl7.org.vn" ]
     ] )
  ] [
     fhir:name [ fhir:v "Omi HealthTech (OmiGroup)" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://omihealthtech.vn" ]
     ] [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://omigroup.vn" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "healthtech@omigroup.vn" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "SearchParameter cho phép tìm kiếm Device theo nhóm TBYT BHYT (N01-N09).\nCăn cứ: TT 04/2017/TT-BYT Phụ lục 01, TT 24/2025/TT-BYT, VBHN 14/VBHN-BYT.\nVí dụ:\n- GET [base]/Device?vn-device-group=N06.00.000 — tìm thiết bị cấy ghép\n- GET [base]/Device?vn-device-group=N03.00.000 — tìm vật tư chăm sóc"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "VN" ] ;
       fhir:display [ fhir:v "Viet Nam" ]
     ] )
  ] ) ; # 
  fhir:code [ fhir:v "vn-device-group"] ; # 
  fhir:base ( [ fhir:v "Device"] ) ; # 
  fhir:type [ fhir:v "token"] ; # 
  fhir:expression [ fhir:v "Device.extension.where(url='http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-device-group').value.ofType(CodeableConcept).coding.code"] . # 

# -------------------------------------------------------------------------------------

