Argonaut Data Query Implementation Guide Version 1.0.0

This page is part of the Argonaut Data Query Implementation Guide (v1.0.0: Release) based on FHIR R2. This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Sex of patient assigned at birth

@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 -------------------------------------------------------------------

<StructureDefinition/argo-birthsex> a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:StructureDefinition.id [ fhir:value "argo-birthsex"];
  fhir:StructureDefinition.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-birthsex"];
  fhir:StructureDefinition.name [ fhir:value "Sex of patient assigned at birth"];
  fhir:StructureDefinition.display [ fhir:value "Sex of patient assigned at birth"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.publisher [ fhir:value "Argonaut Project"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:StructureDefinition.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "other" ];
       fhir:ContactPoint.value [ fhir:value "http://argonautwiki.hl7.org" ];
       fhir:ContactPoint.rank [ fhir:value "0"^^xsd:positiveInteger ]     ]
  ];
  fhir:StructureDefinition.date [ fhir:value "2016-10-18T00:00:00+11:00"^^xsd:dateTime];
  fhir:StructureDefinition.description [ fhir:value "A code classifying the person's sex assigned at birth  as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)."];
  fhir:StructureDefinition.fhirVersion [ fhir:value "1.0.2"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "datatype"];
  fhir:StructureDefinition.constrainedType [ fhir:value "Extension"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.contextType [ fhir:value "resource"];
  fhir:StructureDefinition.context [
     fhir:value "Patient";
     fhir:index 0
  ];
  fhir:StructureDefinition.base [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:ElementDefinition.id [ fhir:value "birthsex" ];
       fhir:ElementDefinition.path [ fhir:value "Extension" ];
       fhir:ElementDefinition.name [ fhir:value "birthsex" ];
       fhir:ElementDefinition.short [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "A code classifying the person's sex assigned at birth  as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)." ];
       fhir:ElementDefinition.comments [ fhir:value "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PID-8" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" ]       ]     ], [
       fhir:index 1;
       fhir:ElementDefinition.id [ fhir:value "Extension:birthsex.id" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "Extension:birthsex.id" ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 2;
       fhir:ElementDefinition.id [ fhir:value "Extension:birthsex.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.extension" ];
       fhir:ElementDefinition.name [ fhir:value "Extension:birthsex.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comments [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 3;
       fhir:ElementDefinition.id [ fhir:value "Extension:birthsex.url" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.url" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "Extension:birthsex.url" ];
       fhir:ElementDefinition.short [ fhir:value "identifies the meaning of the extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Source of the definition for the extension code - a logical name or a URL." ];
       fhir:ElementDefinition.comments [ fhir:value "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.url" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-birthsex" ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 4;
       fhir:ElementDefinition.id [ fhir:value "Extension:birthsex.valueCode" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.valueCode" ];
       fhir:ElementDefinition.name [ fhir:value "Extension:birthsex.valueCode" ];
       fhir:ElementDefinition.short [ fhir:value "Value of extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.value[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Code for sex assigned at birth" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://fhir.org/guides/argonaut/ValueSet/usrealm-birthsex>;
           fhir:Reference.reference [ fhir:value "http://fhir.org/guides/argonaut/ValueSet/usrealm-birthsex" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:ElementDefinition.id [ fhir:value "birthsex" ];
       fhir:ElementDefinition.path [ fhir:value "Extension" ];
       fhir:ElementDefinition.name [ fhir:value "birthsex" ];
       fhir:ElementDefinition.definition [ fhir:value "A code classifying the person's sex assigned at birth  as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)." ];
       fhir:ElementDefinition.comments [ fhir:value "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PID-8" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" ]       ]     ], [
       fhir:index 1;
       fhir:ElementDefinition.id [ fhir:value "Extension:birthsex.url" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.url" ];
       fhir:ElementDefinition.name [ fhir:value "Extension:birthsex.url" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-birthsex" ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 2;
       fhir:ElementDefinition.id [ fhir:value "Extension:birthsex.valueCode" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.valueCode" ];
       fhir:ElementDefinition.name [ fhir:value "Extension:birthsex.valueCode" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Code for sex assigned at birth" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://fhir.org/guides/argonaut/ValueSet/usrealm-birthsex>;
           fhir:Reference.reference [ fhir:value "http://fhir.org/guides/argonaut/ValueSet/usrealm-birthsex" ]         ]       ]     ]
  ].