@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/cl/Coverage/EjemploEmaCoverage> a fhir:Coverage ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "EjemploEmaCoverage"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://emahealth.io/fhir/cl/StructureDefinition/ema-coverage" ;
       fhir:index 0 ;
       fhir:link <https://emahealth.io/fhir/cl/StructureDefinition/ema-coverage>
     ]
  ] ;
  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: Coverage EjemploEmaCoverage</b></p><a name=\"EjemploEmaCoverage\"> </a><a name=\"hcEjemploEmaCoverage\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ema-coverage.html\">EMA Coverage</a></p></div><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{https://emahealth.io/fhir/cl/CodeSystem/cs-coverage-tipo fonasa}\">Fonasa</span></p><p><b>subscriber</b>: <a href=\"Patient-EjemploEmaPatient.html\">María Fernández (official) Female, DoB: 1968-03-15 ( RUN (use: official, ))</a></p><p><b>beneficiary</b>: <a href=\"Patient-EjemploEmaPatient.html\">María Fernández (official) Female, DoB: 1968-03-15 ( RUN (use: official, ))</a></p><p><b>payor</b>: <a href=\"Organization-EjemploEmaOrganization.html\">Organization Centro Médico EMA</a></p><h3>Classes</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value</b></td><td><b>Name</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/coverage-class class}\">Class</span></td><td>B</td><td>Tramo B</td></tr></table></div>"
  ] ;
  fhir:Coverage.status [ fhir:value "active"] ;
  fhir:Coverage.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://emahealth.io/fhir/cl/CodeSystem/cs-coverage-tipo" ] ;
       fhir:Coding.code [ fhir:value "fonasa" ] ;
       fhir:Coding.display [ fhir:value "Fonasa" ]
     ]
  ] ;
  fhir:Coverage.subscriber [
     fhir:link <https://emahealth.io/fhir/cl/Patient/EjemploEmaPatient> ;
     fhir:Reference.reference [ fhir:value "Patient/EjemploEmaPatient" ]
  ] ;
  fhir:Coverage.beneficiary [
     fhir:link <https://emahealth.io/fhir/cl/Patient/EjemploEmaPatient> ;
     fhir:Reference.reference [ fhir:value "Patient/EjemploEmaPatient" ]
  ] ;
  fhir:Coverage.payor [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/cl/Organization/EjemploEmaOrganization> ;
     fhir:Reference.reference [ fhir:value "Organization/EjemploEmaOrganization" ]
  ] ;
  fhir:Coverage.class [
     fhir:index 0 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "class" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "B" ] ;
     fhir:Coverage.class.name [ fhir:value "Tramo B" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/cl/Coverage/EjemploEmaCoverage.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

