@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://ips.saude.gov.br/fhir/PractitionerRole/b7700a03-922c-47f8-b1eb-bb4af5235397> a fhir:PractitionerRole ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "b7700a03-922c-47f8-b1eb-bb4af5235397"] ;
  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>Narrativa gerada: PractitionerRole b7700a03-922c-47f8-b1eb-bb4af5235397</b></p><a name=\"b7700a03-922c-47f8-b1eb-bb4af5235397\"> </a><a name=\"hcb7700a03-922c-47f8-b1eb-bb4af5235397\"> </a><p><b>identifier</b>: Número de Registro no Conselho Federal de Medicina/123456-SP (utilização: official, )</p><p><b>active</b>: true</p><p><b>period</b>: 2020-01-10 --&gt; (em curso)</p><p><b>practitioner</b>: <a href=\"Practitioner-d3b61455-f432-48f0-b83b-ba825922d735.html\">Maria Clara</a></p><p><b>organization</b>: <a href=\"Organization-31024c66-483a-4c80-b182-157ee133ca96.html\">Consultório Dr. José Silva</a></p><p><b>code</b>: <span title=\"Códigos:{https://terminologia.saude.gov.br/fhir/CodeSystem/BRCBO 225120}\">MEDICO CARDIOLOGISTA</span></p><p><b>specialty</b>: <span title=\"Códigos:{https://terminologia.saude.gov.br/fhir/CodeSystem/BRCBO 225120}\">MEDICO CARDIOLOGISTA</span></p><p><b>telecom</b>: <a href=\"tel:+552112345-6789\">+55 21 12345-6789</a>, <a href=\"mailto:contact@hospitalexemplo.com\">contact@hospitalexemplo.com</a></p><blockquote><p><b>availableTime</b></p><p><b>daysOfWeek</b>: Monday, Tuesday, Wednesday, Thursday, Friday</p><p><b>availableStartTime</b>: 08:00:00</p><p><b>availableEndTime</b>: 17:00:00</p></blockquote><h3>NotAvailables</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>During</b></td></tr><tr><td style=\"display: none\">*</td><td>On leave</td><td>2024-01-01 --&gt; 2024-01-10</td></tr></table></div>"
  ] ;
  fhir:PractitionerRole.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "MD" ] ;
         fhir:Coding.display [ fhir:value "Medical License number" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Número de Registro no Conselho Federal de Medicina" ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://saude.gov.br/fhir/sid/crm-sp" ] ;
     fhir:Identifier.value [ fhir:value "123456-SP" ]
  ] ;
  fhir:PractitionerRole.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:PractitionerRole.period [
     fhir:Period.start [ fhir:value "2020-01-10"^^xsd:date ]
  ] ;
  fhir:PractitionerRole.practitioner [
     fhir:link <https://ips.saude.gov.br/fhir/Practitioner/d3b61455-f432-48f0-b83b-ba825922d735> ;
     fhir:Reference.reference [ fhir:value "Practitioner/d3b61455-f432-48f0-b83b-ba825922d735" ] ;
     fhir:Reference.display [ fhir:value "Maria Clara" ]
  ] ;
  fhir:PractitionerRole.organization [
     fhir:link <https://ips.saude.gov.br/fhir/Organization/31024c66-483a-4c80-b182-157ee133ca96> ;
     fhir:Reference.reference [ fhir:value "Organization/31024c66-483a-4c80-b182-157ee133ca96" ] ;
     fhir:Reference.display [ fhir:value "Consultório Dr. José Silva" ]
  ] ;
  fhir:PractitionerRole.code [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://terminologia.saude.gov.br/fhir/CodeSystem/BRCBO" ] ;
       fhir:Coding.code [ fhir:value "225120" ] ;
       fhir:Coding.display [ fhir:value "MEDICO CARDIOLOGISTA" ]
     ]
  ] ;
  fhir:PractitionerRole.specialty [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://terminologia.saude.gov.br/fhir/CodeSystem/BRCBO" ] ;
       fhir:Coding.code [ fhir:value "225120" ] ;
       fhir:Coding.display [ fhir:value "MEDICO CARDIOLOGISTA" ]
     ]
  ] ;
  fhir:PractitionerRole.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "+55 21 12345-6789" ] ;
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 1 ;
     fhir:ContactPoint.system [ fhir:value "email" ] ;
     fhir:ContactPoint.value [ fhir:value "contact@hospitalexemplo.com" ] ;
     fhir:ContactPoint.use [ fhir:value "work" ]
  ] ;
  fhir:PractitionerRole.availableTime [
     fhir:index 0 ;
     fhir:PractitionerRole.availableTime.daysOfWeek [
       fhir:value "mon" ;
       fhir:index 0
     ], [
       fhir:value "tue" ;
       fhir:index 1
     ], [
       fhir:value "wed" ;
       fhir:index 2
     ], [
       fhir:value "thu" ;
       fhir:index 3
     ], [
       fhir:value "fri" ;
       fhir:index 4
     ] ;
     fhir:PractitionerRole.availableTime.availableStartTime [ fhir:value "08:00:00"^^xsd:time ] ;
     fhir:PractitionerRole.availableTime.availableEndTime [ fhir:value "17:00:00"^^xsd:time ]
  ] ;
  fhir:PractitionerRole.notAvailable [
     fhir:index 0 ;
     fhir:PractitionerRole.notAvailable.description [ fhir:value "On leave" ] ;
     fhir:PractitionerRole.notAvailable.during [
       fhir:Period.start [ fhir:value "2024-01-01"^^xsd:date ] ;
       fhir:Period.end [ fhir:value "2024-01-10"^^xsd:date ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://ips.saude.gov.br/fhir/PractitionerRole/b7700a03-922c-47f8-b1eb-bb4af5235397.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

