@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/cda/stds/core/StructureDefinition/ENXP> a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ENXP"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>A character string token representing a part of a name. May have a type code signifying the role of the part in the whole entity name, and a qualifier code for more detail about the name part type. Typical name parts for person names are given names, and family names, titles, etc.</p>\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/tools/StructureDefinition/logical-target>
     ] ;
     fhir:value [
       a fhir:Boolean ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/data-absent-reason>
         ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "not-applicable"
         ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/tools/StructureDefinition/xml-namespace>
     ] ;
     fhir:value [
       a fhir:Uri ;
       fhir:v "urn:hl7-org:v3"^^xsd:anyURI ;
       fhir:l <urn:hl7-org:v3>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "can-bind"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-container"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/tools/StructureDefinition/logical-container>
     ] ;
     fhir:value [
       a fhir:Uri ;
       fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"^^xsd:anyURI ;
       fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument>
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ENXP"^^xsd:anyURI ;
     fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/ENXP>
  ] ; # 
  fhir:version [ fhir:v "2.0.3-sd"] ; # 
  fhir:name [ fhir:v "ENXP"] ; # 
  fhir:title [ fhir:v "ENXP: Entity Name Part (V3 Data Type)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-06-12T07:06:38+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Health Level 7"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "structdog@lists.HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "A character string token representing a part of a name. May have a type code signifying the role of the part in the whole entity name, and a qualifier code for more detail about the name part type. Typical name parts for person names are given names, and family names, titles, etc."] ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
     fhir:identity [ fhir:v "rim" ] ;
     fhir:uri [
       fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
       fhir:l <http://hl7.org/v3>
     ] ;
     fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v false] ; # 
  fhir:type [
     fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ENXP"^^xsd:anyURI ;
     fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/ENXP>
  ] ; # 
  fhir:baseDefinition [
     fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ST"^^xsd:anyURI ;
     fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/ST>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.0.3-sd"
       ]
     ] ) ;
     fhir:element ( [
       fhir:id [ fhir:v "ENXP" ] ;
       fhir:path [ fhir:v "ENXP" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "The character string data type stands for text data, primarily intended for machine processing (e.g., sorting, querying, indexing, etc.) Used for names, symbols, and formal expressions." ] ;
       fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Base" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "text-null" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "xmlText and nullFlavor are mutually exclusive (one must be present)" ] ;
         fhir:expression [ fhir:v "(xmlText | nullFlavor).count() = 1" ] ;
         fhir:source [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ST"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/ST>
         ]
       ] ) ;
       fhir:isModifier [ fhir:v false ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "ENXP.nullFlavor" ] ;
       fhir:path [ fhir:v "ENXP.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [
           fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor>
         ]
       ]
     ] [
       fhir:id [ fhir:v "ENXP.representation" ] ;
       fhir:path [ fhir:v "ENXP.representation" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the representation of the binary data that is the content of the binary data value" ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ST.representation" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:fixed [
         a fhir:Code ;
         fhir:v "TXT"
       ]
     ] [
       fhir:id [ fhir:v "ENXP.mediaType" ] ;
       fhir:path [ fhir:v "ENXP.mediaType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Media Type" ] ;
       fhir:definition [ fhir:v "Identifies the type of the encapsulated data and identifies a method to interpret or render the data." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ST.mediaType" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:fixed [
         a fhir:Code ;
         fhir:v "text/plain"
       ]
     ] [
       fhir:id [ fhir:v "ENXP.language" ] ;
       fhir:path [ fhir:v "ENXP.language" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Language" ] ;
       fhir:definition [ fhir:v "For character based information the language property specifies the human language of the text." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ST.language" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] )
     ] [
       fhir:id [ fhir:v "ENXP.xmlText" ] ;
       fhir:path [ fhir:v "ENXP.xmlText" ] ;
       fhir:representation ( [ fhir:v "xmlText" ] ) ;
       fhir:short [ fhir:v "Allows for mixed text content" ] ;
       fhir:comment [ fhir:v "This element is represented in XML as textual content. The actual name \"xmlText\" will not appear in a CDA instance." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ST.xmlText" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "string"^^xsd:anyURI ;
           fhir:l fhir:string
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>
         ] )
       ] )
     ] [
       fhir:id [ fhir:v "ENXP.partType" ] ;
       fhir:path [ fhir:v "ENXP.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Name Part Type Code" ] ;
       fhir:definition [ fhir:v "Indicates whether the name part is a given name, family name, prefix, suffix, etc." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ENXP.partType" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [
           fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityNamePartType"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/ValueSet/v3-EntityNamePartType>
         ]
       ]
     ] [
       fhir:id [ fhir:v "ENXP.qualifier" ] ;
       fhir:path [ fhir:v "ENXP.qualifier" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Qualifier Code" ] ;
       fhir:definition [ fhir:v "qualifier is a set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type. For example, a given name may be flagged as a nickname, a family name may be a pseudonym or a name of public records." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ENXP.qualifier" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [
           fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDAEntityNamePartQualifier"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/ValueSet/CDAEntityNamePartQualifier>
         ]
       ]
     ] )
  ] ; # 
  fhir:differential [
     fhir:element ( [
       fhir:id [ fhir:v "ENXP" ] ;
       fhir:path [ fhir:v "ENXP" ] ;
       fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ]
     ] [
       fhir:id [ fhir:v "ENXP.partType" ] ;
       fhir:path [ fhir:v "ENXP.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Name Part Type Code" ] ;
       fhir:definition [ fhir:v "Indicates whether the name part is a given name, family name, prefix, suffix, etc." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [
           fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityNamePartType"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/ValueSet/v3-EntityNamePartType>
         ]
       ]
     ] [
       fhir:id [ fhir:v "ENXP.qualifier" ] ;
       fhir:path [ fhir:v "ENXP.qualifier" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Qualifier Code" ] ;
       fhir:definition [ fhir:v "qualifier is a set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type. For example, a given name may be flagged as a nickname, a family name may be a pseudonym or a name of public records." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [
           fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDAEntityNamePartQualifier"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/ValueSet/CDAEntityNamePartQualifier>
         ]
       ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

