@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://hl7.org/fhir/us/bfdr/CodeSystem/CodeSystem-local-bfdr-codes> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "CodeSystem-local-bfdr-codes"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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: CodeSystem CodeSystem-local-bfdr-codes</b></p><a name=\"CodeSystem-local-bfdr-codes\"> </a><a name=\"hcCodeSystem-local-bfdr-codes\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/us/bfdr/CodeSystem/CodeSystem-local-bfdr-codes</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">unknownplannedhomebirth<a name=\"CodeSystem-local-bfdr-codes-unknownplannedhomebirth\"> </a></td><td>Unknown if Planned Home Birth</td><td>Unknown if Planned Home Birth</td></tr><tr><td style=\"white-space:nowrap\">assistedventfollowingdelivery<a name=\"CodeSystem-local-bfdr-codes-assistedventfollowingdelivery\"> </a></td><td>Assisted ventilation required immediately following delivery</td><td>Assisted ventilation required immediately following delivery</td></tr><tr><td style=\"white-space:nowrap\">assistedventmorethan6hrs<a name=\"CodeSystem-local-bfdr-codes-assistedventmorethan6hrs\"> </a></td><td>Assisted ventilation required for more than six hours</td><td>Assisted ventilation required for more than six hours</td></tr><tr><td style=\"white-space:nowrap\">FCOD_maternalconditions<a name=\"CodeSystem-local-bfdr-codes-FCOD_maternalconditions\"> </a></td><td>Maternal Conditions/Diseases (Specify)</td><td>Maternal Conditions/Diseases (Specify)</td></tr><tr><td style=\"white-space:nowrap\">FCOD_membranes<a name=\"CodeSystem-local-bfdr-codes-FCOD_membranes\"> </a></td><td>Complications of Placenta, Cord, or Membranes: Other (Specify)</td><td>Complications of Placenta, Cord, or Membranes: Other (Specify)</td></tr><tr><td style=\"white-space:nowrap\">FCOD_obstetricalcomplications<a name=\"CodeSystem-local-bfdr-codes-FCOD_obstetricalcomplications\"> </a></td><td>Other Obstetrical or Pregnancy Complications (Specify)</td><td>Other Obstetrical or Pregnancy Complications (Specify)</td></tr><tr><td style=\"white-space:nowrap\">FCOD_fetalconditions<a name=\"CodeSystem-local-bfdr-codes-FCOD_fetalconditions\"> </a></td><td>Other Fetal Conditions/Disorder (Specify)</td><td>Other Fetal Conditions/Disorder (Specify)</td></tr><tr><td style=\"white-space:nowrap\">rel_fatherofbaby<a name=\"CodeSystem-local-bfdr-codes-rel_fatherofbaby\"> </a></td><td>Father of baby</td><td>Father of baby</td></tr><tr><td style=\"white-space:nowrap\">rel_hospitalemployee<a name=\"CodeSystem-local-bfdr-codes-rel_hospitalemployee\"> </a></td><td>Hospital employee</td><td>Hospital employee</td></tr><tr><td style=\"white-space:nowrap\">rel_other<a name=\"CodeSystem-local-bfdr-codes-rel_other\"> </a></td><td>Other (with write in text)</td><td>Other (with write in text)</td></tr><tr><td style=\"white-space:nowrap\">rel_otherrelative<a name=\"CodeSystem-local-bfdr-codes-rel_otherrelative\"> </a></td><td>Other relative</td><td>Other relative</td></tr><tr><td style=\"white-space:nowrap\">loc_birth<a name=\"CodeSystem-local-bfdr-codes-loc_birth\"> </a></td><td>Birth Location</td><td/></tr><tr><td style=\"white-space:nowrap\">loc_transfer-from<a name=\"CodeSystem-local-bfdr-codes-loc_transfer-from\"> </a></td><td>Transfer-from Location</td><td/></tr><tr><td style=\"white-space:nowrap\">loc_transfer-to<a name=\"CodeSystem-local-bfdr-codes-loc_transfer-to\"> </a></td><td>Transfer-to Location</td><td/></tr><tr><td style=\"white-space:nowrap\">industry_occupation_document<a name=\"CodeSystem-local-bfdr-codes-industry_occupation_document\"> </a></td><td>Industry and Occupation Document</td><td/></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:Extension.valueCode [ fhir:value "pher" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:Extension.valueCode [
       fhir:value "draft" ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ] ;
         fhir:Extension.valueCanonical [
           fhir:value "http://hl7.org/fhir/us/bfdr/ImplementationGuide/hl7.fhir.us.bfdr" ;
           fhir:link <http://hl7.org/fhir/us/bfdr/ImplementationGuide/hl7.fhir.us.bfdr>
         ]
       ]
     ]
  ] ;
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/us/bfdr/CodeSystem/CodeSystem-local-bfdr-codes"] ;
  fhir:CodeSystem.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.40.13.16.2" ]
  ] ;
  fhir:CodeSystem.version [ fhir:value "2.0.0"] ;
  fhir:CodeSystem.name [ fhir:value "LocalBFDRCodesCS"] ;
  fhir:CodeSystem.title [ fhir:value "Local BFDR Codes"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-11-09T21:59:25+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "HL7 International / Public Health"] ;
  fhir:CodeSystem.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "HL7 International / Public Health" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/pher" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Local Codes for concepts in BFDR that lack an appropriate LOINC or SCT code"] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "US" ] ;
       fhir:Coding.display [ fhir:value "United States of America" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "15"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "unknownplannedhomebirth" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Unknown if Planned Home Birth" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Unknown if Planned Home Birth" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "assistedventfollowingdelivery" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Assisted ventilation required immediately following delivery" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Assisted ventilation required immediately following delivery" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "assistedventmorethan6hrs" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Assisted ventilation required for more than six hours" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Assisted ventilation required for more than six hours" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "FCOD_maternalconditions" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Maternal Conditions/Diseases (Specify)" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Maternal Conditions/Diseases (Specify)" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "FCOD_membranes" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Complications of Placenta, Cord, or Membranes: Other (Specify)" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Complications of Placenta, Cord, or Membranes: Other (Specify)" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "FCOD_obstetricalcomplications" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Other Obstetrical or Pregnancy Complications (Specify)" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Other Obstetrical or Pregnancy Complications (Specify)" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "FCOD_fetalconditions" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Other Fetal Conditions/Disorder (Specify)" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Other Fetal Conditions/Disorder (Specify)" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "rel_fatherofbaby" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Father of baby" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Father of baby" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "rel_hospitalemployee" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Hospital employee" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Hospital employee" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "rel_other" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Other (with write in text)" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Other (with write in text)" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "rel_otherrelative" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Other relative" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Other relative" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "loc_birth" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Birth Location" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "loc_transfer-from" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Transfer-from Location" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "loc_transfer-to" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Transfer-to Location" ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "industry_occupation_document" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Industry and Occupation Document" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/bfdr/CodeSystem/CodeSystem-local-bfdr-codes.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/bfdr/CodeSystem/CodeSystem-local-bfdr-codes.ttl> .

# -------------------------------------------------------------------------------------

