@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-catalog-archetype> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ema-cs-catalog-archetype"] ;
  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-catalog-archetype</b></p><a name=\"ema-cs-catalog-archetype\"> </a><a name=\"hcema-cs-catalog-archetype\"> </a><p>This case-sensitive code system <code>https://emahealth.io/fhir/core/CodeSystem/ema-cs-catalog-archetype</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\">simple<a name=\"ema-cs-catalog-archetype-simple\"> </a></td><td>Simple</td><td>Pedible atómico: un ActivityDefinition.</td></tr><tr><td style=\"white-space:nowrap\">battery<a name=\"ema-cs-catalog-archetype-battery\"> </a></td><td>Batería</td><td>Agrupa componentes: PlanDefinition con acciones.</td></tr><tr><td style=\"white-space:nowrap\">protocol<a name=\"ema-cs-catalog-archetype-protocol\"> </a></td><td>Protocolo</td><td>Protocolo temporal (curva): PlanDefinition con relatedAction.</td></tr><tr><td style=\"white-space:nowrap\">product<a name=\"ema-cs-catalog-archetype-product\"> </a></td><td>Con producto</td><td>Simple que además administra un producto (contraste, fármaco).</td></tr><tr><td style=\"white-space:nowrap\">package<a name=\"ema-cs-catalog-archetype-package\"> </a></td><td>Paquete</td><td>Paquete facturable: PlanDefinition con CID en cabecera.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://emahealth.io/fhir/core/CodeSystem/ema-cs-catalog-archetype"] ;
  fhir:CodeSystem.version [ fhir:value "0.10.0"] ;
  fhir:CodeSystem.name [ fhir:value "EmaCsCatalogArchetype"] ;
  fhir:CodeSystem.title [ fhir:value "EMA — Arquetipo del pedible"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-08-31T21:14:26+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 "Los cinco arquetipos del catálogo EMA: cómo un pedible se materializa en recursos FHIR."] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "5"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "simple" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Simple" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Pedible atómico: un ActivityDefinition." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "battery" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Batería" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Agrupa componentes: PlanDefinition con acciones." ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "protocol" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Protocolo" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Protocolo temporal (curva): PlanDefinition con relatedAction." ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "product" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Con producto" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Simple que además administra un producto (contraste, fármaco)." ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "package" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Paquete" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Paquete facturable: PlanDefinition con CID en cabecera." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/core/CodeSystem/ema-cs-catalog-archetype.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

