@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/fhir/uv/xver/CodeSystem/v3-MaritalStatus> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v3-MaritalStatus"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\"><p><b>Properties</b></p><p><b>This code system  defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>Specializes</td><td/><td>Coding</td><td>The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric.</td></tr><tr><td>Generalizes</td><td/><td>Coding</td><td>Inverse of Specializes.  Only included as a derived relationship.</td></tr><tr><td>internalId</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id</td><td>code</td><td>The internal identifier for the concept in the HL7 Access database repository.</td></tr><tr><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td><td>Designation of a concept's state. Normally is not populated unless the state is retired.</td></tr></table><p><b>Concepts</b></p><p>This code system <code>http://terminology.hl7.org/CodeSystem/v3-MaritalStatus</code> defines the following codes:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>internalId</b></td><td><b>status</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">A<a name=\"v3-MaritalStatus-A\"> </a></td><td>Annulled</td><td>Marriage contract has been declared null and to not have existed</td><td>12213</td><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">D<a name=\"v3-MaritalStatus-D\"> </a></td><td>Divorced</td><td>Marriage contract has been declared dissolved and inactive</td><td>12214</td><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">I<a name=\"v3-MaritalStatus-I\"> </a></td><td>Interlocutory</td><td>Subject to an Interlocutory Decree.</td><td>12215</td><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">L<a name=\"v3-MaritalStatus-L\"> </a></td><td>Legally Separated</td><td/><td>12216</td><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">M<a name=\"v3-MaritalStatus-M\"> </a></td><td>Married</td><td>A current marriage contract is active</td><td>12217</td><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  C<a name=\"v3-MaritalStatus-C\"> </a></td><td>Common Law</td><td>a marriage recognized in some jurisdictions and based on the parties' agreement to consider themselves married and can also be based on documentation of cohabitation.#xD;\n#xD;\nThis definition was based on https://www.merriam-webster.com/dictionary/common-law%20marriage.</td><td>24122</td><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">P<a name=\"v3-MaritalStatus-P\"> </a></td><td>Polygamous</td><td>More than 1 current spouse</td><td>12220</td><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">T<a name=\"v3-MaritalStatus-T\"> </a></td><td>Domestic partner</td><td>Person declares that a domestic partner relationship exists.</td><td>15981</td><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">U<a name=\"v3-MaritalStatus-U\"> </a></td><td>unmarried</td><td>Currently not in a marriage contract.</td><td>23624</td><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  S<a name=\"v3-MaritalStatus-S\"> </a></td><td>Never Married</td><td>No marriage contract has ever been entered</td><td>12218</td><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">W<a name=\"v3-MaritalStatus-W\"> </a></td><td>Widowed</td><td>The spouse has died</td><td>12219</td><td>active</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r5.r4"
       ]
     ] [
       fhir:url [
         fhir:v "version"^^xsd:anyURI ;
         fhir:l fhir:version
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "0.1.0"
       ]
     ] [
       fhir:url [
         fhir:v "uri"^^xsd:anyURI ;
         fhir:l fhir:uri
       ] ;
       fhir:value [
         a fhir:Uri ;
         fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4>
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/CodeSystem/v3-MaritalStatus>
  ] ; # 
  fhir:version [ fhir:v "2.1.0"] ; # 
  fhir:name [ fhir:v "MaritalStatus"] ; # 
  fhir:title [ fhir:v "MaritalStatus"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2019-03-19T19:00:00-05:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "FHIR Infrastructure" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "\\* \\* \\* No description supplied \\* \\* \\*\r\n\r\n*Open Issue:* The specific meanings of these codes can vary somewhat by jurisdiction and implementation so caution should be used when determining equivalency.\r\n\r\n*Open Issue:* fixing and completion of the hierarchy and proper good definitions of all the concepts is badly needed."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "Specializes" ] ;
     fhir:description [ fhir:v "The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:code [ fhir:v "Generalizes" ] ;
     fhir:description [ fhir:v "Inverse of Specializes.  Only included as a derived relationship." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:code [ fhir:v "internalId" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id>
     ] ;
     fhir:description [ fhir:v "The internal identifier for the concept in the HL7 Access database repository." ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [
       fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/concept-properties#status>
     ] ;
     fhir:description [ fhir:v "Designation of a concept's state. Normally is not populated unless the state is retired." ] ;
     fhir:type [ fhir:v "code" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "A" ] ;
     fhir:display [ fhir:v "Annulled" ] ;
     fhir:definition [ fhir:v "Marriage contract has been declared null and to not have existed" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "12213"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "D" ] ;
     fhir:display [ fhir:v "Divorced" ] ;
     fhir:definition [ fhir:v "Marriage contract has been declared dissolved and inactive" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "12214"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "I" ] ;
     fhir:display [ fhir:v "Interlocutory" ] ;
     fhir:definition [ fhir:v "Subject to an Interlocutory Decree." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "12215"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "L" ] ;
     fhir:display [ fhir:v "Legally Separated" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "12216"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "M" ] ;
     fhir:display [ fhir:v "Married" ] ;
     fhir:definition [ fhir:v "A current marriage contract is active" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "12217"
       ]
     ] ) ;
     fhir:concept ( [
       fhir:code [ fhir:v "C" ] ;
       fhir:display [ fhir:v "Common Law" ] ;
       fhir:definition [ fhir:v "a marriage recognized in some jurisdictions and based on the parties' agreement to consider themselves married and can also be based on documentation of cohabitation.\r\n\r\nThis definition was based on https://www.merriam-webster.com/dictionary/common-law%20marriage." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "active"
         ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "24122"
         ]
       ] )
     ] )
  ] [
     fhir:code [ fhir:v "P" ] ;
     fhir:display [ fhir:v "Polygamous" ] ;
     fhir:definition [ fhir:v "More than 1 current spouse" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "12220"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "T" ] ;
     fhir:display [ fhir:v "Domestic partner" ] ;
     fhir:definition [ fhir:v "Person declares that a domestic partner relationship exists." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "15981"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "U" ] ;
     fhir:display [ fhir:v "unmarried" ] ;
     fhir:definition [ fhir:v "Currently not in a marriage contract." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "23624"
       ]
     ] ) ;
     fhir:concept ( [
       fhir:code [ fhir:v "S" ] ;
       fhir:display [ fhir:v "Never Married" ] ;
       fhir:definition [ fhir:v "No marriage contract has ever been entered" ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "active"
         ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "12218"
         ]
       ] )
     ] )
  ] [
     fhir:code [ fhir:v "W" ] ;
     fhir:display [ fhir:v "Widowed" ] ;
     fhir:definition [ fhir:v "The spouse has died" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "12219"
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

