@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 -------------------------------------------------------------------

<https://emahealth.io/fhir/core/CodeSystem/ema-cs-location-function> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ema-cs-location-function"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem ema-cs-location-function</b></p><a name=\"ema-cs-location-function\"> </a><a name=\"hcema-cs-location-function\"> </a><p>This case-sensitive code system <code>https://emahealth.io/fhir/core/CodeSystem/ema-cs-location-function</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">lab<a name=\"ema-cs-location-function-lab\"> </a></td><td>Laboratorio (procesamiento)</td><td>Location donde se procesan exámenes; aloja analizadores y secciones.</td></tr><tr><td style=\"white-space:nowrap\">punto-atencion<a name=\"ema-cs-location-function-punto-atencion\"> </a></td><td>Punto de atención</td><td>Location donde se atienden pacientes (recepción/toma). Puede o no ser parte del lab.</td></tr><tr><td style=\"white-space:nowrap\">movil<a name=\"ema-cs-location-function-movil\"> </a></td><td>Unidad móvil</td><td>Toma de muestras móvil / domiciliaria.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://emahealth.io/fhir/core/CodeSystem/ema-cs-location-function"] ;
  fhir:CodeSystem.version [ fhir:value "0.2.0"] ;
  fhir:CodeSystem.name [ fhir:value "EmaCsLocationFunction"] ;
  fhir:CodeSystem.title [ fhir:value "EMA — Función de Location"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-07-19T18:14:29+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "EMA Health SpA"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "EMA Health SpA" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://emahealth.io" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "contacto@emahealth.io" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Rol funcional de una Location dentro de la Organization del tenant. Semilla base\nque se materializa por tenant como punto de partida (Opción B)."] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "3"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "lab" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Laboratorio (procesamiento)" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Location donde se procesan exámenes; aloja analizadores y secciones." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "punto-atencion" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Punto de atención" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Location donde se atienden pacientes (recepción/toma). Puede o no ser parte del lab." ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "movil" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Unidad móvil" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Toma de muestras móvil / domiciliaria." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/core/CodeSystem/ema-cs-location-function.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

