@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.msal.gob.ar/core/Immunization/Immunization-Ar-FernandezPerezPablo-Influenza> a fhir:Immunization;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "Immunization-Ar-FernandezPerezPablo-Influenza"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.msal.gob.ar/core/StructureDefinition/Immunization-ar-core";
       fhir:index 0;
       fhir:link <http://fhir.msal.gob.ar/core/StructureDefinition/Immunization-ar-core>
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>status</b>: completed</p><p><b>vaccineCode</b>: <span title=\"Codes: {http://snomed.info/sct 46233009}\">Influenza Virus Vaccine</span></p><p><b>patient</b>: <a href=\"Patient-Paciente-Ar-FernandezPerezPablo.html\">Fernandez Perez, Pablo. Generated Summary: id: 99999999 (OFFICIAL), id: 1234567 (USUAL); active; Pablo Fernandez Perez(OFFICIAL), Alicia de las Mercedes ; Phone: 1141233100; gender: male; birthDate: 1912-06-12</a></p><p><b>occurrence</b>: 2021-05-22</p><p><b>primarySource</b>: true</p><p><b>location</b>: <span>HOSPITAL JOAQUIN CORBALAN</span></p><p><b>lotNumber</b>: 649718</p><p><b>reasonCode</b>: <span title=\"Codes: \">108774000</span></p><h3>ProtocolApplieds</h3><table class=\"grid\"><tr><td>-</td><td><b>TargetDisease</b></td><td><b>DoseNumber[x]</b></td></tr><tr><td>*</td><td><span title=\"Codes: {http://snomed.info/sct 6142004}\">Influenza (disorder)</span></td><td>1</td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://fhir.msal.gov.ar/StructureDefinition/NomivacEsquema" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://fhir.msal.gob.ar/core/CodeSystem/NomivacEsquemaCS" ];
         fhir:Coding.code [ fhir:value "220" ];
         fhir:Coding.display [ fhir:value "IMPORTACION Antigripal IMPORTACION" ]
       ]
     ]
  ];
  fhir:Immunization.status [ fhir:value "completed"];
  fhir:Immunization.vaccineCode [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:46233009;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "46233009" ];
       fhir:Coding.display [ fhir:value "Influenza Virus Vaccine" ]
     ]
  ];
  fhir:Immunization.patient [
     fhir:link <http://fhir.msal.gob.ar/core/Patient/Paciente-Ar-FernandezPerezPablo>;
     fhir:Reference.reference [ fhir:value "Patient/Paciente-Ar-FernandezPerezPablo" ];
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://www.renaper.gob.ar/dni" ];
       fhir:Identifier.value [ fhir:value "35123123" ]
     ];
     fhir:Reference.display [ fhir:value "Fernandez Perez, Pablo" ]
  ];
  fhir:Immunization.occurrenceDateTime [ fhir:value "2021-05-22"^^xsd:date];
  fhir:Immunization.primarySource [ fhir:value "true"^^xsd:boolean];
  fhir:Immunization.location [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://refes.msal.gob.ar" ];
       fhir:Identifier.value [ fhir:value "10661472173057" ]
     ];
     fhir:Reference.display [ fhir:value "HOSPITAL JOAQUIN CORBALAN" ]
  ];
  fhir:Immunization.lotNumber [ fhir:value "649718"];
  fhir:Immunization.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "108774000" ]
     ]
  ];
  fhir:Immunization.protocolApplied [
     fhir:index 0;
     fhir:Immunization.protocolApplied.targetDisease [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:6142004;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "6142004" ];
         fhir:Coding.display [ fhir:value "Influenza (disorder)" ]
       ]
     ];
     fhir:Immunization.protocolApplied.doseNumberPositiveInt [ fhir:value "1"^^xsd:positiveInteger ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.msal.gob.ar/core/Immunization/Immunization-Ar-FernandezPerezPablo-Influenza.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

