@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 -------------------------------------------------------------------

<http://fhir.msal.gob.ar/core/Parameters/ejemplo-parametros-match> a fhir:Parameters;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "ejemplo-parametros-match"];
  fhir:Parameters.parameter [
     fhir:index 0;
     fhir:Parameters.parameter.name [ fhir:value "resource" ];
     fhir:Parameters.parameter.resource [
       a fhir:Patient;
       fhir:Patient.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://www.renaper.gob.ar/dni" ];
         fhir:Identifier.value [ fhir:value "23327755" ]
       ];
       fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.family [
           fhir:value "Martinez";
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family" ];
             fhir:Extension.valueString [ fhir:value "Martinez" ]
           ]
         ];
         fhir:HumanName.given [
           fhir:value "Julian";
           fhir:index 0
         ]
       ];
       fhir:Patient.gender [ fhir:value "male" ];
       fhir:Patient.birthDate [ fhir:value "1973-06-12"^^xsd:date ]
     ]
  ], [
     fhir:index 1;
     fhir:Parameters.parameter.name [ fhir:value "count" ];
     fhir:Parameters.parameter.valueInteger [ fhir:value "5"^^xsd:integer ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.msal.gob.ar/core/Parameters/ejemplo-parametros-match.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

