@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org.nz/fhir/ig/nes/Bundle/FL101> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "FL101"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.nz/fhir/StructureDefinition/NesFlag"^^xsd:anyURI ;
       fhir:l <http://hl7.org.nz/fhir/StructureDefinition/NesFlag>
     ] )
  ] ; # 
  fhir:identifier [
     fhir:value [ fhir:v "FL101" ]
  ] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:entry ( [
     fhir:resource ( [
       a fhir:Flag ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Flag_null\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Flag </b></p><p><b>status</b>: Active</p><p><b>code</b>: <span title=\"Codes:{https://standards.digital.health.nz/nes-flag-type NCCI}\">https://health.govt.nz/NCCIsomething</span></p><p><b>subject</b>: <a href=\"Patient/ZJM9397\">Patient/ZJM9397</a></p><p><b>period</b>: 2020-08-27 --&gt; (ongoing)</p></div>"^^rdf:XMLLiteral ]
       ] ;
       fhir:status [ fhir:v "active" ] ;
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "https://standards.digital.health.nz/nes-flag-type"^^xsd:anyURI ;
             fhir:l <https://standards.digital.health.nz/nes-flag-type>
           ] ;
           fhir:code [ fhir:v "NCCI" ]
         ] ) ;
         fhir:text [ fhir:v "https://health.govt.nz/NCCIsomething" ]
       ] ;
       fhir:subject [
         fhir:l <http://hl7.org.nz/fhir/ig/nes/Patient/ZJM9397> ;
         fhir:reference [ fhir:v "Patient/ZJM9397" ]
       ] ;
       fhir:period [
         fhir:start [ fhir:v "2020-08-27"^^xsd:date ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

